-renamed ViewPort to Camera
authorMatthias Braun <matze@braunis.de>
Mon, 24 May 2004 21:02:44 +0000 (21:02 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 24 May 2004 21:02:44 +0000 (21:02 +0000)
commitb8c83bae1b0cd0367b6e3ac8c4c28e077eb1b594
tree65267a309fc90f87c812133fbe998506549033f4
parente1a4c398c97f543aa36ce93ccad4a3cd219b3176
-renamed ViewPort to Camera
-removed type() function from GameObject, you should better use C++ RTTI:
  * casting: BadGuy* badguy = dynamic_cast<BadGuy*> (object);
  * comparing for specific type if(typeid(object) == typeid(BadGuy))
  * getting the name typeid(object).name()
-moved camera handling into Camera class
-tweaked camera behaviour. Look for details in
  http://netpanzer.berlios.de/supertux/index.php/Camera
 Horizontal scrolling seems to be nicely now, vertical scrolling is still a bit
 too hectically...

SVN-Revision: 1309
28 files changed:
src/Makefile.am
src/background.cpp
src/background.h
src/badguy.cpp
src/badguy.h
src/button.cpp
src/camera.cpp [new file with mode: 0644]
src/camera.h [new file with mode: 0644]
src/display_manager.cpp
src/display_manager.h
src/drawable.h
src/game_object.h
src/gameloop.cpp
src/gameobjs.cpp
src/gameobjs.h
src/leveleditor.cpp
src/particlesystem.cpp
src/particlesystem.h
src/player.cpp
src/player.h
src/special.cpp
src/special.h
src/tilemap.cpp
src/tilemap.h
src/viewport.cpp [deleted file]
src/viewport.h [deleted file]
src/world.cpp
src/world.h