Commit Graph

24 Commits

Author SHA1 Message Date
metalgearsloth
a2bbda43cc Revert "Update submodule to 172.0.0 (#21222)" (#21225) 2023-10-24 21:55:20 +11:00
Leon Friedrich
7ba0ea2926 IPlayerManager refactor (#21215) 2023-10-24 20:19:08 +11:00
Nemanja
27231420bc Allow gamemodes to specify custom map pools (#18429)
* Allow game presets to require certain maps

* make preset maps ignore the game map pool

* make it use a map pool prototype

* Typo

---------

Co-authored-by: Kevin Zheng <kevinz5000@gmail.com>
2023-08-01 16:11:50 -05:00
Chief-Engineer
a0ea580260 Add vote logs (#14139)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2023-02-17 01:29:44 +01:00
Mervill
40b556d206 Refactor GameMapManager a bit (nukes mapforced) (#11513)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Closes https://github.com/space-wizards/space-station-14/issues/7192
Closes https://github.com/space-wizards/space-station-14/issues/6537
Closes https://github.com/space-wizards/space-station-14/issues/9579
2022-11-08 13:18:21 +11:00
corentt
4159638300 Disable gamemode vote if only one available (#11915)
* disable vote on condition

* move to new method

* still allow vote if current mode is different from available
2022-10-14 23:10:10 -05:00
Moony
efdc3bc7e0 Gimps the restart vote. (#9327)
* Disables the restart vote when admins are online.

* Gimps the restart vote so it requires 85% agreement.

* address rebiew
2022-07-01 02:52:20 -05:00
metalgearsloth
bb09d0ddc4 Restart vote is now actually passable (#8194) 2022-05-16 13:33:14 +10:00
wrexbe
bc68ac96dd Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Pieter-Jan Briers
b3e7c7af1f Remove usage of CreateNetMessage. (#7563) 2022-04-15 11:55:49 -07: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
metalgearsloth
c298a8dc8e Move remqueue to engine (#4700) 2021-09-27 14:38:53 +10: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
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
mirrorcult
2ea5aec101 Remove NetMessage deprecated boilerplate (#4196) 2021-06-21 07:43:54 +02: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
ff1a2d97ea Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00