rogue/src
Yamagi 9dfd9de811 Implemented coop_elevator_delay cvar (for func_plat)
In coop it's often hard to get on the same elevator together, because
they're immediately triggered once the first player steps on it.
This cvar sets a delay (1 second by default) for the elevator to wait
before moving, so other players have some time to get on it.
If you like elevators/platforms that suck, just set it to `0` :-P

Currently only used in func_plat, if it turns out that other entities
are used for automatically triggered platforms, we'll have to adapt
those as well (I guess wait_and_change() is generally useful for that).

We're not bumping the savegame version because they should only break in
an uncommon corner case: *Coop* savegames created with clients including
this change will not work on older clients - SP savegames are not
affected and old savegames on new clients also still work.
2020-08-10 14:22:31 +02:00
..
dm Investigated PVS report for dm and addressed its points 2019-09-24 18:12:23 +00:00
header Implemented coop_elevator_delay cvar (for func_plat) 2020-08-10 14:22:31 +02:00
monster Fix the Jork skin bug. 2020-05-11 12:53:43 +02:00
player Add coop_pickup_weapons, allow a weapon to be taken several times. 2020-08-10 14:15:35 +02:00
savegame Implemented coop_elevator_delay cvar (for func_plat) 2020-08-10 14:22:31 +02:00
shared Investigated PVS report for player and shared and addressed the issues 2019-09-25 20:47:12 +00:00
g_ai.c Change show_hostile from int to float and remove unnecessary casts. 2020-03-10 10:18:21 +01:00
g_chase.c Whitespace cleanup 2014-02-22 13:20:22 +01:00
g_cmds.c Merge remote-tracking branch 'upstream/master' into pvs 2019-10-01 19:33:52 +00:00
g_combat.c Remove unnecessary code, expression is aways false. 2020-02-08 17:07:33 +01:00
g_func.c Implemented coop_elevator_delay cvar (for func_plat) 2020-08-10 14:22:31 +02:00
g_items.c Removed leftover printf debug prints 2020-04-21 00:44:13 +00:00
g_main.c Implemented coop_elevator_delay cvar (for func_plat) 2020-08-10 14:22:31 +02:00
g_misc.c Investigated PVS report for g_misc and addressed the issues 2019-09-23 20:31:03 +00:00
g_monster.c Fix mguard freeze bug and improvements to frame handling 2020-01-10 17:04:19 +00:00
g_newai.c Parasite blocked attack bugfix and dead code elimination 2020-01-01 21:50:07 +00:00
g_newdm.c Use correct flavor of abs() 2014-08-03 11:29:47 +02:00
g_newfnc.c Whitespace cleanup 2014-02-22 13:20:22 +01:00
g_newtarg.c Investigated PVS reports for newai and newtarg and fixed issues 2019-09-23 20:38:56 +00:00
g_newtrig.c Whitespace cleanup 2014-02-22 13:20:22 +01:00
g_newweap.c Merge pull request #52 from BjossiAlfreds/plane 2019-10-07 18:58:42 +02:00
g_phys.c Limit the fix against black debris to gibs, debris, monsters. 2020-02-22 15:30:18 +01:00
g_spawn.c Easier handling of skill levels by using defines instead of numbers 2020-01-22 12:37:33 -03:00
g_sphere.c Safely use plane normal in touch funcs 2019-10-03 15:46:14 +00:00
g_svcmds.c Investigated PVS report for svcmds and did not address type-punning code 2019-09-23 21:45:50 +00:00
g_target.c Investigated PVS report for g_target and simplified the activator checking 2019-09-23 21:48:23 +00:00
g_trigger.c Use matching strtof(9 instead of atof(). 2016-12-17 10:44:56 +01:00
g_turret.c Investigated PVS report for g_turret and fixed uninitialized variable access 2019-09-23 22:15:01 +00:00
g_utils.c Safely use plane normal in touch funcs 2019-10-03 15:46:14 +00:00
g_weapon.c Easier handling of skill levels by using defines instead of numbers 2020-01-22 12:37:33 -03:00