Commit graph

106 commits

Author SHA1 Message Date
smallmodel
51a2f7d479
Use an enumeration for weapon commands and a function to get the weapon command
This improves clarity for using weapon commands. Also the mask was incorrect for protocol above version 8 (mohaas and mohaab)
2024-12-30 00:55:29 +01:00
smallmodel
4ea598d76b
Reimplement SkipBracedSection 2024-12-01 17:53:51 +01:00
smallmodel
04baf673dc
Set MAX_MAP_BOUNDS to 8192 2024-11-25 22:12:47 +01:00
smallmodel
ad825f5114
Reimplement noise functions 2024-11-20 23:02:22 +01:00
smallmodel
ab84a6ea58
Add support for the demo version of the game
This allows the demo version of the game to be used, both for playing on demo servers, or for hosting a demo server
2024-11-12 23:09:37 +01:00
smallmodel
50fdbaf152
Use CVAR_RESETSTRING instead of CVAR_SERVER_CREATED 2024-11-11 20:36:03 +01:00
smallmodel
81b49236a5
Use proper types for playerState_t structure 2024-11-11 19:00:36 +01:00
smallmodel
8a2e4ca470
Add Com_RandomBytes and Com_IsVoipTarget 2024-09-10 19:54:25 +02:00
smallmodel
11f5870a8b
Add ioq3 server fixes and improvement
- Add a rate limit to protect against DoS attacks
- Better IPv6 support
2024-08-31 21:04:10 +02:00
smallmodel
e3936f52a2
Move Com_SwapSaveStruct to a better place 2024-08-23 22:39:14 +02:00
smallmodel
53d5dd1e40
Differentiate saves from mohaa, mohta and mohtt
Fixes #339 where Spearhead and Breakthrough would also display saves from mohaa
2024-08-23 22:25:43 +02:00
smallmodel
b2ef0fd6e3
Swap the save game struct on big endian architectures 2024-08-23 21:09:12 +02:00
smallmodel
14927df9fa
Moves MAX_SUBTITLES to `q_shared.h| 2024-07-02 19:03:27 +02:00
pryon
4da5e26cdc Move CTRL macro to q_shared.h 2024-06-10 13:59:10 +02:00
smallmodel
d04ed0aace
Made M_PI double 2024-03-03 19:46:32 +01:00
smallmodel
cca37e3dfe
Added and using SAVEGAME_STRUCT_VERSION 2023-11-26 20:33:07 +01:00
smallmodel
e95d71da0d
Added Com_DPrintf2 and Com_DebugPrintf 2023-09-17 19:33:17 +02:00
smallmodel
bcf3aad1b2
Added PointToSegmentDistanceSquared 2023-09-12 23:35:22 +02:00
smallmodel
36aa9bd802
Don't replace Z_Malloc, Z_TagMalloc and Z_Free in debug memory mode 2023-09-07 19:48:08 +02:00
smallmodel
8af202bd5f
Fixed compilation errors with DEBUG_MEMORY on Linux because of CRT 2023-09-07 19:29:24 +02:00
smallmodel
f61bda330e
Set homepath to "openmohaa" (win32) and ".openmohaa" (unix) 2023-08-25 22:55:27 +02:00
smallmodel
45aae54b32
Renamed "Base" to "Allied Assault" 2023-08-24 23:32:40 +02:00
smallmodel
b2853465ed
Capitalize first letter in PRODUCT_EXTENSION 2023-08-18 14:53:39 +02:00
smallmodel
c17454b124
Renamed bValid to teamShader 2023-08-15 23:24:23 +02:00
smallmodel
06a7341eda
Moved radarUnpacked_t from server.h to q_shared.h 2023-08-15 22:20:25 +02:00
smallmodel
c4738966fe
Using g_utils.cpp from fakk 2023-08-15 01:27:35 +02:00
smallmodel
ec58ca0f13
Added S_FLAG_DO_CALLBACK 2023-08-13 20:17:33 +02:00
smallmodel
8d41b58635
Using hitloc enum instead of macros 2023-08-11 01:34:21 +02:00
smallmodel
f6bcc1ab86
Increased MAX_WEAPONS to 64 2023-08-03 20:14:33 +02:00
smallmodel
7b9b371cf6
Added RotatePointAroundAxis 2023-07-30 15:42:59 +02:00
smallmodel
8e60786307
Added Q_clamp_int and Q_clamp_float 2023-07-21 23:35:44 +02:00
smallmodel
129e3bfe6e
Removed comment 2023-07-21 20:32:43 +02:00
smallmodel
66213821c5
Using const parameters for BoxOnPlaneSide 2023-07-17 20:08:26 +02:00
smallmodel
baee33e07f
Added chrono stuff for C++ 2023-07-17 19:28:55 +02:00
smallmodel
9882a20a95
Added iIndex in markFragment_t 2023-07-15 20:17:52 +02:00
smallmodel
8b83b8e5bb
Replaced vec_t with vec3_t 2023-07-10 21:10:23 +02:00
OM
7a6d6070dc
Removed MAX_TEAMNAME (useless) 2023-07-05 18:36:49 +02:00
OM
837fb40732 Completely removed TARGET_GAME_TYPE detection 2023-07-02 20:10:53 +02:00
OM
b67b3863ba Added view model anim normalization 2023-07-02 18:31:18 +02:00
OM
7eac426e31 Added net_pm_flags field for denormalized pm_flags (depending on the target game) 2023-06-29 22:16:46 +02:00
OM
75aeba31c6 Added com_target_game startup variable
FS_Startup now uses `fs_basegame` variable for mainta/maintt
2023-06-29 21:25:26 +02:00
OM
ba4680d510 Added defines for each moh games 2023-06-28 22:48:10 +02:00
OM
02993eaa9b Backported ioq3 features 2023-06-25 19:35:41 +02:00
OM
d82eb25487 Use q_version.h 2023-06-19 23:34:12 +02:00
OM
19b4ba5db0 Moved version stuff to q_version.h 2023-06-19 19:57:50 +02:00
OM
f7e18fe7c1 Updated version number 2023-06-18 19:11:37 +02:00
OM
a46fd50654 Set S_COLOR to empty strings 2023-05-31 20:16:45 +02:00
OM
b1dc544c5e export Q_isanumber and Q_isintegral 2023-05-31 19:40:36 +02:00
OM
5153892447 Added BEAM_FADE 2023-05-30 00:21:40 +02:00
OM
ccfdc1ef2d Changed version number 2023-05-29 01:58:05 +02:00