Alibek Omarov
02c5890c2f
ref: soft: cleanup after RefAPI changes, remove unused functions
9 months ago
Alibek Omarov
7152393089
ref: soft: fix -Wmissing-prototypes
9 months ago
Alibek Omarov
a0c31120d9
ref: add R_GammaChanged function that engine calls on every gamma change
10 months ago
Alibek Omarov
9fa32a9cf4
ref: soft: remove vid_gamma/vid_brightness changed cvar value check
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
64f3884f23
ref: soft: convert to usage of ref_client_t to get client time
10 months ago
Alibek Omarov
6386782674
ref: soft: acquire engine pointers
10 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
b0a79df86f
ref: change r_traceglow to 0, as GoldSrc does
1 year ago
Alibek Omarov
de19d78571
ref: fix late registration of studio cvars (thanks, @mittorn )
1 year ago
Alibek Omarov
8680757844
ref: soft: move ref_soft cvars to static allocation, remove dead cvars
1 year ago
Alibek Omarov
fd795d5612
ref: soft: cleanup unused functions
2 years ago
Alibek Omarov
406eb828da
ref: gl: disable underwater distortion by default, enable for Quake compatible mode only
2 years ago
Alibek Omarov
61c142e2db
ref: move renderers into ref subdirectory
2 years ago
Alibek Omarov
113f18cfb0
ref_soft: use correct types for pointer arithmetics
2 years ago
SNMetamorph
5402e1a259
ref_soft: fixed R_WorldToScreen behavior to match GoldSrc
3 years ago
Valery Klachkov
b9cec43e2c
ref_soft: Fix crashes on 64bit
...
Just replace all long for unsigned long long :)
3 years ago
Alibek Omarov
4f89288ccf
common: cleanup port.h
3 years ago
Alibek Omarov
ac213c22ed
ref: change some FCVAR_ARCHIVE to FCVAR_GLCONFIG to save in separate config
3 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
58edfbc485
engine: move cvars that expected to exist by client.dll from render dll to engine
...
Fixes #316
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