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