Shpoike
4ec4cde5f4
Add support for lit water. Move 'newwater' to glsl instead.
2021-11-12 03:28:09 +00: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
1c8562a021
Add an 'extras' menu for QSS's extra options.
2021-09-06 10:20:58 +01:00
Shpoike
e84c8c4895
Basic md5mesh support (no animations).
2021-09-05 16:41:35 +01:00
Shpoike
a5275c95d5
Merge remote-tracking branch 'sf/master' into qss
2021-09-03 20:19:12 +01:00
Shpoike
dd6368c41c
Fix QSS's iqm woes.
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
9119c1d546
Merge branch 'master' of https://git.code.sf.net/p/quakespasm/quakespasm into HEAD
2021-09-03 06:27:09 +01: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
Shpoike
7ba6c4474b
Merge Quakespasm's post-fork changes into QSS (rebased to make them compatible)
2021-08-31 06:43:13 +01:00
Shpoike
3ac910c32d
Try to make use of win32/posix LFS for larger pk3s. Use a couple of other unsigned types for larger bsps too, now that we're supposedly able to exceed the 2gb limit on file sizes.
2021-08-31 04:59:13 +01:00
Shpoike
7aca9e0b87
Mute not-watervised messages for maps with no fluids on them (eg AD's rubble models). Sock doesn't like developer prints.
2021-08-31 04:59:12 +01:00
Shpoike
1a18a8af47
Add support for string stats (for csqc's use).
2021-08-31 04:59:12 +01:00
Shpoike
2e1abf9fa7
Add support for dds textures.
2021-08-31 04:59:12 +01:00
Shpoike
47cae9c3f8
Added support for my extended miptex stuff for high-colour map textures.
2021-08-31 04:59:12 +01:00
Shpoike
e38664c222
Hacked in support for IQMs.
2021-08-31 04:59:12 +01:00
Shpoike
81b7ba9e4b
Added FTE_ENT_SKIN_CONTENTS support.
2021-08-31 04:59:12 +01:00
Shpoike
ee2ab9a593
Added support for LMSTYLES16 bspx lump, allowing up to 16 lightstyles per face and a lot more switchable light styles.
2021-08-31 04:59:12 +01:00
Shpoike
2567b18924
Fix my stoopid bug
2021-08-31 04:59:12 +01:00
Shpoike
8f3d6d12ac
Load external textures for mdls (and make sure alpha blends work too).
2021-08-31 04:59:12 +01:00
Shpoike
daac6039a5
attempt to support quakeforge 16bit mdl variant. untested.
2021-08-31 04:59:11 +01:00
Shpoike
68ae3bfee7
Accept LIGHTING_E5BGR9 bspx lumps in case there's no rgb8 lump.
...
Converts to rgb8 for now, so still only uses ldr lighting.
2021-08-31 04:59:11 +01:00
Spike
d336eeb96f
Misaligned bsp lumps should have been a developer thing.
...
If anyone didn't fix their maps yet, they probably never will.
2021-08-31 04:59:11 +01:00
Spike
8d84bf8d2f
Fix some csqc bugs+omissions.
2021-08-31 04:59:11 +01:00
Spike
9d1c386a1b
Add warnings for any misaligned lumps. These crash on arm ports of engines.
2021-08-31 04:59:11 +01:00
Spike
91668b230f
Some misc qc-related bugfixes.
2021-08-31 04:59:11 +01:00
Spike
fe4b224c7d
Added support for simple csqc.
...
This is a subset of csqc, with alternative entry points that can be invoked by compat wrappers.
Also added sv_gameplayfix_setmodelrealbox cvar. Default value of 1 matches QuakeSpasm, whereas a value of 0 matches vanilla quake's behaviour.
2021-08-31 04:59:11 +01:00
Spike
afb6583375
Added lightmap scaling.
2021-08-31 04:59:11 +01:00
Spike
d76ca606bf
All changes present in QSS-R7, plus
...
md3 support
quoth/etc bug fix
strzone bug fix
png/jpg replacement wall textures
rewrote mdl rendering to always use arrays, relaxing vertex+tri limits.
removed static ents limit
fixed ambient_level not working at high framerates.
2021-08-31 04:59:11 +01:00
Ozkan Sezer
85683a04c9
fix my mis-merge of the ents patch.
2021-08-29 14:56:40 +03:00
Andrei Drexler
5ae076ea2d
Versioned map entity patches
2021-08-29 14:55:10 +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
Ozkan Sezer
824f01031e
silence misleading indentation warnings from clang.
2021-06-28 03:01:02 +03:00
Stephen Kitt
9bd1cc8d1d
Spelling fixes
2020-12-22 12:05:37 +00:00
Axel Gneiting
6e4f29a22f
Remove mtexinfo_t::mipadjust (software raster remnant)
2020-07-05 21:01:10 +03:00
Eric Wasylishen
ad3aadb373
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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1671 af15c1b1-3010-417e-b628-4374ebc0bcbd
2020-03-28 05:09:09 +00:00
Eric Wasylishen
be4dbdb29c
Mod_LoadAliasFrame, Mod_LoadAliasGroup: error if posenum >= MAXALIASFRAMES
...
See: https://sourceforge.net/p/quakespasm/bugs/37/
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1670 af15c1b1-3010-417e-b628-4374ebc0bcbd
2020-03-28 05:09:07 +00:00
Eric Wasylishen
361c66d06a
Reject lit files if they're the wrong size (eg hipnotic/start.bsp vs id1/start.lit or just a bsp that no longer has any coloured lits, etc).
...
From Spike.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1654 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-11-20 02:47:04 +00:00
Eric Wasylishen
6924a94fa6
Mod_LoadAliasModel: don't corrupt memory if MAXALIASTRIS exceeded
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1625 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-09-12 04:06:55 +00:00
Eric Wasylishen
68faa57c6d
CalcSurfaceExtents: adjust bogus initial "max" texture coord to match the
...
magnitude of the "min" one. It was possible to erroneously cause a
"bad surface extents" error with face around +/- 100K units from the origin,
since "max" was initalized to -99999.
TODO: These should probably both be changed to FLT_MAX/-FLT_MAX.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1608 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-03-18 07:22:54 +00:00
Ozkan Sezer
9dd0a76812
r1550 merged a bad patch. merging the correct one...
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1551 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-01-08 15:28:05 +00:00
Ozkan Sezer
a7deed353e
Mod_DecompressVis: warn every case of vis data buffer overrun, not once.
...
also remove the #if 0'ed out code.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1550 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-01-08 08:28:17 +00:00
Eric Wasylishen
413272b977
Mod_DecompressVis: don't overflow output buffer given invalid visdata
...
Fixes crash on death32c.bsp:
http://sourceforge.net/p/quakespasm/bugs/25/
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1548 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-01-08 05:02:14 +00:00
Ozkan Sezer
a23a75efa3
gl_model.c (Mod_SetExtraFlags): remove bogus !mod->name check.
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1535 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-11-16 07:00:02 +00:00
Eric Wasylishen
d3377b9358
gl_model.c: (Mod_LoadModel): change Sys_Error to Host_Error for missing
...
model to be less annoying when testing a broken mod
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1534 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-11-14 07:20:29 +00:00
Eric Wasylishen
6b2affaebc
r_alias: add MF_HOLEY (0x4000) model flag, from QSS.
...
(MarkV compatible).
For more info see: http://celephais.net/board/view_thread.php?id=61351&start=1&end=1
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1463 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-08-04 19:45:11 +00:00
Eric Wasylishen
e87a1b8d9d
drop MAX_MAP_LEAFS limit and move 4 static buffers to use realloc().
...
4 buffers were: mod_novis, decompressed, checkpvs, and fatpvs.
Also fix fatbytes calculation in SV_FatPVS to match the other PVS
buffers, was (numleafs+31)>>3, changed to (numleafs+7)>>3.
I am assuming the previous was a bug/typo.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1434 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-07-26 04:27:16 +00:00
Eric Wasylishen
4fe5f6956f
Adjust "exceeds standard limit of" debug warnings to include the actual QS limit.
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1386 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-03-30 06:26:16 +00:00
Eric Wasylishen
fc78971b59
Only print "maps/*.lit loaded" messages on develoepr 2, the are spam on developer 1.
...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1357 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-22 18:38:58 +00:00