------------------------------------------------------------------------ r154 | sam | 2003-12-18 01:11:52 +0100 (Thu, 18 Dec 2003) | 3 lines Changed paths: M /trunk/src/bitmap.c M /trunk/src/box.c M /trunk/src/caca.c M /trunk/src/caca.h M /trunk/src/conic.c M /trunk/src/graphics.c M /trunk/src/io.c M /trunk/src/line.c M /trunk/src/math.c M /trunk/src/sprite.c M /trunk/src/triangle.c * src/: + Doxygenated public functions. ------------------------------------------------------------------------ r153 | sam | 2003-12-17 16:03:05 +0100 (Wed, 17 Dec 2003) | 3 lines Changed paths: M /trunk/src/caca.h * src/caca.h: + Documented environment variables. ------------------------------------------------------------------------ r152 | sam | 2003-12-17 00:25:54 +0100 (Wed, 17 Dec 2003) | 4 lines Changed paths: M /trunk/examples/view.c * examples/view.c: + Fixed a bug in the loading of 1bpp BMPs. + Commented stuff. ------------------------------------------------------------------------ r151 | sam | 2003-12-17 00:06:54 +0100 (Wed, 17 Dec 2003) | 7 lines Changed paths: M /trunk/examples/Makefile.am M /trunk/examples/view.c * examples/view.c: + If Imlib2 is not available, use a custom simple BMP loader. + Draw the bottom bar one line higher to leave room for a status line. + '?' now properly toggles help. * examples/Makefile.am: + Always build cacaview. ------------------------------------------------------------------------ r150 | sam | 2003-12-16 10:06:46 +0100 (Tue, 16 Dec 2003) | 5 lines Changed paths: M /trunk/configure.ac M /trunk/src/bitmap.c * src/bitmap.c: + If the alpha palette is all-zero, forget the alpha channel. * configure.ac: + Export HAVE_IMLIB2_H and the like. ------------------------------------------------------------------------ r149 | sam | 2003-12-15 16:02:50 +0100 (Mon, 15 Dec 2003) | 4 lines Changed paths: M /trunk/src/bitmap.c * src/bitmap.c: + If the alpha mask is 0, ignore alpha information. + Ditto if no alpha information is given with the palette. ------------------------------------------------------------------------ r148 | sam | 2003-12-15 11:38:03 +0100 (Mon, 15 Dec 2003) | 4 lines Changed paths: M /trunk/configure.ac M /trunk/src/caca.c M /trunk/src/caca_internals.h M /trunk/src/graphics.c M /trunk/src/io.c * src/graphics.c src/io.c: + Beginning of an X11 driver. Currently we merely open the window and check keyboard events. ------------------------------------------------------------------------ r147 | sam | 2003-12-12 17:19:44 +0100 (Fri, 12 Dec 2003) | 7 lines Changed paths: M /trunk/configure.ac M /trunk/debian/changelog M /trunk/src/caca.c * configure.ac debian/changelog: + Prepare for 0.3 release. + Check for strcasecmp(). * src/caca.c: + Honor CACA_BACKGROUND, CACA_DITHERING and CACA_ANTIALIASING environment variables. ------------------------------------------------------------------------ r146 | sam | 2003-12-12 15:49:41 +0100 (Fri, 12 Dec 2003) | 13 lines Changed paths: M /trunk/examples/aafire.c M /trunk/examples/demo.c M /trunk/examples/view.c M /trunk/src/bitmap.c M /trunk/src/caca.c M /trunk/src/caca.h M /trunk/src/caca_internals.h * src/bitmap.c: + Added antialiasing support. + Dithering, antialiasing and background mode can now be selected at runtime. * src/caca.c src/caca.h: + Renamed caca_dithering into caca_feature and extended the type to express background colour and antialiasing mode. * examples/demo.c: + Fixed a bug that disabled the sprite demo. + Draw solid flares. * examples/view.c: + Select antialiasing and background mode at runtime. ------------------------------------------------------------------------ r145 | sam | 2003-12-11 18:01:09 +0100 (Thu, 11 Dec 2003) | 2 lines Changed paths: M /trunk/BUGS M /trunk/TODO M /trunk/debian/control M /trunk/doc/cacademo.1 M /trunk/doc/cacaview.1 * Minor updates to manpages, BUGS, TODO and the Debian control file. ------------------------------------------------------------------------ r144 | sam | 2003-12-11 17:56:35 +0100 (Thu, 11 Dec 2003) | 5 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/bitmap.c M /trunk/src/caca.c M /trunk/src/caca.h M /trunk/src/caca_internals.h M /trunk/src/graphics.c * src/caca.c: + Moved global variables to src/graphics.c. * src/bitmap.c: + Sanitised prototypes. ------------------------------------------------------------------------ r143 | sam | 2003-12-11 17:31:49 +0100 (Thu, 11 Dec 2003) | 17 lines Changed paths: M /trunk/examples M /trunk/examples/aafire.c M /trunk/examples/demo.c M /trunk/examples/view.c M /trunk/src/bitmap.c M /trunk/src/box.c M /trunk/src/caca.c M /trunk/src/caca.h M /trunk/src/caca_internals.h M /trunk/src/conic.c M /trunk/src/graphics.c M /trunk/src/line.c M /trunk/src/sprite.c M /trunk/src/triangle.c * 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. ------------------------------------------------------------------------ r142 | sam | 2003-12-11 16:54:53 +0100 (Thu, 11 Dec 2003) | 6 lines Changed paths: M /trunk/caca-config.in M /trunk/configure.ac * 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@. ------------------------------------------------------------------------ r141 | sam | 2003-12-02 23:27:27 +0100 (Tue, 02 Dec 2003) | 6 lines Changed paths: M /trunk/configure.ac M /trunk/examples/Makefile.am A /trunk/examples/aafire.c * 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. ------------------------------------------------------------------------ r139 | sam | 2003-11-30 18:15:31 +0100 (Sun, 30 Nov 2003) | 2 lines Changed paths: M /trunk/ChangeLog M /trunk/NEWS M /trunk/TODO M /trunk/debian/changelog M /trunk/debian/control * 0.2 release. ------------------------------------------------------------------------ r138 | sam | 2003-11-30 18:14:19 +0100 (Sun, 30 Nov 2003) | 3 lines Changed paths: M /trunk/examples/view.c * examples/view.c: + Removed last endianness issue. ------------------------------------------------------------------------ r137 | sam | 2003-11-30 17:34:04 +0100 (Sun, 30 Nov 2003) | 5 lines Changed paths: M /trunk/examples/view.c M /trunk/src/bitmap.c M /trunk/src/io.c * src/io.c: + Removed a useless message. * src/bitmap.c examples/view.c: + Really fixed the endianness issue. ------------------------------------------------------------------------ r136 | sam | 2003-11-30 16:56:02 +0100 (Sun, 30 Nov 2003) | 5 lines Changed paths: M /trunk/src/bitmap.c * src/bitmap.c: + Fine-tuned the new renderer. + Fixed warnings. + Changed hardcoded values to macros. ------------------------------------------------------------------------ r135 | sam | 2003-11-30 16:01:55 +0100 (Sun, 30 Nov 2003) | 11 lines Changed paths: M /trunk/configure.ac M /trunk/examples/demo.c M /trunk/examples/view.c M /trunk/src/bitmap.c M /trunk/src/caca.c M /trunk/src/caca.h * 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 . * examples/demo.c examples/view.c: + Fixed an endianness issue in cacaview. + Adapted code to the additional dithering method. ------------------------------------------------------------------------ r134 | sam | 2003-11-30 03:11:37 +0100 (Sun, 30 Nov 2003) | 4 lines Changed paths: M /trunk/examples/view.c M /trunk/src/bitmap.c * src/bitmap.c examples/view.c: + Fixed an endianness issue in caca_draw_bitmap(). + Code cleanup. ------------------------------------------------------------------------ r133 | sam | 2003-11-30 02:18:10 +0100 (Sun, 30 Nov 2003) | 13 lines Changed paths: M /trunk/TODO M /trunk/doc/cacaview.1 M /trunk/examples/Makefile.am M /trunk/examples/view.c M /trunk/src/caca.c * 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. ------------------------------------------------------------------------ r132 | sam | 2003-11-29 20:35:07 +0100 (Sat, 29 Nov 2003) | 9 lines Changed paths: M /trunk/examples/demo.c M /trunk/examples/view.c M /trunk/src/bitmap.c M /trunk/src/caca.c M /trunk/src/caca.h * 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(). ------------------------------------------------------------------------ r131 | sam | 2003-11-29 19:04:42 +0100 (Sat, 29 Nov 2003) | 3 lines Changed paths: M /trunk/src/caca.c * src/caca.c: + Test whether ncurses knows xterm-16color before setting $TERM. ------------------------------------------------------------------------ r130 | sam | 2003-11-29 18:36:00 +0100 (Sat, 29 Nov 2003) | 6 lines Changed paths: M /trunk/examples/view.c * 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. ------------------------------------------------------------------------ r129 | sam | 2003-11-29 17:42:35 +0100 (Sat, 29 Nov 2003) | 2 lines Changed paths: M /trunk/src/caca.c * Fixed a C99ism. ------------------------------------------------------------------------ r128 | sam | 2003-11-29 15:41:37 +0100 (Sat, 29 Nov 2003) | 9 lines Changed paths: M /trunk/NOTES M /trunk/configure.ac M /trunk/src/caca.c M /trunk/src/graphics.c * 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. ------------------------------------------------------------------------ r127 | sam | 2003-11-28 21:39:54 +0100 (Fri, 28 Nov 2003) | 10 lines Changed paths: M /trunk/NOTES M /trunk/examples/view.c M /trunk/src/bitmap.c * 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. ------------------------------------------------------------------------ r126 | sam | 2003-11-28 00:18:12 +0100 (Fri, 28 Nov 2003) | 3 lines Changed paths: M /trunk/src/bitmap.c * src/bitmap.c: + Removed § from the list of default characters due to collisions. ------------------------------------------------------------------------ r125 | sam | 2003-11-27 23:54:48 +0100 (Thu, 27 Nov 2003) | 6 lines Changed paths: A /trunk/debian/caca-utils.mime M /trunk/debian/control M /trunk/debian/rules * 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. ------------------------------------------------------------------------ r124 | sam | 2003-11-27 23:29:13 +0100 (Thu, 27 Nov 2003) | 5 lines Changed paths: M /trunk/configure.ac M /trunk/src/caca.c M /trunk/src/caca_internals.h M /trunk/src/graphics.c * 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. ------------------------------------------------------------------------ r123 | sam | 2003-11-27 22:56:30 +0100 (Thu, 27 Nov 2003) | 13 lines Changed paths: M /trunk/NOTES M /trunk/examples/demo.c M /trunk/examples/spritedit.c M /trunk/src/bitmap.c M /trunk/src/caca.c M /trunk/src/caca.h M /trunk/src/graphics.c M /trunk/src/sprite.c * 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 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. ------------------------------------------------------------------------ r122 | sam | 2003-11-27 14:27:32 +0100 (Thu, 27 Nov 2003) | 2 lines Changed paths: M /trunk/NOTES * NOTES: more notes about colours. ------------------------------------------------------------------------ r121 | sam | 2003-11-27 10:43:56 +0100 (Thu, 27 Nov 2003) | 5 lines Changed paths: M /trunk/Makefile.am M /trunk/configure.ac M /trunk/examples/Makefile.am * configure.ac: + More sensible imlib2 detection, works with cross-compilation. * Makefile.am: + Don't forget to include NOTES to the dist tarball. ------------------------------------------------------------------------ r120 | sam | 2003-11-27 10:38:16 +0100 (Thu, 27 Nov 2003) | 2 lines Changed paths: A /trunk/NOTES M /trunk/README M /trunk/debian/rules * NOTES: added information about colour support. ------------------------------------------------------------------------ r119 | sam | 2003-11-26 22:02:31 +0100 (Wed, 26 Nov 2003) | 2 lines Changed paths: M /trunk/configure.ac * configure.ac: Added a missing check for . ------------------------------------------------------------------------ r118 | sam | 2003-11-26 21:58:30 +0100 (Wed, 26 Nov 2003) | 2 lines Changed paths: M /trunk/src/bitmap.c * src/bitmap.c: Support for more colour depths. ------------------------------------------------------------------------ r115 | sam | 2003-11-24 20:56:04 +0100 (Mon, 24 Nov 2003) | 9 lines Changed paths: M /trunk/configure.ac M /trunk/examples/Makefile.am M /trunk/examples/demo.c M /trunk/examples/view.c * 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. ------------------------------------------------------------------------ r114 | sam | 2003-11-24 18:51:40 +0100 (Mon, 24 Nov 2003) | 4 lines Changed paths: M /trunk/debian M /trunk/debian/control M /trunk/debian/rules * debian/: + New caca-utils package. + Move cacademo, cacaview and caca-spritedit to caca-utils. ------------------------------------------------------------------------ r113 | sam | 2003-11-24 18:50:14 +0100 (Mon, 24 Nov 2003) | 6 lines Changed paths: M /trunk/doc/Makefile.am D /trunk/doc/caca-demo.1 A /trunk/doc/cacademo.1 (from /trunk/doc/caca-demo.1:112) A /trunk/doc/cacaview.1 M /trunk/examples M /trunk/examples/Makefile.am A /trunk/examples/view.c * 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. ------------------------------------------------------------------------ r112 | sam | 2003-11-23 16:34:35 +0100 (Sun, 23 Nov 2003) | 2 lines Changed paths: M /trunk/src/Makefile.am A /trunk/src/bitmap.c (from /trunk/src/blit.c:111) D /trunk/src/blit.c * Renamed src/blit.c into src/bitmap.c. ------------------------------------------------------------------------ r111 | sam | 2003-11-23 04:44:59 +0100 (Sun, 23 Nov 2003) | 5 lines Changed paths: M /trunk/examples/demo.c M /trunk/src/caca.c M /trunk/src/caca.h M /trunk/src/io.c * src/caca.c: + Mouse initialisation in ncurses. * src/io.c: + Mouse support in ncurses. ------------------------------------------------------------------------ r110 | sam | 2003-11-22 15:28:36 +0100 (Sat, 22 Nov 2003) | 3 lines Changed paths: M /trunk/debian/control * debian/control: + libcaca-dev should depend on slang1-dev. ------------------------------------------------------------------------ r109 | sam | 2003-11-22 15:23:18 +0100 (Sat, 22 Nov 2003) | 3 lines Changed paths: M /trunk/debian/Makefile.am * debian/Makefile.am: + Added compat and copyright to the distributed files. ------------------------------------------------------------------------ r108 | sam | 2003-11-22 15:19:36 +0100 (Sat, 22 Nov 2003) | 2 lines Changed paths: A /trunk/ChangeLog M /trunk/debian/rules * Added a ChangeLog file. ------------------------------------------------------------------------ r107 | sam | 2003-11-22 15:13:53 +0100 (Sat, 22 Nov 2003) | 3 lines Changed paths: M /trunk/examples/Makefile.am * examples/Makefile.am: + Compilation fix when libcaca is not available. ------------------------------------------------------------------------ r106 | sam | 2003-11-22 14:44:02 +0100 (Sat, 22 Nov 2003) | 9 lines Changed paths: M /trunk/debian/changelog A /trunk/debian/copyright M /trunk/debian/rules M /trunk/doc/Makefile.am M /trunk/doc/caca-config.1 A /trunk/doc/caca-demo.1 A /trunk/doc/caca-spritedit.1 M /trunk/examples/caca.txt * 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. ------------------------------------------------------------------------ r105 | sam | 2003-11-22 13:53:55 +0100 (Sat, 22 Nov 2003) | 11 lines Changed paths: A /trunk/AUTHORS M /trunk/Makefile.am A /trunk/NEWS M /trunk/configure.ac A /trunk/doc A /trunk/doc/Makefile.am A /trunk/doc/caca-config.1 A /trunk/doc/doxygen.cfg A /trunk/doc/footer.html A /trunk/doc/header.html * 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. ------------------------------------------------------------------------ r104 | sam | 2003-11-22 13:51:27 +0100 (Sat, 22 Nov 2003) | 2 lines Changed paths: M /trunk/examples/Makefile.am M /trunk/examples/demo.c * Disabled gdkpixbuf code. ------------------------------------------------------------------------ r103 | sam | 2003-11-22 13:45:25 +0100 (Sat, 22 Nov 2003) | 3 lines Changed paths: M /trunk/src/blit.c M /trunk/src/box.c M /trunk/src/caca.c M /trunk/src/caca.h M /trunk/src/caca_internals.h M /trunk/src/conic.c M /trunk/src/graphics.c M /trunk/src/io.c M /trunk/src/line.c M /trunk/src/math.c M /trunk/src/sprite.c M /trunk/src/triangle.c * src/: + Doxygenated a few things. ------------------------------------------------------------------------ r102 | sam | 2003-11-21 15:34:07 +0100 (Fri, 21 Nov 2003) | 8 lines Changed paths: M /trunk/TODO M /trunk/examples/demo.c M /trunk/src/blit.c M /trunk/src/caca.h * 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. ------------------------------------------------------------------------ r101 | sam | 2003-11-21 15:14:26 +0100 (Fri, 21 Nov 2003) | 3 lines Changed paths: M /trunk/src/io.c * src/io.c: + Fixed an off-by-one error in the mouse driver. ------------------------------------------------------------------------ r100 | sam | 2003-11-20 17:54:04 +0100 (Thu, 20 Nov 2003) | 13 lines Changed paths: M /trunk M /trunk/Makefile.am M /trunk/README M /trunk/TODO A /trunk/caca-config.in M /trunk/configure.ac M /trunk/debian A /trunk/debian/compat M /trunk/debian/control M /trunk/debian/rules M /trunk/examples M /trunk/examples/Makefile.am M /trunk/examples/demo.c M /trunk/src/Makefile.am * 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. ------------------------------------------------------------------------ r99 | sam | 2003-11-19 19:38:49 +0100 (Wed, 19 Nov 2003) | 3 lines Changed paths: M /trunk/TODO M /trunk/src/io.c * TODO: New stuff to do. * src/io.c: left and right arrow keys were swapped. ------------------------------------------------------------------------ r98 | sam | 2003-11-19 18:49:43 +0100 (Wed, 19 Nov 2003) | 3 lines Changed paths: M /trunk/src/blit.c M /trunk/src/caca.c M /trunk/src/io.c * src/io.c: + Fixed a bug in the mouse coordinates reporting. ------------------------------------------------------------------------ r97 | sam | 2003-11-19 18:32:10 +0100 (Wed, 19 Nov 2003) | 6 lines Changed paths: M /trunk/examples/demo.c M /trunk/examples/spritedit.c M /trunk/src/blit.c M /trunk/src/caca.c M /trunk/src/caca.h M /trunk/src/io.c * 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. ------------------------------------------------------------------------ r96 | sam | 2003-11-17 17:11:34 +0100 (Mon, 17 Nov 2003) | 8 lines Changed paths: M /trunk/examples/Makefile.am M /trunk/src/Makefile.am M /trunk/src/blit.c M /trunk/src/caca.h M /trunk/src/io.c * 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. ------------------------------------------------------------------------ r95 | sam | 2003-11-17 11:15:40 +0100 (Mon, 17 Nov 2003) | 2 lines Changed paths: D /trunk/.cvsignore D /trunk/autotools/.cvsignore * Removed legacy .cvsignore files. ------------------------------------------------------------------------ r94 | sam | 2003-11-16 18:41:43 +0100 (Sun, 16 Nov 2003) | 6 lines Changed paths: M /trunk/examples/demo.c M /trunk/src/blit.c M /trunk/src/caca.h * src/blit.c: + Hue calculation now uses integers only. + Dithering is now parametrable. Implemented none, ordered, random. * examples/demo.c: + Added dithering selection. ------------------------------------------------------------------------ r93 | sam | 2003-11-16 16:20:17 +0100 (Sun, 16 Nov 2003) | 8 lines Changed paths: M /trunk/examples/Makefile.am A /trunk/examples/caca.txt M /trunk/examples/demo.c M /trunk/examples/spritedit.c M /trunk/src/blit.c M /trunk/src/caca.c M /trunk/src/caca.h M /trunk/src/caca_internals.h M /trunk/src/graphics.c * 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. ------------------------------------------------------------------------ r92 | sam | 2003-11-16 13:28:29 +0100 (Sun, 16 Nov 2003) | 2 lines Changed paths: M /trunk/examples/demo.c M /trunk/examples/spritedit.c M /trunk/src/blit.c M /trunk/src/box.c M /trunk/src/caca.c M /trunk/src/caca.h M /trunk/src/caca_internals.h M /trunk/src/conic.c M /trunk/src/graphics.c M /trunk/src/io.c M /trunk/src/line.c M /trunk/src/math.c M /trunk/src/sprite.c M /trunk/src/triangle.c * Changed copyleft to LGPL. ------------------------------------------------------------------------ r91 | sam | 2003-11-16 13:13:46 +0100 (Sun, 16 Nov 2003) | 3 lines Changed paths: M /trunk/Makefile.am M /trunk/configure.ac A /trunk/examples (from /trunk/test:90) M /trunk/examples/Makefile.am D /trunk/libcaca A /trunk/src (from /trunk/libcaca:90) M /trunk/src/line.c D /trunk/test * 2nd pass in the libcaca rehandling; moved sources to src/ and examples to examples/. ------------------------------------------------------------------------ r90 | sam | 2003-11-16 13:07:52 +0100 (Sun, 16 Nov 2003) | 2 lines Changed paths: M /trunk/COPYING M /trunk/Makefile.am M /trunk/README M /trunk/TODO M /trunk/bootstrap M /trunk/configure.ac D /trunk/data D /trunk/debian/.cvsignore M /trunk/debian/changelog M /trunk/debian/control M /trunk/debian/rules D /trunk/doc D /trunk/src * The big TTYvaders/libcaca split. This is libcaca. ------------------------------------------------------------------------ r89 | sam | 2003-11-16 12:26:54 +0100 (Sun, 16 Nov 2003) | 8 lines Changed paths: M /trunk/configure.ac M /trunk/libcaca/blit.c M /trunk/libcaca/caca.c M /trunk/libcaca/conic.c M /trunk/libcaca/graphics.c M /trunk/src/weapons.c * 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. ------------------------------------------------------------------------ r88 | sam | 2003-11-16 01:33:35 +0100 (Sun, 16 Nov 2003) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/TODO M /trunk/configure.ac A /trunk/libcaca (from /trunk/libee:87) M /trunk/libcaca/Makefile.am M /trunk/libcaca/blit.c M /trunk/libcaca/box.c A /trunk/libcaca/caca.c (from /trunk/libee/ee.c:87) A /trunk/libcaca/caca.h (from /trunk/libee/ee.h:87) A /trunk/libcaca/caca_internals.h (from /trunk/libee/ee_internals.h:87) M /trunk/libcaca/conic.c D /trunk/libcaca/ee.c D /trunk/libcaca/ee.h D /trunk/libcaca/ee_internals.h M /trunk/libcaca/graphics.c M /trunk/libcaca/io.c M /trunk/libcaca/line.c M /trunk/libcaca/math.c M /trunk/libcaca/sprite.c M /trunk/libcaca/triangle.c D /trunk/libee M /trunk/src/Makefile.am M /trunk/src/aliens.c M /trunk/src/bonus.c M /trunk/src/box.c M /trunk/src/ceo.c M /trunk/src/collide.c M /trunk/src/common.h M /trunk/src/explosions.c M /trunk/src/intro.c M /trunk/src/main.c M /trunk/src/overlay.c M /trunk/src/player.c M /trunk/src/starfield.c M /trunk/src/tunnel.c M /trunk/src/weapons.c M /trunk/test/Makefile.am M /trunk/test/demo.c M /trunk/test/spritedit.c * Renamed libee to libcaca. Far less collisions. ------------------------------------------------------------------------ r87 | sam | 2003-11-16 01:09:09 +0100 (Sun, 16 Nov 2003) | 2 lines Changed paths: M /trunk/libee/Makefile.am A /trunk/libee/blit.c M /trunk/libee/ee.h M /trunk/test/Makefile.am M /trunk/test/demo.c * Very ugly ee_blit function. Will be polished in a while. ------------------------------------------------------------------------ r86 | sam | 2003-11-15 13:42:38 +0100 (Sat, 15 Nov 2003) | 10 lines Changed paths: M /trunk/libee/ee.c M /trunk/libee/ee.h M /trunk/libee/graphics.c M /trunk/test/demo.c * 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. ------------------------------------------------------------------------ r85 | sam | 2003-11-15 10:58:20 +0100 (Sat, 15 Nov 2003) | 8 lines Changed paths: M /trunk/libee/ee.c M /trunk/libee/ee.h M /trunk/libee/ee_internals.h M /trunk/libee/graphics.c M /trunk/libee/line.c * 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. ------------------------------------------------------------------------ r84 | sam | 2003-11-14 20:00:07 +0100 (Fri, 14 Nov 2003) | 6 lines Changed paths: M /trunk/libee/ee.c M /trunk/src/main.c M /trunk/test/demo.c * libee/ee.c: + Implemented correct framerate wait loop. + No framedropping yet. * test/demo.c src/main.c: + Set an arbitrary framerate for demos. ------------------------------------------------------------------------ r83 | sam | 2003-11-14 19:49:53 +0100 (Fri, 14 Nov 2003) | 2 lines Changed paths: M /trunk/src/Makefile.am M /trunk/test/Makefile.am * Fixed compilation in an alternate directory. ------------------------------------------------------------------------ r82 | sam | 2003-11-14 18:02:36 +0100 (Fri, 14 Nov 2003) | 2 lines Changed paths: M /trunk/src/box.c M /trunk/src/main.c M /trunk/src/player.c M /trunk/src/starfield.c M /trunk/src/tunnel.c M /trunk/src/weapons.c * Sanity checks after each malloc() call. ------------------------------------------------------------------------ r81 | sam | 2003-11-14 17:55:58 +0100 (Fri, 14 Nov 2003) | 4 lines Changed paths: M /trunk/libee/ee.h M /trunk/libee/math.c * libee/math.c: + ee_sqrt() now uses unsigned ints. + Avoid overflows in ee_sqrt(). ------------------------------------------------------------------------ r80 | sam | 2003-11-13 18:12:40 +0100 (Thu, 13 Nov 2003) | 2 lines Changed paths: M /trunk/src/intro.c * src/intro.c: Minor graphical issue on dosemu with ncurses backend. ------------------------------------------------------------------------ r79 | sam | 2003-11-13 17:45:25 +0100 (Thu, 13 Nov 2003) | 6 lines Changed paths: M /trunk/libee/ee.c M /trunk/libee/ee_internals.h M /trunk/libee/graphics.c M /trunk/libee/sprite.c * 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(). ------------------------------------------------------------------------ r78 | sam | 2003-11-13 16:41:12 +0100 (Thu, 13 Nov 2003) | 2 lines Changed paths: M /trunk/libee/conic.c M /trunk/libee/line.c M /trunk/src/box.c * Minor coding style changes. ------------------------------------------------------------------------ r77 | sam | 2003-11-13 16:37:49 +0100 (Thu, 13 Nov 2003) | 2 lines Changed paths: M /trunk/data/Makefile.am D /trunk/data/bar_boss D /trunk/data/bar_fighter A /trunk/data/barboss.txt (from /trunk/data/bar_boss:76) A /trunk/data/barfight.txt (from /trunk/data/bar_fighter:76) D /trunk/data/baz_fighter A /trunk/data/bazfight.txt (from /trunk/data/baz_fighter:76) A /trunk/data/bongem.txt (from /trunk/data/item_gem:76) A /trunk/data/bonheart.txt (from /trunk/data/item_heart:76) D /trunk/data/explosion_medium D /trunk/data/explosion_small D /trunk/data/foo_fighter A /trunk/data/foofight.txt (from /trunk/data/foo_fighter:76) D /trunk/data/item_gem D /trunk/data/item_heart A /trunk/data/ship.txt (from /trunk/data/ship_green:76) D /trunk/data/ship_green D /trunk/data/weapon_bomb D /trunk/data/weapon_fragbomb A /trunk/data/wpnbomb.txt (from /trunk/data/weapon_bomb:76) A /trunk/data/wpnfrag.txt (from /trunk/data/weapon_fragbomb:76) A /trunk/data/xplmed.txt (from /trunk/data/explosion_medium:76) A /trunk/data/xplsmall.txt (from /trunk/data/explosion_small:76) M /trunk/src/aliens.c M /trunk/src/bonus.c M /trunk/src/explosions.c M /trunk/src/intro.c M /trunk/src/player.c M /trunk/src/weapons.c M /trunk/test/demo.c * Renamed sprites to < 8+3 names for the DOS port. ------------------------------------------------------------------------ r76 | sam | 2003-11-13 00:46:58 +0100 (Thu, 13 Nov 2003) | 7 lines Changed paths: M /trunk/data/bar_boss M /trunk/data/bar_fighter M /trunk/data/baz_fighter M /trunk/data/explosion_medium M /trunk/data/explosion_small M /trunk/data/foo_fighter M /trunk/data/item_gem M /trunk/data/item_heart M /trunk/data/ship_green M /trunk/data/weapon_bomb M /trunk/data/weapon_fragbomb M /trunk/src/starfield.c M /trunk/test/demo.c * test/demo.c: + Removed a spurious '\n' from an ee_putstr(). * src/starfield.c: + Fixed starfield color. * data/: + Fixed every sprite's colors. ------------------------------------------------------------------------ r75 | sam | 2003-11-12 22:18:50 +0100 (Wed, 12 Nov 2003) | 25 lines Changed paths: A /trunk/BUGS M /trunk/Makefile.am M /trunk/README M /trunk/TODO M /trunk/libee/Makefile.am M /trunk/libee/box.c M /trunk/libee/conic.c M /trunk/libee/ee.c M /trunk/libee/ee.h A /trunk/libee/ee_internals.h M /trunk/libee/graphics.c M /trunk/libee/io.c M /trunk/libee/line.c M /trunk/libee/math.c M /trunk/libee/sprite.c M /trunk/libee/triangle.c M /trunk/src/Makefile.am M /trunk/src/overlay.c M /trunk/src/weapons.c M /trunk/test/demo.c * 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. * test/demo.c: + Added a simple demo_color() to output all colors. + Replaced four ee_draw_line() with ee_draw_thin_box(). + Replaced x1, y1, x2 etc. with xa, ya, xb etc. because already defines y1. + Randomized colours from 0 to 15 instead of 1 to 10. * src/Makefiles.am: + Added -lm to the ttyvaders linking flags because of the intro. * README BUGS TODO: + Updated. ------------------------------------------------------------------------ r74 | sam | 2003-11-12 19:41:02 +0100 (Wed, 12 Nov 2003) | 7 lines Changed paths: M /trunk/README M /trunk/configure.ac M /trunk/libee/ee.c M /trunk/libee/graphics.c * README: + Added a note about dos cross-compilation. * configure.ac: + Added a check for ScreenUpdate in . * libee/graphics.c libee/ee.c: + Improved the conio port thanks to ScreenUpdate(). ------------------------------------------------------------------------ r73 | sam | 2003-11-12 17:23:18 +0100 (Wed, 12 Nov 2003) | 2 lines Changed paths: M /trunk/configure.ac M /trunk/libee/conic.c M /trunk/libee/ee.c M /trunk/libee/graphics.c M /trunk/libee/io.c M /trunk/libee/line.c * MS-DOS port of libee, using . ------------------------------------------------------------------------ r72 | sam | 2003-11-12 02:48:58 +0100 (Wed, 12 Nov 2003) | 17 lines Changed paths: M /trunk/data/foo_fighter M /trunk/libee/box.c M /trunk/libee/ee.h M /trunk/libee/graphics.c M /trunk/libee/line.c M /trunk/libee/sprite.c M /trunk/src/Makefile.am M /trunk/src/aliens.c M /trunk/src/bonus.c M /trunk/src/box.c M /trunk/src/common.h M /trunk/src/explosions.c A /trunk/src/intro.c M /trunk/src/main.c M /trunk/src/overlay.c M /trunk/src/player.c M /trunk/src/starfield.c M /trunk/src/tunnel.c M /trunk/src/weapons.c M /trunk/test/demo.c M /trunk/test/spritedit.c * 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. ------------------------------------------------------------------------ r71 | sam | 2003-11-11 11:22:19 +0100 (Tue, 11 Nov 2003) | 13 lines Changed paths: M /trunk/libee/Makefile.am A /trunk/libee/box.c M /trunk/libee/conic.c M /trunk/libee/ee.h M /trunk/libee/triangle.c M /trunk/test/demo.c * 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(). ------------------------------------------------------------------------ r70 | sam | 2003-11-11 09:00:36 +0100 (Tue, 11 Nov 2003) | 5 lines Changed paths: M /trunk/data/Makefile.am A /trunk/data/ship_green M /trunk/src/collide.c M /trunk/src/main.c M /trunk/src/player.c M /trunk/src/weapons.c * 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. ------------------------------------------------------------------------ r69 | sam | 2003-11-11 00:38:50 +0100 (Tue, 11 Nov 2003) | 8 lines Changed paths: M /trunk/libee/Makefile.am M /trunk/libee/conic.c M /trunk/libee/ee.c M /trunk/libee/ee.h A /trunk/libee/graphics.c (from /trunk/libee/ee.c:68) M /trunk/libee/io.c M /trunk/libee/line.c M /trunk/libee/math.c M /trunk/libee/sprite.c M /trunk/libee/triangle.c M /trunk/src/box.c M /trunk/src/overlay.c M /trunk/src/player.c M /trunk/src/starfield.c M /trunk/src/tunnel.c M /trunk/src/weapons.c M /trunk/test/demo.c * libee/graphics.c: + Moved ee_putstr() and ee_putchar() in here. * libee/ee.h: + Got rid of ee_goto(). + Moved or into libee. * Replaced ee_goto()/ee_putstr() pairs with ee_putstr(). * Ditto for ee_putchar(). ------------------------------------------------------------------------ r68 | sam | 2003-11-11 00:04:13 +0100 (Tue, 11 Nov 2003) | 5 lines Changed paths: M /trunk/data/Makefile.am M /trunk/src/Makefile.am M /trunk/test M /trunk/test/Makefile.am A /trunk/test/spritedit.c * 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. ------------------------------------------------------------------------ r67 | sam | 2003-11-10 23:43:30 +0100 (Mon, 10 Nov 2003) | 4 lines Changed paths: M /trunk/data/Makefile.am A /trunk/data/weapon_fragbomb M /trunk/src/weapons.c * src/weapons.c data/weapon_fragbomb: + Drew the fragbomb sprite. + Use the fragbomb in src/weapons.c. ------------------------------------------------------------------------ r66 | sam | 2003-11-10 22:54:11 +0100 (Mon, 10 Nov 2003) | 5 lines Changed paths: M /trunk/data/Makefile.am A /trunk/data/weapon_bomb M /trunk/src/weapons.c * data/weapon_bomb: + New bomb sprite. * src/weapons.c: + Switched the bomb drawing to use ee_draw_sprite(). ------------------------------------------------------------------------ r65 | sam | 2003-11-10 22:17:47 +0100 (Mon, 10 Nov 2003) | 8 lines Changed paths: M /trunk/data/Makefile.am A /trunk/data/explosion_medium A /trunk/data/explosion_small M /trunk/libee/sprite.c M /trunk/src/explosions.c * 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. ------------------------------------------------------------------------ r64 | sam | 2003-11-10 21:43:02 +0100 (Mon, 10 Nov 2003) | 2 lines Changed paths: M /trunk/libee/conic.c * libee/conic.c: Clip circles and ellipses. ------------------------------------------------------------------------ r63 | sam | 2003-11-10 19:29:04 +0100 (Mon, 10 Nov 2003) | 5 lines Changed paths: M /trunk/libee/conic.c M /trunk/libee/sprite.c * libee/sprite.c: + Added sanity checks in ee_sprite_* functions. * libee/conic.c: + Use ellipsepoints() in ee_draw_circle(). ------------------------------------------------------------------------ r62 | sam | 2003-11-10 19:23:23 +0100 (Mon, 10 Nov 2003) | 3 lines Changed paths: M /trunk/test/demo.c * test/demo.c: + Ellipses demo. ------------------------------------------------------------------------ r61 | sam | 2003-11-10 19:21:36 +0100 (Mon, 10 Nov 2003) | 3 lines Changed paths: M /trunk/libee/conic.c M /trunk/libee/ee.h * libee/conic.c: + ee_draw_ellipse(). ------------------------------------------------------------------------ r60 | sam | 2003-11-10 16:31:12 +0100 (Mon, 10 Nov 2003) | 2 lines Changed paths: M /trunk/libee/Makefile.am D /trunk/libee/circle.c A /trunk/libee/conic.c (from /trunk/libee/circle.c:58) M /trunk/libee/line.c * Renamed libee/circle.c to libee/conic.c because we'll do ellipsis. ------------------------------------------------------------------------ r59 | sam | 2003-11-10 16:16:38 +0100 (Mon, 10 Nov 2003) | 3 lines Changed paths: M /trunk/libee/line.c * libee/line.c: + Added code comments. ------------------------------------------------------------------------ r58 | sam | 2003-11-10 15:19:21 +0100 (Mon, 10 Nov 2003) | 4 lines Changed paths: M /trunk/configure.ac M /trunk/libee/Makefile.am M /trunk/src/Makefile.am M /trunk/test/Makefile.am * configure.ac: + Moved optimization flags and warning triggers here. + Updated the snapshot timestamp. ------------------------------------------------------------------------ r57 | sam | 2003-11-10 15:13:56 +0100 (Mon, 10 Nov 2003) | 2 lines Changed paths: M /trunk/test/demo.c * test/demo.c: Nicer complete demo. ------------------------------------------------------------------------ r56 | sam | 2003-11-10 10:26:40 +0100 (Mon, 10 Nov 2003) | 11 lines Changed paths: M /trunk/data/Makefile.am A /trunk/data/baz_fighter A /trunk/data/foo_fighter A /trunk/data/item_gem A /trunk/data/item_heart M /trunk/libee/ee.h M /trunk/libee/sprite.c M /trunk/src/aliens.c M /trunk/src/bonus.c M /trunk/src/box.c * 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. ------------------------------------------------------------------------ r55 | sam | 2003-11-10 03:00:52 +0100 (Mon, 10 Nov 2003) | 2 lines Changed paths: A /trunk/data/Makefile.am * Oops, forgot data/Makefile.am. ------------------------------------------------------------------------ r54 | sam | 2003-11-10 03:00:19 +0100 (Mon, 10 Nov 2003) | 5 lines Changed paths: M /trunk/Makefile.am M /trunk/configure.ac A /trunk/data A /trunk/data/bar_boss A /trunk/data/bar_fighter M /trunk/test/demo.c * test/demo.c: + Wrote a little sprite demo. * data/: + Added bar_fighter (from ttyvaders) and bar_boss (from shapes.txt). ------------------------------------------------------------------------ r53 | sam | 2003-11-10 02:56:24 +0100 (Mon, 10 Nov 2003) | 4 lines Changed paths: M /trunk/libee/Makefile.am M /trunk/libee/ee.h A /trunk/libee/sprite.c * libee/sprite.c: + Beginning of sprite handling within the library. + Added support to load files. ------------------------------------------------------------------------ r52 | sam | 2003-11-10 01:27:33 +0100 (Mon, 10 Nov 2003) | 3 lines Changed paths: M /trunk/test/demo.c * test/demo.c: + outlined triangles demo. ------------------------------------------------------------------------ r51 | sam | 2003-11-10 01:15:02 +0100 (Mon, 10 Nov 2003) | 2 lines Changed paths: M /trunk/configure.ac M /trunk/libee/Makefile.am M /trunk/src/Makefile.am M /trunk/test/Makefile.am * Removed CPPFLAGS_slang and CPPFLAGS_ncurses, we now have config.h. ------------------------------------------------------------------------ r50 | sam | 2003-11-10 00:34:24 +0100 (Mon, 10 Nov 2003) | 4 lines Changed paths: M /trunk/src/aliens.c M /trunk/src/bonus.c M /trunk/src/box.c M /trunk/src/collide.c M /trunk/src/explosions.c M /trunk/src/main.c M /trunk/src/overlay.c M /trunk/src/player.c M /trunk/src/starfield.c M /trunk/src/tunnel.c M /trunk/src/weapons.c * src/*.c: + Added missing #include "config.h". + Fixed a nasty bug in ee_rand() calls. ------------------------------------------------------------------------ r49 | sam | 2003-11-10 00:01:29 +0100 (Mon, 10 Nov 2003) | 3 lines Changed paths: M /trunk/test/demo.c * test/demo.c: + Disabled the pyramid demo and wrote a simple triangles demo. ------------------------------------------------------------------------ r48 | sam | 2003-11-09 22:36:24 +0100 (Sun, 09 Nov 2003) | 5 lines Changed paths: M /trunk/libee/Makefile.am M /trunk/libee/ee.h A /trunk/libee/triangle.c M /trunk/test/Makefile.am M /trunk/test/demo.c * libee/triangle.c: + Implemented ee_fill_triangle(). * test/demo.c: + Triangle demo. ------------------------------------------------------------------------ r47 | sam | 2003-11-09 20:46:14 +0100 (Sun, 09 Nov 2003) | 5 lines Changed paths: M /trunk/libee/ee.h M /trunk/libee/line.c M /trunk/test/demo.c * libee/line.c: + ee_draw_thin_line(). * test/demo.c: + Added a thin lines demo. ------------------------------------------------------------------------ r46 | sam | 2003-11-09 19:10:44 +0100 (Sun, 09 Nov 2003) | 2 lines Changed paths: M /trunk/libee/line.c * libee/line.c: genericized line drawing for future use. ------------------------------------------------------------------------ r45 | sam | 2003-11-09 18:45:12 +0100 (Sun, 09 Nov 2003) | 6 lines Changed paths: M /trunk/test M /trunk/test/demo.c * test/demo.c: + Putpixel demo. + Draw line demo. + Draw circle demo. + Animated radar demo. ------------------------------------------------------------------------ r44 | sam | 2003-11-09 18:21:43 +0100 (Sun, 09 Nov 2003) | 7 lines Changed paths: M /trunk/libee/Makefile.am A /trunk/libee/circle.c (from /trunk/src/weapons.c:42) M /trunk/libee/ee.h M /trunk/libee/line.c M /trunk/src/weapons.c * 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. ------------------------------------------------------------------------ r43 | sam | 2003-11-09 17:34:23 +0100 (Sun, 09 Nov 2003) | 2 lines Changed paths: M /trunk/libee M /trunk/libee/Makefile.am M /trunk/libee/ee.h A /trunk/libee/line.c * libee/line.c: Implemented ee_draw_line. ------------------------------------------------------------------------ r42 | sam | 2003-11-09 14:52:40 +0100 (Sun, 09 Nov 2003) | 5 lines Changed paths: M /trunk/libee/ee.c M /trunk/libee/ee.h M /trunk/test/demo.c * libee/ee.c: + got rid of DELAY. * test/demo.c: + Minor animation effect. ------------------------------------------------------------------------ r41 | sam | 2003-11-09 14:51:37 +0100 (Sun, 09 Nov 2003) | 2 lines Changed paths: M /trunk/libee/math.c * libee/math.c: fixed a thinko in ee_rand(). ------------------------------------------------------------------------ r40 | sam | 2003-11-09 14:32:04 +0100 (Sun, 09 Nov 2003) | 8 lines Changed paths: M /trunk/libee/Makefile.am M /trunk/libee/ee.c M /trunk/libee/ee.h A /trunk/libee/io.c (from /trunk/libee/ee.c:37) A /trunk/libee/math.c M /trunk/src/Makefile.am M /trunk/src/aliens.c M /trunk/src/collide.c M /trunk/src/common.h M /trunk/src/explosions.c M /trunk/src/main.c D /trunk/src/math.c M /trunk/src/starfield.c M /trunk/src/tunnel.c M /trunk/src/weapons.c * libee/io.c: + Moved ee_get_key() here. * libee/math.c: + Moved r00t() here and renamed it to ee_sqrt(). + Moved GET_RAND() here and renamed it to ee_rand(). * src/math.c: + Removed this deprecated file. ------------------------------------------------------------------------ r39 | sam | 2003-11-09 14:16:19 +0100 (Sun, 09 Nov 2003) | 2 lines Changed paths: M /trunk/src/aliens.c M /trunk/src/bonus.c M /trunk/src/box.c M /trunk/src/ceo.c M /trunk/src/collide.c M /trunk/src/common.h M /trunk/src/explosions.c M /trunk/src/main.c M /trunk/src/math.c M /trunk/src/overlay.c M /trunk/src/player.c M /trunk/src/starfield.c M /trunk/src/tunnel.c M /trunk/src/weapons.c * Coding style everywhere. ------------------------------------------------------------------------ r38 | sam | 2003-11-09 14:02:34 +0100 (Sun, 09 Nov 2003) | 5 lines Changed paths: M /trunk/libee/Makefile.am M /trunk/test/Makefile.am A /trunk/test/demo.c * libee/Makefile.am, test/Makefile.am: + Added more compiler warning flags. * test/demo.c: + Small demo for libee. ------------------------------------------------------------------------ r37 | sam | 2003-11-09 14:01:44 +0100 (Sun, 09 Nov 2003) | 2 lines Changed paths: M /trunk/libee/ee.c * libee/ee.c: Fixed a compilation warning. ------------------------------------------------------------------------ r36 | sam | 2003-11-09 13:48:09 +0100 (Sun, 09 Nov 2003) | 2 lines Changed paths: M /trunk/libee/ee.c * libee/ee.c: Exact line fill in ee_clear(). ------------------------------------------------------------------------ r35 | sam | 2003-11-09 13:40:53 +0100 (Sun, 09 Nov 2003) | 2 lines Changed paths: M /trunk/libee/Makefile.am M /trunk/libee/ee.c A /trunk/libee/ee.h M /trunk/src/Makefile.am M /trunk/src/aliens.c M /trunk/src/bonus.c M /trunk/src/box.c M /trunk/src/ceo.c M /trunk/src/common.h M /trunk/src/explosions.c M /trunk/src/main.c M /trunk/src/overlay.c M /trunk/src/player.c M /trunk/src/starfield.c M /trunk/src/tunnel.c M /trunk/src/weapons.c * libee is now standalone. ------------------------------------------------------------------------ r34 | sam | 2003-11-09 13:02:42 +0100 (Sun, 09 Nov 2003) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/configure.ac M /trunk/libee A /trunk/libee/Makefile.am M /trunk/src/Makefile.am A /trunk/test A /trunk/test/Makefile.am * libee is now (almost) standalone. ------------------------------------------------------------------------ r33 | sam | 2003-11-09 12:26:08 +0100 (Sun, 09 Nov 2003) | 7 lines Changed paths: M /trunk/doc/shapes.txt A /trunk/libee A /trunk/libee/ee.c (from /trunk/src/graphics.c:31) M /trunk/src/Makefile.am M /trunk/src/ceo.c M /trunk/src/common.h D /trunk/src/graphics.c M /trunk/src/main.c * libee/ee.c: + First file in libee, from src/graphics.c. + Disable cursor upon initialisation. + Added delay code for constant framerate. * src/common.h: + Minor compilation fix for latest ncurses. ------------------------------------------------------------------------ r32 | sam | 2003-11-06 22:40:53 +0100 (Thu, 06 Nov 2003) | 2 lines Changed paths: M /trunk/bootstrap * bootstrap: always remove autom4te.cache. ------------------------------------------------------------------------ r31 | sam | 2003-10-02 03:08:13 +0200 (Thu, 02 Oct 2003) | 2 lines Changed paths: M /trunk M /trunk/autotools M /trunk/bootstrap M /trunk/configure.ac M /trunk/debian M /trunk/src M /trunk/src/aliens.c M /trunk/src/bonus.c M /trunk/src/box.c M /trunk/src/ceo.c M /trunk/src/collide.c M /trunk/src/common.h M /trunk/src/explosions.c M /trunk/src/graphics.c M /trunk/src/main.c M /trunk/src/math.c M /trunk/src/overlay.c M /trunk/src/player.c M /trunk/src/starfield.c M /trunk/src/tunnel.c M /trunk/src/weapons.c * Fixed keywords, ignore, and lots of tiny SVN things. ------------------------------------------------------------------------ r30 | sam | 2003-02-09 12:17:40 +0100 (Sun, 09 Feb 2003) | 3 lines Changed paths: M /trunk/TODO M /trunk/src/Makefile.am A /trunk/src/box.c M /trunk/src/common.h M /trunk/src/main.c M /trunk/src/overlay.c * support for boxes * application: pause box ------------------------------------------------------------------------ r29 | sam | 2003-01-06 13:22:58 +0100 (Mon, 06 Jan 2003) | 3 lines Changed paths: M /trunk/TODO M /trunk/src/collide.c * cosmetic code changes. * fixed a bug in the tunnel munching. ------------------------------------------------------------------------ r28 | sam | 2002-12-23 17:44:28 +0100 (Mon, 23 Dec 2002) | 3 lines Changed paths: M /trunk/README M /trunk/TODO M /trunk/configure.ac M /trunk/src/weapons.c * fixed the ncurses build. * replaced '?\239?\191?\189' with ':' in the fragbomb tail because it's not ASCII. ------------------------------------------------------------------------ r27 | sam | 2002-12-23 17:21:38 +0100 (Mon, 23 Dec 2002) | 6 lines Changed paths: M /trunk/configure.ac M /trunk/src/collide.c M /trunk/src/common.h M /trunk/src/graphics.c M /trunk/src/main.c M /trunk/src/overlay.c M /trunk/src/player.c * new timestamp for a new snapshot. * lots of sanity checks in collide.c. * moved usleep() to graphics.c. * added random key generator in the dummy driver. * cosmetic changes in the energy bars. ------------------------------------------------------------------------ r26 | sam | 2002-12-23 16:06:13 +0100 (Mon, 23 Dec 2002) | 4 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/common.h M /trunk/src/main.c A /trunk/src/overlay.c M /trunk/src/player.c * better handling of special weapon timeout. * the bomb is now part of the standard fire button effect. * overlay for life and special weapon jauges. ------------------------------------------------------------------------ r25 | sam | 2002-12-23 14:46:27 +0100 (Mon, 23 Dec 2002) | 3 lines Changed paths: M /trunk/src/aliens.c M /trunk/src/collide.c M /trunk/src/common.h M /trunk/src/main.c M /trunk/src/player.c * aliens are now named foo, bar and baz. * beginning of life jauges. ------------------------------------------------------------------------ r24 | sam | 2002-12-23 14:13:04 +0100 (Mon, 23 Dec 2002) | 2 lines Changed paths: M /trunk/src/common.h M /trunk/src/main.c M /trunk/src/player.c * ship has vx and vy. ------------------------------------------------------------------------ r23 | sam | 2002-12-23 13:47:36 +0100 (Mon, 23 Dec 2002) | 2 lines Changed paths: M /trunk/TODO M /trunk/src/main.c M /trunk/src/tunnel.c * cosmetic change: reworked draw_tunnel. ------------------------------------------------------------------------ r22 | sam | 2002-12-23 13:03:31 +0100 (Mon, 23 Dec 2002) | 3 lines Changed paths: M /trunk/src/main.c M /trunk/src/tunnel.c * lasers are now twice as fast. * walls are now filled, and displayed on top of aliens. ------------------------------------------------------------------------ r21 | sam | 2002-12-23 11:06:27 +0100 (Mon, 23 Dec 2002) | 5 lines Changed paths: M /trunk/configure.ac M /trunk/src/Makefile.am M /trunk/src/ceo.c M /trunk/src/common.h M /trunk/src/graphics.c M /trunk/src/main.c M /trunk/src/tunnel.c * added support for --disable-slang. * fixed an overflow in the tunnel update code. * fragbomb is now 'f', not 'd'. * added a missing call to init_bonus(). ------------------------------------------------------------------------ r20 | sam | 2002-12-23 10:28:37 +0100 (Mon, 23 Dec 2002) | 5 lines Changed paths: M /trunk/TODO M /trunk/src/collide.c M /trunk/src/common.h M /trunk/src/main.c M /trunk/src/starfield.c M /trunk/src/tunnel.c M /trunk/src/weapons.c * the beam now digs the tunnel. * the starfield is now an array of stars. * fixed wall rendering (offset issues and disappearing left wall). * 32 seekers on fragbomb explosion, not 16. ------------------------------------------------------------------------ r19 | sam | 2002-12-23 00:39:15 +0100 (Mon, 23 Dec 2002) | 3 lines Changed paths: M /trunk/src/weapons.c * seekers and homing bombs react more quickly. * 16 seekers on fragbomb explosion instead of 12. ------------------------------------------------------------------------ r18 | sam | 2002-12-23 00:01:35 +0100 (Mon, 23 Dec 2002) | 3 lines Changed paths: M /trunk/src/math.c M /trunk/src/weapons.c * fixed a segfault when the target seeker speed was zero. * factorized the seeker generation on fragbomb explosion. ------------------------------------------------------------------------ r17 | sam | 2002-12-22 23:36:42 +0100 (Sun, 22 Dec 2002) | 2 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/common.h A /trunk/src/math.c M /trunk/src/weapons.c * Removed the dependency on . We don't need no stinking sqrt! ------------------------------------------------------------------------ r16 | sam | 2002-12-22 23:17:41 +0100 (Sun, 22 Dec 2002) | 3 lines Changed paths: M /trunk/doc/shapes.txt M /trunk/src/aliens.c M /trunk/src/ceo.c M /trunk/src/collide.c M /trunk/src/common.h M /trunk/src/main.c M /trunk/src/weapons.c * dead aliens don't explode in the collision loop but in their update loop. * new super weapon, the fragmentation bomb. ------------------------------------------------------------------------ r15 | sam | 2002-12-22 20:08:35 +0100 (Sun, 22 Dec 2002) | 2 lines Changed paths: M /trunk/.cvsignore M /trunk/Makefile.am A /trunk/autotools A /trunk/autotools/.cvsignore A /trunk/autotools/Makefile.am M /trunk/bootstrap M /trunk/configure.ac M /trunk/debian/.cvsignore M /trunk/src/Makefile.am * Moved generated autotools files to the autotools/ directory. ------------------------------------------------------------------------ r14 | sam | 2002-12-22 19:44:12 +0100 (Sun, 22 Dec 2002) | 2 lines Changed paths: M /trunk/src/aliens.c M /trunk/src/bonus.c M /trunk/src/ceo.c M /trunk/src/collide.c M /trunk/src/common.h M /trunk/src/explosions.c M /trunk/src/graphics.c M /trunk/src/main.c M /trunk/src/player.c M /trunk/src/starfield.c M /trunk/src/tunnel.c M /trunk/src/weapons.c * I think I fucked up the $Id tags on my previous commit. ------------------------------------------------------------------------ r13 | sam | 2002-12-22 19:42:32 +0100 (Sun, 22 Dec 2002) | 3 lines Changed paths: A /trunk/COPYING M /trunk/src/aliens.c M /trunk/src/bonus.c M /trunk/src/ceo.c M /trunk/src/collide.c M /trunk/src/common.h M /trunk/src/explosions.c M /trunk/src/graphics.c M /trunk/src/main.c M /trunk/src/player.c M /trunk/src/starfield.c M /trunk/src/tunnel.c M /trunk/src/weapons.c * added the COPYING file (GPLv2). * added GPL headers to source files. ------------------------------------------------------------------------ r12 | sam | 2002-12-22 19:40:36 +0100 (Sun, 22 Dec 2002) | 2 lines Changed paths: M /trunk/src/Makefile.am A /trunk/src/ceo.c M /trunk/src/common.h M /trunk/src/main.c * tab == hotkey for CEO alert. ------------------------------------------------------------------------ r11 | sam | 2002-12-18 19:44:47 +0100 (Wed, 18 Dec 2002) | 2 lines Changed paths: M /trunk/TODO M /trunk/doc/shapes.txt M /trunk/src/aliens.c * 3rd alien type. ------------------------------------------------------------------------ r10 | sam | 2002-12-18 19:12:28 +0100 (Wed, 18 Dec 2002) | 2 lines Changed paths: D /trunk/Makefile * Scrapped Makefile. ------------------------------------------------------------------------ r9 | sam | 2002-12-18 19:11:54 +0100 (Wed, 18 Dec 2002) | 2 lines Changed paths: M /trunk/Makefile A /trunk/README A /trunk/TODO * README and TODO files. ------------------------------------------------------------------------ r8 | sam | 2002-12-18 14:29:31 +0100 (Wed, 18 Dec 2002) | 2 lines Changed paths: M /trunk/Makefile M /trunk/configure.ac M /trunk/doc/shapes.txt M /trunk/src/collide.c M /trunk/src/weapons.c * the bomb's head is now white ------------------------------------------------------------------------ r7 | sam | 2002-12-15 18:16:45 +0100 (Sun, 15 Dec 2002) | 3 lines Changed paths: M /trunk/doc/shapes.txt M /trunk/src/aliens.c M /trunk/src/collide.c M /trunk/src/common.h M /trunk/src/main.c M /trunk/src/weapons.c * new weapon: bomb. * beam now collides with aliens. ------------------------------------------------------------------------ r6 | sam | 2002-12-15 06:03:55 +0100 (Sun, 15 Dec 2002) | 2 lines Changed paths: M /trunk/doc/shapes.txt M /trunk/src/common.h M /trunk/src/main.c M /trunk/src/weapons.c * 'beam' weapon. ------------------------------------------------------------------------ r5 | sam | 2002-12-15 04:41:32 +0100 (Sun, 15 Dec 2002) | 10 lines Changed paths: M /trunk/Makefile M /trunk/configure.ac M /trunk/debian/changelog M /trunk/debian/control M /trunk/debian/rules M /trunk/doc/shapes.txt M /trunk/src/Makefile.am M /trunk/src/aliens.c A /trunk/src/bonus.c M /trunk/src/collide.c M /trunk/src/common.h M /trunk/src/explosions.c M /trunk/src/graphics.c M /trunk/src/main.c M /trunk/src/player.c M /trunk/src/starfield.c M /trunk/src/tunnel.c M /trunk/src/weapons.c * real Debian package files. * two new types of aliens. only one rules. * removed gfx_write in favor of gfx_putchar and gfx_putstr. * added bonuses at alien death. they do nothing yet. * seeker missiles. 'b' to test. * weapon resolution is now 16*char. needs to be generalized. * fixed the supernova bugs. center could collide with the tunnel, and the last frame was badly displayed. * lots of cleanups everywhere. ------------------------------------------------------------------------ r4 | sam | 2002-12-13 21:50:00 +0100 (Fri, 13 Dec 2002) | 2 lines Changed paths: M /trunk/.cvsignore M /trunk/Makefile A /trunk/Makefile.am D /trunk/aliens.c A /trunk/bootstrap D /trunk/collide.c D /trunk/common.h A /trunk/configure.ac A /trunk/debian A /trunk/debian/.cvsignore A /trunk/debian/Makefile.am A /trunk/debian/changelog A /trunk/debian/control A /trunk/debian/rules A /trunk/doc A /trunk/doc/shapes.txt D /trunk/explosions.c D /trunk/graphics.c D /trunk/main.c D /trunk/player.c D /trunk/shapes.txt A /trunk/src A /trunk/src/.cvsignore A /trunk/src/Makefile.am A /trunk/src/aliens.c A /trunk/src/collide.c A /trunk/src/common.h A /trunk/src/explosions.c A /trunk/src/graphics.c A /trunk/src/main.c A /trunk/src/player.c A /trunk/src/starfield.c A /trunk/src/tunnel.c A /trunk/src/weapons.c D /trunk/starfield.c D /trunk/tunnel.c D /trunk/weapons.c * autotoolificationized the whole thing. ------------------------------------------------------------------------ r3 | sam | 2002-12-13 20:27:16 +0100 (Fri, 13 Dec 2002) | 4 lines Changed paths: M /trunk/collide.c M /trunk/common.h M /trunk/explosions.c M /trunk/main.c M /trunk/player.c M /trunk/weapons.c * moved nuke from explosions to weapons. * used a cool Bresenham algorithm to draw the nuke circles. * nuke collides with aliens. ------------------------------------------------------------------------ r2 | sam | 2002-12-13 20:24:53 +0100 (Fri, 13 Dec 2002) | 2 lines Changed paths: A /trunk/.cvsignore * .cvsignore file. ------------------------------------------------------------------------ r1 | sam | 2002-12-13 20:23:07 +0100 (Fri, 13 Dec 2002) | 3 lines Changed paths: A /branches A /trunk A /trunk/Makefile A /trunk/aliens.c A /trunk/collide.c A /trunk/common.h A /trunk/explosions.c A /trunk/graphics.c A /trunk/main.c A /trunk/player.c A /trunk/shapes.txt A /trunk/starfield.c A /trunk/tunnel.c A /trunk/weapons.c * First commit. Scrolling works, some weaponry, controls, tunnel blowing, the nuke is still ugly, almost no collision detection. Nice demo :) ------------------------------------------------------------------------