Commit Graph

14 Commits

Author SHA1 Message Date
Júlio César Ueti 85866eaeda
Changes target window parent on rules ui (#12165) 2022-10-23 17:27:37 +02:00
Pieter-Jan Briers 49e2c2e05a
Fix rules window (#11796) 2022-10-09 11:16:24 -07:00
Pieter-Jan Briers 7131b4fba0
Oops (#11698) 2022-10-04 00:28:48 -07:00
Pieter-Jan Briers c5cfbd1d1a
Fuck da rules (#11584) 2022-10-03 23:43:42 +02:00
wrexbe 35b90736b7
Minor UI refactor (#11212) 2022-09-11 20:42:12 -07:00
wrexbe c55a015b77
Small UI refactor pieces (#11026)
* ActionType rename Name to DisplayName

* Gameplay State rename+move
2022-09-04 17:21:14 -07:00
Kevin Zheng 4813a719ba
Fix reading rules multiple times (#10925) 2022-08-29 22:00:06 -07:00
Kevin Zheng b84d19e702
Send server rules over the network (#10847)
Add a new InfoSystem that sends SharedInfo from the server to client
when requested. Currently, only the rule header and rule text is sent.

Previously, the rule header and rule text was bundled in the client,
which means that the client would only display rules that it was built
with, even if the server has different rules.

This allows servers all running the same build to send different rules.
This could be useful, for example, for servers running the official
builds to send different rulesets without a client rebuild.
2022-08-29 21:38:56 -05:00
DrSmugleaf ca0fb3c6a2
Track rule reading in database, don't show popup locally (#7278) 2022-03-26 20:16:57 +01:00
ShadowCommander ca8d673fad
Add ShowRules commmand (#5908) 2021-12-29 18:31:18 +11:00
ShadowCommander be6cb75122
Add a wait time for the rules popup (#5823)
* Create new rules popup

* Implement accept and quit buttons

* Add rules accept timer

Forces the player to read the rules by making them wait.

Speed reading the rules took me just under 45 seconds which means it'll take longer than that if someone's reading this for the first time.

* Fix info rules header

* Change _rulesPopup to local variable
2021-12-24 17:32:33 -08:00
ShadowCommander 2e141347ed
Fix ServerId CVar not getting replicated to the server (#5793)
* Fix ServerId CVar not getting replicated to the server

* Fix state check
2021-12-15 22:54:04 -08:00
wrexbe 5afd68e33c
Use IWritableDirProvider helpers (#5739) 2021-12-12 18:26:22 -08:00
ShadowCommander b3a4e3f557
Show rules on first connection (#5715)
* Implement showing rules on first connection

* Clean up RulesManager

* Change changelog and rules unread to use CVars

* Fix missing change

* Rename InfoWindow to RulesAndInfoWindow

* Change default server.id to unknown

* Fix invalid file contents and getting CVar
2021-12-09 14:22:49 -08:00