Commit graph

83 commits

Author SHA1 Message Date
Shpoike
6394ea27e8 Fix chasecam to deal with the viewmodel change... Also attempt to push it away from walls in a not-so-much-of-a-wallhack kind of way. 2023-07-26 11:18:06 +01:00
Shpoike
2d76417807 Rework how the viewmodel is added to the scene. No more phantom viewmodels with csqc, please. 2023-07-25 15:08:17 +01:00
Shpoike
2c38d5b3e3 Merge remote-tracking branch 'sf/master' into qss 2023-03-18 12:38:25 +00:00
Shpoike
2e01e89a49 Merge tag 'quakespasm-0.95.0' into qss 2023-03-18 11:14:40 +00:00
entryway
a449780bb8 don't draw bounding boxes for freed edicts 2022-11-20 17:51:00 +03:00
Andrei Drexler
9eaeb75fb2 Fix off-by-one error in R_ShowBoundingBoxes 2022-11-10 10:00:00 +03:00
temx
dd8439b767 Factor out scale support, add bmodels and sprites 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
Shpoike
e9822ae936 Fix support for scale with unextended protocol 999. 2022-08-11 20:39:35 +01: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
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
Shpoike
0f1c4fca19 Merge remote-tracking branch 'sf/master' into qss 2022-08-04 07:04:30 +01:00
Shpoike
54c646420e Fix csqc's addentities ignoring scale+colormod, fix culling of scaled entities. 2022-08-02 01:39:04 +01:00
Shpoike
7a97911ff4 Merge tag 'quakespasm-0.94.5' into qss 2022-07-15 14:11:03 +01: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
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
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
c5a45e7e58 move DEG2RAD macro to mathlib.h.
From a patch by Andrei Drexler
2022-03-11 23:55:10 +03:00
Shpoike
4ec4cde5f4 Add support for lit water. Move 'newwater' to glsl instead. 2021-11-12 03:28:09 +00:00
Shpoike
154e848d32 Try to fix some connectivity issues. 2021-10-05 06:15:34 +01:00
Shpoike
bad54d50cf Merge remote-tracking branch 'sf/master' into qss 2021-09-11 04:49:40 +01:00
Shpoike
fb0f83ca00 Add support for SOLID_BSPTRIGGER. 2021-09-08 02:48:30 +01:00
Shpoike
1c8562a021 Add an 'extras' menu for QSS's extra options. 2021-09-06 10:20:58 +01: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
bc9f1482a6 Fix some menuqc scene issues. 2021-09-03 08:52:57 +01: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
f675ce9b95 Mask off sky depth after drawing skyrooms, to avoid nasty surprises. Also don't get confused by the viewmodel's depthhack. 2021-08-31 04:59:13 +01:00
Shpoike
bfb0f04708 Fix r_scale with csqc active. 2021-08-31 04:59:13 +01:00
Shpoike
b6df94c807 irrelevant comment updates. 2021-08-31 04:59:13 +01:00
Shpoike
ec2123f042 Add project+unproject csqc builtins, for converting between 2d and 3d space (eg cursor interactions). 2021-08-31 04:59:13 +01:00
Shpoike
0ca6d9ad77 Fix host_errors with csqc+r_showbboxes. 2021-08-31 04:59:13 +01:00
Shpoike
367b799998 r_fastsky should skip skyroom drawing too, for people with really slow computers. 2021-08-31 04:59:12 +01:00
Shpoike
3016b0201f Fix menuqc-related crash with r_shadows enabled. 2021-08-31 04:59:12 +01:00
Shpoike
54538a054a Menuqc support. Only tested against menusys so far. 2021-08-31 04:59:12 +01:00
Shpoike
1f521aadb2 Fix bug from resizing the window with glsl gamma in use. 2021-08-31 04:59:12 +01:00
Shpoike
9d15653e46 Add proper collision support for angles on SOLID_BSP entities. 2021-08-31 04:59:12 +01:00
Shpoike
e259d0db52 Add skybox console command for dynamic use (blame sock). Additional args for skyroom speed and axis of rotation. 2021-08-31 04:59:12 +01:00
Shpoike
9a03e77742 Added FTE_ENT_SKIN_CONTENTS support. 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
9b023749da Quick attempt at skyrooms. Seems to work for me. Note that the server's pvs is not opened, nor have I tried to depthmask sky surfaces to avoid leakage. _skyroom "x y z" in worldspawn to use. 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
4d5fd6c688 Implement exteriormodeltoclient 2021-08-31 04:59:11 +01:00
Shpoike
8a7609f3fe Fix r_showbboxes bug (reported by c0burn) 2021-08-31 04:59:11 +01:00
Spike
f6d31e9db9 Bugfix - make dlights move correctly with respect to moving bsp entities, instead of the light being in the wrong place.
Obviously this doesn't affect baked lights, but at least mappers have more control over those.
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
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