Alibek Omarov
|
98ff33d9e2
|
engine: mod_bmodel: rewrite .lit file loader using normal stream io functions
|
2025-01-09 08:02:39 +03:00 |
|
Alibek Omarov
|
baa8fbaaec
|
engine: mod_bmodel: fix misleading debug message telling about monochrome lighting when .lit file is used
|
2025-01-09 08:02:39 +03:00 |
|
Alibek Omarov
|
a0b46da04b
|
engine: consolidate all box clipnodes used in studio models, pmove and server in a single place
|
2025-01-09 08:02:39 +03:00 |
|
Alibek Omarov
|
e70ba7ad64
|
engine: now, remove SUPPORT_BSP2_FORMAT macro, only prevent ref_soft from loading such maps
|
2025-01-09 08:02:39 +03:00 |
|
Alibek Omarov
|
47aff9e30b
|
engine: hack mnode_t struct so we can have 24-bit face and children indices to support BSP2 format in runtime
|
2025-01-09 08:02:39 +03:00 |
|
Alibek Omarov
|
ced8744ac9
|
engine: split edge struct into two with 16-bit indicies and 32-bit indicies to support BSP2 format in runtime
|
2025-01-08 14:46:07 +03:00 |
|
Alibek Omarov
|
734c07ddab
|
engine: split clipnodes struct into two with 16-bit indicies and 32-bit indicies to support BSP2 format in runtime
|
2025-01-08 14:46:07 +03:00 |
|
Alibek Omarov
|
23b410ccb0
|
engine: mod_bmodel: optimize loading wad textures by directly loading it from the archive through new filesystem functions
|
2024-11-23 15:04:05 +03:00 |
|
Alibek Omarov
|
e7f939c87b
|
engine: always add .wad extension to wadlist names to simplify how it's being used
|
2024-11-23 14:01:09 +03:00 |
|
Alibek Omarov
|
a29b6772b9
|
engine: mod_bmodel: fix wadlist, wad file names don't have an extension there
|
2024-11-18 04:53:48 +03:00 |
|
Alibek Omarov
|
229f1560b0
|
engine: fix some possible off by one errors
|
2024-11-17 13:04:20 +03:00 |
|
Alibek Omarov
|
8f7f311f60
|
engine: mod_bmodel: simplify wadlist parser
|
2024-11-17 06:28:02 +03:00 |
|
Alibek Omarov
|
31a86d8af2
|
engine: use new Q_splitstr to work with single character delimited strings
|
2024-11-17 05:35:36 +03:00 |
|
Alibek Omarov
|
0813d2c7ce
|
engine: mod_bmodel: merge Mod_LoadColoredLightmap and Mod_LoadDeluxemap into a single function
|
2024-11-17 04:59:52 +03:00 |
|
Alibek Omarov
|
0ceb0d9e11
|
engine: provide compatible replacement for CompareFileTime function
|
2024-11-17 04:33:13 +03:00 |
|
Alibek Omarov
|
f529f06ea1
|
engine: use designated initializers to define BSP lumps. Reorder mlumpinfo_t for better memory efficiency
|
2024-11-06 01:39:46 +03:00 |
|
Alibek Omarov
|
5402a9611e
|
engine: common: fix discarded const qualifier
|
2024-10-14 19:41:36 +03:00 |
|
Alibek Omarov
|
f52c825bf5
|
engine: make some global variables static and const, make even more functions static if possible
|
2024-10-14 19:19:46 +03:00 |
|
Alibek Omarov
|
4712aae834
|
engine: server: move autoprecaching wads after parsing reslists
An attempt to avoid assert() in HL Unified SDK.
|
2024-09-30 18:46:01 +03:00 |
|
Alibek Omarov
|
178602ea1f
|
engine: fix loading map in Dark Future mod with broken mark surface id
|
2024-09-05 15:23:23 +03:00 |
|
Alibek Omarov
|
e18b61e041
|
Fixes for -Wformat=2 on 64-bit targets
|
2024-06-22 07:31:37 +03:00 |
|
Alibek Omarov
|
d56e53a347
|
Replace hardcoded functions names by __func__ macro
* while we're here, fix some possible bugs
* and fix -Wformat=2
s/__FUNCTION__/__func__/g
awawawa
|
2024-06-19 06:53:42 +03:00 |
|
Alibek Omarov
|
4e2708c1ac
|
engine: bring back texture replacement
|
2024-06-11 06:16:26 +03:00 |
|
Alibek Omarov
|
5ab6979633
|
ref: move common quake sky cloud loading to the engine
|
2024-06-10 22:47:39 +03:00 |
|
Alibek Omarov
|
6255293dd4
|
engine: fix using OpenMP PHS generation under Visual Studio
|
2024-06-02 10:34:10 +03:00 |
|
Alibek Omarov
|
d59875f114
|
engine: common: for automatic wad precache to work, we need to count the real wad usage on dedicated
|
2024-05-30 06:18:15 +03:00 |
|
Alibek Omarov
|
e89191ed39
|
engine: common: automatically precache wad files required by loaded map
Makes it easier to host server with multiplayer maps and broken .res files.
|
2024-05-30 05:58:41 +03:00 |
|
Alibek Omarov
|
338399e622
|
engine: common: implement PHS calculation like in QuakeWorld/GoldSrc
|
2024-05-29 05:58:51 +03:00 |
|
Alibek Omarov
|
1545a49b4c
|
engine: client: only allocate debug hulls polygons when they're requested
* Make the appropriate changes in ref_gl
|
2024-05-29 05:41:47 +03:00 |
|
Alibek Omarov
|
3ca15250e8
|
engine: common: use Mod_PointInLeaf in Mod_GetPVSForPoint instead of traversing nodes manually
|
2024-05-29 05:41:47 +03:00 |
|
Alibek Omarov
|
6cbac51731
|
engine: common: add function for compressing visdata
|
2024-05-29 05:41:47 +03:00 |
|
Alibek Omarov
|
e310c666b1
|
engine: common: add phs flag to Mod_FatPVS, unused currently
|
2024-05-29 05:41:47 +03:00 |
|
Alibek Omarov
|
9150b770e4
|
engine: common: mod_bmodel: add function Mod_DecompressVisTo that will copy fat vis data into the provided buffer
|
2024-05-29 05:41:47 +03:00 |
|
Alibek Omarov
|
a6c2cfe89b
|
engine: avoid constants in Q_strncpy third argument, where possible
|
2024-05-06 14:27:26 +03:00 |
|
Alibek Omarov
|
75d476f9df
|
engine: fix -Wmissing-prototypes
|
2024-01-28 09:55:18 +03:00 |
|
Alibek Omarov
|
46c61660cf
|
engine: expose world BSP version through world global structure
|
2023-12-15 07:37:40 +03:00 |
|
Alibek Omarov
|
40c9a2fb82
|
engine: make Mod_SampleSizeForFace accept const surface
|
2023-12-02 18:01:57 +03:00 |
|
Alibek Omarov
|
a41902bd46
|
engine: mod_bmodel: detect water textures by texture name like LoadSurfaces does
|
2023-10-31 21:52:00 +03:00 |
|
Alibek Omarov
|
4d7d592918
|
engine: mod_bmodel: completely get rid of global loadmodel pointer
|
2023-10-28 16:06:00 +03:00 |
|
Alibek Omarov
|
c5e91f299b
|
engine: mod_studio: reduce dependency on global loadmodel pointer, make it private for brush model loader
|
2023-10-28 15:38:40 +03:00 |
|
Alibek Omarov
|
cff276db71
|
engine: client: mod_dbghulls: reduce dependency on global loadmodel pointer
|
2023-10-28 15:35:20 +03:00 |
|
Alibek Omarov
|
30d1492b93
|
engine: remove Set/GetCurrentLoadingModel from RefAPI
|
2023-10-28 15:22:21 +03:00 |
|
Alibek Omarov
|
57499dea33
|
engine: server: static-ize sv_phys functions, set GAME_EXPORT attribute for PhysicAPI functions
|
2023-06-19 07:32:22 +03:00 |
|
Alibek Omarov
|
e7ece41ba0
|
engine: common: move model cvars to static allocation
|
2023-05-27 21:52:58 +03:00 |
|
Alibek Omarov
|
ec2951cf45
|
engine: add size argument to COM_Default/ReplaceExtension calls
|
2023-04-26 05:20:45 +03:00 |
|
Alibek Omarov
|
8c7db8499f
|
engine: add size argument to COM_FileBase calls
|
2023-04-26 05:20:45 +03:00 |
|
Alibek Omarov
|
b16fa8eddc
|
public: remove Q_strcat and Q_strcpy, and patch the code that uses it
|
2023-04-26 05:20:45 +03:00 |
|
Alibek Omarov
|
f67b97e63c
|
engine: common: mod_bmodel: remove useless copy before Q_strnlwr, as Q_strnlwr already copies string
|
2023-04-15 04:08:40 +03:00 |
|
Alibek Omarov
|
4d4162336a
|
engine: common: mod_bmodel: apply code style fixes to match existing code, for consistency
|
2023-04-11 03:11:23 +03:00 |
|
Jonathan Poncelet
|
372514151d
|
engine: common: mod_bmodel: Fixed default texture name check
REF_DEFAULT_TEXTURE defines the canonical name, so is used
instead of a string literal.
|
2023-04-11 01:41:20 +03:00 |
|