Commit graph

1421 commits

Author SHA1 Message Date
smallmodel
84adaa07e0
Removed reverse_label_list (use label_list enumeration instead) 2023-08-19 15:48:29 +02:00
smallmodel
2efeb7e972
Don't call Unregister with "delete" and "remove" in the destructor as UnregisterAll() will already do it
Don't call CancelPendingEvents() if the event system hasn't started
2023-08-19 15:39:59 +02:00
smallmodel
b9655e3f19
Fixed memory leaks: free all memory allocated by the game module 2023-08-19 15:24:37 +02:00
smallmodel
dce004ef13
Don't FreeAll() when destructing the block allocator, because it could be executed before containers destruction 2023-08-19 15:24:12 +02:00
smallmodel
b9f1530eec
G_ShutdownGame: shutdown events and deallocate game data 2023-08-19 15:23:48 +02:00
smallmodel
9b15b27f28
Removed CRT check debug flag 2023-08-19 13:36:54 +02:00
smallmodel
ff2e64a742
Fixed a tiny mistake present in all mohaa versions, with a possible overflow in client index in PF_centerprintf and PF_locationprintf 2023-08-19 13:36:12 +02:00
smallmodel
4e38b803fb
Fixed G_Random/G_CRandom 2023-08-19 13:32:32 +02:00
smallmodel
9825e1e6f2
Formatted source files 2023-08-19 03:02:30 +02:00
smallmodel
b278f2eafa
Var integer access fix 2023-08-19 03:00:19 +02:00
smallmodel
25912079db
Return NULL for ulist::GetPosition 2023-08-19 03:00:07 +02:00
smallmodel
b1753df1ed
Reworked con_set and con_arrayset so that they have their own Entry class 2023-08-19 02:56:51 +02:00
smallmodel
843b49d56b
Allow operator new and operator delete to be called when debugging memory 2023-08-19 02:19:01 +02:00
smallmodel
00644e7605
Alloc() and Free() will call malloc directly when debugging memory 2023-08-19 02:18:41 +02:00
smallmodel
93814bd05b
Fixed Skel_Alloc and Skel_Free macros when debugging memory 2023-08-19 02:18:11 +02:00
smallmodel
438ed2c0ea
Added a way to debug CRT heap (currently only on Windows with MSVC) 2023-08-19 02:17:45 +02:00
smallmodel
0310475957
Don't make "addbot", "removebot" and "bot" public commands 2023-08-19 02:17:12 +02:00
smallmodel
435bfe1271
Initialize angular_delta to 0 2023-08-19 01:38:38 +02:00
smallmodel
7ca532f0e4
FL_ANIMATE is 0x100000 2023-08-19 01:38:25 +02:00
smallmodel
8c3997f13b
Implemented Projectile::Think from mohaas/mohaab 2023-08-19 01:32:54 +02:00
smallmodel
d8ae1ce6b9
Added NULL to the end of SmokeGrenade event responses 2023-08-19 01:32:33 +02:00
smallmodel
5cb1e5de84
Fixed Vector_DotProduct returning wrong values 2023-08-19 01:02:18 +02:00
smallmodel
7fd2aff17b
Fixed entity trace with no valid trace 2023-08-19 00:58:06 +02:00
smallmodel
b9f3ee867b
Fixed switch label with "default" case 2023-08-19 00:57:29 +02:00
smallmodel
f16b992a97
Fixed assignments with case-insensitive event names 2023-08-19 00:57:19 +02:00
smallmodel
9ba5710412
Fixed variable comparison operators with VARIABLE_CHAR 2023-08-19 00:57:02 +02:00
smallmodel
7e6854f96b
Fixed EventPointsWithinDist taking the wrong argument number for the distance 2023-08-19 00:35:48 +02:00
smallmodel
aa25ef6c68
Removed EV_Player_UseHeld as there is already EV_GetUseHeld 2023-08-19 00:35:32 +02:00
smallmodel
9db1076603
Fixed VM_StepSlideMove using wrong start/end for gi.trace 2023-08-19 00:35:10 +02:00
smallmodel
7b39218af5
Fixed MASK_VEHICLE 2023-08-19 00:34:56 +02:00
smallmodel
ba5b2adf94
Fixed rcon command not working 2023-08-19 00:34:47 +02:00
smallmodel
ded7d941ea
Call SetAngles(ev) when setting the angles 2023-08-19 00:34:27 +02:00
smallmodel
09ed4e4a1d
Fixed grammar priorities of the unuary and complement 2023-08-19 00:34:14 +02:00
smallmodel
9b3aaa0f87
Using string+5 rather than string+(4+1) 2023-08-19 00:33:55 +02:00
smallmodel
a274325f43
Fixed wrong bounce sound 2023-08-18 15:30:18 +02:00
smallmodel
b0da0b8321
Removed nomonsters
Removed some serverinfo cvars
2023-08-18 15:25:26 +02:00
smallmodel
a241ea20fa
Removed nomonsters 2023-08-18 15:25:17 +02:00
smallmodel
f8d5a5ecd2
Fixed TeamWin with the axis team 2023-08-18 15:13:47 +02:00
smallmodel
f20b47ebc0
Fixed newlines when printing the teamwin 2023-08-18 15:10:35 +02:00
smallmodel
de10ab8df3
Fixed "is preparing for deployment" message location on mohaas/mohaab 2023-08-18 15:10:23 +02:00
smallmodel
47c7c5a5e3
Renamed centerprint to stringToPrint 2023-08-18 15:10:10 +02:00
smallmodel
80ada3225d
Fixed centerprint not working as intended 2023-08-18 15:09:32 +02:00
smallmodel
a1745829b2
Added product extension, as breakthrough clients rely on the extension word (like "Spearhead") to set g_servertype variable 2023-08-18 14:54:17 +02:00
smallmodel
b2853465ed
Capitalize first letter in PRODUCT_EXTENSION 2023-08-18 14:53:39 +02:00
smallmodel
c89091b4cd
Send gamever and serverType in SVC_Info 2023-08-18 14:53:26 +02:00
smallmodel
e5beb0d9b9
Explicitly use GT_SINGLE_PLAYER 2023-08-18 14:53:12 +02:00
smallmodel
80ab513d76
Fixed size() returning 0 when the type is VARIABLE_NONE (must return -1) 2023-08-18 14:14:32 +02:00
smallmodel
854136d85b
Fixed spelling mistake 2023-08-18 14:14:11 +02:00
smallmodel
25c417187b
Removed flex/bison source files from build
Flex/Bison must be used to generate those files
2023-08-18 01:46:16 +02:00
smallmodel
e3e9328ba3
Fixed small mistake when comparing with nextTime 2023-08-18 01:46:00 +02:00