smallmodel
5333c7ff4a
Removed empty line before opening braces
2023-07-05 20:52:55 +02:00
OM
7a6d6070dc
Removed MAX_TEAMNAME (useless)
2023-07-05 18:36:49 +02:00
OM
51116b933d
Fixed code_pos being wrong after loadTop/storeTop
2023-07-04 23:16:35 +02:00
OM
4263b2843a
Fixed code_pos not being incremented in EmitField
2023-07-04 23:15:45 +02:00
OM
fd871d6c8f
avoid incrementing m_CodePos in OP_STORE_STRING
and OP_STORE_VECTOR
as fetchOpcodeValue() already does that
2023-07-04 23:06:33 +02:00
OM
1776ac2344
Fixed configstring not sending after post-loading
2023-07-04 23:06:02 +02:00
OM
b5dd79287a
Fixed colors segmentation fault (because it was grabbing 4 bytes instead of 3 thanks to unsigned int*)
2023-07-02 21:22:15 +02:00
OM
d4fb368dab
Increased version number
2023-07-02 21:21:42 +02:00
OM
837fb40732
Completely removed TARGET_GAME_TYPE
detection
2023-07-02 20:10:53 +02:00
OM
668f74ffc0
Set the game name depending on com_target_game
2023-07-02 20:10:38 +02:00
OM
d3a4b3e53d
Removed extension from full product name
2023-07-02 20:08:37 +02:00
OM
087f1d38f5
Replaced TARGET_GAME_VERSION
with com_version->string
2023-07-02 20:08:18 +02:00
OM
6e1fbbaddc
Removed com_gamename
as it was useless
2023-07-02 20:07:59 +02:00
OM
17b63e56ca
Set PROTOCOL_VERSION to 17 by default
2023-07-02 20:07:30 +02:00
OM
4841d8026f
Allow gamespy to run on the 3 different games at runtime
2023-07-02 20:07:15 +02:00
OM
942bc9e523
Removed TARGET_GAME_TYPE definition
2023-07-02 20:06:35 +02:00
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