Alibek Omarov
a6af32dafd
ref: gl: connect ripply water to others parts of renderer (init, reset, animation and rendering)
1 year ago
Alibek Omarov
ea55e78855
ref: _inline -> static
1 year ago
Alibek Omarov
30d1492b93
engine: remove Set/GetCurrentLoadingModel from RefAPI
1 year ago
mittorn
287381d5ca
ref_gl: remove complete useless macro, enable VBO under option
1 year ago
Alibek Omarov
3a57f26351
ref: gl: move ref_gl cvars to static allocation
2 years ago
Alibek Omarov
a3ab04e0cb
ref: gl: track current bound texture index in gl_textures array in separate glState field
2 years ago
Alibek Omarov
fd3c5e8384
ref: gl: VBO is disabled unless somebody picks it up and fixes memory corruption and other bugs
2 years ago
SNMetamorph
3bd8ad50d2
ref: gl: fixed crash when opening "Customize" menu
2 years ago
Alibek Omarov
61c142e2db
ref: move renderers into ref subdirectory
2 years ago
SNMetamorph
9047fe2e74
ref_gl: gl_rsurf: fixed invalid lightmap texture coordinates in some cases
3 years ago
Alibek Omarov
75e8a51058
ref_gl: disable VBO. Rename r_vbo to gl_vbo to ignore existing config values as it was enabled by default
3 years ago
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
4 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.
6 years ago
Alibek Omarov
2d48e73f9d
ref_gl: fix compiler warning, most useful commit
6 years ago
Alibek Omarov
771c09226e
ref_gl: patched to compile
6 years ago
Alibek Omarov
2202e13a61
ref_gl: fix #52
6 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
7 years ago
Alibek Omarov
814b7eda07
Apply 4140 update
7 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