Commit graph

1826 commits

Author SHA1 Message Date
Shpoike
f5296129a4 Support for fte's 'nll' texture mode etc, which should give fewer flickering pixels in the distance than quake's normal nearest_mipmap_linear mode. 2020-07-19 02:01:02 +01:00
Shpoike
1b5fe32811 Add support for %S in sprintf builtin for quoted strings. 2020-07-19 01:51:20 +01:00
Shpoike
916bcd34ff Fix bugs found through gcc's warnings. 2020-07-19 01:48:32 +01:00
Shpoike
7191e540a6 Fix string autocvars bug in menuqc. 2020-07-19 01:47:06 +01:00
Shpoike
f37a1898a9 Make menuqc respect qs's scr_menuscale cvar instead of scr_sbarscale. 2020-07-19 01:42:15 +01:00
Shpoike
503222cabc Added search_getpackagename builtin to query which package a file is inside (flags&2 to get the gamedir of the package/gamedir too), also let the 'cvar' pseudo-cvar be queried via cvar_string. 2020-07-19 01:36:32 +01:00
Shpoike
e0246ba335 Fix for search_begin on linux. 2020-07-17 10:09:21 +01:00
Shpoike
5e0e8ce7ee Remove MAX_GLTEXTURES limit. 2020-07-11 20:43:19 +01:00
Shpoike
b31b3717f6 Rename a QSS cvar for better compat with FTE. 2020-07-08 15:46:39 +01:00
Shpoike
2fcd0194b1 Let menuqc detect engine more easily, so it can tailor available cvar values for specific engines. This is probably a bad thing but I don't see any other sane way around it. With it being a cvar, the user can at least override it/lie to fake forked engines. 2020-07-08 15:46:00 +01:00
Shpoike
9174a8f1c9 Custom hardware cursors, fix missing cursor when running fullscreen. 2020-07-08 15:38:08 +01:00
Shpoike
da5b8ed3a8 Menuqc support. Only tested against menusys so far. 2020-07-02 20:05:51 +01:00
Shpoike
8d20de22f3 Try to make IQM animations sync to when the frame is changed (like FTE or DP) so that the animations can actually be used for non-static things. There are still no 4-way blends, however. 2020-06-24 02:57:44 +01:00
Shpoike
799a5abc0b Fix late model precaching bug. 2020-06-24 02:49:35 +01:00
Shpoike
4eec92fd23 Add support for string stats (for csqc's use). 2020-06-19 23:19:07 +01:00
Shpoike
718d7c1316 Try to fix compiling in msvc, and try to avoid the issue in future too. 2020-06-19 23:13:30 +01:00
Shpoike
d5a78dc734 Fix support for replacementdeltas with ent counts above 32767 (in case other engines use qss as their reference for support, or if it gets bumped later). 2020-06-19 23:11:22 +01:00
Shpoike
13c87a5cfc Allow decals to adhere to random s bias stuff too. 2020-06-19 22:40:24 +01:00
Shpoike
8ff1c87aaa Add -nohome arg to disable homedir use (when compiled to use them, consistent with other engines). 2020-06-19 22:39:16 +01:00
Shpoike
ae3a1b6822 Add -mem arg for compat with dos or linux quake ports (and because -mem mb is more readable than -heapsize kb). 2020-06-19 22:32:27 +01:00
Shpoike
51212760e8 Fix bug from resizing the window with glsl gamma in use. 2020-06-19 21:23:04 +01:00
Shpoike
b260b5f4fa Be more verbose and less errory about corrupt gfx.wad files. 2020-06-19 21:21:00 +01:00
Shpoike
2acb7b0e35 Avoid problems when bobcycle is 0. 2020-04-17 03:41:23 +01:00
Shpoike
b9c68480c6 Add support for dds textures. 2020-04-11 03:06:00 +01:00
Shpoike
9fc95cbff7 Fix glCompressedTexImage2D undefined on windows. 2020-04-11 01:40:55 +01:00
Shpoike
e5e8484a28 Merge branch 'master' of https://github.com/ericwa/Quakespasm 2020-04-07 02:35:09 +01:00
Shpoike
a03cdddfb0 Prevent crashes from improper viewmodel/viewframe/etc command usage. 2020-04-07 01:31:00 +01:00
Shpoike
9a25e03e45 Add avelocity support to MOVETYPE_PUSH entities, to go with rotated SOLID_BSP support (kinda pointless without this commit too tbh). 2020-04-07 00:58:07 +01:00
Shpoike
b69230e2fa Add proper collision support for angles on SOLID_BSP entities. 2020-04-07 00:56:15 +01:00
Shpoike
42b7972eed Allow poking entity fields in weird fun cheaty ways. Useful for debugging. 2020-04-07 00:54:29 +01:00
Shpoike
e65e816a3f Switch from LH's dead master to Eukara's live one. 2020-04-06 23:25:16 +01:00
Shpoike
16627f15e8 Fix server-crash bug when kicking people. 2020-04-06 23:24:22 +01:00
ewasylishen
7e7e13f933 Replace some uses of 9999/-9999, and 999999/-999999 with FLT_MAX/-FLT_MAX
Was sent a sample map where the texture scale was such that the
CalcSurfaceExtents mins/maxs were calculated incorrectly because of the
use of 999999 not being large enough magnitude, leading to a crash later
(maxs-mins was negative).

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1671 af15c1b1-3010-417e-b628-4374ebc0bcbd
2020-03-28 05:09:09 +00:00
ewasylishen
0794f3d08b Mod_LoadAliasFrame, Mod_LoadAliasGroup: error if posenum >= MAXALIASFRAMES
See: https://sourceforge.net/p/quakespasm/bugs/37/

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1670 af15c1b1-3010-417e-b628-4374ebc0bcbd
2020-03-28 05:09:07 +00:00
ewasylishen
8839a96e4e gl_sky.c (skybox_name): lazily increase array size from 32 to 1024.
See: https://sourceforge.net/p/quakespasm/bugs/38/

Also move its initializer to Sky_Init() and use q_strlcpy() instead
of strcpy() for copying to it in Sky_LoadSkyBox().

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1669 af15c1b1-3010-417e-b628-4374ebc0bcbd
2020-03-28 05:09:06 +00:00
Shpoike
27168ec47b Added support for my extended miptex stuff for high-colour map textures. 2020-03-07 09:03:46 +00:00
Shpoike
c2c9a68ff1 Fix a merge error of mine. 2020-02-29 02:13:06 +00:00
Shpoike
0713d5b89e Add some validation for gfx.wad. 2020-02-29 02:12:10 +00:00
Shpoike
915a8f300e Fix typo 2020-02-29 02:07:39 +00:00
Shpoike
8f0c65f104 Added cvars to change/disable the often-unwanted build-in sound effects. 2020-01-12 08:05:35 +00:00
Shpoike
3f8de2d99c Work around msvc's continued lack of C99 support. 2020-01-12 08:04:55 +00:00
Shpoike
d3f34bb4ad Ensure that Cmd_Args ALWAYS returns a valid string, avoiding crashes when only one arg was given. 2020-01-12 07:46:26 +00:00
Shpoike
1f0affcc91 Bump QC stack sizes, to reduce chances of overflows. 2020-01-12 07:45:41 +00:00
Shpoike
cbb1431d2e Remove some fixed-function logic from the worldsurf glsl. 2020-01-12 07:45:10 +00:00
sezero
3805c7f6f4 SDL2: rebuilt from hg-latest (r13387:8a12cc1abc9e)
Changes include a fix for a nasty locale issue on macOS.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1668 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-12-30 22:22:14 +00:00
sezero
016acd23de missed updating libmpg123 import libraries for Visual Studio in r6129..
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1667 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-12-30 02:10:08 +00:00
sezero
9916cfb789 oslibs, codecs: updated libmpg123 build.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1666 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-12-29 17:00:07 +00:00
sezero
fb91861fa9 snd_mp3tag.c: check for false positives if id3v1 is not at file's end.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1665 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-12-29 16:50:06 +00:00
Shpoike
dc6f750722 Merge branch 'master' of https://github.com/ericwa/Quakespasm 2019-12-29 16:28:23 +00:00
Shpoike
af7f137d91 Switch to unix endings on a windows file to try to avoid git being so awkward... 2019-12-29 16:28:19 +00:00