smallmodel
e943b95025
Implemented R_DrawDebugLines
and R_DrawDebugStrings
2023-07-09 14:38:22 +02:00
smallmodel
981610b13f
Declared R_DrawFloatingString
2023-07-09 14:37:57 +02:00
smallmodel
50098b3aed
Implemented R_DebugRotatedBBox
2023-07-09 14:37:43 +02:00
smallmodel
e3f1705065
Implemented RB_CalcFlapVertexes
and RB_CalcEnvironmentTexCoords2
2023-07-09 13:47:42 +02:00
smallmodel
25d526ade5
Moved "flap" above "normal"
2023-07-09 13:47:05 +02:00
Zack Middleton
9c0d66c9f2
Don't list mod directories at Windows drive root
...
The mod list on Windows would search the root of the drive if
fs_basepath, fs_homepath, fs_steampath, or fs_gogpath are blank ("")
(which is usually the case).
The issue is in the low-level Sys_ListFiles() but it only affects the
mod menu, on Windows. It cannot be abused by console commands to
list system files outside of the virtual filesystem.
---
If a directory at the root of the drive of the working directory
contained a pk3 file, the directory was listed in the mods menu. The
virtual filesystem doesn't add blank directory names to the search path
so it cannot load mods from the drive root. (Unless of course you set a
fs_*path cvar to "C:\".)
Sys_ListFiles() with blank directory caused Windows to use "\*" for the
search path and "\" prefix means root of drive. Unix opendir("") failed
so nothing was listed for blank directory.
Sys_ListFilteredFiles() with blank directory _and_ specifying subdirs
could access any directory (on Windows and Unix-like) but no code uses
this or makes it accessible.
These functions are only used for initializing the virtual filesystem
and listing mods. They are not accessible by anything else such as a
console command. Only the mods menu, on Windows, is affected.
2023-07-06 19:46:01 +02:00
smallmodel
8a46597820
Added a new constructor that accepts numArgs as parameters
...
(this fixes bad script commands)
2023-07-05 21:42:36 +02:00
smallmodel
75572eb1b9
Fixed testthread crashing the game when the label parameter is unspecified
2023-07-05 21:41:43 +02:00
smallmodel
f930d39a42
Used clang-format on cgame module
2023-07-05 21:24:23 +02:00
smallmodel
13828994fb
Used clang-format on gamespy files
2023-07-05 21:24:14 +02:00
smallmodel
68d48d9889
Used clang-format on some common files
2023-07-05 21:24:02 +02:00
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