Commit Graph

9 Commits

Author SHA1 Message Date
Kara
1eb4dfb13f Rules header cvar + RP server rules header (#10450) 2022-08-08 16:20:01 -07:00
Pieter-Jan Briers
4c1b0b87fb Fix rules popup (#8485)
* CVar to show rules popup for localhost.

For testing purposes.

* Fix rules popup being broken and throwing.

😐
2022-05-27 14:50:11 -07:00
ike709
0b15db1120 Adds a cvar for server rules (#8365)
Co-authored-by: Veritius <veritiusgaming@gmail.com>
Co-authored-by: ike709 <ike709@github.com>
2022-05-23 12:43:09 -07:00
DrSmugleaf
ca0fb3c6a2 Track rule reading in database, don't show popup locally (#7278) 2022-03-26 20:16:57 +01:00
wrexbe
cea1b21832 Fixing some warnings (#6250)
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
2022-01-21 10:38:35 +01: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
09e0f79b89 Xaml Rules and Info (#5741)
* XAMLify rules and info

* Fix errors

* Combine AddSection methods

* Readd AddSection
2021-12-15 22:17:01 -08:00
E F R
b2da936848 Everything: Rich text redux (#5625)
* lord save me

* UI/ChatBox: Use the new `defStyle` param for `RenderMarkup`

The previous iteration didn't work because `AddMessage` can't inherit
its color from the PushColor (since we're not doing actual tag stacks
anymore).

* rebase touchup
2021-12-12 18:25:42 -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