-
- Downloads
Collected and moved existing camera infrastructure from game.cpp to camera.cpp...
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.
Showing
- src/CMakeLists.txt 1 addition, 0 deletionssrc/CMakeLists.txt
- src/camera.cpp 243 additions, 0 deletionssrc/camera.cpp
- src/camera.h 141 additions, 0 deletionssrc/camera.h
- src/client.cpp 2 additions, 12 deletionssrc/client.cpp
- src/client.h 1 addition, 3 deletionssrc/client.h
- src/constants.h 0 additions, 3 deletionssrc/constants.h
- src/defaultsettings.cpp 2 additions, 0 deletionssrc/defaultsettings.cpp
- src/game.cpp 24 additions, 181 deletionssrc/game.cpp
- src/map.cpp 5 additions, 2 deletionssrc/map.cpp
- src/map.h 3 additions, 1 deletionsrc/map.h
- src/server.cpp 1 addition, 1 deletionsrc/server.cpp
- src/utility.cpp 3 additions, 4 deletionssrc/utility.cpp
- src/utility.h 2 additions, 2 deletionssrc/utility.h
Loading
Please register or sign in to comment