Alibek Omarov
4f89288ccf
common: cleanup port.h
3 years ago
Alibek Omarov
f0feb1dfbf
ref: remove predictable random tiling textures
3 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
3 years ago
Andrey Akhmichin
c158771f59
ref_gl: gl_rsurf.c: don't use asserts to prevent engine from stopping when vbo is disabled.
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
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
5 years ago
Alibek Omarov
78baf568ae
engine: more double promotion fixes
5 years ago
Alibek Omarov
1218f4aeb6
ref_gl: explicitly cast literals to floats
5 years ago
Alibek Omarov
dc207a449c
engine: fix -Werror=strict-prototypes
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
2d48e73f9d
ref_gl: fix compiler warning, most useful commit
5 years ago
Alibek Omarov
771c09226e
ref_gl: patched to compile
5 years ago
Alibek Omarov
2202e13a61
ref_gl: fix #52
5 years ago
Alibek Omarov
fe14a360b4
engine: fix fs_offset_t/size_t conversion, const qualifiers
6 years ago
mittorn
25235b5296
ref_gl: remove Mod_SetCurrentLoadingModel call
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
c55b7dcda7
ref: simplify efx api, move efrags to engine
6 years ago
Alibek Omarov
971f9b6de5
ref: fix compiling errors
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
Alibek Omarov
234507b7f1
ref: fix all undefined references
6 years ago
Alibek Omarov
d0d5fd1a3f
ref: fix some undefined references, compile-in mathlib and crtlib to refdll
6 years ago
Alibek Omarov
e7234bada2
ref: now it compiles, not linking yet. ref_api header moved to engine/ to clarify, that it's sort of engine internals
6 years ago
mittorn
437ba6d7a2
ref:Fix some clgame, world and renderapi usages, import renderapi funcs from engine
6 years ago
Alibek Omarov
574f03c139
ref: initial engine to ref API draft, not compiling, work in progress [ci skip]
6 years ago
Alibek Omarov
e193ac2c04
ref: more @mittorn's changes on RefAPI
6 years ago
Alibek Omarov
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
6 years ago
mittorn
f7c60ea9d1
vbo: Fix return value
6 years ago
mittorn
119b458b0f
vbo: optimize buffer usage, fix some rendermodes
6 years ago
mittorn
bccc0e63d5
Port VBO world renderer
6 years ago
Alibek Omarov
bf07a9e61e
Apply 4344 update
6 years ago
mittorn
5c738b3402
Apply 4253 update
6 years ago
Alibek Omarov
1e7f9d00c3
Apply 4150 update
6 years ago
Alibek Omarov
814b7eda07
Apply 4140 update
6 years ago
Alibek Omarov
d9320f964e
Crashhandler refactoring for POSIX systems. Shows engine version now.
7 years ago
mittorn
050d2a3d0f
Apply Apr18 update
7 years ago
Alibek Omarov
b825e584f3
Replace GL_TEXTURE by XASH_TEXTURE because it's used internally by GL.h
7 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
7 years ago