sam
e89e90935b
* test/demo.c: Nicer complete demo.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@124 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
24bd9be09e
* 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.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@122 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
7f1a12ca2e
* Oops, forgot data/Makefile.am.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@120 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
9112be1b86
* test/demo.c:
+ Wrote a little sprite demo.
* data/:
+ Added bar_fighter (from ttyvaders) and bar_boss (from shapes.txt).
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@118 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
077966362f
* libee/sprite.c:
+ Beginning of sprite handling within the library.
+ Added support to load files.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@116 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
73e06d11ac
* test/demo.c:
+ outlined triangles demo.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@114 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
c43f74c461
* Removed CPPFLAGS_slang and CPPFLAGS_ncurses, we now have config.h.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@112 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
3e62735047
* src/*.c:
+ Added missing #include "config.h".
+ Fixed a nasty bug in ee_rand() calls.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@110 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
2e8bb49dca
* test/demo.c:
+ Disabled the pyramid demo and wrote a simple triangles demo.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@108 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
3d9085be01
* libee/triangle.c:
+ Implemented ee_fill_triangle().
* test/demo.c:
+ Triangle demo.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@106 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
8ef0ef107c
* libee/line.c:
+ ee_draw_thin_line().
* test/demo.c:
+ Added a thin lines demo.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@104 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
a0f1d4f6a8
* libee/line.c: genericized line drawing for future use.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@102 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
37356e4688
* test/demo.c:
+ Putpixel demo.
+ Draw line demo.
+ Draw circle demo.
+ Animated radar demo.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@100 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
94ae468c08
* 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.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@98 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
75d6a17b14
* libee/line.c: Implemented ee_draw_line.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@96 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
2306fd8758
* libee/ee.c:
+ got rid of DELAY.
* test/demo.c:
+ Minor animation effect.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@94 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
b5fc14fb98
* libee/math.c: fixed a thinko in ee_rand().
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@92 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
7ac3775341
* 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.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@90 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
5faeb00826
* Coding style everywhere.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@88 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
653c9e00c7
* libee/Makefile.am, test/Makefile.am:
+ Added more compiler warning flags.
* test/demo.c:
+ Small demo for libee.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@86 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
b4e918ddde
* libee/ee.c: Fixed a compilation warning.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@84 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
ba57fa4aa2
* libee/ee.c: Exact line fill in ee_clear().
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@82 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
e0ce033c79
* libee is now standalone.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@80 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
ae8181beb7
* libee is now (almost) standalone.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@78 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
ca2c8bac14
* 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.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@76 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
da070a7af7
* bootstrap: always remove autom4te.cache.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@74 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
3587c60cbe
* Fixed keywords, ignore, and lots of tiny SVN things.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@72 92316355-f0b4-4df1-b90c-862c8a59935f
před 21 roky
sam
45a62f2fc5
* support for boxes
* application: pause box
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@70 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
fe303675cc
* cosmetic code changes.
* fixed a bug in the tunnel munching.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@68 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
18f1a33fb4
* fixed the ncurses build.
* replaced '�' with ':' in the fragbomb tail because it's not ASCII.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@66 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
42b4e77f8f
* 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.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@64 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
c26fa687f3
* better handling of special weapon timeout.
* the bomb is now part of the standard fire button effect.
* overlay for life and special weapon jauges.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@62 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
0d33cbfaef
* aliens are now named foo, bar and baz.
* beginning of life jauges.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@60 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
7acf82d0d3
* ship has vx and vy.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@58 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
a1d562a983
* cosmetic change: reworked draw_tunnel.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@56 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
dcbea62140
* lasers are now twice as fast.
* walls are now filled, and displayed on top of aliens.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@54 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
c43bfbd085
* 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().
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@52 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
8815e91cdb
* 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.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@50 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
4074acd24f
* seekers and homing bombs react more quickly.
* 16 seekers on fragbomb explosion instead of 12.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@48 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
3c764bc366
* fixed a segfault when the target seeker speed was zero.
* factorized the seeker generation on fragbomb explosion.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@46 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
a303f24f91
* Removed the dependency on <math.h>. We don't need no stinking sqrt!
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@44 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
0415d0717c
* dead aliens don't explode in the collision loop but in their update loop.
* new super weapon, the fragmentation bomb.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@42 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
11152f653d
* Moved generated autotools files to the autotools/ directory.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@40 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
61f7e9eba4
* I think I fucked up the $Id tags on my previous commit.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@38 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
1e2eee5cc9
* added the COPYING file (GPLv2).
* added GPL headers to source files.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@36 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
8d7cd7b370
* tab == hotkey for CEO alert.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@34 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
d67cc6fc17
* 3rd alien type.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@32 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
c84d5cb46f
* Scrapped Makefile.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@30 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
e2d91a2de2
* README and TODO files.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@28 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky
sam
2cc05eae95
* the bomb's head is now white
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@26 92316355-f0b4-4df1-b90c-862c8a59935f
před 22 roky