Alibek Omarov
661e60720d
ref: gl: fix -Wmissing-prototypes
10 months ago
Alibek Omarov
eaafd0ff13
ref: gl: rework @SNMetamorph's fix for avoiding crash when no world is set (like Customize menu with enabled 3D view)
10 months ago
Alibek Omarov
5696c9c96a
ref: gl: remove useless R_CountDynamicLights function
10 months ago
Alibek Omarov
87b204c661
ref: gl: remove unused scale (remnants of r_lightmap_modulate), use integer values for non-interpolated lightstyles
11 months ago
Alibek Omarov
caefa0b7b9
engine: remove cvar r_lighting_modulate, it's some unindentifiable legacy
11 months ago
Alibek Omarov
8298053e6a
ref: gl: don't depend on lightgamma in recursive light point
11 months ago
Alibek Omarov
17deba0606
ref: gl: use direct cl.paused instead of PARM_GAMEPAUSED
11 months ago
Alibek Omarov
4d802d8901
ref: gl: convert to usage of ref_client_t to get client time
11 months ago
Alibek Omarov
7e9f87de2d
engine, ref: eliminate calls to global arrays, instead store array pointers at renderer side
1 year ago
Alibek Omarov
3a57f26351
ref: gl: move ref_gl cvars to static allocation
2 years ago
Alibek Omarov
79624fa400
ref: gl: cleanup unused functions
2 years ago
Alibek Omarov
61c142e2db
ref: move renderers into ref subdirectory
2 years ago
SNMetamorph
a7d02b8268
ref_gl: gl_rlight: fixed game crash in Customize multiplayer menu
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
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
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
1e5f12a0ae
Fix crash on broken model
6 years ago
mittorn
5c738b3402
Apply 4253 update
6 years ago
Alibek Omarov
a539384a76
Apply 4143 update
7 years ago
Alibek Omarov
814b7eda07
Apply 4140 update
7 years ago
mittorn
050d2a3d0f
Apply Apr18 update
7 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
7 years ago