Sam Hocevar
a35a2a33aa
* 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.
21 years ago
Sam Hocevar
d4f7483cb1
* 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().
21 years ago
Sam Hocevar
2f17f745d9
* 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.
21 years ago
Sam Hocevar
fb7390ac82
* src/weapons.c data/weapon_fragbomb:
+ Drew the fragbomb sprite.
+ Use the fragbomb in src/weapons.c.
21 years ago
Sam Hocevar
78154f3e5c
* data/weapon_bomb:
+ New bomb sprite.
* src/weapons.c:
+ Switched the bomb drawing to use ee_draw_sprite().
21 years ago
Sam Hocevar
eb94b8a2e2
* 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.
21 years ago
Sam Hocevar
3cd2990b02
* libee/conic.c: Clip circles and ellipses.
21 years ago
Sam Hocevar
67a16319c6
* libee/sprite.c:
+ Added sanity checks in ee_sprite_* functions.
* libee/conic.c:
+ Use ellipsepoints() in ee_draw_circle().
21 years ago
Sam Hocevar
e50e5e6dbc
* test/demo.c:
+ Ellipses demo.
21 years ago
Sam Hocevar
b91449d356
* libee/conic.c:
+ ee_draw_ellipse().
21 years ago
Sam Hocevar
8f500351c9
* Renamed libee/circle.c to libee/conic.c because we'll do ellipsis.
21 years ago
Sam Hocevar
c4114e7b1c
* libee/line.c:
+ Added code comments.
21 years ago
Sam Hocevar
7ede4ebb4f
* configure.ac:
+ Moved optimization flags and warning triggers here.
+ Updated the snapshot timestamp.
21 years ago
Sam Hocevar
d23f114bc3
* test/demo.c: Nicer complete demo.
21 years ago
Sam Hocevar
4bb2c01265
* 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.
21 years ago
Sam Hocevar
fbd0688912
* Oops, forgot data/Makefile.am.
21 years ago
Sam Hocevar
3ac5e2ea7a
* test/demo.c:
+ Wrote a little sprite demo.
* data/:
+ Added bar_fighter (from ttyvaders) and bar_boss (from shapes.txt).
21 years ago
Sam Hocevar
e7bd15419d
* libee/sprite.c:
+ Beginning of sprite handling within the library.
+ Added support to load files.
21 years ago
Sam Hocevar
78cf66535e
* test/demo.c:
+ outlined triangles demo.
21 years ago
Sam Hocevar
bc044f5cce
* Removed CPPFLAGS_slang and CPPFLAGS_ncurses, we now have config.h.
21 years ago
Sam Hocevar
5f90be95e0
* src/*.c:
+ Added missing #include "config.h".
+ Fixed a nasty bug in ee_rand() calls.
21 years ago
Sam Hocevar
8893f6dda1
* test/demo.c:
+ Disabled the pyramid demo and wrote a simple triangles demo.
21 years ago
Sam Hocevar
038ea01652
* libee/triangle.c:
+ Implemented ee_fill_triangle().
* test/demo.c:
+ Triangle demo.
21 years ago
Sam Hocevar
4d5e96d61b
* libee/line.c:
+ ee_draw_thin_line().
* test/demo.c:
+ Added a thin lines demo.
21 years ago
Sam Hocevar
1aa6176677
* libee/line.c: genericized line drawing for future use.
21 years ago
Sam Hocevar
060920090e
* test/demo.c:
+ Putpixel demo.
+ Draw line demo.
+ Draw circle demo.
+ Animated radar demo.
21 years ago
Sam Hocevar
90e22c87af
* 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.
21 years ago
Sam Hocevar
020c060311
* libee/line.c: Implemented ee_draw_line.
21 years ago
Sam Hocevar
3422ddbce4
* libee/ee.c:
+ got rid of DELAY.
* test/demo.c:
+ Minor animation effect.
21 years ago
Sam Hocevar
179c30a504
* libee/math.c: fixed a thinko in ee_rand().
21 years ago
Sam Hocevar
fb5c5ca6fc
* 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.
21 years ago
Sam Hocevar
6363b0b294
* Coding style everywhere.
21 years ago
Sam Hocevar
af19aabc39
* libee/Makefile.am, test/Makefile.am:
+ Added more compiler warning flags.
* test/demo.c:
+ Small demo for libee.
21 years ago
Sam Hocevar
5c34e048ae
* libee/ee.c: Fixed a compilation warning.
21 years ago
Sam Hocevar
24cf1c4fb3
* libee/ee.c: Exact line fill in ee_clear().
21 years ago
Sam Hocevar
9eced16514
* libee is now standalone.
21 years ago
Sam Hocevar
6be4f81d9c
* libee is now (almost) standalone.
21 years ago
Sam Hocevar
afd4ea1d76
* 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.
21 years ago
Sam Hocevar
8b7038cbc5
* bootstrap: always remove autom4te.cache.
21 years ago
Sam Hocevar
f269811a5a
* Fixed keywords, ignore, and lots of tiny SVN things.
21 years ago
Sam Hocevar
34dc9bf436
* support for boxes
* application: pause box
22 years ago
Sam Hocevar
9d92e2f41b
* cosmetic code changes.
* fixed a bug in the tunnel munching.
22 years ago
Sam Hocevar
8ec78ad48e
* fixed the ncurses build.
* replaced '�' with ':' in the fragbomb tail because it's not ASCII.
22 years ago
Sam Hocevar
4bb67e502d
* 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.
22 years ago
Sam Hocevar
24d8d4c06a
* better handling of special weapon timeout.
* the bomb is now part of the standard fire button effect.
* overlay for life and special weapon jauges.
22 years ago
Sam Hocevar
349ba14ae0
* aliens are now named foo, bar and baz.
* beginning of life jauges.
22 years ago
Sam Hocevar
97f7f87d2f
* ship has vx and vy.
22 years ago
Sam Hocevar
9ed39975c0
* cosmetic change: reworked draw_tunnel.
22 years ago
Sam Hocevar
da0c39641d
* lasers are now twice as fast.
* walls are now filled, and displayed on top of aliens.
22 years ago
Sam Hocevar
975eaf503d
* 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().
22 years ago