Commit Graph

1552 Commits

Author SHA1 Message Date
Marco Cawthorne 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
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 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
Shpoike 0eeb410ce0 Support for ericw-tools' lightgrid stuff. 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 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 4894a3b77e Fix some obscure q3 issues. 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 e292e1bbfb Attempt to do a better job at internationaliation. 2023-08-12 13:59:55 +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
Xylemon 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
Fix a024a82b89 Remove NPFTE preprocessor stuff 2023-07-09 20:41:24 +02: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
Marco Cawthorne f4044af503
Fix compilation of the 'nocompat' build config. 2023-06-23 15:06:54 -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 eaf59671a4 Messing around with flatpak. 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 832ee6beef Prevent skyboxes from getting disabled on vid_reloads. 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 22533dfab8 Fix up some minor portability issues. 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 d9a334c694 Add halfrate shading to the vulkan renderer, where supported by headers+drivers. Fonts are exempt. 2023-04-17 03:58:20 +01: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 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 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 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
Spoike a0f2ffda90 Try to fix up some ICE quirks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6302 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-08-07 23:49:33 +00:00
Spoike 89fde9c5e4 Some more ICE polish.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6300 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:18:05 +00:00
Spoike 6941032cc7 Add r_showbatches command to debug builds. Shows a list of all draw calls for the next video frame.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6298 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:17:52 +00:00
Spoike 4fc23b4f4d Make the frametime graph a bit more pretty.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6297 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:17:45 +00:00
Spoike 77f5f7adc1 Fix a gl buffer handle leak.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6290 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:16:59 +00:00
Spoike 7e49962039 Fix up replacement texture names for sprite framegroups to better comply with what might be called a standard.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6288 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:16:48 +00:00
Spoike 52cede2e9f Fix possible out-of-bounds access (reported by qqshka).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6287 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:16:42 +00:00
Spoike 91ea3ed518 Change 'player minlight' rules from the singular player.mdl to any entity with a player's colourmap. This is to fix ktx's vwplayer.mdl not responding like players should. This may also slightly affect TF's sentries and telepads and stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6284 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:16:20 +00:00
Spoike d8364a4cc2 Clean up the q3 plugin a little.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6274 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-20 07:16:16 +00:00
Spoike f59283aa56 Try to work around an nvidia issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6256 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 18:00:37 +00:00
Spoike 08aedd4b5b Mouse4 now acts as a back button in our menus. Binds menu should now report system key names instead of guessed names (better non-qwerty support).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6244 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:59:01 +00:00
Spoike 9824304aa5 Make sure model fields are 0-filled, to avoid issues with models that are reloaded (eg when the user replaces them with a different type of model/etc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6238 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:58:21 +00:00
Eukara bc8895c5fa Fix compiles without RTLIGHT. Update config_wastes.h
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6235 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-04-23 20:10:18 +00:00
Eukara 34e9917d76 Fix lightmap corruption that happens after a while.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6234 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-04-20 15:14:22 +00:00
Spoike 7a8472ed6b Eukara complained about .fatness not working with hlmdl.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6225 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-04-06 19:23:57 +00:00
Spoike 73c05fe3b2 Fix up some stubs in the q3 plugin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6212 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-08 05:32:15 +00:00