Commit graph

1906 commits

Author SHA1 Message Date
Chris Cowan
dd41c39aa7 split joy_deadzone cvar to _move and _look cvars 2023-03-11 10:11:01 +03:00
Chris Cowan
9d941b2d73 Disable turning with joystick while paused or menu open
Also fixes mouse movements accumulating while paused.

- If you're playing with a controller, you can still turn the player
  while the game is paused or a menu is open. It's pretty jank as you
  may be controlling the faded scene in the background behind a menu,
  and it might make someone think their inputs aren't being read by the
  menu or that the game isn't truly paused.
- If the game is paused (with the pause key specifically, so that the
  mouse is still captured), then mouse movements continue to accumulate
  while you're paused, potentially causing a very sudden disorienting
  jump when the game is eventually unpaused.
- If you're chatting, then you can still look around (with the mouse or
  controller), though you can't move or shoot. This can be confusing if
  you don't realize you're locked in a menu (as every other case you're
  locked in a menu stops you from looking around with the mouse).
2023-03-11 10:11:00 +03:00
Chris Cowan
88d9a8f45d Fix MacOS mouse grabbing issue
Fixes https://github.com/sezero/quakespasm/issues/48 by
centering the mouse on the window prior to grabbing it.
2023-03-11 10:11:00 +03:00
Ozkan Sezer
aa3cfce04d update windows SDL2 build to latest 2.26.3 version. 2023-02-07 07:55:00 +03:00
Andrei Drexler
1aeccac358 LOC_LoadFile: Fix UTF-8 BOM check 2023-01-18 23:01:50 +03:00
Ozkan Sezer
c5130f23a0 net_udp.c: support -ip command line option.
Patch from Maciej Olędzki - see sf.net ticket:
https://sourceforge.net/p/quakespasm/bugs/58/
2023-01-03 20:04:20 +03:00
Ozkan Sezer
3d967a6608 update windows SDL2 build to latest 2.26.2 version. 2023-01-03 20:03:50 +03:00
Ozkan Sezer
2a312a5b32 update windows SDL2 build to latest 2.26.1 version. 2022-12-12 01:24:24 +03: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
Ozkan Sezer
4aa8a76d80 readme updates and clean-ups. 2022-11-03 20:40:40 +03:00
Ozkan Sezer
f3a2f61669 update documents for 0.95.1 changes so far. 2022-11-03 06:50:37 +03:00
Ozkan Sezer
b2c8e3cd33 oslibs: updated libmikmod builds. 2022-11-03 06:34:20 +03:00
Ozkan Sezer
96cca58a68 mimor style tidy-up. 2022-11-03 06:28:00 +03:00
temx
226a0e7463 Water texture mipmapping support 2022-11-03 06:23:28 +03:00
temx
616e77dc61 Allow mixing lit and unlit textures in the same map 2022-11-03 06:23:20 +03:00
Ozkan Sezer
58bf9dff65 bump version to 0.95.1, update documents for changes so far. 2022-10-29 23:11:10 +03:00
Ozkan Sezer
aba330cacd SDL rebuild. 2022-10-29 17:40:32 +03:00
Ozkan Sezer
c3ef90eb36 replaced Sys_FileTime() with Sys_FileType() from uhexen2 project. 2022-10-25 10:35:20 +03:00
Ozkan Sezer
5e589597c2 updated SDL2-2.0.22 builds with backports from SDL2 main branch.
from sezero fork at: https://github.com/sezero/SDL/tree/2.0.22-backports
2022-10-18 23:50:00 +03:00
Ozkan Sezer
f09b26bb5d view.c (V_PolyBlend): Move glColor4fv call to between glBegin and glEnd
which is legal by GL spec. Fixes screen flashes in some maps with AMD's
new drivers.  Patch authored by temx (@temx at github.)
Reference issue: https://github.com/sezero/quakespasm/issues/42.
2022-10-13 20:28:02 +03:00
Ozkan Sezer
eefe347f04 updated SDL2-2.0.22 builds with backports from SDL2 main branch. 2022-10-06 22:00:00 +03:00
temx
789fbdd5de Defend against empty textures.
E.g. __TB_empty in qbj_grue.bsp
See https://github.com/Novum/vkQuake/issues/567
2022-10-01 23:01:02 +03:00
Ozkan Sezer
58ea3adeeb updated SDL2-2.0.22 builds with backports from SDL2 main branch. 2022-09-24 17:11:40 +03:00
Ozkan Sezer
e90f5318f6 oslibs, codecs: updated libxmp builds from the latest code in git. 2022-09-20 20:21:04 +03:00
Ozkan Sezer
7b641b7456 minor SDL header update from mainstream. 2022-09-20 20:15:20 +03:00
temx
ea4320d675 COM_LoadMallocFile_TextMode_OSPath: do not leak open file 2022-09-12 20:05:50 +03:00
Ozkan Sezer
4df8bb389a minor update to the SDL1.2 endian header from mainstream
for sake of being in sync, only.
2022-09-05 23:56:50 +03:00
Ozkan Sezer
82c3fb4ce1 updated docs for 0.95.0 changes, so far. 2022-09-05 23:56:50 +03:00
Ozkan Sezer
33c00bf0db minor whitespace/style tidy-up. 2022-09-05 23:56:40 +03:00
temx
dd8439b767 Factor out scale support, add bmodels and sprites 2022-09-05 23:56:30 +03:00
temx
239ec66233 Only send baseline/static scales when using PROTOCOL_RMQ 2022-09-05 23:56:30 +03:00
temx
6bff9566a5 Make sure scales are initialized to ENTSCALE_DEFAULT 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
Ozkan Sezer
766c68ab5f bump version to 0.95.0, update documents for changes so far. 2022-09-05 23:56:10 +03:00
Ozkan Sezer
54bb58e349 updated SDL2-2.0.22 builds with backports from SDL2 main branch. 2022-09-03 23:55:40 +03:00
Andrei Drexler
7e4c88aed9 Try light trace from entity origin first
Fixes issues described at https://github.com/Novum/vkQuake/issues/550.
2022-08-28 20:28:02 +03:00
Andrei Drexler
b26707b2ff Add sv_cheats cvar for 2021 rerelease
e.g. impulse 255 doesn't work without sv_cheats set to 1
2022-08-28 20:28:02 +03: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
Andrei Drexler
403aceb066 fix missing models in demo playback after the model scaling patch
See: https://github.com/sezero/quakespasm/pull/32.
2022-08-08 14:23:32 +03:00
Andrei Drexler
8a7cdc933f fix missing viewmodel after model scaling patch
See: https://github.com/sezero/quakespasm/pull/32.
2022-08-08 14:23:32 +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
Andrei Drexler
1f6888e7bc Clear startdemo list on game change
This fixes inconsistent behavior when starting a game with -ad
vs starting with id1 and using 'game ad' in the console
(since id1 has startdemos in its quake.rc file, while ad doesn't).
2022-07-31 14:02:24 +03:00
Ozkan Sezer
47de22c84b bump version to 0.94.7, update documents. 2022-07-24 08:25:10 +03:00
Ozkan Sezer
22b9b3474c lodepng.c: applied patch from mainstream PR/170
marks lodepng_convert_rgb() static and only available if
LODEPNG_COMPILE_ANCILLARY_CHUNKS is set.
2022-07-20 23:24:24 +03:00
Ozkan Sezer
ec57aa9731 Fix wrong ext texture use after vid_restart windowed to/from fullscreen
Patch from Andrei Drexler.
Reference issue: https://github.com/sezero/quakespasm/issues/28.
2022-07-18 14:24:24 +03:00
Ozkan Sezer
f8132afd0f updated lodepng from mainstream git. 2022-07-18 10:15:00 +03:00