Collected and moved existing camera infrastructure from game.cpp to camera.cpp and...
authorKahrl <kahrl@gmx.net>
Wed, 7 Sep 2011 23:08:47 +0000 (01:08 +0200)
committerKahrl <kahrl@gmx.net>
Wed, 7 Sep 2011 23:08:47 +0000 (01:08 +0200)
commitbaf7da9d4a7fc0566840b159903999d76d99a228
tree66ed23105449fcf51e971d5f8fcbf03d04973fb7
parentc0b35fa429c68b49b2d6a5124aff6dcc31400b63
Collected and moved existing camera infrastructure from game.cpp to camera.cpp and camera.h. Introduced configuration settings 'fov' which chooses the camera's (vertical) field of view and 'view_bobbing' which currently does nothing. Other code refactored to not expect the FOV to be a build time constant.
13 files changed:
src/CMakeLists.txt
src/camera.cpp [new file with mode: 0644]
src/camera.h [new file with mode: 0644]
src/client.cpp
src/client.h
src/constants.h
src/defaultsettings.cpp
src/game.cpp
src/map.cpp
src/map.h
src/server.cpp
src/utility.cpp
src/utility.h