Shpoike
9c96ab9b31
Add the n64 texinfo flags from the q2 remaster.
2024-07-14 19:58:24 +01:00
Shpoike
f4330d765d
Clean up some buffers that were never used.
2024-07-14 19:58:24 +01:00
Shpoike
10402a5f1c
Support for Q2E's variation of md5s.
2024-07-14 19:58:24 +01:00
Shpoike
969134d9fd
Add support for Q2E's lan networking layer (the annoying lobby bit).
...
This is separate from protocol 2023 stuff.
2024-07-14 19:58:24 +01:00
Shpoike
3357338ab7
win: Make sure sys_clockprecision gets applied at startup, which should help improve emulated system timer precision.
2024-07-14 19:58:24 +01:00
Shpoike
aa43bc40f7
Fix the issue with needing double clicks to interact with the engine's menus.
2024-07-14 19:58:24 +01:00
Shpoike
ed06967318
Support for q2pro's dlserver= stuff.
2024-07-14 19:58:24 +01:00
Shpoike
4f047a2214
Sound channels should match actual channels, rather than matching the weird remapping done for the qw-specific legacy sound variation that packed the reliable flag in the middle of channels.
2024-07-14 19:58:24 +01:00
Shpoike
f3a4005c71
Allow for lit water on q2bsp.
2024-07-14 19:58:24 +01:00
Shpoike
345a0978c6
Fix rtlights with decoupled lightmaps.
2024-07-14 19:58:24 +01:00
Shpoike
330cbcdb20
Try to fix up some manifest quirks...
2024-07-14 19:58:24 +01:00
Shpoike
b0b4725119
Fix up PACKAGE_DOOMWAD
2024-07-14 19:58:23 +01:00
Shpoike
99569251a8
Don't make assumptions about framecounts in angled sprites.
2024-07-14 19:58:23 +01:00
Shpoike
88514bda4f
Add support for the 'qbsim' variant of q2bsp.
2024-07-14 19:58:23 +01:00
Daniel Svensson
1f9f3635f0
Add support for $loc_name_mh in teamplay messages. ( #251 )
2024-04-06 12:19:16 -07:00
RandomBrushes
0630ea571e
RoQ decoder: Work on RGBA-data interenally instead of YUV420-data ( #250 )
...
* RoQ decoder: Work on RGBA-data interenally instead of YUV420-data
This fixes color-smearing artifacts on movement (caused by uneven motion vectors not being correctly applicable on half-resolution UV-buffers) and makes RoQ-video directly uploadable as texture.
YUV-to-RGB-conversion is now done only when receiving new codebooks in the RoQ stream, which is a lot less data to be RGB-converted per-frame.
* RoQ decoder: C89-compliant variable declarations
* RoQ decoder: more consistent indentation
2024-04-06 12:16:24 -07:00
Daniel Svensson
b7963e6241
Scoreboard enhancements ( #246 )
...
* Hide scoreboard stats for specs without score.
* Hide centerprint when showing scores.
---------
Co-authored-by: Daniel Svensson <dvensson@gmail.com>
2024-04-05 16:09:34 -07:00
57e9276670
Route_Process: Respect the filter (denylinkflags) ( #236 )
...
Originally submitted by CYBERDEViL, only made style changes to fit in with the rest.
2024-03-08 11:45:50 -08:00
1c5e82bec7
Handle masked textures from post-release Half-Life MDL files. ( #243 )
...
Half-Life models did not have these flags, but games/mods starting in 2003 and later (Day of Defeat, Condition Zero etc.) use these for plants, trees, cars and anything else desiring masked textures.
2024-03-08 11:45:21 -08:00
76e4258ad3
Use zlib fossils directory for permalinked releases of zlib. ( #244 )
2024-03-08 11:44:06 -08:00
Daniel Svensson
3672234c24
Pass origin point to CM_BoxLeafnums.
...
Used to pass uninitialized mins and maxs.
Renames p to point for readability.
2023-12-25 11:07:30 +01:00
Daniel Svensson
bdb5df93a9
No need to NULL check statically declared array entries.
2023-12-25 11:07:30 +01:00
Daniel Svensson
c7eb4fb3b0
keydown is a bitmask, not a qboolean.
2023-12-25 11:07:30 +01:00
Daniel Svensson
21d3080fbe
Avoid dangling &m pointer warning in BE_GenTempMeshVBO.
...
meshes and meshcount are always updated after the function call, so the assignments had no effect.
Also make the function void as it always returns true.
2023-12-25 11:07:30 +01:00
Daniel Svensson
c95a739208
Match Master_SetSortField decl with its implementation.
...
Second parameter is a bit field, not a boolean.
2023-12-25 11:07:30 +01:00
Daniel Svensson
a4cc899989
Move variable decl to top of function as required by compiler flags.
2023-12-25 11:07:30 +01:00
Daniel Svensson
c9687bfd7b
Use float[3] for MSG_ReadPos and MSG_WriteDir.
...
vec3_t is not available in header, but float[3] matches better than float*.
2023-12-25 11:07:30 +01:00
Daniel Svensson
9d6f5eb9cb
Missing braces in SSL_LoadPrivateCert.
...
Harmless as the NULL vars were set to NULL again, but ugly.
2023-12-25 11:07:30 +01:00
Daniel Svensson
771500d9f8
Incorrect surf_styles param size for LightPlane.
...
Most callee's already used MAXCPULIGHTMAPS as size, which the function expects.
2023-12-25 11:07:30 +01:00
Daniel Svensson
435a020cb8
Don't purge tracker icons. ( #233 )
2023-12-18 10:26:55 -08:00
eb6b127d9c
Updated library zlib to 1.3 in Makefile
2023-09-19 22:03:44 -07:00
Seth Rader
510f50789c
Don't warn on float self-comparisons ( #213 )
...
* Don't warn on float self-comparisons
* Don't do redundant type check
2023-08-22 18:52:03 -07:00
Shpoike
0eeb410ce0
Support for ericw-tools' lightgrid stuff.
2023-08-12 14:04:01 +01:00
Shpoike
e907f6adf0
Be a bit more verbose about errors.
2023-08-12 14:04:01 +01:00
Shpoike
dbb9aa329a
Be more agressive about using our ffmpeg plugin instead of it just failing outright.
2023-08-12 14:04:01 +01:00
Shpoike
eb6490aa43
Add DECOUPLED_LM to our q2bsp support too, and fix up its FACENORMALS too.
2023-08-12 14:04:01 +01:00
Shpoike
11a5b27689
NQ: Try to improve compat with proxies/port-forwarding and proquake's numeric-only passwords.
2023-08-12 14:04:01 +01:00
Shpoike
bb9f7eb51a
Add r_nolerp_list (matching QS) for people who insist on breaking lerping on eg wall torches. Also add a dupe cvar name to provide compat with QS's r_noshadow_list.
2023-08-12 14:04:01 +01:00
Shpoike
5dba16de0d
Fix up some issues with drawpic(HTTPURL)
2023-08-12 14:04:01 +01:00
Shpoike
0484a48fad
The text editor was kinda annoying in trying to show qc variables when editing configs etc.
2023-08-12 14:04:01 +01:00
Shpoike
f4602d3ec7
Add in_skipplayerone cvar (matching QE).
2023-08-12 14:04:01 +01:00
Shpoike
75166b0815
Fix up an __int64 networking issue. allow qc's sprintf builtin to print them ('q' modifier, also works for doubles when paired with the 'float' modifier as appropriate).
2023-08-12 14:04:01 +01:00
Shpoike
e48e9c67ad
Add support for the DECOUPLED_LM bspx lump.
2023-08-12 14:04:01 +01:00
Shpoike
6fc3d57c76
Finally added support for ericw-tools' FACENORMALS bspx lump.
2023-08-12 14:04:01 +01:00
Shpoike
b5705e4d7e
Try to fix up the flatpak build's handling of fmf files.
2023-08-12 14:04:01 +01:00
Shpoike
8066f712e0
Q2 server browser was failing to list any servers.
2023-08-12 14:04:01 +01:00
Shpoike
d59c63f545
Provide a 'placement-spawn' feature, so mods don't need to hardcode spawnfunc_ prefixes in their code.
2023-08-12 14:04:01 +01:00
Shpoike
e8b36da22f
allow eg poke_ssqc 5.touch=0
2023-08-12 14:04:01 +01:00
Shpoike
04690eb8ee
Tiny menu tweak, hide video modes lower than the mod's stated minsize.
2023-08-12 14:04:01 +01:00
Shpoike
0fb35f3d01
Fix stupid bug resulting in crashes when loading saved games, reported by TwinBeast.
2023-08-12 14:04:01 +01:00
Shpoike
4894a3b77e
Fix some obscure q3 issues.
2023-08-12 13:59:55 +01:00
Shpoike
dab68fd136
Fixup the lua code a bit.
2023-08-12 13:59:55 +01:00
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