Commit Graph

1658 Commits

Author SHA1 Message Date
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
Shpoike 996521cc34 Fix up player colours a smidge. 2022-06-22 06:57:57 +01:00
Shpoike 334931c65e Fix stupid loop iterrator mixup in Mod_CheckWaterVis. Reported by Axel Gneiting. 2022-06-22 06:15:08 +01:00
Ozkan Sezer 3581ff989d can't use C11 _Generic macros with C++ 2022-06-22 05:50: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 a82e3dd75e Fog_FogCommand_f: remove function calls from CLAMP and q_max macros 2022-06-02 14:33:10 +03:00
Ozkan Sezer 16d813859f R_DrawSequentialPoly: don't use function calls from CLAMP() macro. 2022-06-02 14:33:10 +03:00
Ozkan Sezer 35b2d77661 TexMgr_SafeTextureSize: don't use function calls from q_min() macro 2022-06-02 14:33:10 +03:00
Ozkan Sezer 6c9bde021c Con_Init: don't use function calls from q_max() macro. 2022-06-02 14:33:10 +03:00
Ozkan Sezer 4c63468831 menu.c (M_Quit_Draw): fixes and simplifications 2022-06-02 14:33:10 +03:00
Ozkan Sezer 284b182a1c gl_fog.c (Fog_ParseServerMessage): fix reading time for svc_fog.
max() macro forces double read of its arguments, so MSG_ReadShort()
was being called twice, therefore it has always been broken since
more than 20 years, and not to mention its definition change going
from fitzquake v0.60 to v0.65. Darkplaces svn r1778 changelog says:
"minor cleaning of obsolete protocol stuff (svc_fog is now considered unused, because it really never was used)"
 http://svn.icculus.org/twilight?view=rev&revision=1778
 524e813007
FTEQW does it right by doing a single message read (svcfitz_fog)

