Commit Graph

19 Commits

Author SHA1 Message Date
wrexbe
bc68ac96dd Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Radosvik
353a7aa210 Refresh Lobby Info Box (#7521) 2022-04-15 11:55:38 -07:00
Pancake
35eb6f8576 Add CVars for vote timers. (#6519)
* Update VoteManager.DefaultVotes.cs

Quick fix to lower map vote time to 90sec.

* Change to CVars
2022-02-06 23:26:19 -06:00
Vera Aguilera Puerto
f4d8ec1b35 Refactor Game Modes (#5857) 2021-12-21 21:23:29 +01:00
Paul Ritter
75721c214c Revert "Refactor Game Modes" oh god oh fuck go back it was too good to be true (#5855) 2021-12-21 19:25:52 +01:00
Vera Aguilera Puerto
8831d08229 Refactor Game Modes (#5819) 2021-12-21 18:56:47 +01:00
20kdc
a2b7982c37 Add variables to prevent voting of various kinds (#5361)
* Add a way to disable voting for maximum authoritarianism

* Allow disabling specific vote types via cvars

* Migrate standard-vote-to-cvar dictionary to being static
2021-11-23 10:03:04 -07:00
Acruid
6e54e740c7 Removed Old PlayerSession Functions (#5404)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2021-11-23 18:11:48 +11:00
Moony
eb6d24abd0 Makes map vote and roundstart smart about player count. (#5418)
* Makes map vote and roundstart smart about player count.
No more Saltern with 30 players, or Knight Ship with 50.

* a typo

* Address reviews.

* Localized.
2021-11-20 11:32:07 -07:00
mirrorcult
03f766577a Map vote & forcemap command (#5278) 2021-11-11 23:25:57 -07:00
moonheart08
9f0c3daa65 Restart round vote now correctly shows round end screen. (#4817) 2021-10-09 20:18:20 +02:00
Pieter-Jan Briers
992b03a5c2 Restart vote does not vote no for AFK players. 2021-07-22 23:20:57 +02:00
Pieter-Jan Briers
e9af56c7c3 Vote type delay, code comments.
Added doc comments to server side voting API.
There is now a 4 minute delay between creating votes of the same type.
Shuffled some code around.
Made a StandardVoteType enum instead of string IDs.
2021-07-21 19:03:10 +02:00
Pieter-Jan Briers
3a6ad88b39 Restart votes now default to no. 2021-07-21 15:24:43 +02:00
Pieter-Jan Briers
4259bc6806 Remove IoC resolve in vote manager 2021-07-21 15:15:12 +02:00
Visne
b7dc3c81ae Remove redundant #nullable enable (#4275) 2021-07-16 17:37:09 -07:00
Vera Aguilera Puerto
d3a611164b Turns GameTicker into an EntitySystem. (#4197)
* GameTicker turned into an EntitySystem

* Turns ClientGameTicker into an EntitySystem, turn NetMessages into events

* Change event names to be more consistent with the rest.

* YAML linter uses the dummy gameticker CVar override.

* Fix game ticker initialization order

* Dummy ticker won't spawn players.

* Fix character creation test
2021-06-20 10:09:24 +02:00
DrSmugleaf
f878f353e4 Move some files out of Content.Shared root because I forgot (#4182) 2021-06-13 22:52:40 +10:00
DrSmugleaf
ff1a2d97ea Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00