Alibek Omarov
64f92003fa
ref: gl: adapt studio lightning to new gamma
...
* more accurate SHADE_LAMBERT value (extracted from v_lambert1 global variable)
10 months ago
Alibek Omarov
a0c31120d9
ref: add R_GammaChanged function that engine calls on every gamma change
10 months ago
Alibek Omarov
6862b14e59
ref: soft: only draw MOVETYPE_FOLLOW studio model if it's parent is visible
10 months ago
Alibek Omarov
fba3a2b67f
ref: soft: return NULL in GetEntityByIndex and ModelHandle
10 months ago
Alibek Omarov
f12df54226
ref: soft: remove unused tr.fCustomSkybox
11 months ago
Alibek Omarov
f1cdab91eb
ref: soft: remove usage of PARM_VIEWENT_INDEX and PARM_PLAYER_INDEX
11 months ago
Alibek Omarov
6386782674
ref: soft: acquire engine pointers
11 months ago
Alibek Omarov
9c66e86be1
engine, ref: RefAPI 5. Remove unused calls
11 months ago
Alibek Omarov
7e9f87de2d
engine, ref: eliminate calls to global arrays, instead store array pointers at renderer side
11 months ago
Alibek Omarov
de19d78571
ref: fix late registration of studio cvars (thanks, @mittorn )
1 year ago
Alibek Omarov
a738b2a50b
ref: restore missing PARM_TEX_MEMORY RenderAPI parameter
1 year ago
Alibek Omarov
8680757844
ref: soft: move ref_soft cvars to static allocation, remove dead cvars
1 year ago
Alibek Omarov
5d7d5319fd
engine: move ref cvars to static allocation
1 year ago
Alibek Omarov
fd795d5612
ref: soft: cleanup unused functions
2 years ago
Alibek Omarov
67903b55cc
ref: soft: adapt to RefAPI 4 changes
2 years ago
Alibek Omarov
fe9f3f78a0
ref: soft: minimize dependency on internal engine headers
2 years ago
Alibek Omarov
61c142e2db
ref: move renderers into ref subdirectory
2 years ago
Alibek Omarov
e0efe0aa23
engine: remove emboss filter. There seems no real use for it.
3 years ago
Alibek Omarov
d7db48ce4b
engine, ref: create shared cvars list, register them at engine side, make a generic macro to declare, define and get all pointers at ref side
3 years ago
Alibek Omarov
ecddae8ee6
ref_gl, ref_soft: increase MAX_TEXTURES limit by 8192
3 years ago
Alibek Omarov
7bcfce5a7a
ref_gl: use GCC provided offsetof implementation
3 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
3 years ago
Alibek Omarov
45334064b6
ref_gl: remove detail textures list generation leftovers
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
Alibek Omarov
0428de6285
ref_soft: check if offsetof was defined before
5 years ago