Commit graph

37 commits

Author SHA1 Message Date
smallmodel
e833b08a8e
Fix G_GetAngle returning the wrong angle (was flipped) 2024-11-04 20:37:28 +01:00
smallmodel
6f51427c7c
Add a function to count the number of valid clients 2024-11-03 00:34:33 +01:00
smallmodel
62bcf58d83
Call G_RestartLevelWithDelay instead in G_MissionFailed 2024-11-03 00:33:33 +01:00
smallmodel
ff0dcbd786
Add G_GetAngle 2024-10-21 20:24:33 +02:00
smallmodel
0b07858bfc
Refactor PlayerBot to use a separate controller class, alongside classes that manage bots 2024-10-08 22:17:22 +02:00
smallmodel
388ab210a7
Fix incorrect obituary hit location 2024-10-02 16:42:10 +02:00
smallmodel
f9d264058b
Use safe version of sprintf and strcpy 2024-09-20 23:08:53 +02:00
smallmodel
1f71bb714d
Fix sounds unexpectedly getting marked as streamed when they are not
This fixes #345 where a crash occurred because of a NULL buffer, as streamed sounds don't have a memory buffer
2024-08-27 12:47:58 +02:00
smallmodel
07f13d1ae9
Force the soundtrack to be sent again 2024-08-26 00:08:29 +02:00
smallmodel
d6d40975e5
Add more file debug print 2024-08-23 23:32:46 +02:00
smallmodel
8832fbe55d
Fix entities loopsound incorrectly having the streamed value at the end of the name, causing some sounds unable to load 2024-08-23 21:03:02 +02:00
smallmodel
0a3a23af41
Using AI_EVENT_MAX to check for max ai events 2024-05-29 23:54:48 +02:00
smallmodel
1234bd89c7
Fixed wrong configstring for the soundtrack 2024-01-16 20:54:10 +01:00
smallmodel
d0ba1df4e0
G_BroadcastAIEvent: ignore non-actor and non-bots 2023-11-05 21:02:07 +01:00
smallmodel
421f1d39a4
SV_HitEntity must return true if something was hit 2023-11-01 20:09:46 +01:00
smallmodel
57e1920b9c
G_SightTrace: only return true if the result is true 2023-10-24 19:29:20 +02:00
smallmodel
7041acfd51
Added visual obfuscation feature (not implemented yet) 2023-10-14 19:56:06 +02:00
smallmodel
d757fa6306
Renamed world.cpp and world.h to worldspawn.cpp and worldspawn.h 2023-10-08 00:08:47 +02:00
smallmodel
0dcffe8771
Fixed means of death strings 2023-10-03 18:40:38 +02:00
smallmodel
43b0944403
Added centroid in entityShared_t and removed currentOrigin 2023-08-29 00:03:07 +02:00
smallmodel
51ca0a06a7
Fixed death message color on mohaas/mohaab 2023-08-20 14:11:34 +02:00
smallmodel
af056d7646
Create an event with pcmd->num_args 2023-08-19 20:49:03 +02:00
smallmodel
250f1d090e
Fixed SanitizeName 2023-08-17 22:37:35 +02:00
smallmodel
bc81fe78b2
Check if the ent is inside the hit entity (this fixes trigger_hurt issues in mp_stadt_dm 2023-08-17 16:10:29 +02:00
smallmodel
60b9a6e2e0
renamed to playerstart.h 2023-08-15 13:16:36 +02:00
smallmodel
3daee90b5b
Moved functions from game.cpp/game.h to where they should be (g_main, g_utils) 2023-08-15 01:41:35 +02:00
smallmodel
c4738966fe
Using g_utils.cpp from fakk 2023-08-15 01:27:35 +02:00
smallmodel
394546dee7
Added means of death strings 2023-08-14 23:37:14 +02:00
smallmodel
7fb42cf655
Fixed message printing on mohaas/mohaab 2023-08-14 20:44:28 +02:00
smallmodel
8e9ff2b289
Added G_PMDrawTrace 2023-08-11 00:13:29 +02:00
smallmodel
7b133e5b2f
Fixed const param 2023-08-10 23:04:47 +02:00
smallmodel
7205e27c8c
Using death messages implementation from mohaas/mohaab 2023-08-10 21:26:28 +02:00
smallmodel
1deea345bc
Renamed team to teamnum 2023-08-10 18:49:57 +02:00
smallmodel
e7dbc25ca0
Made entity parameter a constant instance 2023-08-10 14:14:39 +02:00
smallmodel
84ecf838d4
Optimized G_Command_ProcessFile a little bit 2023-08-01 19:31:08 +02:00
smallmodel
5333c7ff4a
Removed empty line before opening braces 2023-07-05 20:52:55 +02:00
OM
e4fa0fff3a Renamed **game** to **fgame** 2023-06-15 23:44:02 +02:00
Renamed from code/game/g_utils.cpp (Browse further)