temx
dd8439b767
Factor out scale support, add bmodels and sprites
2022-09-05 23:56:30 +03:00
temx
239ec66233
Only send baseline/static scales when using PROTOCOL_RMQ
2022-09-05 23:56:30 +03:00
temx
6bff9566a5
Make sure scales are initialized to ENTSCALE_DEFAULT
2022-09-05 23:56:30 +03:00
Ozkan Sezer
947c782f64
Un-revert the model scale patch.
...
See https://github.com/sezero/quakespasm/pull/32 for the followup discussions,
and https://github.com/sezero/quakespasm/pull/36 for the followup patches.
2022-09-05 23:56:20 +03:00
Ozkan Sezer
766c68ab5f
bump version to 0.95.0, update documents for changes so far.
2022-09-05 23:56:10 +03:00
Ozkan Sezer
54bb58e349
updated SDL2-2.0.22 builds with backports from SDL2 main branch.
2022-09-03 23:55:40 +03:00
Andrei Drexler
7e4c88aed9
Try light trace from entity origin first
...
Fixes issues described at https://github.com/Novum/vkQuake/issues/550 .
2022-08-28 20:28:02 +03:00
Andrei Drexler
b26707b2ff
Add sv_cheats cvar for 2021 rerelease
...
e.g. impulse 255 doesn't work without sv_cheats set to 1
2022-08-28 20:28:02 +03:00
Ozkan Sezer
e4e914c8a6
reverted the model scale patch :
...
see https://github.com/sezero/quakespasm/pull/32 for the issues
associated with it.
2022-08-11 01:32:00 +03:00
Andrei Drexler
b7122a882d
Simplify scaling in R_AddEfrags and R_CullModelForEntity
2022-08-08 17:03:20 +03:00
Ozkan Sezer
5aa79332f0
minor clean-up after the model scaling patch.
2022-08-08 14:28:28 +03:00
Andrei Drexler
403aceb066
fix missing models in demo playback after the model scaling patch
...
See: https://github.com/sezero/quakespasm/pull/32 .
2022-08-08 14:23:32 +03:00
Andrei Drexler
8a7cdc933f
fix missing viewmodel after model scaling patch
...
See: https://github.com/sezero/quakespasm/pull/32 .
2022-08-08 14:23:32 +03:00
JosiahJack
6ebf6f097a
Add support for model scale
2022-08-08 08:55:00 +03:00
JosiahJack
87835bc3e3
Add support for lit water
2022-08-07 05:31:18 -05:00
Andrei Drexler
1f6888e7bc
Clear startdemo list on game change
...
This fixes inconsistent behavior when starting a game with -ad
vs starting with id1 and using 'game ad' in the console
(since id1 has startdemos in its quake.rc file, while ad doesn't).
2022-07-31 14:02:24 +03:00
Ozkan Sezer
47de22c84b
bump version to 0.94.7, update documents.
2022-07-24 08:25:10 +03:00
Ozkan Sezer
22b9b3474c
lodepng.c: applied patch from mainstream PR/170
...
marks lodepng_convert_rgb() static and only available if
LODEPNG_COMPILE_ANCILLARY_CHUNKS is set.
2022-07-20 23:24:24 +03:00
Ozkan Sezer
ec57aa9731
Fix wrong ext texture use after vid_restart windowed to/from fullscreen
...
Patch from Andrei Drexler.
Reference issue: https://github.com/sezero/quakespasm/issues/28 .
2022-07-18 14:24:24 +03:00
Ozkan Sezer
f8132afd0f
updated lodepng from mainstream git.
2022-07-18 10:15:00 +03:00
Andrei Drexler
f6a15400ba
Fix console history buffer wrapping
2022-07-13 00:55:38 +03:00
Ozkan Sezer
f10c33ad06
re-diff'ed extra patches so that they apply cleanly
2022-07-05 10:10:00 +03:00
Ozkan Sezer
00530bda9b
gl_model.c: made a lot of procs and vars static
...
only user of 'loadmodel' outside of gl_model.c was Sky_LoadTexture,
so changed it to accept a model pointer.
TODO: remove need for globals such as mod_base, loadmodel, loadname
2022-07-05 08:50:02 +03:00
Ozkan Sezer
2dd6a14ccf
removed r_cache_thrash, showram & co.
2022-07-05 08:50:02 +03:00
Ozkan Sezer
52a3873d44
removed several unused r_speeds globals.
2022-07-05 08:50:02 +03:00
Ozkan Sezer
752ef92645
updated SDL2-2.0.22 builds with a minor backport from SDL2 main branch.
2022-07-04 23:56:04 +03:00
Ozkan Sezer
6f5e4b7814
updated changelog for 0.94.6
2022-07-04 01:01:02 +03:00
Ozkan Sezer
8b146122bb
Cmd_Exec_f: simplified condition for Hunk_FreeToLowMark.
2022-07-03 15:55:40 +03:00
Ozkan Sezer
11dd10bd91
minor update to SDL2 headers from mainstream.
2022-07-03 14:04:50 +03:00
Ozkan Sezer
f22b326919
Cmd_Exec_f: no need to Hunk_FreeToLowMark if using embedded default.cfg
2022-07-03 05:23:40 +03:00
Ozkan Sezer
b66088bd48
removed 2 kilometers long heritage print from main
2022-07-03 05:23:00 +03:00
Ozkan Sezer
f02cfc32e9
updated SDL2-2.0.22 builds with a minor backport from SDL2 main branch.
2022-07-03 04:00:00 +03:00
Ozkan Sezer
d27d3db19f
snd_xmp.c: add missing Hunk_Free to xmp_load_module_from_memory failure
2022-07-02 11:55:50 +03:00
Ozkan Sezer
673a4a7315
Image_WritePNG: image should be freed using lodepng_free
2022-07-01 20:00:10 +03:00
Ozkan Sezer
09216eb65f
Makefiles: added basic dependency tracking, and tidied-up a bit.
2022-06-28 03:02:56 +03:00
Ozkan Sezer
c1c9f3b7fe
stb_image_write.h: applied mainstream PR/1337 patch
...
fixes potential invalid memory access
https://github.com/nothings/stb/pull/1337
2022-06-27 14:04:20 +03:00
Ozkan Sezer
520397d93e
image.c: targa_header needn't be global.
...
as noticed in vkQuake.
2022-06-26 14:15:32 +03:00
Ozkan Sezer
3f251ed5fc
bump version to 0.94.6, update documents.
2022-06-25 23:02:02 +03:00
Andrei Drexler
fe15bc1ddd
Server: fix protocol size checks for sounds and particles
...
6643f532bd
2022-06-25 20:56:10 +03:00
Ozkan Sezer
3581ff989d
can't use C11 _Generic macros with C++
2022-06-22 05:50:00 +03:00
Ozkan Sezer
d24b969990
updated SDL2-2.0.22 builds with several backports from SDL2 main branch.
2022-06-22 04:35:10 +03:00
Ozkan Sezer
c00aa578d0
updated changelogs for v0.94.5
2022-06-14 17:10:00 +03:00
Ozkan Sezer
71159d174c
updated SDL2-2.0.22 builds with several backports from SDL2 main branch.
2022-06-12 14:37:00 +03:00
Ozkan Sezer
02b953e993
use C11 _Generic macros for q_min, q_max and CLAMP, if available.
...
.. if not, then use GCC expression macros for them, if available.
2022-06-12 14:32:28 +03:00
Ozkan Sezer
2012cb5484
miniz.h: lose '#pragma once' and use proper header guard
2022-06-12 14:29:50 +03:00
Ozkan Sezer
44af62a16c
gl_fog.c (Fog_FogCommand_f): simpler to use Q_atof there
2022-06-12 14:29:00 +03:00
Ozkan Sezer
9811d8354f
minor style tidy-up.
2022-06-12 14:28:28 +03:00
Andrei Drexler
373ad04e92
Clamp fog color
2022-06-12 14:27:00 +03:00
Ozkan Sezer
bd0cb0c583
updated changelogs
2022-06-02 17:15:40 +03:00
Ozkan Sezer
a82e3dd75e
Fog_FogCommand_f: remove function calls from CLAMP and q_max macros
2022-06-02 14:33:10 +03:00