Commit Graph

8 Commits

Author SHA1 Message Date
Michael Fabian 'Xaymar' Dirks 4a8b95bdb4 Modify time logic to split RoundTime and StateTime
Adds two new functions:
- GM:GetRoundStateTime (Shared)
- GM:SetRoundStateTime (Server)
2019-01-12 21:17:49 +01:00
Michael Fabian 'Xaymar' Dirks 13d91b20a1 gamemode/server/states/state_postround: Minor formatting 2018-12-02 06:40:13 +01:00
Michael Fabian 'Xaymar' Dirks 45925f2029 gamemode/server/roundmanager: Switch to generated implementation
Like with states, allows reuse and prevents missing elements and uses the Lua engine to do the lookup instead of the Lua parser. Slightly faster, but may not be directly obvious in use.
2018-07-05 06:55:46 +02:00
Michael Fabian 'Xaymar' Dirks bf0673914b gamemode/server/states: Switch to generated implementation
This has the benefit that all base info is present as meta info and setting a member to nil simply uses the meta member instead.
2018-07-05 06:54:05 +02:00
Michael Fabian 'Xaymar' Dirks dfdd8f82a3 gamemode: Allow infinite rounds to be played 2017-11-26 13:49:59 +01:00
Michael Fabian 'Xaymar' Dirks 863f099f31 gamemode: Implement Scoreboard support
The game mode will now assign points to teams as well as increment frags and deaths. This paves the way for a proper scoreboard to be added.
2017-11-26 12:54:57 +01:00
Michael Fabian 'Xaymar' Dirks 6fbd73b217 gamemode: Remove unused lua code
These are mostly now in sh_config.lua, so there's no need to keep them around.
2017-11-26 08:21:04 +01:00
Michael Fabian 'Xaymar' Dirks 6ad75df85d Adjust paths to be lowercase (part 2)
Even though git internally knows the difference between upper and lower case, all of it's commands rely on the file system to do so as well. This results in incorrect behavior when renaming A to a for example, as the source and destination is identical on the file system according to git. Windows does support such renames, but git seems to shit itself.
2017-11-24 02:00:08 +01:00