yquake2remaster/src/client/header
Yamagi Burmeister fc5c2788a1 Put the client into pause mode when loading save games.
This prevenits the worlds from advancing during client connect. The
player won't get attacked by monsters or hurt by the environment. Note
that in baseq2 there're still 4 world frames processed by the game and
100 world frames if the player enters a level that he or she already
visited. Both aren't a big problem, 4 world frames are hardly enough
for monsters starting to attack and in most levels the starting area
can't be reached by monsters and is free from environmental effects.

Pause mode is only entered for local servers and only in single player
mode. This should prevent problems with coop and deathmatch games.

The behaviour can be controlled by `cl_loadpaused`:
* `0`: Do not enter pause mode, Vanilla Quake I behaviour.
* `1`: Enter pause mode at load and leave it at first regular server
       frame.
* `2`: Enter pause mode at load, never leave it. The player must leave
       it by hand.

This was requested in issue #417.
2019-09-03 08:42:05 +02:00
..
client.h Put the client into pause mode when loading save games. 2019-09-03 08:42:05 +02:00
console.h Whitespace fixes. 2012-04-30 08:25:59 +02:00
keyboard.h Allow second layer of keybindings for controllers, refs #387 2019-05-05 18:10:10 -01:00
screen.h Implement gl_menuscale 2014-06-24 19:11:46 +02:00