smallmodel
512831dea9
Properly unregister events from the level object
...
Build branch / build-all (push) Failing after 18s
CodeQL / Analyze (push) Has been cancelled
Unregister() was mistakenly being called on the DM_Manager object when it should have been called on the level object, to unregister events like axiswin, allieswin, draw
2025-02-20 20:36:19 +01:00
smallmodel
ee970a3fce
Remove PlayerBot class and use delegates instead
2025-02-02 16:02:56 +01:00
smallmodel
4bec5cef01
Reduce telefrag bounds
2025-01-15 18:42:34 +01:00
smallmodel
1500d213e7
Fix wrong pointer being deleted
2025-01-15 18:29:56 +01:00
smallmodel
adc2704da0
Improve code clarity
2025-01-07 00:09:28 +01:00
smallmodel
8a8ac2e3d1
Fix newline in win message
2025-01-05 18:36:45 +01:00
smallmodel
cf65fd890d
Fix incorrect number of wins in the scoreboard
2025-01-05 18:20:00 +01:00
smallmodel
3b1b994152
Fix temporary spawn spots being incorrectly ignored
2024-12-17 22:54:46 +01:00
smallmodel
4e69d7a78a
Remove redundant code
2024-12-17 22:50:25 +01:00
smallmodel
16166a36b5
Fix spawnpoint metric for objective-based matches
2024-12-17 22:48:10 +01:00
smallmodel
bcbe7cd870
Fix spawn point metric functions not counting the last player
2024-12-17 22:45:43 +01:00
smallmodel
0057a8273c
Initialize the total map time
2024-12-16 21:17:36 +01:00
smallmodel
231553f574
Fix round not ending when the clock reached 0:00
...
The wrong variable was being checked to end the round
2024-12-09 22:14:57 +01:00
smallmodel
3cc417151d
Fix newlines for G_PrintToAllClients
2024-12-09 21:42:45 +01:00
smallmodel
a150cb5c6e
Also check for liberation game type when the team is dead
2024-10-06 16:58:20 +02:00
smallmodel
afd7943b62
Fix incorrect teams and controllers for TOW objectives
2024-10-06 15:20:45 +02:00
smallmodel
f9d264058b
Use safe version of sprintf and strcpy
2024-09-20 23:08:53 +02:00
smallmodel
603444a69f
Fix an issue where the remaining time would reach 0:00 and the match would never end
...
See #287 , this occurred when the fraglimit was defined.
2024-09-09 22:25:54 +02:00
smallmodel
b0180383df
Fixed FFA scores
...
This fixes #242
2024-02-21 19:37:49 +01:00
smallmodel
c9aedf242d
Fixed scoreboard sending incorrect data for spectators
2024-02-05 21:03:10 +01:00
smallmodel
cb73cfd57b
Fixed "unknown game mode" error
2023-11-13 18:23:26 +01:00
smallmodel
002e935193
Fixed match start time being wrong and fixed AllowRespawn()
2023-09-23 19:49:44 +02:00
smallmodel
8aecff1879
Added CTeamSpawnClock and ported fixes from moh >= 2.0
2023-09-23 19:37:55 +02:00
smallmodel
718672119e
Fixed roundactive being wrongly set to false
2023-09-23 18:37:33 +02:00
smallmodel
5f3ea7c634
Removed m_countdown
2023-09-23 18:30:45 +02:00
smallmodel
1c813a59d0
Added m_bRoundActive and RoundActive()
2023-09-23 18:30:19 +02:00
smallmodel
31d19cb0f6
Fixed score entries on FFA gametype
2023-08-20 13:27:09 +02:00
smallmodel
39ae88a2ab
Remove "roundstart" waittill after the round has started
2023-08-20 01:43:37 +02:00
smallmodel
d22cda594f
Fixed TeamHitScoreLimit() (should use m_teamwins)
2023-08-19 19:34:57 +02:00
smallmodel
556133fa11
Use STRING_ROUNDSTART instead of "roundstart"
2023-08-19 18:20:26 +02:00
smallmodel
b278f2eafa
Var integer access fix
2023-08-19 03:00:19 +02:00
smallmodel
f20b47ebc0
Fixed newlines when printing the teamwin
2023-08-18 15:10:35 +02:00
smallmodel
e6d3ca32f4
In CheckEndMatch, don't put any flag in cvars
2023-08-18 01:09:09 +02:00
smallmodel
244220f031
Fixed spawnpoint issues due to trace mask
2023-08-16 02:37:57 +02:00
smallmodel
9b1dc34ea1
Fixed score data for mohaas/mohaab
2023-08-16 02:08:00 +02:00
smallmodel
c4738966fe
Using g_utils.cpp from fakk
2023-08-15 01:27:35 +02:00
smallmodel
819f6bcf71
Using DM_Manager::CheckEndMatch() algorithm from mohaab 2.40
2023-08-14 20:35:23 +02:00
smallmodel
0b2a0634f5
Moved eController to Entities.h
2023-08-14 19:21:17 +02:00
smallmodel
d53ab8540e
Fixed Unix compilation warnings/errors
2023-08-10 23:06:03 +02:00
smallmodel
7386784765
Renamed clientPersistant_t to client_persistant_t
...
Named client_peristant_t fields correctly
2023-08-10 13:34:04 +02:00
smallmodel
9e635a7207
Rearranged DM_Manager
...
Moved dm_team.cpp code to dm_manager.cpp
2023-08-10 02:31:01 +02:00
smallmodel
85099801ab
Call Player::DeadBody() with the event function instead
2023-08-09 22:09:04 +02:00
OM
e4fa0fff3a
Renamed **game** to **fgame**
2023-06-15 23:44:02 +02:00