mittorn
6c77608c34
ref_gl: implement color-modulate overbrigths with gl_vbo using texture GL_COMBINE
10 months ago
Alibek Omarov
661e60720d
ref: gl: fix -Wmissing-prototypes
11 months ago
Alibek Omarov
c9d29b3955
ref: gl: fix overbrights with VBO
12 months ago
Alibek Omarov
18436a70eb
ref: gl: support overbrights, change the gamma applying order closer to the original renderer
12 months ago
Alibek Omarov
a0c31120d9
ref: add R_GammaChanged function that engine calls on every gamma change
12 months ago
Alibek Omarov
c0757bd84c
ref: gl: remove vid_gamma/vid_brightness changed cvar value check
12 months ago
Alibek Omarov
dc1d65f621
ref: gl: only draw MOVETYPE_FOLLOW studio model if it's parent is visible
12 months ago
Alibek Omarov
4d802d8901
ref: gl: convert to usage of ref_client_t to get client time
1 year ago
Alibek Omarov
7e9f87de2d
engine, ref: eliminate calls to global arrays, instead store array pointers at renderer side
1 year ago
Alibek Omarov
a6af32dafd
ref: gl: connect ripply water to others parts of renderer (init, reset, animation and rendering)
1 year ago
mittorn
7e0bd86b65
ref_gl: allow enabling XASH_GLES without wrapper, add ref_gles3compat, wrap gles functions in gl2wrap when XASH_GLES enabled
1 year ago
mittorn
a9ea3976a7
ref_gl: introduce gl2_shim based on vgl_shim for future limited core/gles context support (SLOW, still needs ffp for matrix operations)
1 year ago
Alibek Omarov
3a57f26351
ref: gl: move ref_gl cvars to static allocation
2 years ago
fgsfds
5a3e3b3977
ref: gl: add immediate mode shim for psvita
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
SNMetamorph
74086cc4c1
ref_gl: fixed R_WorldToScreen behavior to match GoldSrc
3 years ago
Alibek Omarov
4f89288ccf
common: cleanup port.h
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
Alibek Omarov
4c6fd79f07
tgmath: remove including tgmath.h in everything that uses xash3d_mathlib, as it's included already
5 years ago
Andrey Akhmichin
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
5 years ago
Alibek Omarov
15924aebaa
xash3d-fwgs: check if HAVE_TGMATH_H is set to positive value rather it's just defined
5 years ago
Alibek Omarov
1218f4aeb6
ref_gl: explicitly cast literals to floats
5 years ago
Alibek Omarov
3ae7ecaeb3
engine: patched to compile, moved gl_clear to engine
6 years ago
Alibek Omarov
2e953bd1a9
ref_api: remove GL_OnContextCreated, remove return value of GL_RenderFrame
6 years ago
Alibek Omarov
fe14a360b4
engine: fix fs_offset_t/size_t conversion, const qualifiers
6 years ago
Alibek Omarov
7d8b63fd88
ref: get rid of R_IncrementSpeedsCounter
6 years ago
Alibek Omarov
4d9563ea03
ref: make api thinner by removing IsNormalPass and moving CL_FxBlend to refdll
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
297ca08e81
ref: replace model (un)loading by Mod_ProcessRenderData
6 years ago
mittorn
57320c0c25
ref: get rid of vidState, add GL_SwapBuffers to engine exports
6 years ago
Alibek Omarov
971f9b6de5
ref: fix compiling errors
6 years ago
Alibek Omarov
97aba69ed0
ref: implement API interface for ref_gl, get rid of RenderAPI, RenderInterface and vgui_support API references
6 years ago
Alibek Omarov
234507b7f1
ref: fix all undefined references
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
dcf64c6b33
Fix build, update menu
6 years ago
Alibek Omarov
622de7a7f1
Apply 4312 update
6 years ago
Alibek Omarov
aae3510763
Apply 4281 update
6 years ago
Alibek Omarov
960e46c564
engine: adapt engine code to new platform backends system
6 years ago
mittorn
5c738b3402
Apply 4253 update
6 years ago
Alibek Omarov
1e7f9d00c3
Apply 4150 update
7 years ago
Alibek Omarov
814b7eda07
Apply 4140 update
7 years ago
Alibek Omarov
0c058f2eca
Add waf buildscripts, add updated game_launch
7 years ago
Alibek Omarov
d9320f964e
Crashhandler refactoring for POSIX systems. Shows engine version now.
7 years ago
Alibek Omarov
9bab7d222a
Apply 4097 update
7 years ago