Commit Graph

2235 Commits

Author SHA1 Message Date
Shpoike 8b08262ffb Give the cvars generated from float+vector autocvars prettier default/initial values. 2023-07-10 03:10:30 +01:00
Shpoike c0efc3bc9a Respond to mouse cursor positions but not relative motions when the window is not focused, no more looking around when tabbed out. 2023-07-10 03:08:57 +01:00
Shpoike 05578787e9 Ask menuqc to close its menus on map changes instead of just stripping its focus and leaving it confused. 2023-07-10 03:07:37 +01:00
Shpoike cf2a1421bd Fix md3 skins not loading properly (since colormap change). Throw in support for eg foo.md3_0.skin files too, so armour model replacements can be handled properly. 2023-07-10 03:06:15 +01:00
Shpoike 09b9a76bb4 Fix some compile errors from me being too lazy to test anything but linux. 2023-07-10 03:02:16 +01:00
Shpoike 49822069a3 Fix stupid zip decompression error. 2023-07-07 12:10:53 +01:00
Shpoike c52a165ca5 Rework colormap stuff so that quakerally/tf/etc work, fixing related csqc deficiency. Also support _shirt and _pants textures for people using 24bit textures. 2023-07-07 10:57:40 +01:00
Shpoike d7e86a6592 Handle quakeworld spectators more gracefully. 2023-07-07 10:01:30 +01:00
Shpoike 4225f4c20e If time jumps backwards (eg cos the map took too long to start, with the server paused), don't show random images on the hud (nor potentially crash from doing so). 2023-07-06 06:33:47 +01:00
Shpoike 3cb679f310 Give QSS some basic support for extended qc data types. 2023-07-06 05:16:32 +01:00
Shpoike 09b982158e Merge remote-tracking branch 'sf/master' into qss 2023-06-29 17:00:32 +01:00
Shpoike 69e7395b0d Add full support for HDR/E5BGR9 lighting. 2023-06-29 16:40:18 +01:00
Shpoike 6dd16b99e7 Don't claim we don't support the sound() flags that we do actually support. 2023-06-29 16:38:46 +01:00
Shpoike bc5967f62c Fix a zip-related crash. 2023-06-29 16:37:00 +01:00
Shpoike a7220b86a7 Fix potential crash when loading saved games. 2023-06-29 16:35:38 +01:00
Jaycie Ewald 70df2b661e fix QS not opening from tracker 2023-05-23 14:36:33 -05:00
Jaycie Ewald c1e8a1e692 add Haiku OS cross-compile support
x86 and x86_64 both tested and working.
2023-05-23 00:52:43 -05:00
Ozkan Sezer 00d36583e7 snd_xmp: adjust windows static linkage for latest libxmp headers 2023-05-20 06:05:40 +03:00
Ozkan Sezer 36fd7e4465 oslibs, codecs: updated libxmp builds from the latest code in git. 2023-05-20 06:03:50 +03:00
Ozkan Sezer 9ccd014763 SDL rebuild for Mac. 2023-05-17 23:21:00 +03:00
Ozkan Sezer f47ac90417 updated docs for 0.96.0 changes, so far. 2023-05-17 23:11:56 +03:00
Ozkan Sezer 26b3954bf6 Bump progs execution runaway loop limit to 16M.
The old limit (100000) can be hit in some new maps.
The new limit (0x1000000) matches current vkQuake,
whereas quakeforge and tyrquake has it as 1000000.
Closes https://github.com/sezero/quakespasm/issues/58
2023-05-17 23:11:10 +03:00
Andrei Drexler ff78de4493 Bump MAXALIASFRAMES to 1024
(from QSS)
(https://github.com/andrei-drexler/ironwail/issues/88)
2023-04-06 14:55:02 +03:00
Ozkan Sezer 9106af96fb Increase chase cam target trace distance
Allows for chasecam to function in large open maps, useful for the
func_vehicle mod where people naturally want to create open maps.
Patch suggested by Marko Permanto, based on a commit in Ironwail by
Andrei Drexler.
https://sourceforge.net/p/quakespasm/patches/34/
6e55a30c90
2023-03-31 10:47:02 +03:00
Ozkan Sezer 3e599a847b gl_vidsdl.c: fixed build using c++ compilers. 2023-03-20 10:10:00 +03:00
BeWorld fe5e45028d SDL2 - Fix memory leek when exit game
add SDL_GL_DeleteContext and SDL_DestroyWindow
2023-03-19 10:55:44 +01:00
Shpoike 2c38d5b3e3 Merge remote-tracking branch 'sf/master' into qss 2023-03-18 12:38:25 +00:00
Shpoike 3e8e43a388 Make sure clients don't see random messages before they're actually on server. They can get confused about 666/999/maxclients/etc. 2023-03-18 11:17:12 +00:00
Shpoike 6ffc737f57 Fix stupid unqueryable-userinfo bug. 2023-03-18 11:15:29 +00:00
Shpoike 2e01e89a49 Merge tag 'quakespasm-0.95.0' into qss 2023-03-18 11:14:40 +00:00
Chris Cowan 8d03392559 Prevent SDL_StartTextInput during single-letter y/n prompts
y/n prompts also support controller inputs, so we don't want to trigger an
onscreen keyboard for them.
2023-03-13 03:23:31 -07:00
Chris Cowan fa20f03de6 Prevent SDL_StartTextInput during con_forcedup
Fixes onscreen keyboard showing up suddenly on Steam Deck when starting a
map.
2023-03-13 03:23:17 -07:00
Ozkan Sezer cb487743e3 bump version to 0.96.0, update documents for changes so far. 2023-03-13 11:33:00 +03:00
Andrei Drexler e0469ae4b4 Fix console animation with scr_conspeed <= 0 2023-03-13 11:33:00 +03:00
Eric Wasylishen 64b9818ec3 docs: update for recent joystick changes 2023-03-12 21:51:31 -06:00
Ozkan Sezer 8284b0f9d6 net_wipx.c: fix wrong type in extern declaration of winsock_initialized 2023-03-11 21:56:10 +03:00
Ozkan Sezer 9da2b8ceed (missed part in previous commit.) 2023-03-11 14:20:00 +03:00
Ozkan Sezer b639fe419d codecs: rebuilt libxmp and libmikmod from latest code. 2023-03-11 14:05:10 +03:00
Ozkan Sezer 3c6d1711e9 SDL rebuild for Mac. 2023-03-11 11:28:10 +03:00
Chris Cowan 0ce11a9117 controller: don't use right joystick for menu navigating 2023-03-11 10:11:01 +03:00
Chris Cowan 0cffb9548a Adjust joystick defaults closer to Kex
joy_sensitivity_{yaw,pitch} and joy_exponent{,_move} were both changed.

Decreasing joy_exponent{,_move} makes the joystick respond more at small
movements. joy_exponent and joy_exponent_move values of 2 give a response
curve more similar to Kex. The original value of 3 gives a response curve
that some might find better for slow precision aiming, but it creates a
sharper cliff between small inputs and large inputs that can make
smoothly adjusting your aim/movement at medium magnitudes difficult.

joy_sensitivity_{yaw,pitch} were decreased both to compensate for the
joy_exponent{,_move} change and to be closer to Kex's default.
2023-03-11 10:11:01 +03:00
Chris Cowan 68b9ca8906 Fix joystick movement threshold and run behavior
Fixes issue where holding the movement joystick at a 45 degree angle would
instead make you move at a 41 degree angle if you had "Always Run" set to
"Vanilla" or at a 60 degree angle.

Fixes issue where holding the movement joystick all the way while not running
would make you move at speed 283 instead of 200.

Fixes issue where while running you reach the maximum speed while holding the
joystick at only 83% (when joy_exponent_move is at its default value of 3, and
when joy_exponent_move is 2, 75%, and when joy_exponent_move is 1, 57%).
2023-03-11 10:11:01 +03:00
Chris Cowan 4a18467d36 Add joy_outer_threshold_{look,move} CVARs 2023-03-11 10:11:01 +03:00
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