Commit Graph

27 Commits

Author SHA1 Message Date
Valery Klachkov b9cec43e2c ref_soft: Fix crashes on 64bit
Just replace all long for unsigned long long :)
2022-01-16 14:26:15 +03:00
Alibek Omarov 4f89288ccf common: cleanup port.h 2021-12-23 19:17:11 +03:00
Alibek Omarov f0feb1dfbf ref: remove predictable random tiling textures 2021-12-23 18:35:01 +03:00
Alibek Omarov ac213c22ed ref: change some FCVAR_ARCHIVE to FCVAR_GLCONFIG to save in separate config 2021-12-08 17:58:16 +03:00
Alibek Omarov e0efe0aa23 engine: remove emboss filter. There seems no real use for it. 2021-12-07 09:09:45 +03:00
Alibek Omarov a777e7c80d engine, ref: add sprite and studio cvars to shared cvars list 2021-12-06 05:17:25 +03:00
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 2021-12-06 04:57:32 +03:00
Alibek Omarov ecddae8ee6 ref_gl, ref_soft: increase MAX_TEXTURES limit by 8192 2021-11-29 16:22:52 +03:00
Alibek Omarov 42db1faa51 ref: update ref_gl and ref_soft interface according to previous commit 2021-10-30 21:49:52 +06:00
Alibek Omarov 7bcfce5a7a ref_gl: use GCC provided offsetof implementation 2021-10-03 04:26:40 +03:00
Alibek Omarov 588dede2a2 ref_soft: fix pointer-to-int casts 2021-07-20 16:03:35 +03:00
Alibek Omarov 9313f7e80e engine: replace pool pointer by pool handle 2021-06-07 02:33:15 +03:00
Velaron 4f31d7504a ref_api: fix remap info allocation (fixes #200) 2021-05-02 20:02:04 +03:00
Alibek Omarov 586d613a27 ref_soft: uncomment texture API functions implementations, they must be working now
Fixes #326 and probably some ref_soft crashes
2021-03-02 17:49:37 +03:00
Alibek Omarov 45334064b6 ref_gl: remove detail textures list generation leftovers 2021-03-01 21:53:43 +03:00
Alibek Omarov 58edfbc485 engine: move cvars that expected to exist by client.dll from render dll to engine
Fixes #316
2021-03-01 20:03:32 +03:00
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:]]\+$//' {} \+
```
2021-01-04 20:55:10 +03:00
Andrey Akhmichin 63d8794902 ref_soft: r_image.c: remove duplicated Q_strlen() call. 2020-11-29 13:33:50 +03:00
mittorn ce269f8c6d ref_soft/glblit: fix wrong MapBuffer function in GLES3 2020-07-10 09:49:13 +07:00
mittorn d9290f2e03 gles1 and non-pbo fallbacks 2020-07-07 00:23:23 +07:00
Alibek Omarov 0db1a7743d engine: try to fix -Wmaybe-uninitialized that may be enabled with -Wuninitialized. Diagnostic is prone to false-positives, as compiler don't have enough data for this 2020-05-12 02:00:34 +03:00
Alibek Omarov 9292d81052 ref_soft: remove leftover debug volatile 2020-05-02 19:07:56 +03:00
FOTMarut e1985eeb4f ref_soft: de-duplicated symbols
- Compiles correctly with GCC 10 now
2020-05-02 18:57:37 +03:00
Alibek Omarov 32f6f359a4 ref_soft: comment out useless line 2020-05-02 18:02:32 +03:00
Alibek Omarov 0428de6285 ref_soft: check if offsetof was defined before 2020-05-02 18:02:05 +03:00
Alibek Omarov 8fcfde1e42 ref_soft: comment out useless code to make compiler happy about uninitialized variables 2020-05-02 18:01:30 +03:00
Alibek Omarov 7429a6bc8a Add 'ref_soft/' from commit '9045657352c7dfd3622cdf2b69462ca33f4262ee'
git-subtree-dir: ref_soft
git-subtree-mainline: 89ca0dec5e
git-subtree-split: 9045657352
2020-03-29 17:45:00 +03:00