OM
96f72c0bb8
Denormalize configstrings when sending the game state
2023-07-02 19:42:03 +02:00
OM
a3755ff308
Set GAME_API_VERSION to 15
2023-07-02 19:41:46 +02:00
OM
87b238e6de
Renamed gameImport to game_import_t, and gameExport_t to game_export_t
2023-07-02 19:22:17 +02:00
OM
7db4d1a3f4
Newline fix
2023-07-02 19:18:37 +02:00
OM
7b34f064d0
Moved gi.protocol to a new variable called g_protocol
2023-07-02 19:17:15 +02:00
OM
36dce22071
Moved cgi.protocol to a new variable called cg_protocol
instead, due to issues like GetCGameAPI being loaded before having client imports (cgi)
2023-07-02 19:16:48 +02:00
OM
fa69717bed
Using "main" for loading DLLs as they are now combined
2023-07-02 19:15:35 +02:00
OM
174d3f7447
Send the correct CGM number depending on the protocol used
2023-07-02 18:32:26 +02:00
OM
b6a44fe810
Send fog info depending on the protocol used
2023-07-02 18:31:58 +02:00
OM
b9c5a4d5ba
Write server frametime depending on the protocol used
2023-07-02 18:31:43 +02:00
OM
b67b3863ba
Added view model anim normalization
2023-07-02 18:31:18 +02:00
OM
1947c30d3d
Export MSG_IsProtocolVersion15
2023-07-02 18:30:52 +02:00
OM
9d3fa377df
Set breakthrough clientType if maintt is the target
2023-07-02 18:29:42 +02:00
OM
9603f8e38a
Parse the fog info depending on the game version
2023-07-01 21:20:15 +02:00
OM
cb95284d0c
Draw spectator view depending on the protocol version
2023-07-01 21:18:58 +02:00
OM
00b926db29
Init the client game export for scores and CG message
2023-07-01 21:18:30 +02:00
OM
cf009a4628
Parse CG message based on game protocol version
2023-07-01 21:17:59 +02:00
OM
e456964be4
Parse the scores based on the game version
2023-07-01 21:17:42 +02:00
OM
8418da422c
Stopwatch: checking protocol at runtime instead
2023-07-01 21:17:30 +02:00
OM
0f0fbb7b0d
Merge branch 'main' into features/universal-client
2023-07-01 20:52:39 +02:00
OM
8a7cb7fb24
Merge branch 'main' of github.com:openmoh/openmohaa
2023-07-01 20:52:18 +02:00
pryon
ca468b9407
Implement RB_SurfaceMarkFragment ( #47 )
...
Looks good
Btw it won't be possible to make a common function, because like others `RB_Surface*`, both functions use a different struct (even if some of the fields have the same name between structures)
2023-07-01 20:51:14 +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
e33a562c04
CG_PlayerTeamIcon: Removed TARGET_GAME_PROTOCOL check
2023-06-29 21:29:57 +02:00
OM
dbfa741a06
Unified configstrings and player state flags (they will be normalized by the client/server instead)
2023-06-29 21:29:38 +02:00
OM
f1aecd3939
Removed compile-time TARGET_GAME_PROTOCOL check (use runtime detection instead)
2023-06-29 21:29:14 +02:00
OM
e8a9eb775e
Added protocol/targetGame variables
2023-06-29 21:28:43 +02:00
OM
a4d71bb150
Added bg_compat.cpp
2023-06-29 21:28:19 +02:00
OM
3def146e90
Get normalized playerstate flags and configstring when receiving them
2023-06-29 21:28:08 +02:00
OM
906f9cb89d
Denormalize player state flags when sending them to client
2023-06-29 21:27:45 +02:00
OM
cbe6354d2d
Denormalize configstring when sending it to the client
2023-06-29 21:27:19 +02:00
OM
931c3147f8
Initialize targetGame and protocol in imports
2023-06-29 21:26:34 +02:00
OM
f02cc7942d
Added bg_compat to translate configstrings and playerstate flags for target games
2023-06-29 21:26:02 +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
ff0474a483
Adding specific bg_x files manually
2023-06-29 21:24:11 +02:00
OM
7e18d51550
Added Com_InitHunkMemory
2023-06-28 22:48:28 +02:00
OM
ba4680d510
Added defines for each moh games
2023-06-28 22:48:10 +02:00
OM
c83bbd6a58
Disabled pak files checking because it was causing trouble between languages
2023-06-27 21:05:38 +02:00
OM
79ce5261a5
Bumped version number
2023-06-27 00:28:58 +02:00
OM
9fdda882e5
Execute known commands in a separate function called CL_ProcessServerCommand
...
Also fixed crash with server quitting: Com_Error was called immediately with the cgame module in stack - Com_Error would call CL_Disconnect which would unload cgame module, invalidating stack frames and rendering longjmp impossible
2023-06-27 00:23:11 +02:00
OM
55e07205e3
Fixed sval_func1 not having a sourcepos (leading to invalid memory access)
2023-06-27 00:01:30 +02:00
OM
3ff4a7b8e4
Removed Quake III arena's boring call to Hunk_ClearTempMemory
from FS_FreeFile
2023-06-27 00:01:12 +02:00
OM
f6c25921dc
Fixed linux compilation errors
2023-06-25 22:07:17 +02:00
OM
f38645d19f
Removed static variables from extern
2023-06-25 21:34:53 +02:00
OM
6134b150c1
ioq3 files backport
2023-06-25 20:26:47 +02:00
OM
e275c4692e
Fixed linked doors assertion failure
2023-06-25 20:04:11 +02:00
OM
fdd4968ba9
Set homePath to an empty string
2023-06-25 19:35:53 +02:00
OM
02993eaa9b
Backported ioq3 features
2023-06-25 19:35:41 +02:00
OM
7e44b955d7
newline
2023-06-25 19:35:13 +02:00
OM
1855bf1bd4
Removed cl_curl.cpp as there is cl_curl.c
2023-06-25 19:34:42 +02:00