[Super-tux-commit] supertux/lib/gui button.cpp,1.7,1.8 mousecursor.cpp,1.3,1.4
Brought to you by:
wkendrick
From: Matze B. <mat...@us...> - 2004-11-20 22:15:15
|
Update of /cvsroot/super-tux/supertux/lib/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5941/lib/gui Modified Files: button.cpp mousecursor.cpp 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: mousecursor.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/lib/gui/mousecursor.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- mousecursor.cpp 22 Jul 2004 19:07:50 -0000 1.3 +++ mousecursor.cpp 20 Nov 2004 22:14:35 -0000 1.4 @@ -17,6 +17,8 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#include <config.h> + #include "../video/drawing_context.h" #include "../gui/mousecursor.h" Index: button.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/lib/gui/button.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- button.cpp 24 Sep 2004 15:08:04 -0000 1.7 +++ button.cpp 20 Nov 2004 22:14:35 -0000 1.8 @@ -15,6 +15,8 @@ * * ***************************************************************************/ +#include <config.h> + #include "SDL.h" #include <iostream> |