1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 15:02:34 +02:00
openrw/rwgame
Filip Gawin bc8652baba Interpolating dynamic objects
How?
Calling stepsimulation each frame,
bullet interpolate vehicles and characters for us.

Removed unneeded code:
"float alpha = fmod(dt, GAME_TIMESTEP) / GAME_TIMESTEP;"
It looks like alpha shift is

I also removed unneeded variable clock
and refactored names to match bullet's example.

We should alse think about problem of
crossing the range of float.
2017-10-18 21:29:17 +01:00
..
states Fix some warnings 2017-10-13 19:54:10 +01:00
CMakeLists.txt Remove last mman reference 2017-09-16 19:50:51 +01:00
DrawUI.cpp improve the ammo count display logic 2017-03-13 19:15:15 +00:00
DrawUI.hpp clang-format files in rwgame 2016-09-09 21:13:20 +01:00
game.hpp Move some non-game code into GameBase class 2016-10-19 22:34:51 +01:00
GameBase.cpp rwlib: Add option to abort/break on failed checks or at request 2017-09-16 22:19:39 +01:00
GameBase.hpp Move some non-game code into GameBase class 2016-10-19 22:34:51 +01:00
GameConfig.cpp config: Add the unknown keys to the what() message 2017-08-15 15:58:01 +01:00
GameConfig.hpp config: unknown data will be kept in memory and saved onto disk 2017-08-15 15:58:01 +01:00
GameInput.cpp Extract game input state handling from IngameState 2016-11-19 23:50:34 +00:00
GameInput.hpp Extract game input state handling from IngameState 2016-11-19 23:50:34 +00:00
GameWindow.cpp clang-format files in rwgame 2016-09-09 21:13:20 +01:00
GameWindow.hpp clang-format files in rwgame 2016-09-09 21:13:20 +01:00
GitSHA1.cpp.in Add Git SHA1 hash to RWGame for versioning 2016-08-01 19:34:53 +01:00
GitSHA1.h Add Git SHA1 hash to RWGame for versioning 2016-08-01 19:34:53 +01:00
main.cpp spelling: recieve -> receive 2017-02-20 01:01:30 +00:00
MenuSystem.cpp Improve Menu system implementation 2016-10-24 21:29:41 +01:00
MenuSystem.hpp Make MenuEntry height a property of the Menu 2016-10-24 21:29:41 +01:00
README.md Update readme informations 2015-05-10 23:57:13 +01:00
RWGame.cpp Interpolating dynamic objects 2017-10-18 21:29:17 +01:00
RWGame.hpp Interpolating dynamic objects 2017-10-18 21:29:17 +01:00
State.cpp Fix some warnings 2017-10-13 19:54:10 +01:00
State.hpp Rewrite of camera and character look code 2016-12-04 01:06:27 +00:00
StateManager.cpp Overhaul State and StateManager to remove pointers 2016-10-24 21:29:40 +01:00
StateManager.hpp Improve state access to always get the current scene 2017-09-17 00:45:58 +01:00

RWGame

The game executable, handles the frontend UI drawing and menus.