Alibek Omarov
46c61660cf
engine: expose world BSP version through world global structure
12 months ago
Alibek Omarov
40c9a2fb82
engine: make Mod_SampleSizeForFace accept const surface
12 months ago
Alibek Omarov
a41902bd46
engine: mod_bmodel: detect water textures by texture name like LoadSurfaces does
1 year ago
Alibek Omarov
4d7d592918
engine: mod_bmodel: completely get rid of global loadmodel pointer
1 year ago
Alibek Omarov
c5e91f299b
engine: mod_studio: reduce dependency on global loadmodel pointer, make it private for brush model loader
1 year ago
Alibek Omarov
cff276db71
engine: client: mod_dbghulls: reduce dependency on global loadmodel pointer
1 year ago
Alibek Omarov
30d1492b93
engine: remove Set/GetCurrentLoadingModel from RefAPI
1 year ago
Alibek Omarov
57499dea33
engine: server: static-ize sv_phys functions, set GAME_EXPORT attribute for PhysicAPI functions
1 year ago
Alibek Omarov
e7ece41ba0
engine: common: move model cvars to static allocation
2 years ago
Alibek Omarov
ec2951cf45
engine: add size argument to COM_Default/ReplaceExtension calls
2 years ago
Alibek Omarov
8c7db8499f
engine: add size argument to COM_FileBase calls
2 years ago
Alibek Omarov
b16fa8eddc
public: remove Q_strcat and Q_strcpy, and patch the code that uses it
2 years ago
Alibek Omarov
f67b97e63c
engine: common: mod_bmodel: remove useless copy before Q_strnlwr, as Q_strnlwr already copies string
2 years ago
Alibek Omarov
4d4162336a
engine: common: mod_bmodel: apply code style fixes to match existing code, for consistency
2 years ago
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.
2 years ago
Jonathan Poncelet
6c9ce478a9
engine: common: mod_bmodel: Fixed Con_Printf warnings
...
Some formatting characters did not match up with their
values.
2 years ago
Jonathan Poncelet
78555ab125
engine: common: mod_bmodel: Tidied texture loading procedure
2 years ago
Alibek Omarov
b0c71c598f
engine: common: remove unused Mod_AmbientLevels
2 years ago
Alibek Omarov
e664e80b27
engine: common: mod_bmodel: replace few more obvious va calls by temp buffer and Q_snprintf
2 years ago
Alibek Omarov
116a605248
engine: common: replace some obvious va uses by temp buffer and Q_snprintf or equivalent code
2 years ago
Alibek Omarov
80507b2eca
engine: mod_bmodel: fix const qualifier discard warning
2 years ago
Alibek Omarov
d047dfc319
engine: add few lines in mod_bmodel back, got removed in previous commits accidentally
2 years ago
Alibek Omarov
13ed2742b2
engine: check for bsp30ext before trying to use extended clipnodes, fix 32-bit clipnodes check
2 years ago
Alibek Omarov
df1c9a5029
engine: simplify blue shift swapped lump check, change TestBmodelLumps to avoid reading past mod buffer
2 years ago
Andrey Akhmichin
444e08f59a
engine: common: simplify strings operations.
2 years ago
Alibek Omarov
754d55beef
engine: common: fix for HLBSP extended clipnodes hack when BSP2 support is enabled
2 years ago
Alibek Omarov
81b01ac561
engine: common: remove NaN check, it's mostly useless on text data
3 years ago
Alibek Omarov
771c359ed0
engine: common: make blue-shift map detect more robust
3 years ago
SNMetamorph
edc171be04
engine: common: fixed lightmap shift again
3 years ago
SNMetamorph
24ea8fba4b
engine: common: fixed lightmap shifting caused by insufficent precision in Mod_CalcSurfaceExtents
3 years ago
Alibek Omarov
0963e05716
engine: restore lumps after swapping them for blue shift maps
...
Mod_TestBmodelLumps may modify srclumps data, which is essential for
brush model loader. BlueShift maps have swapped lumps for some reason
Restoring them to default is fix for now
3 years ago
Alibek Omarov
e0efe0aa23
engine: remove emboss filter. There seems no real use for it.
3 years ago
Alibek Omarov
24edcf7d9e
engine: swap lumps back after they were swapped for blue-shift maps
3 years ago
Alibek Omarov
29a8bfb1dc
engine: common: fix ParseFile calls
3 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
4 years ago
Gleb Mazovetskiy
5e0a0765ce
Trim all trailing whitespace
...
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.
Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.
`git blame` becomes less useful on these lines but it already isn't very useful.
Commands:
```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
4 years ago
Andrey Akhmichin
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
5 years ago
Alibek Omarov
0fe18ae6dc
engine: fix -Wmaybe-uninitialized
5 years ago
Alibek Omarov
dd1daa5bff
engine: correctly validate blueshift maps
5 years ago
Alibek Omarov
3da10f28c4
engine: restored BShift maps support
5 years ago
Alibek Omarov
c07109e69c
engine: fix -Wincompatible-pointer-types, add it to Werror list
5 years ago
Alibek Omarov
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
5 years ago
iZarif
bf8b87c29d
engine: client/common: fix a few more format warnings
5 years ago
Alibek Omarov
edf3fcd398
engine: common: explicitly cast literals to floats, include tgmath when needed
5 years ago
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
5 years ago
Alibek Omarov
3ae7ecaeb3
engine: patched to compile, moved gl_clear to engine
6 years ago
Alibek Omarov
b16529cc65
Apply 4511 update
6 years ago
Alibek Omarov
c215b89923
Apply 4483 update
6 years ago
Alibek Omarov
fe14a360b4
engine: fix fs_offset_t/size_t conversion, const qualifiers
6 years ago
Alibek Omarov
5be982cc72
ref: remove shared textures enum, instead use hardcoded texture names
6 years ago