Andrei Drexler
eeda766f12
Allow loading textures not aligned to 16 pixels
...
This fixes the mg1/horde2 loading error
(taken from quakespasm-gl4 fork.)
2021-12-04 11:11:10 +03:00
Ozkan Sezer
a4dcdda3d9
common.c (LOC_ParseArg): remove unused local var 'start'
2021-12-04 11:11:10 +03:00
Ozkan Sezer
0b946eda0e
merged a minor update to miniz.h from mainstream
2021-12-04 11:11:10 +03:00
Andrew J. Hesford
b311f7e231
Fix format overflow warning with 32-bit gcc
...
(taken from vkquake.)
2021-12-04 11:11:10 +03:00
Ozkan Sezer
d5e9d1270c
more parentheses around vector macro arguments.
2021-12-04 11:11:10 +03:00
Andrei Drexler
9c78f028f6
Add parentheses around vector macro arguments
...
(taken from quakespasm-gl4 fork.)
2021-12-04 11:11:10 +03:00
Ozkan Sezer
6cf4bbc198
reverted the previous NO_WINSDKVER_H patch - not needed after latest SDL
2021-11-06 12:00:00 +03:00
Ozkan Sezer
2492689d9e
define NO_WINSDKVER_H for windows SDL2 builds
...
SDL_config_windows.h from development version of SDL added inclusion of
winsdkver.h which may not be available in old SDKs. we have no use for
the functionality provided by it, therefore disable it.
2021-11-05 10:51:10 +03:00
Ozkan Sezer
3fbb11b048
bump version to 0.94.2, update documents.
2021-10-10 05:11:02 +03:00
Ozkan Sezer
7ed46cc3fd
support for playing 2021 re-release latest update.
2021-10-10 05:10:50 +03:00
Ozkan Sezer
602b34f414
finaleFinished (builtin 79) of 2021 rerelease actually returns a boolean
2021-10-10 05:10:10 +03:00
Ozkan Sezer
081e73c709
host_cmd.c: make a lot of procedures static.
2021-10-01 11:10:04 +03:00
Ozkan Sezer
b58efad209
fix looking for QuakeEX.kpf under userdir
2021-10-01 11:02:02 +03:00
Ozkan Sezer
bf85bbb3e8
look for QuakeEX.kpf under userdir too.
...
Closes https://github.com/sezero/quakespasm/issues/8
2021-09-20 14:55:50 +03:00
Andrei Drexler
e632b79725
Start the light trace for alias models from slightly above their origin
...
This fixes the black candles in the DOTM start map (see vkQuake issue:
https://github.com/Novum/vkQuake/issues/367 )
2021-09-20 11:55:10 +03:00
Andrei Drexler
a1f9cce1f4
Fix pitch black models in lit areas in DOTM (mg1).
...
See: https://github.com/sezero/quakespasm/issues/7
2021-09-20 11:55:10 +03:00
Ozkan Sezer
e67dc8c0d1
added a safeguard, just in case..
2021-09-05 11:37:10 +03:00
Ozkan Sezer
68c17d38f7
remove FitzTest_f - doesn't seem to test anything..
2021-09-05 11:37:10 +03:00
Ozkan Sezer
86b0065d0b
miscellaneous makefile updates
2021-09-04 23:56:50 +03:00
Ozkan Sezer
169ec72d0e
miniz.c: silenced some stupid watcom warnings
2021-09-04 23:55:10 +03:00
Ozkan Sezer
ca051b3392
disable W303 warnings in watcom makefile
2021-09-04 23:55:10 +03:00
Ozkan Sezer
f78f74a03f
renamed watcom makefile
2021-09-04 23:55:10 +03:00
Ozkan Sezer
83b8b76ca6
bump version to 0.94.1, update documents.
2021-09-04 20:50:50 +03:00
Ozkan Sezer
94db75126c
Fix lightmap issues after vkQuake surface mark/cull optimizations merge
...
Fixes https://sourceforge.net/p/quakespasm/bugs/50/
Extracted from vkquake commits cae39a8fb0, c781043c4f, and e2d6c49b23.
2021-09-04 20:28:24 +03:00
Guillaume Plourde
0fc09fd95d
q64 sky texture now display correctly
...
see https://github.com/Novum/vkQuake/pull/358
2021-09-03 01:37:50 -04:00
Andrei Drexler
401aa52d45
Compensate viewmodel distortion at fov > 90
...
See: https://github.com/Novum/vkQuake/issues/281
Controlled by new cvar cl_gun_fovscale (defaults to 1).
Based on code from Qrack:
3bc2862b1a/gl_rmain.c (L2384-L2392)
2021-09-02 20:50:50 +03:00
Guillaume Plourde
b796e366db
q64 rerelease 2021 bsp support
...
see https://github.com/Novum/vkQuake/pull/356
2021-09-02 20:50:50 +03:00
Ozkan Sezer
3af9ad4e04
2021 rerelease support: read the localization file from QuakeEX.kpf
...
uses a customized and highly stripped down miniz version. also move
localization file reads to SDL_RWops, and update the documentation.
2021-09-01 14:00:00 +03:00
Ozkan Sezer
4e1d132f31
Raised MAX_GLTEXTURES limit from 2048 to 4096 for now per Eric's request
2021-08-31 15:50:28 +03:00
Andrei Drexler
9d7f9eac6f
Fix bogus extra localization entries on Windows
...
Due to CRLF translation the value returned by fread in text mode can be less than the size of the file, leaving bogus data at the end of the buffer. Since the parser can already handle CRLF-terminated lines, and when reading directly from QuakeEX.kpf there would be no CRLF translation anyway, we can just open the file in binary mode.
2021-08-31 15:50:02 +03:00
Ozkan Sezer
e1f17a90ef
bump version to 0.94.0, more documentation updates.
2021-08-30 11:35:00 +03:00
Andrei Drexler
83af8d060f
Add basic localized strings support for 2021 re-release
...
See https://github.com/Novum/vkQuake/pull/345
2021-08-29 17:11:28 +03:00
Ozkan Sezer
2313298d14
window icon should be set after window creation in SDL2.
2021-08-29 17:04:40 +03:00
Ozkan Sezer
85683a04c9
fix my mis-merge of the ents patch.
2021-08-29 14:56:40 +03:00
Ozkan Sezer
dd874e34b7
workaround re-release default.cfg issue:
...
id1/pak0.pak from 2021 re-release doesn't have a default.cfg
embedding Quakespasm's customized default.cfg for that.
2021-08-29 14:55:24 +03:00
Andrei Drexler
5ae076ea2d
Versioned map entity patches
2021-08-29 14:55:10 +03:00
Ozkan Sezer
6c1a97d755
regenerated quakespasm.pak
2021-08-28 03:10:00 +03:00
Ozkan Sezer
8797c8c384
r_brush.c (AllocBlock): use calloc() to not leave uninitialized memory.
...
keeps valgrind happy.
2021-08-27 17:03:00 +03:00
Ozkan Sezer
9f8b569f9b
external vis file support
2021-08-27 14:00:32 +03:00
Andrei Drexler
8a72565fd0
Change 'model has a skin taller than 480' error into a warning.
...
See https://github.com/Novum/vkQuake/issues/347
2021-08-27 14:00:10 +03:00
Andrei Drexler
95845b9d2e
Add no-op menu_credits command for quake '2021 release' version
2021-08-24 14:24:24 +03:00
Andrei Drexler
86c06eeb15
Add no-op finaleFinished QuakeC builtin 79 for quake '2021 release' version
2021-08-24 11:56:50 +03:00
Ozkan Sezer
bafb17495e
cl_parse.c: update the svc_strings[] array after recent commits.
2021-08-22 20:25:40 +03:00
Andrei Drexler
c82ef652db
map MOVETYPE_GIB of quake '2021 release' version to MOVETYPE_BOUNCE
2021-08-22 18:55:02 +03:00
Andrei Drexler
51b23fa30a
ignore svc_achievement server message for quake '2021 release' version.
2021-08-22 18:55:02 +03:00
Andrei Drexler
65c1644849
add a 'campaign' cvar for quake '2021 release' version.
2021-08-22 18:55:02 +03:00
Ozkan Sezer
dd8f4fbd29
bump version to 0.93.3 and update the changelog
2021-08-20 18:11:20 +03:00
Ozkan Sezer
2d9eb310bc
replace size_t casts to pointers with (u)intptr_t.
2021-08-10 01:04:50 +03:00
Andrei Drexler
3c8611f604
Reset pointers to sky textures on map unload/game change
...
This fixes a crash when loading a skyless map after one with a sky.
( From: https://github.com/Novum/vkQuake/pull/339 )
2021-08-10 01:00:02 +03:00
Ozkan Sezer
bd8615c235
snd_umx.c: revise sanity checks and check returned values from FS layer.
2021-07-14 03:37:00 +03:00