stk-code_catmod/src/graphics
Alayan-stk-2 770d02b19b
Compute and display a story mode timer (#4121)
This is the result of my previous work, with a port of the timer version that was developed for a 1.0 mod. It has been used by several players so no major issue should exist, though UI and other elements may require adjustment to smooth some rough edges.

It features both a casual story mode timer storing the total time to complete the story mode (on by default) and a "speedrun" timer (off by default). The casual timer is paused whenever the player exits story mode, and supports play over multiple sessions. It is only displayed in the overworld and during challenges ; while the speedrun timer is permanently displayed.

Fix #2907
2019-11-01 13:25:27 +01:00
..
sp Move loading of SP shaders after downloading assets 2019-07-24 01:35:15 +08:00
2dutils.cpp Add 2d drawing shader with custom alpha 2019-08-16 11:48:10 +08:00
2dutils.hpp Add 2d drawing shader with custom alpha 2019-08-16 11:48:10 +08:00
abstract_renderer.cpp Split glow to avoid re-bind color framebuffer 2018-01-30 14:25:50 +08:00
abstract_renderer.hpp Allow the gui to be updates while loading a track, and use this 2018-12-05 09:51:41 +11:00
b3d_mesh_loader.cpp Add a quick fallback tangent computation 2018-01-06 12:47:22 +08:00
b3d_mesh_loader.hpp Add b3d loader for SP 2018-01-06 12:07:22 +08:00
camera_debug.cpp Move camera update to update graphics 2018-06-18 13:36:56 +08:00
camera_debug.hpp Removed unused smoothing setting. 2016-04-19 09:56:05 +10:00
camera_end.cpp Fix #3543 2018-11-09 09:51:05 +08:00
camera_end.hpp Started to refactor the camera into different classes. Normal 2016-04-18 23:29:10 +10:00
camera_fps.cpp Move camera update to update graphics 2018-06-18 13:36:56 +08:00
camera_fps.hpp Started to refactor the camera into different classes. Normal 2016-04-18 23:29:10 +10:00
camera_normal.cpp Use floating trigonometric functions 2018-12-22 22:43:06 -06:00
camera_normal.hpp Roll the camera when gyroscope is used, for visual representation of steering 2018-10-19 16:41:38 +03:00
camera.cpp Use floating trigonometric functions 2018-12-22 22:43:06 -06:00
camera.hpp Consistent split screen (#3105) 2018-01-27 19:27:17 -05:00
CBatchingMesh.cpp Add transparent skinned mesh shader 2016-12-15 09:52:02 +08:00
CBatchingMesh.hpp running whitespaces.py update 1 2014-03-29 11:33:43 +01:00
central_settings.cpp Allow to use skinning without tbo 2018-06-22 23:48:00 +02:00
central_settings.hpp Allow to use skinning without tbo 2018-06-22 23:48:00 +02:00
cpu_particle_manager.cpp Better fix for legacy pipeline 2018-09-01 23:15:05 +02:00
cpu_particle_manager.hpp Fix #3418 2018-08-31 17:40:26 +08:00
draw_calls.cpp Remove hacks for lod completely which breaks legacy pipeline 2019-04-02 08:50:07 +08:00
draw_calls.hpp Add SP for correct normal and easier shader system 2017-12-25 14:00:10 +08:00
explosion.cpp Share more ifdef with android and iOS 2019-07-16 13:48:25 +08:00
explosion.hpp Convert more time handling to handling ticks. 2018-03-20 09:25:39 +11:00
fixed_pipeline_renderer.cpp Move the screen and touchscreen events horizontally for screen keyboard 2019-05-21 01:46:14 +08:00
fixed_pipeline_renderer.hpp Add network debugging info with speed stats 2018-12-22 09:12:24 +08:00
frame_buffer_layer.cpp Remove features in SP that give no performance boost at all 2018-01-13 14:49:33 +08:00
frame_buffer_layer.hpp Add SP for correct normal and easier shader system 2017-12-25 14:00:10 +08:00
frame_buffer.hpp Don't assume default framebuffer is always zero (not true in iOS) 2019-07-15 11:40:40 +08:00
gl_headers.hpp Add iOSDevice and EAGLManager 2019-07-13 13:44:03 +08:00
glwrap.cpp Tell system that it should use nvidia on optimus devices 2019-07-19 09:25:48 +02:00
glwrap.hpp Fix queries stop working after changing resolution 2018-02-11 15:06:35 +08:00
graphics_restrictions.cpp Fix #4105 2019-10-24 20:06:32 +02:00
graphics_restrictions.hpp Add a possibility to disable system screen keyboard 2019-07-05 22:39:28 +02:00
hit_effect.hpp Convert more time handling to handling ticks. 2018-03-20 09:25:39 +11:00
hit_sfx.cpp Convert more time handling to handling ticks. 2018-03-20 09:25:39 +11:00
hit_sfx.hpp Convert more time handling to handling ticks. 2018-03-20 09:25:39 +11:00
irr_driver.cpp Compute and display a story mode timer (#4121) 2019-11-01 13:25:27 +01:00
irr_driver.hpp Compute and display a story mode timer (#4121) 2019-11-01 13:25:27 +01:00
light.cpp Header clean up 2016-11-04 20:30:08 +08:00
light.hpp Updated (c) year to include 2015. 2015-03-30 11:42:50 +11:00
lighting_passes.cpp Add color buffer to compute proper space screen reflexion 2019-06-24 23:33:03 +02:00
lighting_passes.hpp Add color buffer to compute proper space screen reflexion 2019-06-24 23:33:03 +02:00
lod_node.cpp Remove hacks for lod completely which breaks legacy pipeline 2019-04-02 08:50:07 +08:00
lod_node.hpp Remove hacks for lod completely which breaks legacy pipeline 2019-04-02 08:50:07 +08:00
material_manager.cpp Use full path for default SP material if possible 2018-12-01 15:15:44 +08:00
material_manager.hpp Use full path for default SP material if possible 2018-12-01 15:15:44 +08:00
material.cpp Make it possible to show missing texture file name 2019-05-27 08:44:57 +08:00
material.hpp Add the possibility to disable texture compression for material 2019-04-02 01:59:22 +08:00
mesh_tools.cpp Remove unused mesh code 2018-01-11 13:38:08 +08:00
mesh_tools.hpp Remove unused mesh code 2018-01-11 13:38:08 +08:00
mlaa_areamap.hpp Added missing GPL license. 2015-03-30 11:42:28 +11:00
moving_texture.cpp Don't abuse the use of std::shared_ptr for moving texture 2018-01-18 13:49:35 +08:00
moving_texture.hpp Don't abuse the use of std::shared_ptr for moving texture 2018-01-18 13:49:35 +08:00
particle_emitter.cpp Improve leaning 2019-10-22 18:31:09 +02:00
particle_emitter.hpp Add an option to disable pre-generation for explosion particles 2017-10-15 11:32:58 +08:00
particle_kind_manager.cpp Take relative path issue into account when unloading texture 2017-10-16 16:09:07 +08:00
particle_kind_manager.hpp Take relative path issue into account when unloading texture 2017-10-16 16:09:07 +08:00
particle_kind.cpp Add some fallback for legacy pipeline for SP 2018-01-15 13:46:37 +08:00
particle_kind.hpp Clean up particle .xml 2017-10-15 12:47:21 +08:00
per_camera_node.cpp Updated (c) year to include 2015. 2015-03-30 11:42:50 +11:00
per_camera_node.hpp Updated (c) year to include 2015. 2015-03-30 11:42:50 +11:00
post_processing.cpp Fix #3418 2018-08-31 17:40:26 +08:00
post_processing.hpp Fix god rays in split screen 2018-02-01 15:39:06 +08:00
referee.cpp Move referee frame setting to its own class 2019-03-25 16:37:44 +08:00
referee.hpp Move referee frame setting to its own class 2019-03-25 16:37:44 +08:00
render_info.hpp Add required code and color selector for rainbow karts 2018-01-13 00:38:46 +08:00
render_target.cpp Remove all unused / unstable opengl-related code 2018-01-12 13:04:40 +08:00
render_target.hpp Header clean up 2016-11-04 20:30:08 +08:00
rtts.cpp Don't assume default framebuffer is always zero (not true in iOS) 2019-07-15 11:40:40 +08:00
rtts.hpp Further boost stk by writing 1 less framebuffer attachment 2018-02-07 12:49:45 +08:00
shader_based_renderer.cpp Don't assume default framebuffer is always zero (not true in iOS) 2019-07-15 11:40:40 +08:00
shader_based_renderer.hpp Allow the gui to be updates while loading a track, and use this 2018-12-05 09:51:41 +11:00
shader_files_manager.cpp Make all ifstream creation utf8 path aware 2019-06-28 23:39:18 +08:00
shader_files_manager.hpp Only warn for possible undeleted opengl stuff when debug build 2018-01-23 16:18:48 +08:00
shader.cpp Remove all unused shaders 2018-01-12 19:10:55 +08:00
shader.hpp Fix skybox blending with light scatter 2018-01-31 01:31:12 +08:00
shaders.cpp Remove old unused glsl code 2018-01-12 01:18:07 +08:00
shaders.hpp Remove old unused glsl code 2018-01-12 01:18:07 +08:00
shadow_matrices.cpp Don't assume default framebuffer is always zero (not true in iOS) 2019-07-15 11:40:40 +08:00
shadow_matrices.hpp Clean up advanced pipeline off code 2018-01-25 15:36:34 +08:00
shadow.cpp Use smoothed transform directly for shadow 2018-07-05 11:21:41 +08:00
shadow.hpp Use shared_ptr for dynamic draw call 2017-12-31 12:15:55 +08:00
shared_gpu_objects.cpp Add SP for correct normal and easier shader system 2017-12-25 14:00:10 +08:00
shared_gpu_objects.hpp Add SP for correct normal and easier shader system 2017-12-25 14:00:10 +08:00
show_curve.cpp Use floating trigonometric functions 2018-12-22 22:43:06 -06:00
show_curve.hpp Port show curve to SP 2018-01-03 12:46:35 +08:00
skid_marks.cpp Add an up offset on skidmarks for uneven terrain 2018-07-06 18:30:22 +08:00
skid_marks.hpp Use shared_ptr SPShader in mesh buffer 2018-01-21 15:35:38 +08:00
skybox.cpp Don't assume default framebuffer is always zero (not true in iOS) 2019-07-15 11:40:40 +08:00
skybox.hpp Fixed memory leak: skybox textures are now freed in VRAM when deleting Skybox 2015-08-06 14:58:45 +02:00
slip_stream.cpp Use floating trigonometric functions 2018-12-22 22:43:06 -06:00
slip_stream.hpp Split slipstream instant speed update for better rewind 2018-10-24 14:29:44 +08:00
sp_mesh_loader.cpp Fix no graphics and server only run 2018-01-10 11:35:02 +08:00
sp_mesh_loader.hpp Add SP for correct normal and easier shader system 2017-12-25 14:00:10 +08:00
spherical_harmonics.cpp Fixed various compiler warnings. 2017-05-09 09:34:37 +10:00
spherical_harmonics.hpp Tried to fix all 64-bit related compiler warnings triggered from files 2017-04-08 23:25:33 +10:00
stars.cpp Fix #2427 2017-10-15 19:14:07 +08:00
stars.hpp Redo all kart animation classes for network 2019-02-15 17:29:19 +08:00
stk_particle.cpp Use texture buffer (texture2d in gles) for skinning 2017-10-19 13:31:07 +08:00
stk_particle.hpp Fix resolution change crash 2017-10-22 01:52:37 +08:00
stk_tex_manager.cpp Allow mesh textures to be reloaded 2018-01-18 12:35:41 +08:00
stk_tex_manager.hpp Allow mesh textures to be reloaded 2018-01-18 12:35:41 +08:00
stk_text_billboard.cpp Fix #3989 2019-07-08 10:57:59 +08:00
stk_text_billboard.hpp Fix #3989 2019-07-08 10:57:59 +08:00
stk_texture.cpp Fix one more non-exist GL call in no graphics 2018-03-01 12:19:25 +08:00
stk_texture.hpp Some more fallback for legacy pipeline 2018-01-25 01:51:10 +08:00
sun.cpp Header clean up 2016-11-04 20:30:08 +08:00
sun.hpp Coding style changes, removed dead code and unused variables. 2015-07-01 08:57:40 +10:00
text_billboard_drawer.cpp Disable cull face after drawing mesh (for gui) 2018-01-04 14:39:32 +08:00
text_billboard_drawer.hpp Port billboard text 2017-12-30 15:28:04 +08:00
texture_shader.cpp Fix GLES 2017-02-13 00:45:18 +08:00
texture_shader.hpp Add xml shader and the loader 2018-01-21 13:19:00 +08:00
weather.cpp Moved graphical weather update into separate update function that 2018-03-20 09:58:34 +11:00
weather.hpp Moved graphical weather update into separate update function that 2018-03-20 09:58:34 +11:00
wind.cpp Added missing GPL license. 2015-03-30 11:42:28 +11:00
wind.hpp Added missing GPL license. 2015-03-30 11:42:28 +11:00