The BIG COMMIT(tm)
authorMatthias Braun <matze@braunis.de>
Sat, 20 Nov 2004 22:14:40 +0000 (22:14 +0000)
committerMatthias Braun <matze@braunis.de>
Sat, 20 Nov 2004 22:14:40 +0000 (22:14 +0000)
commitd46c78c842ab4090a3f46e560c891234167f124b
tree6f28dc5475e1bc7874e1a7962fb4a1c36932fee8
parent5a1e7ed5b3ecde5ae20f3ba3b14e70ffcc95ce6f
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

SVN-Revision: 2115
146 files changed:
.cvsignore
TODO
config.h.in [deleted file]
configure.ac
data/images/supertux.strf
data/images/tilesets/supertux.stgt
data/levels/contribs/level2.stl
data/levels/test/level7.stl
data/levels/world1/level4.stl
lib/.cvsignore
lib/Makefile.am
lib/app/globals.cpp
lib/app/globals.h
lib/app/setup.h
lib/audio/musicref.cpp
lib/audio/sound_manager.cpp
lib/audio/sound_manager.h
lib/gui/button.cpp
lib/gui/mousecursor.cpp
lib/math/physic.cpp
lib/math/physic.h
lib/math/vector.cpp
lib/math/vector.h
lib/special/collision.cpp [new file with mode: 0644]
lib/special/collision.h [new file with mode: 0644]
lib/special/collision_hit.h [new file with mode: 0644]
lib/special/frame_rate.cpp
lib/special/game_object.cpp
lib/special/game_object.h
lib/special/moving_object.cpp
lib/special/moving_object.h
lib/special/sprite.cpp
lib/special/sprite.h
lib/special/sprite_data.h [new file with mode: 0644]
lib/special/sprite_manager.cpp
lib/special/sprite_manager.h
lib/special/timer.cpp
lib/special/timer.h
lib/utils/configfile.cpp
lib/utils/lispreader.cpp
lib/utils/lispreader.h
lib/utils/lispwriter.cpp
lib/video/drawing_context.cpp
lib/video/font.cpp
lib/video/screen.cpp
lib/video/surface.cpp
ltmain.sh [deleted file]
src/.cvsignore
src/Makefile.am
src/SConscript
src/background.cpp
src/badguy.cpp
src/badguy.h
src/badguy/badguy.cpp [new file with mode: 0644]
src/badguy/badguy.h [new file with mode: 0644]
src/badguy/bomb.cpp [new file with mode: 0644]
src/badguy/bomb.h [new file with mode: 0644]
src/badguy/bouncing_snowball.cpp [new file with mode: 0644]
src/badguy/bouncing_snowball.h [new file with mode: 0644]
src/badguy/flame.cpp [new file with mode: 0644]
src/badguy/flame.h [new file with mode: 0644]
src/badguy/jumpy.cpp [new file with mode: 0644]
src/badguy/jumpy.h [new file with mode: 0644]
src/badguy/mrbomb.cpp [new file with mode: 0644]
src/badguy/mrbomb.h [new file with mode: 0644]
src/badguy/mriceblock.cpp [new file with mode: 0644]
src/badguy/mriceblock.h [new file with mode: 0644]
src/badguy/snowball.cpp [new file with mode: 0644]
src/badguy/snowball.h [new file with mode: 0644]
src/badguy/spiky.cpp [new file with mode: 0644]
src/badguy/spiky.h [new file with mode: 0644]
src/badguy_specs.cpp
src/bitmask.cpp
src/camera.cpp
src/camera.h
src/collision.cpp
src/collision.h
src/defines.h
src/door.cpp [deleted file]
src/door.h [deleted file]
src/gameloop.cpp
src/gameloop.h
src/gameobjs.cpp
src/gameobjs.h
src/high_scores.cpp
src/interactive_object.cpp [deleted file]
src/interactive_object.h [deleted file]
src/intro.cpp
src/level.cpp
src/level.h
src/level_subset.cpp
src/leveleditor.cpp
src/leveleditor.h
src/misc.cpp
src/misc.h
src/object/block.cpp [new file with mode: 0644]
src/object/block.h [new file with mode: 0644]
src/object/bullet.cpp [new file with mode: 0644]
src/object/bullet.h [new file with mode: 0644]
src/object/coin.cpp [new file with mode: 0644]
src/object/coin.h [new file with mode: 0644]
src/object/fireworks.cpp [new file with mode: 0644]
src/object/fireworks.h [new file with mode: 0644]
src/object/flower.cpp [new file with mode: 0644]
src/object/flower.h [new file with mode: 0644]
src/object/growup.cpp [new file with mode: 0644]
src/object/growup.h [new file with mode: 0644]
src/object/oneup.cpp [new file with mode: 0644]
src/object/oneup.h [new file with mode: 0644]
src/object/platform.cpp [new file with mode: 0644]
src/object/platform.h [new file with mode: 0644]
src/object/specialriser.cpp [new file with mode: 0644]
src/object/specialriser.h [new file with mode: 0644]
src/object/star.cpp [new file with mode: 0644]
src/object/star.h [new file with mode: 0644]
src/particlesystem.cpp
src/player.cpp
src/player.h
src/resources.cpp
src/resources.h
src/scene.cpp
src/scene.h
src/sector.cpp
src/sector.h
src/special.cpp [deleted file]
src/special.h [deleted file]
src/statistics.cpp
src/statistics.h
src/supertux.cpp
src/tile.cpp
src/tile.h
src/tile_manager.cpp
src/tile_manager.h
src/tilemap.cpp
src/tilemap.h
src/timer.cpp [new file with mode: 0644]
src/timer.h [new file with mode: 0644]
src/title.cpp
src/trigger/door.cpp [new file with mode: 0644]
src/trigger/door.h [new file with mode: 0644]
src/trigger/sequence_trigger.cpp [new file with mode: 0644]
src/trigger/sequence_trigger.h [new file with mode: 0644]
src/trigger/trigger_base.cpp [new file with mode: 0644]
src/trigger/trigger_base.h [new file with mode: 0644]
src/worldmap.cpp
src/worldmap.h