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
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
Ozkan Sezer
8284b0f9d6
net_wipx.c: fix wrong type in extern declaration of winsock_initialized
2023-03-11 21:56: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
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
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
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
c3ef90eb36
replaced Sys_FileTime() with Sys_FileType() from uhexen2 project.
2022-10-25 10:35:20 +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
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
temx
ea4320d675
COM_LoadMallocFile_TextMode_OSPath: do not leak open file
2022-09-12 20:05:50 +03:00
Shpoike
52c0b4e364
Try to diagnose/avoid whatever filehandle leakage there is.
2022-09-11 14:24:48 +01:00
Shpoike
4d57e5fccc
We might as well report these when they're already enabled, if only for internal documentation.
2022-09-11 14:09:06 +01: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
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
Shpoike
66abf5a378
Fix some misc csqc issues.
2022-08-23 11:58:15 +01:00
Shpoike
ededc1a2eb
Fix R_AddEfrags to handle rotation and scale.
2022-08-23 11:54:08 +01:00
Shpoike
037436b2bc
Don't use ids1's replacement models for mods that have their own incompatible changes. Resolves https://github.com/Shpoike/Quakespasm/issues/101
2022-08-23 11:52:34 +01:00
Shpoike
b3bec67cb1
Only enable DP_SV_ROTATINGBMODEL when its actually enabled. This is to resolve issues in multiple maps/mods so they behave like they do with the inferior engines they were tested against. Warnings will be printed for any maps or mods that appear to be trying to use it without checking for it first. Resolves https://github.com/Shpoike/Quakespasm/issues/75
2022-08-23 10:10:17 +01:00
Shpoike
b947fab72e
Fix stupid bug in inactive code within the previous commit.
2022-08-16 14:03:16 +01:00
Shpoike
e9822ae936
Fix support for scale with unextended protocol 999.
2022-08-11 20:39:35 +01:00
Shpoike
52d8cce64a
Fix pr_dumpplatform.
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
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
Shpoike
848b605c6c
Small code cleanup allowing to trim an unused field from mnode_t, which should help cpu cache a smidge.
2022-08-04 07:07:15 +01: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
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
Shpoike
eb02e3b5ed
Fixes https://github.com/Shpoike/Quakespasm/issues/107
2022-07-19 22:36:57 +01: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
Shpoike
987bc0ee75
Fix server status reports causing issues for other engines.
2022-07-15 15:01:16 +01:00
Shpoike
1b911ae1f8
Merge tag 'quakespasm-0.94.6' into qss
2022-07-15 14:56:57 +01:00
Shpoike
7a97911ff4
Merge tag 'quakespasm-0.94.5' into qss
2022-07-15 14:11:03 +01:00
Shpoike
a3ce19fa74
Merge tag 'quakespasm-0.94.4' into qss
2022-07-15 13:24:04 +01:00
Andrei Drexler
f6a15400ba
Fix console history buffer wrapping
2022-07-13 00:55:38 +03:00
Ozkan Sezer
00530bda9b
gl_model.c: made a lot of procs and vars static
...
only user of 'loadmodel' outside of gl_model.c was Sky_LoadTexture,
so changed it to accept a model pointer.
TODO: remove need for globals such as mod_base, loadmodel, loadname
2022-07-05 08:50:02 +03: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
8b146122bb
Cmd_Exec_f: simplified condition for Hunk_FreeToLowMark.
2022-07-03 15:55:40 +03:00
Ozkan Sezer
f22b326919
Cmd_Exec_f: no need to Hunk_FreeToLowMark if using embedded default.cfg
2022-07-03 05:23:40 +03:00
Ozkan Sezer
b66088bd48
removed 2 kilometers long heritage print from main
2022-07-03 05:23:00 +03:00
Ozkan Sezer
d27d3db19f
snd_xmp.c: add missing Hunk_Free to xmp_load_module_from_memory failure
2022-07-02 11:55:50 +03:00
Ozkan Sezer
673a4a7315
Image_WritePNG: image should be freed using lodepng_free
2022-07-01 20:00:10 +03:00
Ozkan Sezer
09216eb65f
Makefiles: added basic dependency tracking, and tidied-up a bit.
2022-06-28 03:02:56 +03:00
Ozkan Sezer
c1c9f3b7fe
stb_image_write.h: applied mainstream PR/1337 patch
...
fixes potential invalid memory access
https://github.com/nothings/stb/pull/1337
2022-06-27 14:04:20 +03:00
Ozkan Sezer
520397d93e
image.c: targa_header needn't be global.
...
as noticed in vkQuake.
2022-06-26 14:15:32 +03:00
Ozkan Sezer
3f251ed5fc
bump version to 0.94.6, update documents.
2022-06-25 23:02:02 +03:00
Andrei Drexler
fe15bc1ddd
Server: fix protocol size checks for sounds and particles
...
6643f532bd
2022-06-25 20:56:10 +03:00
Shpoike
996521cc34
Fix up player colours a smidge.
2022-06-22 06:57:57 +01:00
Shpoike
334931c65e
Fix stupid loop iterrator mixup in Mod_CheckWaterVis. Reported by Axel Gneiting.
2022-06-22 06:15:08 +01:00
Ozkan Sezer
3581ff989d
can't use C11 _Generic macros with C++
2022-06-22 05:50:00 +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
Ozkan Sezer
2012cb5484
miniz.h: lose '#pragma once' and use proper header guard
2022-06-12 14:29:50 +03:00
Ozkan Sezer
44af62a16c
gl_fog.c (Fog_FogCommand_f): simpler to use Q_atof there
2022-06-12 14:29:00 +03:00
Ozkan Sezer
9811d8354f
minor style tidy-up.
2022-06-12 14:28:28 +03:00
Andrei Drexler
373ad04e92
Clamp fog color
2022-06-12 14:27:00 +03:00
Ozkan Sezer
a82e3dd75e
Fog_FogCommand_f: remove function calls from CLAMP and q_max macros
2022-06-02 14:33:10 +03:00
Ozkan Sezer
16d813859f
R_DrawSequentialPoly: don't use function calls from CLAMP() macro.
2022-06-02 14:33:10 +03:00
Ozkan Sezer
35b2d77661
TexMgr_SafeTextureSize: don't use function calls from q_min() macro
2022-06-02 14:33:10 +03:00
Ozkan Sezer
6c9bde021c
Con_Init: don't use function calls from q_max() macro.
2022-06-02 14:33:10 +03:00
Ozkan Sezer
4c63468831
menu.c (M_Quit_Draw): fixes and simplifications
2022-06-02 14:33:10 +03:00