ddnet/src/game
Robert Müller ec0522d58f Show indicator when pausing/unpausing in demo player
Render a pause/play icon in the center of the screen when pausing/unpausing while the menu is not active.

The icon fades in and out over 0.5 seconds and slightly increases in size over that time.

When starting demo rendering with initial pause, the pause indicator is rendered continuous until playback is first started, to ensure that the initial pause state is communicated clearly to the user. The initial pause indicator is not included in the rendered demo, but pausing and unpausing later during demo rendering will cause it to be included in the video, same as other UI elements. Closes #7044.

The config variable `cl_demo_show_pause` (`0/1`, default `1`) is added to hide the pause indicator entirely, for example to render a demo with multiple pauses without the indicator.

The pause indicator and also the existing speed indicator are not rendered (anymore) while the menu is active, as the menu already contains this information.
2023-08-25 13:29:17 +02:00
..
client Show indicator when pausing/unpausing in demo player 2023-08-25 13:29:17 +02:00
editor Don't clear saved brushes when loading another map 2023-08-19 20:46:14 +02:00
server Increase another SQL query buffer size 2023-08-12 19:42:05 +02:00
collision.cpp Merge pull request #5398 from AssassinTee/feature/elasticity-tuning 2023-07-28 13:58:42 +00:00
collision.h Merge pull request #5398 from AssassinTee/feature/elasticity-tuning 2023-07-28 13:58:42 +00:00
ddracechat.h Add /unsolo and /undeep practice commands 2023-05-18 22:08:58 +03:00
ddracecommands.h Merge #6071 #6077 #6085 #6088 #6090 2022-12-05 16:12:05 +00:00
gamecore.cpp Merge pull request #5398 from AssassinTee/feature/elasticity-tuning 2023-07-28 13:58:42 +00:00
gamecore.h Running and AFK anim. states 2022-09-16 12:30:05 +02:00
layers.cpp Add default argument to CDataFileReader/IMap::GetItem 2023-05-14 16:39:46 +02:00
layers.h Parallax Zoom: use CMapItemGroupEx to store parallax value 2022-08-10 03:05:23 +01:00
localization.cpp Fix malformed lines in some translation files 2023-07-29 19:13:24 +02:00
localization.h Select language on first start based on user locale 2023-03-21 21:17:40 +01:00
mapbugs.cpp Fix more unsafe define 2022-06-29 23:52:03 +02:00
mapbugs.h Remove code for CRC in most places, except where needed for net compat 2020-10-14 17:08:58 +02:00
mapbugs_list.h Revert "Add mapbug "stoppers-passthrough@ddnet.tw"" 2018-08-22 08:33:21 +02:00
mapitems.cpp Add IsSwitchTile(Flags|Number|Delay)Used functions 2023-04-26 19:04:56 +02:00
mapitems.h Support loading CMapItemImage version 2 2023-07-16 12:46:34 +02:00
mapitems_ex.cpp Parallax Zoom: use CMapItemGroupEx to store parallax value 2022-08-10 03:05:23 +01:00
mapitems_ex.h Parallax Zoom: use CMapItemGroupEx to store parallax value 2022-08-10 03:05:23 +01:00
mapitems_ex_types.h Support bezier envelope curves in maps and editor 2023-07-16 12:46:34 +02:00
prng.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
prng.h Replace all usages of C standard headers with C++ headers 2023-03-01 19:26:51 +01:00
teamscore.cpp Remove unnecessary include in protocol, move definitions to cpp file 2023-01-03 14:10:58 +01:00
teamscore.h Remove unnecessary include in protocol, move definitions to cpp file 2023-01-03 14:10:58 +01:00
tuning.h implement tuning values for elasticity 2023-07-28 15:35:45 +02:00
variables.h Remove cl_video_pause_on_start; reset the pause option on popup opened 2023-08-19 13:51:38 +03:00
version.h Version 17.2 2023-08-12 16:43:37 +02:00
voting.h Run clang-format 2020-09-26 21:50:15 +02:00