We now do a single message read like FTEQW, as it should have been.
svc_fog message has probably never been emited by any mod's qc, so
no worries.
2022-06-02 14:33:10 +03:00
Ozkan Sezer 57a32b567f r_alias.c: (R_DrawAliasModel): avoid a possible undefined behavior.
See https://github.com/Novum/vkQuake/issues/476 for original discussion.
2022-06-01 14:15:00 +03:00
Ozkan Sezer 0dd1c12dd9 bump version to 0.94.5, update documents. 2022-05-24 20:55:04 +03:00
Ozkan Sezer 2a67d5bcb2 removed SDL version checks at runtime for compatibility with new SDL2:
With the new SDL2 versioning scheme, SDL_VERSIONNUM macro overflows the
minor version into the thousands digit after 2.9.0, e.g. encodes 2.23.0
as 4300, and we used to reject that thinking it is SDL v3 or something.
2022-05-24 20:55:04 +03:00
Ozkan Sezer 5ea6cdf51d image.c: accept type 1 (paletted) TGA files.
(from QSS - in case we need some day.)
2022-05-24 20:55:04 +03:00
Ozkan Sezer 03b7ef9f05 switch from libmikmod to libxmp for tracker music. 2022-05-14 10:37:10 +03:00
Ozkan Sezer ef3512ba84 remove Andrei's name per his request. 2022-05-05 23:50:40 +03:00
Ozkan Sezer 2bb154a03c Fix LAN config menu layout in Arcane Dimensions
Arcane Dimensions has an oversized gfx/p_multi.lmp
Noticed by Andrei Drexler.
2022-05-05 23:00:24 +03:00
Ozkan Sezer a5750de9ae snd_xmp.c: use xmp_load_module_from_callbacks() if available 2022-05-03 23:01:02 +03:00
Shpoike bf20203857 Remove a little dead code that I missed. 2022-04-29 03:58:12 +01:00
Shpoike 26f0bc4682 Merge remote-tracking branch 'sf/master' into qss
(cl_startdemos stripped in favour of QSS's existing cl_demoreel cvar. osx project files ignored.)
2022-04-27 22:32:40 +01:00
Ozkan Sezer e50415c8ff constified pr_builtins and pr_numbuiltins 2022-04-27 17:00:02 +03:00
Shpoike 9d78bc6d54 Fix omission with our single-server-socket stuff. 2022-04-25 23:33:06 +01:00
Ozkan Sezer 1c970af021 pr_edict.c: use q_snprintf() in all ValueString procs.
Avoids risk of writing past end of buffer - e.g. 'edicts' command with
ad_blasphemy. See: https://github.com/sezero/quakespasm/issues/25
2022-04-23 17:23:10 +03:00
Ozkan Sezer 33085c5449 bump version to 0.94.4, update documents. 2022-04-23 14:00:02 +03:00
Ozkan Sezer ac880c5bf7 cl_parse.c: add CL_DumpPacket for debugging (from fteqw, commented out.) 2022-04-23 11:55:50 +03:00
Andrei Drexler d7c8111ea0 Don't reset onground flag on new server message
This fixes physics issue with ramps/elevators when
the server is continuously sending messages without
client data in them (with updated onground info),
e.g. stuffcmds for fog animation, or tempentities

https://www.celephais.net/board/view_thread.php?id=61381&start=660&end=665
2022-04-23 11:33:50 +03:00
Ozkan Sezer ae4bf378c0 fix getting stuck with loading plaque upon loading bad saves using menu
also change bad save versions to Host_Error and change a Sys_Error into
Host_Error.
2022-04-23 11:03:20 +03:00
Ozkan Sezer c0cfba160d implemented PF_localsound && svc_localsound for 2021 re-release. 2022-04-22 18:11:20 +03:00
Ozkan Sezer f86f1595f3 minor error messages / whitespace tidy-up & small stuff. 2022-04-22 17:50:02 +03:00
Ozkan Sezer ddd1caebf5 SV_SendServerinfo: fixed off-by-one nummodels/numsounds for protocol 15 2022-04-22 11:41:20 +03:00
Ozkan Sezer 22c69dd59c actually, svc_strings[lastcmd] is always legal there... 2022-04-22 01:32:02 +03:00
Ozkan Sezer 707507e9a3 cl_parse.c: make sure not to out-of-bounds read svc_strings[] array 2022-04-22 01:20:00 +03:00
Ozkan Sezer 87a08ae157 more svc_?? macro updates, update cl_parse.c:svc_strings for reference 2022-04-22 01:10:50 +03:00
Ozkan Sezer 13907a2df2 added PF_walkpathtogoal stub for 2021 re-release update3 2022-04-21 23:55:10 +03:00
Ozkan Sezer 533a00262c protocol.h: added 2021 re-release server message defines
from https://steamcommunity.com/sharedfiles/filedetails/?id=2679459726
2022-04-21 23:55:10 +03:00
Ozkan Sezer 7bd751327d PF_sound: Remove the volume, attenuation, and channel boundary checks:
they are already checked the same way in SV_StartSound()
2022-04-21 23:55:10 +03:00
Ozkan Sezer 530cbecc7d update PR_PatchRereleaseBuiltins further:
invent and use an exbuiltin_t table. a good side-effect of this is that
it makes sure that the ex_??? builtins' first_statement is actually 0.
2022-04-21 11:33:32 +03:00
Ozkan Sezer c17a750569 update PR_PatchRereleaseBuiltins for Quake 2021 rerelease update 3:
Quake 2021 release update 3 changes rerelease-specific builtins to be looked up
by name rather than hardcoded builtin nums to avoid conflict with other engines.
(https://steamcommunity.com/games/2310/announcements/detail/3177861894960065435)
Patch them to use the indices, and also add its new builtins.
2022-04-21 03:25:24 +03:00
Ozkan Sezer 43a85fb24f added PR_PatchRereleaseBuiltins for Quake 2021 rerelease update 1,
and removed the relevant centerprint, bprint, and sprint entries
from pr_builtins[].

cherry-picked from the original patch for vkQuake by Andrei Drexler
2022-04-21 03:25:24 +03:00
Ozkan Sezer d119208ab2 silence 'Unknown command "scr_usekfont"' message from 2021 re-release. 2022-04-21 03:25:24 +03:00
Andrei Drexler e6d65c5aa4 Don't autoplay next demo after a timedemo
This happened when starting the game
with either -fitz or cl_startdemos 1
and then executing 'timedemo demo1'
while a title demo was still playing
2022-04-02 11:50:10 +03:00
Andrei Drexler f943e742dc Add cl_startdemos cvar
https://github.com/andrei-drexler/ironwail/issues/21
2022-04-02 11:50:10 +03:00
Andrei Drexler 0b30541ab9 Replace manual demo cdtrack parsing with evil fscanf
This fixes the missing music in hipdemo1 caused by a leading space
character before the cdtrack number, which ended up being parsed
incorrectly.  https://github.com/andrei-drexler/ironwail/issues/60

Note: original issue with fscanf (mentioned in the code comments)
was caused by the inclusion of the newline in the format string.
We work around it by reading the newline character separately.
2022-04-02 11:50:10 +03:00
Ozkan Sezer ae97a7b5ed Key_Console: change strcpy to memmove for K_UPARROW and K_DOWNARROW 2022-03-31 23:02:20 +03:00
Ozkan Sezer 633fa48842 use _Static_assert for COMPILE_TIME_ASSERT if available 2022-03-31 17:01:02 +03:00
Ozkan Sezer 1baf872843 Mod_PointInLeaf: make declaration match its definition. 2022-03-29 23:02:02 +03:00
Ozkan Sezer b0767dbc90 add back snd_modplug (disabled, for future ref.), update project files. 2022-03-29 17:04:02 +03:00
Ozkan Sezer fb87b63d19 lodepng: fixed MSVC C4334 warnings in 64 bit builds
1>D:\sezero\quakespasm-git\Quake\lodepng.c(689,54): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
1>D:\sezero\quakespasm-git\Quake\lodepng.c(708,39): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
1>D:\sezero\quakespasm-git\Quake\lodepng.c(5467,33): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)

c.f.: https://github.com/lvandeve/lodepng/pull/142
2022-03-26 05:00:32 +03:00
Ozkan Sezer d239a8911d snd_umx.c (get_objtype): make sure that 'sig' array is initialized. 2022-03-21 20:21:24 +03:00
Andrei Drexler 065c158254 Quad/pentagram dlights for 2021 rerelease 2022-03-11 23:55:10 +03:00
temx 6cf0547d01 Fix SZ_GetSpace server crashes
See https://github.com/Novum/vkQuake/pull/438.  Also see
    https://github.com/andrei-drexler/ironwail/issues/32

Note: Changing that 24 to 39 does prevent the crash, but
the buffer size is still insufficient, so some entities
(e.g. nails) are missing occasionally. A MAX_DATAGRAM of
48000 seems enough to fix that (MAX_DATAGRAM in ironwail
has been bumped to 64000.) Long term though, it would be
much better to add support for pkt fragmentation like in
QSS since this jumbo packet size is only used in single-
player mode - multiplayer uses the much smaller value of
DATAGRAM_MTU (just 1400 bytes.)
2022-03-11 23:55:10 +03:00
Andrei Drexler 32b1ebb828 Fix mouse input truncation with non-integral sensitivity 2022-03-11 23:55:10 +03:00
Ozkan Sezer c5a45e7e58 move DEG2RAD macro to mathlib.h.
From a patch by Andrei Drexler
2022-03-11 23:55:10 +03:00
Ozkan Sezer 144b43f333 update lodepng to 20220109 version from mainstream. 2022-03-01 14:20:02 +03:00
Ozkan Sezer b76d5e1b9f miniz updates:
- update from mainstream master to fix mainstream PR/159#issuecomment-1046220324
- fixes by Alice Rowan for mainstream issue 220
2022-03-01 11:56:10 +03:00
Andrei Drexler 14b7338946 Fix intermission camera angles during demo playback
(see https://github.com/sezero/quakespasm/issues/18)
2022-03-01 11:20:10 +03:00
Andrei Drexler ec49ef2441 Add 'horde' cvar (for 2021 rerelease) 2022-03-01 11:20:10 +03:00
Andrei Drexler 9582f6c7b6 Change STRUCT_FROM_LINK to avoid potential undefined behavior 2022-03-01 11:20:10 +03:00
Andrei Drexler a1f522701a Tweak PF_findradius 2022-03-01 11:20:10 +03:00
Andrei Drexler 6642ad63b7 Raise window after showing it
Potential fix for https://github.com/andrei-drexler/ironwail/issues/27:
The focused window is not the game window on initial startup until the
game window is clicked on with mouse. Confirmed that it doesn't happen
with only one screen.
2022-03-01 11:20:10 +03:00
Zus 087f856816 Read the texture coords properly while loading MD3 model 2022-01-29 22:58:46 -05:00
Ozkan Sezer 743c983060 miniz: updates from mainstream PR/159
--
2022-01-27 08:10:04 +03:00
Ozkan Sezer f260464d96 miniz: fixed a bad return introduced in previous update. 2022-01-23 10:02:02 +03:00
Andrei Drexler 8f4c5b3dfa Skip leading whitespace in Q_atoi and Q_atof
This matches the standard library and also fixes the following bug:
- load ad_sepulcher and move to an area where water is visible
- open up the console
- save waterbug
- load waterbug
Water is now invisible as long as the console is still active.

The issue stems from the fact that cvar_set is called at startup
with the arguments ("r_wateralpha", ftos(liquid_alpha)) [1],
and ftos pads its output ("  0.6"). Without skipping the leading
whitespace, Q_atof ends up returning 0, which then gets assigned
to r_wateralpha. This makes the water invisible until a stuffcmd
that sets r_wateralpha again is later received from the server.
With the console open at startup, however, the stuffcmd message
can be delayed indefinitely.

[1] 320f1cec45/world.qc (L641)
2022-01-09 01:25:50 +03:00
Ozkan Sezer 6071c47c91 miniz: fix shadowing warnings (from a patch by Axel Gneiting) 2022-01-07 11:03:04 +03:00
Ozkan Sezer 9c53316dcf updates to miniz:
merges upstream PRs 159, 217, and 220, tweaks to MZ_FORCEINLINE macro,
tweaks to mz_int64 typedefs for older MSVC.
2022-01-03 02:56:04 +03:00
Ozkan Sezer 1439cc0547 snd_umx: don't overzealously restrict the loader to known upkg versions. 2021-12-28 03:21:10 +03:00
Ozkan Sezer 2e0146c7fb disable assert()s by default in miniz 2021-12-23 15:55:02 +03:00
Ozkan Sezer 09396fd9ca bump version to 0.94.3, update documents. 2021-12-05 15:11:10 +03:00
Andrei Drexler 7f4e1c13e7 Handle sky textures with non-standard sizes 2021-12-05 14:10:50 +02:00
Andrei Drexler e3d2fb9fd9 Check that sky texture size is 256x128
(taken from quakespasm-gl4 fork.)
2021-12-04 11:11:10 +03:00
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
Shpoike 5e3fadf3b5 Make sure we're acking the sequence we think we are. 2021-11-13 22:22:57 +00:00
Shpoike e51c134d02 Fix audio pitch issues with clients that actually support it. 2021-11-13 22:21:46 +00:00
Shpoike 307828a2a2 Fix a possible crash from player skin colours. 2021-11-13 22:18:49 +00:00
Shpoike 3888a64458 Fix forced contents (the negative-skins thing). 2021-11-12 04:05:50 +00:00
Shpoike 996621b3ec Try to tighten up when some compressed pixelformats are available a little. 2021-11-12 03:28:09 +00:00
Shpoike 4ec4cde5f4 Add support for lit water. Move 'newwater' to glsl instead. 2021-11-12 03:28:09 +00:00
Shpoike e0bae4bce4 Fix https://github.com/Shpoike/Quakespasm/issues/90 2021-11-08 00:17:44 +00:00
Shpoike ca7babd65e Fix https://github.com/Shpoike/Quakespasm/issues/71 2021-11-07 15:48:14 +00:00
Shpoike 4dc8db95ac Fixes https://github.com/Shpoike/Quakespasm/issues/89 2021-11-06 15:35:03 +00:00
Shpoike d7ef1bf3dd Fix up some lightmap reuse/texture-corruption issues. Fixes https://github.com/Shpoike/Quakespasm/issues/83 2021-11-06 15:23:29 +00:00
Shpoike 299cd487d9 Fix quakerally, and make remodel packs a bit more robust too. If this fix breaks stuff then its broken in FTE+vanilla+QEX, etc too. 2021-11-06 12:37:54 +00: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
Shpoike bdeddfae88 Rework QEx compat to disable QSG extensions when needed. 2021-10-14 07:12:08 +01:00
Shpoike 32015ef1e3 Merge remote-tracking branch 'sf/master' into qss 2021-10-14 06:49:15 +01:00
Shpoike f64bd5e9d6 Add mixer rate to the extras menu, and add snd_restart command in order to be able to apply it instantly. 2021-10-14 06:18:17 +01: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
Shpoike 0955d04426 Revert the lavaman 'fix' as it caused all sorts of other issues. Instead use QS's traceline logic when extensions are disabled, to ensure compatible behaviour. Its not automatic though, which sucks. 2021-10-06 01:25:01 +01:00
Shpoike 154e848d32 Try to fix some connectivity issues. 2021-10-05 06:15:34 +01: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
Shpoike d884d2c27f Add support for fullbrights on md5 skins. 2021-09-13 04:03:27 +01:00
Shpoike bad54d50cf Merge remote-tracking branch 'sf/master' into qss 2021-09-11 04:49:40 +01:00
Shpoike d7d167c1e9 Fix corrupted player skins. Fix player colours not always applying properly. Allow richer player colours. 2021-09-11 04:07:03 +01:00
Shpoike a019a2cfc4 This should be enough to support dragging a directory onto the qss binary (rejects directories that are not a subdir of the game's basedir). 2021-09-09 03:31:23 +01:00
Shpoike 3dd6a85a9f Add cl_demoreel cvar. 2021-09-09 02:50:35 +01:00
Shpoike 7e8c5ecd29 Fix some warnings. 2021-09-08 05:22:45 +01:00
Shpoike f58cee89e8 Disable QC extensions that conflict with the rerelease (only when running progs.dat files from said rerelease). 2021-09-08 04:39:31 +01:00
Shpoike 65aa0920fe Reduce console warning spam. 2021-09-08 04:39:31 +01:00
Shpoike f2ad1f387c Fix weird corpses-are-rotating bug. 2021-09-08 02:48:30 +01:00
Shpoike fb0f83ca00 Add support for SOLID_BSPTRIGGER. 2021-09-08 02:48:30 +01:00
Shpoike a950892aab Fix up some dodgy makefiles. 2021-09-06 12:40:03 +01:00
Shpoike 5b05414d7f Require mods to actually query DP_SV_PRECACHEANYTIME if they want to avoid warnings from making use of it. This should avoid unintentional compat issues for QS in mods. 2021-09-06 11:59:09 +01:00
Shpoike 1c8562a021 Add an 'extras' menu for QSS's extra options. 2021-09-06 10:20:58 +01:00
Shpoike 99255f6445 Add implicit md5anim support too. 2021-09-05 18:31:18 +01:00
Shpoike e84c8c4895 Basic md5mesh support (no animations). 2021-09-05 16:41:35 +01: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
Shpoike c4c5e8d248 Fix bug with lightmaps replacing world textures. 2021-09-05 02:44:19 +01: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
Shpoike a5275c95d5 Merge remote-tracking branch 'sf/master' into qss 2021-09-03 20:19:12 +01:00
Shpoike dab8e4a39e JPG's smartjump feature, via r00k. 2021-09-03 18:24:56 +01:00
Shpoike 6643ef0f32 Tonik's impulse x y z hack, via r00k. 2021-09-03 18:23:26 +01:00
Shpoike bc9f1482a6 Fix some menuqc scene issues. 2021-09-03 08:52:57 +01:00
Shpoike f400daab4c Add EF_BLUE, EF_RED and EF_GREEN, for consistency with other engines that support them. 2021-09-03 08:52:57 +01:00
Shpoike dd6368c41c Fix QSS's iqm woes. 2021-09-03 08:52:57 +01:00
Shpoike 5cbb199b5c Fix lightmap-on-submodels bug from QS (orig bug apparently from vkquake). 2021-09-03 08:52:57 +01:00
Shpoike f9ad207c65 .pk3dir support. 2021-09-03 08:52:57 +01: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
Shpoike be4aa218a0 Add support for directly loading the rerelease's localisation files. 2021-09-03 06:27:46 +01:00
Shpoike 9119c1d546 Merge branch 'master' of https://git.code.sf.net/p/quakespasm/quakespasm into HEAD 2021-09-03 06:27:09 +01: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
Shpoike 7ba6c4474b Merge Quakespasm's post-fork changes into QSS (rebased to make them compatible) 2021-08-31 06:43:13 +01:00