Commit Graph

52 Commits

Author SHA1 Message Date
Alibek Omarov
d46ed40f33 engine: pre-swap studio model before loading on BE 2026-04-24 06:58:53 +05:00
Alibek Omarov
f5f6d9bbe4 engine: move sprite texture loading back to engine, only leave rendering for renderer 2026-04-13 13:01:18 +05:00
Alibek Omarov
62c547570a engine: minor refactoring 2026-02-27 23:00:39 +05:00
Alibek Omarov
f863e346f5 engine: reduce dependency on eiface.h 2026-02-26 10:29:09 +05:00
Alibek Omarov
eacc35d9e1 engine: replace COM_CheckString and COM_CheckStringEmpty by COM_StringEmptyOrNULL and COM_StringEmpty 2026-02-21 01:20:34 +05:00
Alibek Omarov
d8895ae497 engine: do not set actually freed models as to be freed, fixing another models leak. Improve modellist output 2026-01-28 15:23:43 +05:00
Alibek Omarov
bc387477ce engine: common: fix world submodels were not being purged correctly, leading to a "memory leak" 2026-01-20 00:34:10 +05:00
Alibek Omarov
8cbc7819a6 engine: common: transform asserts into Host_Error calls in Mod_LoadModel 2026-01-19 22:00:33 +05:00
Alibek Omarov
5cb5e76872 engine: add new needload flag specifically for cleaning up unused models and use unreferenced for free slots. 2026-01-17 06:17:46 +05:00
Alibek Omarov
e32470280d engine: add file size argument to brush model loading functions 2025-11-27 19:26:36 +05:00
Alibek Omarov
27086bfb97 engine: set r_wadtextures and r_allow_wad3_luma as latched cvars, as those require reloading textures and thus the game 2025-11-18 15:38:25 +05:00
Alibek Omarov
93dfcc344b engine: implement loading luma in half-life 2025-11-18 15:35:20 +05:00
Alibek Omarov
184e976c5d engine: call appropriate model loader on big endian 2025-11-06 23:37:27 +05:00
Alibek Omarov
a14cc82d46 engine: add buffer size argument to RefAPI's Mod_ProcessRenderData, bump RefAPI version 2025-10-31 15:58:05 +05:00
Alibek Omarov
b3dc772cd2 engine: add file size argument to sprite model loader 2025-10-31 15:56:31 +05:00
SNMetamorph
c0f1d8c647 engine: model: fixed incorrect check in Mod_LoadModel 2025-01-26 23:27:18 +03:00
Alibek Omarov
c34e0c66d9 engine: add fuzzing target for Mod_LoadModel 2025-01-23 10:12:32 +03:00
Alibek Omarov
c2da140ccc engine: model: do not crash if renderer refused to load this model 2025-01-22 19:12:43 +03:00
Alibek Omarov
0f8f35b415 engine: fix alias model loading 2024-07-21 04:15:56 +03:00
Alibek Omarov
a133b1c2a9 engine: remove unused texFlags argument in Mod_LoadSpriteModel 2024-07-21 03:04:21 +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
46c61660cf engine: expose world BSP version through world global structure 2023-12-15 07:37:40 +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
e7ece41ba0 engine: common: move model cvars to static allocation 2023-05-27 21:52:58 +03:00
Alibek Omarov
463997da51 engine: common: delete unused Mod_Handle function 2022-06-15 13:54:54 +03:00
Alibek Omarov
9313f7e80e engine: replace pool pointer by pool handle 2021-06-07 02:33:15 +03:00
Andrey Akhmichin
abd9778ef3 engine: common: simplified strings operations. 2020-11-28 23:20:14 +03:00
Andrey Akhmichin
e3b547c8a9 public: rename mathlib to xash3d_mathlib. 2020-02-12 14:32:26 +05:00
Alibek Omarov
9421457b3a engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h 2019-11-24 03:52:08 +03:00
Jonathan Poncelet
37255354d4 Various: Fixed obscure crashes on Mac
There were a couple of out-of-range/post-free accesses going on, which caused the Mac
build to crash when optimisations were turned on.
2019-07-12 18:18:42 +03:00
Alibek Omarov
3ae7ecaeb3 engine: patched to compile, moved gl_clear to engine 2019-06-17 08:37:34 +03:00
Alibek Omarov
b797e0af1a Merge 4483 update 2019-05-25 02:44:24 +03:00
Alibek Omarov
c215b89923 Apply 4483 update 2019-05-19 15:01:23 +03:00
Alibek Omarov
fe14a360b4 engine: fix fs_offset_t/size_t conversion, const qualifiers 2019-05-02 19:12:23 +03:00
mittorn
297ca08e81 ref: replace model (un)loading by Mod_ProcessRenderData 2019-03-17 21:19:24 +07:00
mittorn
8339096ad8 ref: Improve model unloading, fix texture leak 2019-03-17 18:26:57 +07:00
mittorn
4247af8fa8 Reduce engine dependencies. crtlib/mathlib/matrixlib now can be built standalone 2019-03-16 11:18:43 +07:00
Alibek Omarov
97aba69ed0 ref: implement API interface for ref_gl, get rid of RenderAPI, RenderInterface and vgui_support API references 2019-03-15 21:23:59 +03:00
Alibek Omarov
99bd7c81da ref: render code moved out of engine, doesn't compile, first API prototype 2019-02-18 21:25:26 +03:00
Jonathan Poncelet
35869586c9 Made various log messages more informative 2019-01-28 18:32:29 +00:00
Alibek Omarov
a03aa3ddb3 Merge 4281 update 2018-10-28 00:39:29 +03:00
Alibek Omarov
aae3510763 Apply 4281 update 2018-10-27 23:32:09 +03:00
Alibek Omarov
d0ff201da2 Fix dedicated compiling errors 2018-06-14 20:31:46 +03:00
Alibek Omarov
f26ac52102 Merge 4140 update 2018-06-11 14:04:50 +03:00
Alibek Omarov
814b7eda07 Apply 4140 update 2018-06-09 01:28:35 +03:00
mittorn
c1076f43f7 Update client engine interface 2018-04-19 21:51:17 +00:00
mittorn
af7123f7dd Merge branch 'original' (except gldebug, msaa) 2018-04-19 20:47:41 +00:00
mittorn
050d2a3d0f Apply Apr18 update 2018-04-19 20:11:24 +00:00
Alibek Omarov
5d13112e25 Dedicated build 2018-04-18 18:32:30 +03:00