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
3 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
5 years ago
Alibek Omarov
b16529cc65
Apply 4511 update
5 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
Alibek Omarov
62f04137a5
engine: hide ref calls under Host_IsDedicated checks, replace ref function ptr checks by \!Host_IsDedicated
6 years ago
Alibek Omarov
92b89936b3
ref: make API thinner by moving simple calls into EngineGetParm(RenderGetParm with ref extensions), fix some UBs
6 years ago
mittorn
8339096ad8
ref: Improve model unloading, fix texture leak
6 years ago
mittorn
4247af8fa8
Reduce engine dependencies. crtlib/mathlib/matrixlib now can be built standalone
6 years ago
Alibek Omarov
97aba69ed0
ref: implement API interface for ref_gl, get rid of RenderAPI, RenderInterface and vgui_support API references
6 years ago
mittorn
437ba6d7a2
ref:Fix some clgame, world and renderapi usages, import renderapi funcs from engine
6 years ago
Alibek Omarov
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
6 years ago
Jonathan Poncelet
35869586c9
Made various log messages more informative
6 years ago
Alibek Omarov
bf07a9e61e
Apply 4344 update
6 years ago
mittorn
298393b653
Initial amd64 port
6 years ago
Alibek Omarov
622de7a7f1
Apply 4312 update
6 years ago
Alibek Omarov
ef39f9c9cf
engine: dedicated: fix build
6 years ago
Alibek Omarov
aae3510763
Apply 4281 update
6 years ago
mittorn
5c738b3402
Apply 4253 update
6 years ago
Alibek Omarov
1e7f9d00c3
Apply 4150 update
6 years ago
Alibek Omarov
d0ff201da2
Fix dedicated compiling errors
6 years ago
Alibek Omarov
a539384a76
Apply 4143 update
6 years ago
Alibek Omarov
814b7eda07
Apply 4140 update
7 years ago
Alibek Omarov
9bab7d222a
Apply 4097 update
7 years ago
Alibek Omarov
efe8ddf151
Fix missing const-qualifiers in engine code. Fix qboolean/int mixing in interface implementations(int is preferred). Replace long by int in COM_RandomLong.
7 years ago
Alibek Omarov
fd649905ea
Fix some format warnings
7 years ago
mittorn
db92c918b2
Apply Apr19 update
7 years ago
Alibek Omarov
5d13112e25
Dedicated build
7 years ago
Alibek Omarov
08984bd549
Rename features.h to enginefeatures.h because this name used internally by glibc
7 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
7 years ago