Alibek Omarov
725b7ea7f9
common: render_api: rename TF_ALLOW_NEAREST_TOGGLE to just TF_ALLOW_NEAREST, it's just shorter
9 months ago
Alibek Omarov
600d574376
ref: gl: make use of new TF_ALLOW_NEAREST_TOGGLE flag
9 months ago
Alibek Omarov
661e60720d
ref: gl: fix -Wmissing-prototypes
10 months ago
Alibek Omarov
a8cc68f6b9
ref: gl: fix ripple water is being blurry with gl_texture_nearest after startup
10 months ago
Alibek Omarov
0132eb6e44
ref: gl: restore usage of FWORLD_CUSTOM_SKYBOX flag, do direct checks instead of PARM check, remove unused tr.fCustomSkybox
10 months ago
Alibek Omarov
4d802d8901
ref: gl: convert to usage of ref_client_t to get client time
10 months ago
Alibek Omarov
e481e1d73e
ref: gl: enable GL waves with r_ripple
1 year ago
Alibek Omarov
6c0eed1b2b
ref: gl: allow viewing water textures in their full glory with enabled r_ripple 2
1 year ago
Alibek Omarov
a6c67fdf9f
ref: gl: upload only part of texture we're using, i.e. 64x64 for 64x64, 128x128 for 128x128
1 year ago
Alibek Omarov
46889ed453
ref: gl: libc rand() does better job at randomizing
1 year ago
Alibek Omarov
882fcc152c
ref: gl: always scale down texture to 64x64, like sw.dll does
1 year ago
Alibek Omarov
d6dfb83be7
ref: gl: ripply water implementation (bugfixed version from my Quake-2 patches)
1 year ago
mittorn
eb23b226cc
Workaround core context issues
1 year ago
Alibek Omarov
21b47dff32
ref: gl: static-ize globals and functions in gl_warp
1 year ago
Alibek Omarov
1d62df0e2d
ref: gl: turn magic skybox numbers into defined macros
2 years ago
Andrey Akhmichin
9040c34f48
ref: gl: replace va function calls.
2 years ago
Alibek Omarov
61c142e2db
ref: move renderers into ref subdirectory
2 years ago
Alibek Omarov
f29a9f5f58
ref_gl: use skybox names generated by CheckSkybox function, don't checking same file twice
...
Also fixes priority for skyboxes
2 years ago
Alibek Omarov
5e4fc64430
filesystem: introduce new module, based on engine filesystem.
...
The goal is to share filesystem code between engine and
utilities and provide C++ VFileSystem interface in the future
2 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
5f54582692
ref_gl: simplified strings operations.
4 years ago
Alibek Omarov
09203dc512
ref_gl: temporarily fix water drawing on GLES
5 years ago
Alibek Omarov
1218f4aeb6
ref_gl: explicitly cast literals to floats
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
5be982cc72
ref: remove shared textures enum, instead use hardcoded texture names
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
4247af8fa8
Reduce engine dependencies. crtlib/mathlib/matrixlib now can be built standalone
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
Alibek Omarov
622de7a7f1
Apply 4312 update
6 years ago
Alibek Omarov
aae3510763
Apply 4281 update
6 years ago
mittorn
5c738b3402
Apply 4253 update
6 years ago
Alibek Omarov
814b7eda07
Apply 4140 update
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