Commit graph

5896 commits

Author SHA1 Message Date
Shpoike
9dc0109589 Implement ssqc's ex_localsound builtin properly (was previously a stub). Mark telejano's as deprecated. 2023-08-12 13:59:55 +01:00
Shpoike
e698f60884 Hexen2 has fewer player colours for the user to select from (0-10 instead of 0-13). Don't glitch if they pick something invalid. 2023-08-12 13:59:55 +01:00
Shpoike
c55c8e96a9 Hexen2: Implement objectives popup as an overlay instead of just some prints. Fix some flickering. Make class selection menu a smidge nicer. 2023-08-12 13:59:55 +01:00
Shpoike
01a958e0a6 Handle Hexen2's SOLID_PHASE more accurately, including warts, so corpses can be reliably whacked with melee weapons. 2023-08-12 13:59:55 +01:00
Shpoike
e0c6c78c3d Hexen2: Try to match hexen2's movement speeds more accurately. 2023-08-12 13:59:55 +01:00
Shpoike
067f3b5ddf Hexen2: H2's Monsters are not meant to make thud sounds when hitting the ground, apparently. 2023-08-12 13:59:55 +01:00
Shpoike
587032f1f6 Hexen2: Tweaks to the sbar to better match hexen2's. 2023-08-12 13:59:55 +01:00
Shpoike
d0141bd6ed Hexen2: Fix heuristic to load qpic lumps that were previously being rejected. 2023-08-12 13:59:55 +01:00
Shpoike
732e3a0847 Hexen2: Fix ring of flight. 2023-08-12 13:59:55 +01:00
Shpoike
04f2e112e7 Hexen2: Fix invisibility artifact bugs. 2023-08-12 13:59:55 +01:00
Shpoike
2a38bc1b2d Hexen2: Fix sunstaff issues (and related bits). 2023-08-12 13:59:55 +01:00
Shpoike
ef4a7ace26 Hexen2: Match vanilla quake's placement of EF_BRIGHTLIGHT dlights. This should also stop hexen2's torches from being in the ground. 2023-08-12 13:59:55 +01:00
Shpoike
4577ffcbb1 Hexen2: Fix suicidal monsters bug (could also break quake too). 2023-08-12 13:59:55 +01:00
Shpoike
56cee8749b Try to fix .mvd.gz files not getting listed properly in the demo browser. 2023-08-12 13:59:55 +01:00
Shpoike
00c45fbf10 Accept names for (css-defined) colours, along with arg completion too for the color command too. 2023-08-12 13:59:55 +01:00
Shpoike
603eb89ca2 We flood-fill model skins for compat with vanilla glquake. Turns out glquake had a bug that causes it to only floodfill skin 0, rather than all (non-group) skins, and our behaviour was making hexen2 compat noticably worse. 2023-08-12 13:59:55 +01:00
Shpoike
e292e1bbfb Attempt to do a better job at internationaliation. 2023-08-12 13:59:55 +01:00
Shpoike
4977eca99e Fix notifications about nqplayerphysics from well-defined mods (which will always behave consistently). 2023-08-12 13:59:55 +01:00
Shpoike
997af19495 Add support for eukara's freehl updates. 2023-08-12 13:59:55 +01:00
Shpoike
ed7713e0e3 Slightly improve fteqcc's handling of weird zips. 2023-08-12 13:59:55 +01:00
Shpoike
ff80b3bd59 Rework maplist command so mod maps are displayed last instead of first (so nearer the input line instead of the order the engine searches them).
Also .bsp vs .bsp.gz etc maps are now ordered consistently too.
Modifiers like maps/foo#bar.ent are now shown separately in the listing too.
Hide maps that are shadowed by a higher-priority gamedir (so no dupes).
Closes https://github.com/fte-team/fteqw/issues/171
2023-08-12 13:59:55 +01:00
Shpoike
6b69fe0378 Be more agressive about ignoring vid_restart inside configs saved by dodgy engines. 2023-08-12 13:59:54 +01:00
Shpoike
907e8fa0b1 Make arg completion for 'load' nicer, including showing filetimes and previewpics (where available). Should make autosave's rotating filenames a little nicer to work with. 2023-08-12 13:59:54 +01:00
Shpoike
76cbc3c019 Make use of fontconfig where detected by cmake, to avoid having to make sense of the system's font directory mess. 2023-08-12 13:59:54 +01:00
Shpoike
0509f7c83c Tweaks for the flatpak builds. 2023-08-12 13:59:54 +01:00
fhomolka
3adec5d0a5
Add a fix for the clash between bboxes and polygons (#197) 2023-08-03 12:19:15 -07:00
25f1915fbf
Add more descriptions for CVARs (#201)
* Add more descriptions for CVARs

* Fixed a small typo

* Another small typo

* Added the suggestions from @Shpoike and @eukara along with a little more cleanup
2023-07-29 17:04:47 -07:00
5f389d7fbc
Assign a pvs sample to our particle system handled sprites. So r_ignoreentpvs being 0 will no longer break with them. 2023-07-26 14:51:40 -07:00
030249f713
Workaround for the OGG decoding issue. 5159a80 was bad for ogg vorbis… (#206)
* Workaround for the OGG decoding issue. 5159a80 was bad for ogg vorbis decoding. It was never ideal to begin with, but it's better than rendering the game unplayable.

* Concentrated patch, courtesy of Spike so we can still mark sounds as nopurge
2023-07-26 12:12:55 -07:00
f317282571
Quake II: read the skin, effects, renderfx, and solidsize fields as unsigned shorts (#200)
* Quake II: read the skin, effects, renderfx, and solidsize fields as unsigned shorts.

* Add missing header definition for int MSG_ReadUShort();

* Rename MSG_ReadUShort() to MSG_ReadUInt16() as per @Shpoike's wishes

* solidsize needs to be read in via MSG_ReadSize16 because it does protocol conversions (@Shpoike)

* Q2UFRAME16 and Q2USOUND should be read unsigned as well, as it matches the internal data within FTE (@Shpoike)
2023-07-26 12:12:21 -07:00
65dccaf2db
Fix #170 by force-updating the sound channel so that AL can get the memo. 2023-07-24 13:29:06 -07:00
a0854ccaaf
Merge branch 'rip_npapi' of github.com:fhomolka/fteqw into fhomolka-rip_npapi 2023-07-14 18:44:20 -07:00
fhomolka
97d650b8b3
Q1: Force unsetting the spectator when the player starts a singleplayer game (#198)
Fixes #142
2023-07-14 18:38:06 -07:00
512290f933
Remove Visual Studio project files, old libs folder (DirectX SDKs), and gas2masm (#194)
* Remove all outdated Visual Studio project files

* remove gas assembler, I doubt we need this 20 years later

* Remove final visual studio junk, this time for NPAPI
Forgot to mention previous commits also removed "libs/dxsdk*" and fixes #193

* Removed libs as requested by @eukara and @Shpoike
2023-07-10 17:10:54 -07:00
fhomolka
71fb7da526
Make BBox shader sort additive. This makes them work with RTLights (#196)
Fix given by @Shpoike
2023-07-10 14:26:52 -07:00
Fix
378c8f581d Remove .project and .cproject file. They can be generated by CMake 2023-07-10 09:39:01 +02:00
Fix
a609094554 remove NPFTE stuff from build solutions and Makefile 2023-07-09 20:44:14 +02:00
Fix
a024a82b89 Remove NPFTE preprocessor stuff 2023-07-09 20:41:24 +02:00
Fix
8adffcecfa remove NPQTV-specific defines 2023-07-09 20:27:30 +02:00
Fix
d58ff9615e Removed more NPAPI-specific files 2023-07-09 20:26:01 +02:00
Fix
6a45573658 remove NPAPI stuff from build 2023-07-09 20:25:38 +02:00
Fix
ebd84b01d4 Remove dedicated NPFTE files 2023-07-09 20:20:54 +02:00
Fix
a85ebbf808 Remove _most_ npqtv references and files 2023-07-09 20:20:34 +02:00
Fix
8c94a2c782 Remove the NPFTE dir 2023-07-09 20:12:51 +02:00
Fix
6d85201cff Remove the NPAPI lib dir 2023-07-09 20:07:07 +02:00
d293a2021a
SDL2: Only check for SDL_CONTROLLERTOUCHPAD* and SDL_CONTROLLERSENSORUPDATE updates on versions greater than or equal 2.0.14 2023-07-05 09:55:33 -07:00
fhomolka
6d83a3218a
Remove NaCl code (#190)
* Remove the nacl dir

* Remove nacl from ifdef checks shared with other platforms

* Remove nacl from build bash scripts

* More removal of nacl from bash scripts

* Remove nacl-specific code from the engine

* More removal of nacl-specific code from the engine

* remove nacl-specific code from the Quake 3 plugin

* Remove nacl from readme (also seems to have force LF line endings)

* Remove nacl mention from browser.txt

* Remove nacl from Makefile

* Remove nacl from dotnet2005 solution file (lol)

* Correcting an endif, this did not end nacl

* Clarification for NaCL no longer needed

* Left small todo for myself

* Partially undo f44daef091bcc5917b0ddb2cbe41ebdd9738f770
the if preproc checking for `_DEBUG` was incorrectly removed
2023-07-01 15:20:13 -07:00
7f8b827cb8
r_showbboxes should be a cheat in multiplayer, this fixes #9 (#192) 2023-06-28 22:05:55 -07:00
6692afa55b
Fix #165 by not ignoring the track specified in the NQ demo header 2023-06-24 18:03:48 -07:00
a05c722cbd
Fix #154 by calling fixangles after loading a save 2023-06-24 16:20:01 -07:00
e20ee6c854
Add check to only use the re-release menu font when a mod is not actively overriding it 2023-06-24 15:03:28 -07:00
aa8fcb0296
Recognize HTTP response codes 201 and 202 as success (thanks hemebond) 2023-06-24 14:17:15 -07:00
d57dd2fb3a
Server browser crash fix. 2023-06-23 21:14:51 -07:00
f4044af503
Fix compilation of the 'nocompat' build config. 2023-06-23 15:06:54 -07:00
2fbf78579d
Fix WinNT server builds by not using snprintf and updating FS_FixupFileCase. 2023-06-23 14:32:20 -07:00
erysdren
8482809f18
Fix compilation on Haiku OS (#183)
* add haiku defines in q_platform.h and sys_sdl.c

* linuxisms in sys_sdl.c and sv_sys_unix.c

* more linuxisms in sv_sys_unix.c
2023-06-11 23:14:36 -07:00
73a71a2ce1
Merge branch 'master' into joyfix 2023-04-16 23:17:35 -07:00
Shpoike
96dd67b3d0 Include audio mixer timings in r_speeds 2. 2023-04-17 03:58:21 +01:00
Shpoike
75c6527893 csaddon can now create/edit patches. 2023-04-17 03:58:21 +01:00
Shpoike
7b3096bbf5 Fix __int64 bitnot bug. 2023-04-17 03:58:21 +01:00
Shpoike
0a565b1186 Make cl_shownet 3 a bit more verbose. 2023-04-17 03:58:21 +01:00
Shpoike
2b17f90b28 Fix some issues with csprogs embedded inside mvd files. 2023-04-17 03:58:21 +01:00
Shpoike
d37b8d07ff Try fixing te_gunshot with nq protocols. 2023-04-17 03:58:21 +01:00
Shpoike
5082928f36 Try to reduce warning spam. 2023-04-17 03:58:21 +01:00
Shpoike
695b979af9 vulkan renderer was crashing without the q3 plugin loaded. 2023-04-17 03:58:21 +01:00
Shpoike
e81b140614 work around qssm's proquake stuff. 2023-04-17 03:58:21 +01:00
Shpoike
eaf59671a4 Messing around with flatpak. 2023-04-17 03:58:21 +01:00
Shpoike
73bb9969a1 Fix emulated support of hexen2's CState syntax. 2023-04-17 03:58:21 +01:00
Shpoike
1ce399e969 Fix up some obscure builds. 2023-04-17 03:58:21 +01:00
Shpoike
8c8a4eaf0e Fix vid_reload+purecsqc killing the csqc. 2023-04-17 03:58:21 +01:00
Shpoike
cae062b142 Make updates menu searchable, make qi plugin a little more friendly. 2023-04-17 03:58:21 +01:00
Shpoike
226c1cf6b4 Fix recent console click quirks. 2023-04-17 03:58:21 +01:00
Shpoike
505061a8d2 Add deflate64 support, cos why not. 2023-04-17 03:58:21 +01:00
Shpoike
84035c8ae2 This seems more correct... 2023-04-17 03:58:21 +01:00
Shpoike
6f61af8ee9 Cvar description tweaks. 2023-04-17 03:58:21 +01:00
Shpoike
5ed4012a9b Fix OOM with obviously corrupt miptex lumps (eg: jvoxdm1.bsp). 2023-04-17 03:58:21 +01:00
Shpoike
527233154c Clients can now request the master to initiate an WebRTC/ICE connection with 'sv_public 1' servers. This is primarily for the browser port. Servers now report their srflx address via the status command (with fp, ready for secure copy+paste). 2023-04-17 03:58:21 +01:00
Shpoike
92be91f416 Prevent the user from selecting demoness when running base hexen2 to prevent a crash. Fixed visible menu markup too. 2023-04-17 03:58:21 +01:00
Shpoike
727aaec80c Fix console expansion when execing macros, to expand on line execution rather than the entire macro contents. 2023-04-17 03:58:21 +01:00
Shpoike
95d25558ef Move broker address to a cvar, so users can actually change it. 2023-04-17 03:58:21 +01:00
Shpoike
02a8a4fb76 Prevent our sctp implementation from corrupting its inbound messages. 2023-04-17 03:58:20 +01:00
Shpoike
2c8c9b615f Fix some bugs. 2023-04-17 03:58:20 +01:00
Shpoike
832ee6beef Prevent skyboxes from getting disabled on vid_reloads. 2023-04-17 03:58:20 +01:00
Shpoike
e104d6cf58 Try to fix purecsqc map loading issues. 2023-04-17 03:58:20 +01:00
Shpoike
f2d54f30d8 Update DTLS stuff, fixing certificate pinning bugs.
We should now support dtls1.2 under win10 (otherwise win7+8 is still stuck with 1.0).
SSQC can now query client certificate info via infokey - *cert_sha1 or *cert_dn
Server addresses can be postfixed with eg ip:port?fp=BASE64 to provide a fingerprint to verify the server without depending on cert authorities.
2023-04-17 03:58:20 +01:00
Shpoike
4d06516fb2 Keep menu cursors central to the item they're trying to indicate. 2023-04-17 03:58:20 +01:00
Shpoike
a5232cfecd Allow manifests to provide signatures for packages. Restart the menus when a package with a menu.dat is enabled. 2023-04-17 03:58:20 +01:00
Shpoike
c5f837d468 Rework some hashfunc_t stuff. 2023-04-17 03:58:20 +01:00
Shpoike
1fe478dfa1 Add basic support for ktx's 'mapname#modifier' ent stuff. 2023-04-17 03:58:20 +01:00
Shpoike
774fb93721 Work around some BS issue. 2023-04-17 03:58:20 +01:00
Shpoike
7caee8b453 Improve command arg completion. 2023-04-17 03:58:20 +01:00
Shpoike
e8fb813b4b Add sv_nqplayerphysics 2 setting, so both old+new qw protocols get the same prediction-disable hints. 2023-04-17 03:58:20 +01:00
Shpoike
22533dfab8 Fix up some minor portability issues. 2023-04-17 03:58:20 +01:00
Shpoike
91e0ec1f2b Show afk status on the scoreboard. Add some colours to the scoreboard to grade people's pings. 2023-04-17 03:58:20 +01:00
Shpoike
0d2a0c615a Eukara expressed an interest in loading fonts without any antialiasing. 2023-04-17 03:58:20 +01:00
Shpoike
73f9cddcdf Quick and dirty fix for broken 6dof/spiderpig cheats. 2023-04-17 03:58:20 +01:00
Shpoike
a70c84a2bc When models include two sets of texture coords, let the glsl actually access them. 2023-04-17 03:58:20 +01:00
Shpoike
d97fd1bfc9 Fix '+set tls_provider foo' not working properly. Fixes https://github.com/fte-team/fteqw/issues/162 2023-04-17 03:58:20 +01:00
Shpoike
f8962b6c47 Rework where connection_started is set to make sure its always set. Fixes https://github.com/fte-team/fteqw/issues/164 2023-04-17 03:58:20 +01:00
Shpoike
990066dea1 Add pm_bunnyfriction cvar to better mimic nq player physics with predictable QW physics. 2023-04-17 03:58:20 +01:00
Shpoike
45df6806c2 Load bumpmaps even if its just specular effects that are going to benefit. 2023-04-17 03:58:20 +01:00
Shpoike
354fbb2a85 Make blob shadows respond to gamecode a bit more naturally. 2023-04-17 03:58:20 +01:00
Shpoike
f54b9b8459 Fix up the web build's text+touch input a little. Make its webrtc cvars more consistent with desktop builds. 2023-04-17 03:58:20 +01:00
Shpoike
2d9ec83c20 Fix some build targets, fix csqc's setpause builtin. 2023-04-17 03:58:20 +01:00
Shpoike
540de79103 Fix vulkan crash on map end. 2023-04-17 03:58:20 +01:00
Shpoike
d9a334c694 Add halfrate shading to the vulkan renderer, where supported by headers+drivers. Fonts are exempt. 2023-04-17 03:58:20 +01:00
Shpoike
5786b43a7d Fix q3 when going into controls menu. 2023-04-17 03:58:20 +01:00
Shpoike
6a419833a8 Fix excessive reported gpu usage. 2023-04-17 03:58:20 +01:00
Shpoike
cba1a2a942 Update some third party library versions. 2023-04-17 03:58:20 +01:00
Shpoike
b095266070 Fix cmake-on-mac build errors. 2023-04-17 03:58:20 +01:00
Shpoike
07032bc216 Fix multiplayer menu breaking pak file names. 2023-04-17 03:58:20 +01:00
Shpoike
89ef66642e Fix mid-room skies in q2. 2023-04-17 03:58:19 +01:00
Shpoike
854fb60db8 Revert "Quake II: Set allow_skybox to 1 by default, as many maps (notable those in Mission Pack 2) use sky volumes to light the scenery within playable space."
This reverts commit ebbc6c0930.
2023-04-17 03:58:19 +01:00
177f09c21e
Enable -halflife launch option, tweak paths a little. 2023-04-16 18:34:39 -07:00
92229e769e
qclib: add sanity check for mixed usage of nonvirtual and virtual as it's currently unsupported. 2023-02-02 11:07:09 -08:00
Leo L. Schwab
1fda671b9a Joystick support fixes.
I did this because I wanted to fly around maps using a Spaceball
4000FLX, or any other 6DOF controller.  These fixes help it work.

Various fixes to joystick support:
  - joyaxiscallback() used strtol() to check to see if the supplied
    string was an integer, then didn't assign the parsed integer to
    the cvar.
  - Wrong multiplier for left/turnleft values.
  - Delete `axismap[]` from J_JoystickAxis().  It was causing problems,
    and smells like it was trying to do what the cvars
    joyadvaxis[xyzruv] are doing now.
  - Fix compiler error by adding case statements for:
	SDL_SENSOR_ACCEL_L
	SDL_SENSOR_ACCEL_R
	SDL_SENSOR_GYRO_L
	SDL_SENSOR_GYRO_R

New cvar: "joyonly".

"Joystick" axes are typically return-to-center affairs; their deflection
values are therefore reported as -MAX - MAX, with zero in the center.
"Game controllers" are similar, but also often have analog left and
right "triggers" which are reported as 0 - MAX, with zero at one end
(fully released to fully depressed).

Unfortunately, SDL will try its darndest to make a joystick look like a
"game controller."  It does this by reinterpreting certain of the axes
to report the range 0 - MAX, as if they were triggers.  This is not a
thing to do with 6DOF controllers, where all axes are return-to-center.
While it may be remotely possible to put together an SDL2 controller
mapping that reports -MAX - MAX on all axes, for me it was simpler to
hack on FTEQW.

Coupled with that is FTEQW's giving preference to "game controllers,"
i.e. if SDL_IsGameController() returns true, FTEQW will treat it as one.

"joyonly" is a boolean cvar.  If true, FTE will ignore "game
controllers" and treat everything as a joystick.  The default is false.
"joyonly" must be set at startup to be effective, when the controllers
are being enumerated by SDL.
2023-01-19 23:17:25 -08:00
ebbc6c0930
Quake II: Set allow_skybox to 1 by default, as many maps (notable those in Mission Pack 2) use sky volumes to light the scenery within playable space. 2023-01-15 15:04:18 -08:00
3adafe9326
Makefile: Bump ZLIBVER to 1.2.13. 2023-01-15 15:01:08 -08:00
Spoike
48576a59dc A bit of a code cleanup, change a couple of prints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6343 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:15:31 +00:00
Spoike
86453332af Auto value for sv_demo_write_csqc now writes the csprogs into mvds, to hopefully reduce playback issues. the lazy record commands should be favouring .mvd.gz at least.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6342 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:15:23 +00:00
Spoike
c7e9f8631c Try to support DP mods a bit better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6341 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:15:18 +00:00
Spoike
e257a9e231 Try to be a bit more verbose about why webrtc might be failing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6340 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:15:12 +00:00
Spoike
fcbfc90892 Make our mini http server report timestamps better, so wget's timestamping is happy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6338 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:14:57 +00:00
Spoike
b2df9b2b30 Try to avoid sigpipe errors from tcp connections.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6337 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:14:49 +00:00
Spoike
62622491f0 Make sure bad q2 layout strings won't go out of bounds. Add dev2 prints for bad layout string commands (there's probably lots of bad q2 mods out there, hence not dev1/unconditional).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6336 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:14:44 +00:00
Spoike
fb4531ea6c Attempt to improve touchscreen behaviours with onscreen buttons that appear upon touch events (and fade out). Long presses should close menus etc. Likely needs some more work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6335 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:14:38 +00:00
Spoike
d4d84aec9d Show at least one address for each socket we're listening on, even if its loopback, instead of nothing at all.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6334 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:14:26 +00:00
Spoike
bc842ee28b Make sure freecs etc do heartbeats despite not giving a poop about nq/dp.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6333 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:14:15 +00:00
Spoike
a003674c01 Fix vulkan renderer's rt spotlights (both shadows and spinning).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6332 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:14:09 +00:00
Spoike
c1bc6bbe23 Start game menu's map option is now a combo instead of a text field, to save on typing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6331 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:14:01 +00:00
Spoike
1ae6b239e8 If multiple updates come from inside the same .zip url, extract each one of them from a single download instead of downloading the exact same zip multiple times. This is mostly for DP mods that expect to need to download everything upfront.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6330 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:13:55 +00:00
Spoike
4dc4dd33e7 Our Q2 code is a little fragile. Give it its assumptions to avoid hideousness.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6329 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:13:50 +00:00
Spoike
1765f15059 Alt+tab was randomly registering as tab presses - explicitly ignore tab at the start of the input line so we don't end up with walls of console completion suggestions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6328 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:13:45 +00:00
Spoike
3369344387 Handle recursive redirects better, don't silently truncate redirects.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6327 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:13:39 +00:00
Spoike
268b28a25d Fix up the penalty system. stealth mutes are now actually stealthed properly, user bans no longer confuse removeip. Added stealthmute command for convienience.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6326 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:13:33 +00:00
Spoike
fb9f8c9cd8 Fixups for crashes triggered by xonotic, probably some other mods too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6325 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:13:28 +00:00
Spoike
6abd0f75bf ezquake clients were all being treated as version 0, instead of our version-dependant workarounds disabling when ezquake bugs got fixed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6324 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:13:22 +00:00
Spoike
c769e6fa01 Fix Q2 saved-game crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6323 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:13:17 +00:00
Spoike
ed63b7435e Make class parsing more c++-like, fix some issues with uninitialised variables not getting detected properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6322 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:13:12 +00:00
Spoike
6700dfd289 Fix _bump texture loading.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6321 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:13:05 +00:00
Spoike
407c4eca8b Rework gamepad menu bindings, should be more intuitive now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6320 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:12:59 +00:00
Spoike
1fb00b3721 Avoid the use of RETURN_CSTRING for cvar string values that might get cached by qc beyond the engine freeing the implied memory (crashes were reported by pjt/newby).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6319 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:12:46 +00:00
Spoike
503162aefe Add file uri support, requires a '-allowfileurl' commandline argument.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6318 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:12:39 +00:00
Spoike
cdcb3c3950 Add rogue's teamplay modes to the menu.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6317 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:12:31 +00:00
Spoike
9c47966653 Add -unsafefopen commandline argument to allow disabling the qc fopen sandboxing (like the original frik_file spec).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6316 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:12:26 +00:00
Spoike
2383c618ee Fix up some SDL issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6315 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:12:12 +00:00
Spoike
6307ae1303 add base64encode and base64decode builtins. Allow the second arg of registercommand builtin to specify a description for that command.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6314 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:12:04 +00:00
Spoike
c5d19c46ba Fix partial fakeshaft not always appearing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6313 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:11:57 +00:00
Spoike
aa789965bf Fix cl_maxfps's periodic fast-frame bug. Reduce latency in singleplayer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6312 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:11:50 +00:00
Spoike
cac4c91778 Be more verbose in the case of hardware errors, in case OMC has that issue again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6311 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:11:45 +00:00