Update of /cvsroot/super-tux/supertux/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5941/lib
Modified Files:
.cvsignore Makefile.am
Log Message:
The BIG COMMIT(tm)
This is it, expect a broken supertux I only fixed the most annoying issues so
far, lots more are still waiting in the TODO list, but I had to bring this stuff
to cvs sometime. Changes:
- Completely new collision detection scheme, which collides all objects with
each other once per frame, instead of single objects manually testing for
collisions
- New collision detection routines which support slopes and provide additional
info on collisions: penetration depth, hit normal vector
- Lots of general cleanup/refactoring
- Splitted the monolithic badguy class and reimplemented most of them as single
classes with a badguy base class.
- Splitted the monolithic Special class into several classes
- Rewrote the timer and all timing related stuff to work on float and seconds
(not like the mixup before where you had frame_ratio, msecs and secs in
different parts of the app)
- Support for unisolid tiles
- Created a flying platform prototype (doesn't work completely yet)
- rename InteractiveObjects to triggers and implemented a new sequence trigger,
(only supported sequence is endsequence at the moment)
- transformed the bonusblocks and bricks into objects
Index: .cvsignore
===================================================================
RCS file: /cvsroot/super-tux/supertux/lib/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- .cvsignore 7 Nov 2004 23:04:27 -0000 1.1
+++ .cvsignore 20 Nov 2004 22:14:20 -0000 1.2
@@ -4,4 +4,4 @@
Makefile.in
*.lo
*.la
-
+.sconsign
Index: Makefile.am
===================================================================
RCS file: /cvsroot/super-tux/supertux/lib/Makefile.am,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Makefile.am 28 Jul 2004 23:06:11 -0000 1.6
+++ Makefile.am 20 Nov 2004 22:14:20 -0000 1.7
@@ -13,9 +13,16 @@
special/game_object.cpp \
special/moving_object.cpp \
special/sprite.cpp \
+ special/sprite.h \
+ special/sprite_data.cpp \
+ special/sprite_data.h \
special/sprite_manager.cpp \
+ special/sprite_manager.h \
special/timer.cpp \
special/frame_rate.cpp \
+ special/collision.h \
+ special/collision_hit.h \
+ special/collision.cpp \
utils/configfile.cpp \
utils/lispreader.cpp \
utils/lispwriter.cpp \
@@ -41,8 +48,7 @@
gui/mousecursor.h
libsupertuxmath_HEADERS =math/physic.h \
math/vector.h
-libsupertuxspecial_HEADERS =special/base.h \
- special/game_object.h \
+libsupertuxspecial_HEADERS = special/game_object.h \
special/moving_object.h \
special/sprite.h \
special/sprite_manager.h \
|