Completely refactor timing system
Time is now tracked internally in the game using I_GetPreciseTime and I_UpdateTime. I_Time now pulls from this internal timer. The system code no longer needs to keep track of time itself. This significantly improves frame and tic timing in interp mode, resulting in a much smoother image with essentially no judder at any framerate.
Showing
- src/Sourcefile 1 addition, 0 deletionssrc/Sourcefile
- src/android/i_system.c 0 additions, 12 deletionssrc/android/i_system.c
- src/d_clisrv.c 1 addition, 0 deletionssrc/d_clisrv.c
- src/d_main.c 24 additions, 44 deletionssrc/d_main.c
- src/d_net.c 1 addition, 0 deletionssrc/d_net.c
- src/d_netcmd.c 1 addition, 0 deletionssrc/d_netcmd.c
- src/d_netfil.c 1 addition, 0 deletionssrc/d_netfil.c
- src/dummy/i_system.c 0 additions, 10 deletionssrc/dummy/i_system.c
- src/f_finale.c 1 addition, 0 deletionssrc/f_finale.c
- src/f_wipe.c 1 addition, 0 deletionssrc/f_wipe.c
- src/g_demo.c 1 addition, 0 deletionssrc/g_demo.c
- src/g_game.c 1 addition, 0 deletionssrc/g_game.c
- src/i_system.h 4 additions, 8 deletionssrc/i_system.h
- src/i_time.c 86 additions, 0 deletionssrc/i_time.c
- src/i_time.h 51 additions, 0 deletionssrc/i_time.h
- src/m_menu.c 1 addition, 0 deletionssrc/m_menu.c
- src/m_misc.c 1 addition, 0 deletionssrc/m_misc.c
- src/p_setup.c 1 addition, 0 deletionssrc/p_setup.c
- src/screen.c 1 addition, 0 deletionssrc/screen.c
- src/sdl/i_system.c 11 additions, 45 deletionssrc/sdl/i_system.c
Loading
Please register or sign in to comment