smallmodel
37d8938e91
Updated clang-format
2023-07-05 21:05:33 +02:00
smallmodel
5333c7ff4a
Removed empty line before opening braces
2023-07-05 20:52:55 +02:00
smallmodel
4d3fe0fd73
Added .clang-format (currently experimental)
2023-07-05 20:51:05 +02:00
smallmodel
61650a22fd
Removed TODO/CHANGELOG as they are no longer accurate
2023-07-05 19:33:38 +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
b0b80dda6f
Added single-player note
2023-07-04 20:06:52 +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
53e6391c54
GitHub actions now run on different branches
2023-07-02 20:14:25 +02:00
OM
805a101978
Removed commented-out lines
2023-07-02 20:12:33 +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
08fec1a8c5
Removed -DTARGET_GAME_TYPE parameter
2023-07-02 20:05:50 +02:00
OM
41cfac1ec4
Updated the README file
2023-07-02 19:47:41 +02:00
OM
4d75c9ad05
Don't produce TT builds as expansions can be switched at runtime
2023-07-02 19:43:46 +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