c883ca4
* src/graphics.c: + Internally cache screen width and height. * src/bitmap.c: + Added alpha support to caca_draw_bitmap(). For now, we only treat 0% alpha as fully transparent, and any other value as fully opaque. + Slightly tuned colour weights in the renderer. + caca_set_bitmap_palette() takes unsigned ints. * examples/demo.c: + Added a crap render demo. * examples/aafire.c: + Set a 20ms delay. + Added alpha values to the palette. * examples/view.c: + Draw a gray checkered grid below the image so that transparent images look a lot nicer. + 'f' toggles "fullscreen" mode. by
2003-12-11 16:31:49 +0000
b8aecc7
* configure.ac: + Set the executable bit of caca-config when regenerating that file. * caca-config.in: + No longer use USE_SLANG_TRUE and USE_NCURSES_TRUE since we now have @CACA_LIBS@. by
2003-12-11 15:54:53 +0000
9f871ef
* configure.ac: + Removed unused USE_* variables. + Export -lslang and -lncurses as @CACA_LIBS@. * examples/aafire.c: + Imported aafire.c from the AAlib tree and ported it to libcaca. by
2003-12-02 22:27:27 +0000
37319a0
* 0.2 release. by
2003-11-30 17:15:31 +0000
cdc6c08
* examples/view.c: + Removed last endianness issue. by
2003-11-30 17:14:19 +0000
5fafff6
* src/io.c: + Removed a useless message. * src/bitmap.c examples/view.c: + Really fixed the endianness issue. by
2003-11-30 16:34:04 +0000
ec6f084
* src/bitmap.c: + Fine-tuned the new renderer. + Fixed warnings. + Changed hardcoded values to macros. by
2003-11-30 15:56:02 +0000
cda43d3
* src/bitmap.c: + Fixed an endianness issue in the byte reader. + Decreased precision in RGB and HSV values to avoid overflows. + New dithering method: 2x2 ordered. + New renderer, with background colour awareness. * configure.ac: + Check for <endian.h>. * examples/demo.c examples/view.c: + Fixed an endianness issue in cacaview. + Adapted code to the additional dithering method. by
2003-11-30 15:01:55 +0000
a80e350
* src/bitmap.c examples/view.c: + Fixed an endianness issue in caca_draw_bitmap(). + Code cleanup. by
2003-11-30 02:11:37 +0000
82685f9
* src/caca.c: + Minor change to the dithering names. * TODO: + Added cacaview TODO. * doc/cacaview.1: + Wrote a manpage for cacaview. * examples/Makefile.am: + Moved the -DX_DISPLAY_MISSING=1 here. * examples/view.c: + Capital 'D' cycles through dithering modes in reverse order. + Sleep when there is nothing to do. + Cosmetic code reorganisation. by
2003-11-30 01:18:10 +0000
624a13f
* src/caca.c src/caca.h: + Added caca_get_dithering_name(). * src/bitmap.c: + Created a new dithering method with an 8x8 ordered matrix. + Replaced the char list with a string for better readability. + Dithering functions now return a value between 0 and 255. * examples/demo.c examples/view.c: + Adapted to use caca_get_dithering_name(). by
2003-11-29 19:35:07 +0000
a444ef6
* src/caca.c: + Test whether ncurses knows xterm-16color before setting $TERM. by
2003-11-29 18:04:42 +0000
a6420c9
* examples/view.c: + Added top and bottom status lines, like in mutt and slrn. + Added a status string when loading an image or upon error. + Can load multiple files; use 'n' and 'p' for next and previous. + Clip zoom between -48 and +48. by
2003-11-29 17:36:00 +0000
ea11064
* Fixed a C99ism. by
2003-11-29 16:42:35 +0000
88359df
* configure.ac: + Default to ncurses, not slang, because slang only has 128 colour pairs. * src/caca.c: + Disable scrolling to avoid hashmap scrolling optimization code. * src/graphics.c: + Swap fg and bg in the colour pair indexing, so that bg is always right. + Disable alt charset support to exploit my patched slang. by
2003-11-29 14:41:37 +0000
ace9ea9
* src/bitmap.c: + Dither chroma outside of rgb2hsv_default(). + Clip fromx and fromy values. * NOTES: + Link to the XTerm control sequences. * examples/view.c: + Draw status bar. + Move with 'h' 'j' 'k' 'l', à la vi. + '?' toggles a help menu. by
2003-11-28 20:39:54 +0000
554b4c5
* src/bitmap.c: + Removed § from the list of default characters due to collisions. by
2003-11-27 23:18:12 +0000
9902d7e
* debian/control: + Removed slang1-dev dependency in caca-utils. * debian/caca-utils.mime debian/rules: + Added a MIME file with low priority. + Added call to dh_installmime. by
2003-11-27 22:54:48 +0000
59b56c3
* src/caca.c src/graphics.c: + Moved graphics stuff from caca.c to graphics.c. + Added a few kludges: if gnome-terminal or konsole are detected, switch to TERM=xterm-16color to benefit from extended colour palette. by
2003-11-27 22:29:13 +0000
83d6065
* NOTES: + Added setab/setaf quotes from the XTerm terminfo. + Proposed a workaround for bright colours on any terminal. * src/caca.c: + 16 colour support for ncurses and conio. * src/graphics.c: + Ported to 16 colour support. + Added a missing <stdio.h> for BUFSIZ. + Disabled vsnprintf under DOS (only vsprintf exists). * examples/: + Don't abort if the caca.txt sprite was not found. + Ported to 16 colour support. by
2003-11-27 21:56:30 +0000
3d0ffe3
* NOTES: more notes about colours. by
2003-11-27 13:27:32 +0000
760bdaf
* configure.ac: + More sensible imlib2 detection, works with cross-compilation. * Makefile.am: + Don't forget to include NOTES to the dist tarball. by
2003-11-27 09:43:56 +0000
62bed67
* NOTES: added information about colour support. by
2003-11-27 09:38:16 +0000
f15dbd5
* configure.ac: Added a missing check for <inttypes.h>. by
2003-11-26 21:02:31 +0000
dd4d9c3
* src/bitmap.c: Support for more colour depths. by
2003-11-26 20:58:30 +0000
93ebea3
* configure.ac examples/Makefile.am: + Added a check for imlib2-config. + Build cacaview conditionally. * examples/demo.c: + Removed all gdkpixbuf code. * examples/view.c: + Default to ordered dithering. + Make sure the arrows always work even if delta is too small. by
2003-11-24 19:56:04 +0000
e9bc7d7
* debian/: + New caca-utils package. + Move cacademo, cacaview and caca-spritedit to caca-utils. by
2003-11-24 17:51:40 +0000
fd91332
* examples/: + Simple image viewer, cacaview, based on libcaca and imlib2. + Renamed caca-demo into cacademo. * doc/: + Renamed doc/caca-demo.1 into doc/cacademo.1. by
2003-11-24 17:50:14 +0000
2fff2b9
* Renamed src/blit.c into src/bitmap.c. by
2003-11-23 15:34:35 +0000
bd91448
* src/caca.c: + Mouse initialisation in ncurses. * src/io.c: + Mouse support in ncurses. by
2003-11-23 03:44:59 +0000
00ebd40
* debian/control: + libcaca-dev should depend on slang1-dev. by
2003-11-22 14:28:36 +0000
84bb9a5
* debian/Makefile.am: + Added compat and copyright to the distributed files. by
2003-11-22 14:23:18 +0000
1ea9223
* Added a ChangeLog file. by
2003-11-22 14:19:36 +0000
75e2b99
* examples/Makefile.am: + Compilation fix when libcaca is not available. by
2003-11-22 14:13:53 +0000
eac0b27
* debian/: + Wrote the changelog for the Debian release. + Wrote a copyright file. * doc/: + Wrote manpages for caca-demo and caca-spritedit. * examples/caca.txt: + Centered the sprite handle. + Added a second frame to the sprite. by
2003-11-22 13:44:02 +0000
6258f70
* AUTHORS NEWS: + Added these mandatory files. * doc/: + Wrote a Doxygen configuration file. + Added a manpage for caca-config(1), borrowed from sdl-config. * configure.ac: + Use new style AC_INIT. + Error out if no library was found. + Added *djgpp* to the list of non-PIC platforms. + Added checks for doxygen and latex. by
2003-11-22 12:53:55 +0000
a9e4b83
* Disabled gdkpixbuf code. by
2003-11-22 12:51:27 +0000
dbce0a0
* src/: + Doxygenated a few things. by
2003-11-22 12:45:25 +0000
24409d7
* TODO: + A few updates. * src/blit.c: + Split blit() into caca_create_bitmap() and caca_draw_bitmap(). + Started removing hardcoded bitmask and pitch values. * examples/demo.c: + Do something with mouse clicks. by
2003-11-21 14:34:07 +0000
ee33cd6
* src/io.c: + Fixed an off-by-one error in the mouse driver. by
2003-11-21 14:14:26 +0000
e23cfde
* debian/control: + Changed section to libs/libdevel instead of games/games. + Changed package name to libcaca-dev. * debian/rules: + Use debian/compat instead of DH_COMPAT. + Install README, BUGS and TODO into /usr/share/doc. * caca-config.in: + First version of the config script. * configure.ac src/Makefile.am: + Build a static PIC library as well. * README TODO: + Various updates. by
2003-11-20 16:54:04 +0000
72b545a
* TODO: New stuff to do. * src/io.c: left and right arrow keys were swapped. by
2003-11-19 18:38:49 +0000
3df5ed8
* src/io.c: + Fixed a bug in the mouse coordinates reporting. by
2003-11-19 17:49:43 +0000
0feb3de
* src/io.c: + Renamed sdl_get_key() into sdl_get_event(). + Handle mouse clicks. * src/caca.c: + Activate the terminal's mouse handling if supported. by
2003-11-19 17:32:10 +0000
ea0d110
* src/io.c src/caca.h: + Interpret escape sequences for F1, F2, left, right, etc. * src/Makefile.am examples/Makefile.am: + Install caca.h in /usr/include. + Do not install example programs. * src/blit.c: + Minor improvements to grayscale colors. by
2003-11-17 16:11:34 +0000
faea16e
* Removed legacy .cvsignore files. by
2003-11-17 10:15:40 +0000
547f38c
* src/blit.c: + Hue calculation now uses integers only. + Dithering is now parametrable. Implemented none, ordered, random. * examples/demo.c: + Added dithering selection. by
2003-11-16 17:41:43 +0000
40b987f
* src/blit.c: + Added caca_set_dithering() (unused yet). + Added random dithering. * src/caca.h: + Renamed legacy EE_* enums to CACA_*. * examples/demo.c examples/caca.txt: + Added a default sprite for libcaca. by
2003-11-16 15:20:17 +0000
d39f329
* Changed copyleft to LGPL. by
2003-11-16 12:28:29 +0000
8a07f6f
* 2nd pass in the libcaca rehandling; moved sources to src/ and examples to examples/. by
2003-11-16 12:13:46 +0000
3c68d1e
* The big TTYvaders/libcaca split. This is libcaca. by
2003-11-16 12:07:52 +0000
94b6347
* configure.ac: + Added -Wsign-compare to the warning flags. * libcaca/caca.c: + Fixed a signed/unsigned bug that caused infinite waits with ee_set_delay(0). * src/weapons.c libcaca/graphics.c libcaca/blit.c libcaca/conic.c: + Fixed minor signed/unsigned comparison warnings. by
2003-11-16 11:26:54 +0000
63dc9c1
* Renamed libee to libcaca. Far less collisions. by
2003-11-16 00:33:35 +0000
70c5fb6
* Very ugly ee_blit function. Will be polished in a while. by
2003-11-16 00:09:09 +0000
5673355
* libee/ee.c: + Replaced ee_color_names[] with ee_get_color_name(). + Don't oversleep in ee_refresh(). * libee/graphics.c: + Implemented ee_printf(). * test/demo.c: + If new keypresses are detected, don't wait for the next screen refresh. + Added an fps counter on demos. + Added controls for outlines and drawing boundaries. by
2003-11-15 12:42:38 +0000
b858ff9
* libee/graphics.c: + Correct clipping in ee_putstr() for long strings. * libee/ee.c: + New ee_get_rendertime() call to provide framerate information. * libee/ee.h: + Added const keywords where it was meaningful, despite Slang's blatant omission of such keywords in its prototypes. by
2003-11-15 09:58:20 +0000
e4bd8d8
* libee/ee.c: + Implemented correct framerate wait loop. + No framedropping yet. * test/demo.c src/main.c: + Set an arbitrary framerate for demos. by
2003-11-14 19:00:07 +0000
e5cdb35
* Fixed compilation in an alternate directory. by
2003-11-14 18:49:53 +0000
46e59a8
* Sanity checks after each malloc() call. by
2003-11-14 17:02:36 +0000
caf6027
* libee/math.c: + ee_sqrt() now uses unsigned ints. + Avoid overflows in ee_sqrt(). by
2003-11-14 16:55:58 +0000
b38f356
* src/intro.c: Minor graphical issue on dosemu with ncurses backend. by
2003-11-13 17:12:40 +0000
f4de052
* libee/ee.c: + Error checking in ee_init(). + Pre-generate the empty line for ee_clear(). * libee/sprite.c: + Better error checking in ee_sprite_load(). by
2003-11-13 16:45:25 +0000
e7510d5
* Minor coding style changes. by
2003-11-13 15:41:12 +0000
ec22eff
* Renamed sprites to < 8+3 names for the DOS port. by
2003-11-13 15:37:49 +0000
143875d
* test/demo.c: + Removed a spurious '\n' from an ee_putstr(). * src/starfield.c: + Fixed starfield color. * data/: + Fixed every sprite's colors. by
2003-11-12 23:46:58 +0000
92f20d3
* libee/ee.h: + Added ee_color_names[] containing our 16 color names. * libee/ee.c: + Extended our color set to the full 16 instead of 10. + Precalculate ncurses attributes. * libee/graphics.c: + Clip color value in ee_set_color(). + Clip characters in ee_putchar(). + Partially clip characters in ee_putstr(), overflows aren't checked yet. * libee/ee_internals.h: + New file to share extern variables within libee. by
2003-11-12 21:18:50 +0000
3a0ca91
* README: + Added a note about dos cross-compilation. * configure.ac: + Added a check for ScreenUpdate in <pc.h>. * libee/graphics.c libee/ee.c: + Improved the conio port thanks to ScreenUpdate(). by
2003-11-12 18:41:02 +0000
1ec64f3
* MS-DOS port of libee, using <conio.h>. by
2003-11-12 16:23:18 +0000
0100a67
* libee/graphics.c: + Renamed ee_color() to ee_set_color(), wrote ee_get_color(). * libee/line.c: + Implemented draw_polyline() and draw_thin_polyline(). * libee/sprite.c: + Removed the f member of struct ee_sprite. + Implemented ee_get_sprite_{width|height|dx|dy}(). + Restore the color fater ee_draw_sprite() is called. * libee/box.c: + Fixed a bug causing improper box clipping at the right and the bottom. * data/foo_fighter: + Fixed bugs in the sprite. * src/intro.c: + Test effects for the future game's intro. * test/spritedit.c: + Added stuff to the sprite editor. We can now navigate through frames. by
2003-11-12 01:48:58 +0000
46494d6
* libee/triangle.c: + Wrote ee_draw_triangle() and ee_draw_thin_triangle(). * libee/box.c: + Wrote ee_draw_box(), ee_draw_thin_box() and ee_fill_box(). * libee/conic.c: + Wrote ee_fill_ellipse(). + First attempt at ee_draw_thin_ellipse(), to be reworked. * test/demo.c: + Merged demo_lines() and demo_thin_lines(). + Merged demo_triangles() and demo_outlined_triangles(). + Wrote demo_box(). + Use ee_fill_ellipse() in demo_all(). by
2003-11-11 10:22:19 +0000
a35a2a3
* src/weapons.c: + Use ee_draw_ellipse() instead of ee_draw_circle() to draw the nuke. * src/player.c: + Use ee_draw_sprite() to draw our ship. by
2003-11-11 08:00:36 +0000
d4f7483
* libee/graphics.c: + Moved ee_putstr() and ee_putchar() in here. * libee/ee.h: + Got rid of ee_goto(). + Moved <slang.h> or <curses.h> into libee. * Replaced ee_goto()/ee_putstr() pairs with ee_putstr(). * Ditto for ee_putchar(). by
2003-11-10 23:38:50 +0000
2f17f74
* test/spritedit.c: + Placeholder for our upcoming sprite editor. * src/Makefile.am data/Makefile.am: + Use AM_CPPFLAGS, not target_CPPFLAGS, so that automake-1.5 can be used. by
2003-11-10 23:04:13 +0000
fb7390a
* src/weapons.c data/weapon_fragbomb: + Drew the fragbomb sprite. + Use the fragbomb in src/weapons.c. by
2003-11-10 22:43:30 +0000
78154f3
* data/weapon_bomb: + New bomb sprite. * src/weapons.c: + Switched the bomb drawing to use ee_draw_sprite(). by
2003-11-10 21:54:11 +0000
eb94b8a
* libee/sprite.c: + Made sprite loading more robust. * src/explosions.c: + No longer use ee_putchar etc. to draw our sprites, but use ee_draw_sprite(). * data/: + Drew explosion_medium and explosion_small sprites. by
2003-11-10 21:17:47 +0000
3cd2990
* libee/conic.c: Clip circles and ellipses. by
2003-11-10 20:43:02 +0000
67a1631
* libee/sprite.c: + Added sanity checks in ee_sprite_* functions. * libee/conic.c: + Use ellipsepoints() in ee_draw_circle(). by
2003-11-10 18:29:04 +0000
e50e5e6
* test/demo.c: + Ellipses demo. by
2003-11-10 18:23:23 +0000
b91449d
* libee/conic.c: + ee_draw_ellipse(). by
2003-11-10 18:21:36 +0000
8f50035
* Renamed libee/circle.c to libee/conic.c because we'll do ellipsis. by
2003-11-10 15:31:12 +0000
c4114e7
* libee/line.c: + Added code comments. by
2003-11-10 15:16:38 +0000
7ede4eb
* configure.ac: + Moved optimization flags and warning triggers here. + Updated the snapshot timestamp. by
2003-11-10 14:19:21 +0000
d23f114
* test/demo.c: Nicer complete demo. by
2003-11-10 14:13:56 +0000
4bb2c01
* libee/sprite.c: + More robust sprite loader. + Added ee_set_sprite_frame() and ee_get_sprite_frame(). + Free all structures in ee_free_sprite(). * src/aliens.c src/bonus.c: + Use ee_draw_sprite() instead of our manual sprite rendering. * src/box.c: + Use ee_draw_line() instead of the manual equivalent. * data/: + Added foo_fighter, baz_fighter, item_gem and item_heart sprites. by
2003-11-10 09:26:40 +0000
fbd0688
* Oops, forgot data/Makefile.am. by
2003-11-10 02:00:52 +0000
3ac5e2e
* test/demo.c: + Wrote a little sprite demo. * data/: + Added bar_fighter (from ttyvaders) and bar_boss (from shapes.txt). by
2003-11-10 02:00:19 +0000
e7bd154
* libee/sprite.c: + Beginning of sprite handling within the library. + Added support to load files. by
2003-11-10 01:56:24 +0000
78cf665
* test/demo.c: + outlined triangles demo. by
2003-11-10 00:27:33 +0000
bc044f5
* Removed CPPFLAGS_slang and CPPFLAGS_ncurses, we now have config.h. by
2003-11-10 00:15:02 +0000
5f90be9
* src/*.c: + Added missing #include "config.h". + Fixed a nasty bug in ee_rand() calls. by
2003-11-09 23:34:24 +0000
8893f6d
* test/demo.c: + Disabled the pyramid demo and wrote a simple triangles demo. by
2003-11-09 23:01:29 +0000
038ea01
* libee/triangle.c: + Implemented ee_fill_triangle(). * test/demo.c: + Triangle demo. by
2003-11-09 21:36:24 +0000
4d5e96d
* libee/line.c: + ee_draw_thin_line(). * test/demo.c: + Added a thin lines demo. by
2003-11-09 19:46:14 +0000
1aa6176
* libee/line.c: genericized line drawing for future use. by
2003-11-09 18:10:44 +0000
0609200
* test/demo.c: + Putpixel demo. + Draw line demo. + Draw circle demo. + Animated radar demo. by
2003-11-09 17:45:12 +0000
90e22c8
* src/weapons.c: + Removed draw_circle, use ee_draw_circle instead. * libee/circle.c: + New ee_draw_circle function. * libee/line.c: + Changed an internal function's name. by
2003-11-09 17:21:43 +0000
020c060
* libee/line.c: Implemented ee_draw_line. by
2003-11-09 16:34:23 +0000
3422ddb
* libee/ee.c: + got rid of DELAY. * test/demo.c: + Minor animation effect. by
2003-11-09 13:52:40 +0000
179c30a
* libee/math.c: fixed a thinko in ee_rand(). by
2003-11-09 13:51:37 +0000