Commit Graph

4799 Commits

Author SHA1 Message Date
Spoike c25e7908f0 fix PVSF_NOREMOVE bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5350 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-04 06:04:47 +00:00
Eukara 16abd453c8 rename this vile extension to actually represent what it means. shader to mat
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5349 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-02 13:35:23 +00:00
Spoike 2a3c667f09 fix bug reported by ciscon: do not crash when XDG_SESSION_TYPE is unset in linux's environment.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5348 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-02 09:01:51 +00:00
Eukara 8f664f2b2e Added get_path to m_native.
Fixed drawtextfield being affected by the previous draw* call colors


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5347 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-30 04:05:48 +00:00
Spoike f464d0fef3 misc windows-related fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5346 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-28 05:41:39 +00:00
Eukara fea0ab8014 tiny fix for gcc 5.5.0 & glx
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5345 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-28 01:40:47 +00:00
Spoike 5b4756f3d9 Lazy GLSL loading, for faster load times.
Fixed some xim issues, for proper keyboard input under x11.
Cmake project can now work for cross compiling win32 targets.
Some other fun-but-pointless stuff.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5344 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-27 16:48:19 +00:00
Spoike 79689474b6 Calculate voip levels for other clients
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5343 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-22 03:02:36 +00:00
Spoike 36eb350dc9 I screwed up The Wastes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5342 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-21 11:49:21 +00:00
Eukara d547047b7f Made TW's config compatible with the latest rev.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5341 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-20 01:04:32 +00:00
Spoike 73d836aaee Fix te_gunshot with only one arg erroring non-fte qw clients.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5340 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-19 08:47:26 +00:00
Spoike cb0f6fa6aa Fix some compile issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5339 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-19 08:06:07 +00:00
Spoike 2ee8387644 Many general cleaups and warning fixes.
Console code no longer makes assumptions about con_main
Screenshots rework, for screenshot_360, but also some other cleanups.
Fixed an issue with beginpolygon (finally).
Added per-rtlight style strings.
Added cvar to control whether ents will be culled by fog.
Added define to disable IPLOG, etc.
Added r_editlights cvar and related commands, for whenever csaddon isn't available.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5338 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-19 06:37:25 +00:00
Eukara 398c1afaf9 Fix crash on vid_reload using native menus.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5337 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-11 02:53:04 +00:00
Eukara 346e366dfa Updated config and native menu implementation
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5336 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-10 09:42:01 +00:00
Eukara 4cabdb80c5 Fixed r_showshaders crashing on a surface without shadername.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5335 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-10 08:26:51 +00:00
Spoike 2d539675cf Ignore spawnflags when CheckSpawn is defined, so that the mod can do it instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5334 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-08 22:27:27 +00:00
Spoike 6d4bd2eb61 Fix possible double-free inside the image loader
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5333 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-06 19:42:05 +00:00
Spoike 9e98e44500 Try to fix some cubemap issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5332 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-04 22:22:18 +00:00
Spoike e31a485e98 Try to fix mvd playback issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5331 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-04 08:38:27 +00:00
Spoike eb56cc76df Patch from GoaLitiuM to fix some d3d11 stability/alt-tabbing issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5330 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-01 15:40:50 +00:00
Spoike 9a146f448f Don't write svc_playerinfo to a demo that's using supports replacementdeltas. Stuff like that can be confusing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5329 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-27 16:59:41 +00:00
Spoike c5a89bd5d6 Revert weird windows bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5328 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-27 08:20:44 +00:00
Spoike b024a19fc8 I forgot about d3d... again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5327 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-27 05:34:08 +00:00
Spoike 45b4659de6 Fix vulkan lag issue with vk_busywait. Separate lightmap formats, to fix deluxemapping-with-hdr-lightmaps. Fix decals lingering on removed bmodels.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5326 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-27 04:32:18 +00:00
Spoike a3f9fe886e Remove debug spam
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5325 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-26 16:51:24 +00:00
Spoike 8a3cc3b4b0 Be more generous with decal impacts spawned away from the wall that they're meant to be spawned on.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5324 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-26 16:50:06 +00:00
Spoike 2bedc32ff9 Misc tweaks.
Fix potentially serious crash with sprites+csqc tracelines.
Reworked fallback mouse cursor.
Fix decals on q3 bmodels.
Double-click to select a work to copy is now implemented.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5323 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-23 07:09:06 +00:00
Spoike 4ae635bc7b Some misc fixes, mostly win32/msvc focused.
Rename sound flags to include their valid scope.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5322 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-17 00:43:04 +00:00
Spoike 487201eeec properlyish distinguish between primary+clipboard x11 selections. Fix possible font crash. Fix possible QC weirdness with uri_get callbacks unexpectedly stomping globals.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5321 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-14 16:16:34 +00:00
Eukara 2cdbe035df Updated The Wastes' config to use world grid optimisation
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5320 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-13 19:46:33 +00:00
Spoike 39e1f24511 Added trace_networkentity global to csqc. Try to fix some misc bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5319 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-13 12:19:58 +00:00
Spoike b68a6218e8 Fix some stringop-truncation warnings. Enable static freetype in config_fteqw.h. Fix wastes build.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5318 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-13 06:20:49 +00:00
Spoike 49ae9573b8 reworked clipboard handling to avoid stalls when pasting in linux.
made a load of functions static (just code style stuff).
downloads menu now deselects any autoselected items, to avoid confusion.
csqc traces can now hit networked ents. I probably need to make some more tweaks to this.
arg completion for flocate+dir+modelviewer commands.
fix autosave not cycling saves when using the vanilla save format.
fix patch collisions with q3bsp submodels.
md3 now supports framegroups too.
added some more buttons to make xonotic happy.
gl_polyblend 2 shows the screen flashes at the edge of the screen instead of the middle.
colormod no longer applies to fullbrights (matching DP). this fixes an issue with xonotic.
fix uninitialised local that was causing issues with bones used as tags.
rewrote qc search_* to use a dynamic array instead of a linked list. this should make it faster to read when there's many handles open at a time.
fte's saved games can now save buffers properly.
fix issue with raster freetype fonts (read: coloured emoji).
initial support for struct-based classes (instead of entity-based classes). still has issues.
execing configs in untrusted packages will no longer run out of sync (fixing a number of afterquake issues).
fix stupid bug with the te_gunshot/etc builtins.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5317 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-11 10:31:23 +00:00
Spoike 8662827af0 Fix win-specific code too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5316 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-30 04:17:32 +00:00
Spoike 427afd5828 That define apparently doesn't exist in all versions of glext.h
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5315 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-30 03:38:26 +00:00
Spoike fa523c3e53 fix today's no-alpha bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5314 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-30 01:42:00 +00:00
Spoike 46d99e8186 add cl_bobmodel.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5313 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-30 01:41:25 +00:00
Spoike 8279a76675 Attempt to optimise texture memory by loading greyscale tgas as 8bit. Extend serverbrowser api for xonotic. Be more aggressive with loading hardware cursor images. Fix software banding with compressed textures. Rework autosprites to cope with atlased texcoords (note: q3 would discard the texcoords).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5312 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-29 17:31:58 +00:00
Spoike caa5be6267 Fix qcc crash from stray continue/break/case. Fix warnings from logicops. Recolour error/warning text output on linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5311 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-29 03:40:50 +00:00
Spoike fa9694a255 Support framegroup files with darkplaces models, for some reason.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5310 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-24 08:15:55 +00:00
Spoike 5159a801ff lerpfrac3 fixes. unix sockets for the luls (disabled). some misc tweaks for xonotic.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5309 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-23 19:35:24 +00:00
Spoike fe885985ec some xonotic fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5308 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-19 02:49:08 +00:00
Spoike fee84965c1 Fix a stupid logic bug that was dropping stores by folding double nots.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5307 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-18 04:35:33 +00:00
Spoike 44850dec4e Try to fix some compile errors with xonotic.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5306 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-18 02:05:35 +00:00
Eukara c822482854 TW 1.2 Config update
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5305 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-05 22:34:47 +00:00
Spoike 36debaea4d git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5304 fc73d0e0-1445-4013-8a0c-d673dee63da5 2018-09-01 06:05:51 +00:00
Spoike 5b7a426afe Added cl_autodemo cvar to automatically record games. 1 records multiview demos where possible, -1 strictly records singleview demos.
Enclosed mvd recording in ifdefs, so it can be disabled at compile-time for any mods that don't want to have to deal with it.
Removed the recorded players thing.
Allow csqc to use EF_FULLBRIGHT.
Fix cl_pure to attempt to actually download missing packages.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5303 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-01 04:18:08 +00:00
Spoike bf30886163 Fix 'fun' chars getting stripped from player names.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5302 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-26 16:27:54 +00:00
Spoike b6847664a7 Some compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5301 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-25 02:53:45 +00:00
Spoike be373b88b9 Fix some annoying stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5300 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-24 00:35:16 +00:00
Spoike b73979fa84 cmake: Attempt to avoid using libraries that might not be installed, like x11
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5299 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-23 07:04:55 +00:00
Spoike 0980455e10 Fix saved games a little. Should no longer cause issues with hexen2,ad,etc.
Fix black lightmaps in h2mp.
Fix missing tinyfont in hexen2.
Added the drop part of drag+drop to x11.
Hopefully fixed x11 clipboard issues.
Hidden some annoying developer prints under developer 2.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5298 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-23 06:03:31 +00:00
Spoike 3fb88f2ec2 More preliminary support for patches. Loading+Saving+Display of control points will now work. No QC interactions yet.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5297 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-21 19:06:41 +00:00
Spoike ffd726eb50 Provide a way to disable various (linux-compatible) sound drivers, in case we need to hunt for dodgy drivers on dodgy distros.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5296 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-21 18:57:51 +00:00
Spoike 5886f59d76 Added rcon password hashing to prevent them from being sent as plain-text.
Commands+results are still plain-text so ideally use dtls/tls/wss/ssh/https for rcon instead, but this should be compatible with ezquake+mvdsv.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5295 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-21 18:52:25 +00:00
Spoike f80c769ebe Don't set lastruntime except in QW. Its just spammy in saved games. Its not a useful field.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5294 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-21 18:49:27 +00:00
Spoike 5b2d25d36f Fix prior dodgy commit to this file.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5293 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-21 18:48:26 +00:00
Spoike a805cb6534 I was trying to be lazy, making bad assumptions about pointer arithmatic. This should fix certain multiplayer setups.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5292 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-21 18:47:42 +00:00
Spoike df8bd3ad8c Fix type parsing bug with eg: ("")
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5291 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-18 13:33:50 +00:00
Spoike a7b696ef8c Added r_graphics cvar, so that you can finally turn graphics off/on like modern games (yay simplicity)... Doing so results in ascii-style rendering, just because.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5290 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-13 06:27:29 +00:00
Spoike c97fa33879 Fix bug with previous commit.
Fix loading legacy saved games.
Hide the misaligned lumps warning under the developer cvar.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5289 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-09 15:50:07 +00:00
Spoike c33c8a97a4 Moved infoblobs extension to a cvar.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5288 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-09 06:21:39 +00:00
Spoike 98b71860ed Fix some warnings. Hopefully fix bullet plugin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5287 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-04 19:00:19 +00:00
Spoike aede46c776 qclib: Sort QC function entries, in an attempt to support breakpoints where functions have been reordered for one reason or another.
fteqcc: fix some statement-line numbers that were buggy. This fixes breakpoints not working with recent versions of fteqcc.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5286 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-04 15:12:51 +00:00
Spoike 0b2be8f4ba PACKAGEMANAGER is now a compiletime feature in its own right, and can be enabled separately from WEBCLIENT (although won't be able to download without WEBCLIENT).
SAVEDGAMES is now a new compiletime feature. Deathmatch/dedicated servers can freely disable it.
menuqc now makes sure that any fields it needs are actually present.
developer 1 should now report glsl line numbers a bit more reliably.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5284 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-04 07:05:20 +00:00
Spoike 61c0b9f83b Fix recent class bug, as well as the 'no spinny model' bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5283 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-03 11:08:04 +00:00
Eukara d7aee05d47 Fixed typo and changed the envmap paths for now, as screenshot_cubemap cannot save outside /textures
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5282 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-02 20:10:43 +00:00
Eukara a1c252ed54 Updated TW's config to include static freetype linking on Windows etc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5281 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-02 20:08:37 +00:00
Eukara 14c48b5385 Added `stopmusic` because fans of 'stopsound' might appreciate it
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5280 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-08-02 20:00:26 +00:00
Spoike d5cbafbed8 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5279 fc73d0e0-1445-4013-8a0c-d673dee63da5 2018-07-24 20:46:16 +00:00
Spoike a7a050ffe2 attempt to play a greater range of old demos.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5278 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-07-24 20:42:44 +00:00
Spoike 8b03acacbe added env_cubemap support. doesn't currently render its own cubemaps yet.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5277 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-07-24 13:59:42 +00:00
Spoike bb68e5c5cd git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5276 fc73d0e0-1445-4013-8a0c-d673dee63da5 2018-07-22 12:55:45 +00:00
Spoike f45eb4580e compile fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5275 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-07-22 12:53:36 +00:00
Spoike 0fee3a4aea Add ortho lights (still has serious issues that make them unusable on regular maps).
First real attempt at lit water.
Parsing rtlights is now aware of spotlights.
Default cl_yieldcpu to 1, to save cpu for anyone who sets cl_maxfps lower. Added to menus.
presets now include view angle clamping - maps made for quakespasm REQUIRE full pitch angles despite it otherwise being considered a cheat or glitchy (on servers that try to block the cheat).
fix r_fullbrightSkins>=1 issue.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5274 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-07-22 11:49:37 +00:00
Spoike 1da1414e48 fix for class members shadowing entity fields
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5273 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-07-18 19:04:52 +00:00
Spoike d474f48fd1 rework class fields a little - fields now map onto a single underlaying array symbol, which avoids the need for differently sized underlaying arrays per member that were then conflicting between classes.
tweak the decompiler to deal with fte-optimised progs a little better.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5272 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-07-18 13:02:03 +00:00
Spoike a450035e80 added scoped enum values.
enum[flags] [class] NAME : TYPE {foo = (TYPE)val, bar=(TYPE)er}; NAME sym = NAME::foo; if (sym == sym.bar) etc;
TYPE can be int or float for enumflags, while non-flags enums can be any type that be initialised comfortably (supposedly) including strings and vectors.
If the class keyword is used, then expect errors if you store other values into the enum.
switch statements should give warnings if a value has no equal case.
also fix some compiler warnings.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5271 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-07-14 18:50:20 +00:00
Spoike d1d0d86fea Rewrote infostrings. Now using infobuffers, which allows for the use of arbitrary blobs, except not using the protocol extension yet in case it needs to be fixed.
Fix sound source issues in Q3.
Fix q2 air acceleration/prediction omission.
Don't change console completion while typing (while that option is still possible).
Shift+tab now cycles completion backwards (now ctrl+shift for cycle subconsoles).
Allow a few things to ignore sv_pure - including csprogs files (which is useful for all the mods that come with the csprogs.dat distributed separately).
clamp pitch values to the range documented by openal, to hopefully avoid error spam.
add some colour coding to the text editor when shader files are being edited/viewed.
Changed how overbrights are clamped on q3bsp.
Added portalfboscale for explicit texture scales on portal/refract/reflect fbos.
qc decompiler can now at least attempt to decompile qtest's qc.
fteqccgui can now be pointed at a .pak file, and decompile the progs.dat inside.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5269 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-07-05 16:21:44 +00:00
Eukara 34029c2434 Update wastes icon/config
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5268 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-06-21 13:14:53 +00:00
Spoike b7784f41d9 Fix potentially serious vulkan performance issue.
Stripped obsolete vk_nv_dedicated_allocation extension.
Misc fixes for warnings.
Linux now defaults to using ~/.local/share/fte instead of ~/.fte for greater consistency.
Other misc linux tweaks.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5267 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-06-18 16:44:29 +00:00
Eukara 6766b8af55 FreeCS icon added.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5266 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-06-10 00:38:39 +00:00
Eukara c22c34a74d Updated FreeCS' config
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5265 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-06-10 00:37:57 +00:00
Eukara 0c85db76ce The Wastes config changes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5264 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-06-08 10:02:21 +00:00
Spoike 20be3f8161 fix a couple of quake2 issues.
rework the main menu slightly to promote the qi plugin a little more.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5262 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-06-06 09:09:14 +00:00
Spoike 4269bde59b Verify sprintf argument formats, to prevent people complaining about %d not accepting ints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5261 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-06-06 08:27:53 +00:00
Eukara 37b3eb0566 Added menu-native define
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5260 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-06-05 23:55:32 +00:00
Spoike df3e8fa719 Some bugfixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5259 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-06-03 09:46:41 +00:00
Spoike ac471dd03e update native-menu things.
attempt to deal with misaligned bsp models.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5258 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-06-02 08:55:57 +00:00
Spoike b1b5fcf4fb fix some warnings and a possible off-by-one error with reading scintilla text.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5257 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-05-28 21:09:15 +00:00
Spoike 1d655322d0 Fix a couple of warnings
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5256 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-05-28 10:23:27 +00:00
Spoike 60c8797d25 Try to fix frametime issues with TW.
Use eukara's icon in x11, matching the windows icon.
Use the extra main-menu options even when there's no menufont available.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5255 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-05-28 10:12:10 +00:00
Spoike 5e937bcf48 Eukara wants native-code custom menus. He's weird.
Try to clean up the frametime global.
fix some quirks with r_dynamic -1
Added scr_fov_mode cvar to control whether the fov is defined relative to horizontal, vertical, or guessed.
fix a few fteqcc bugs
tab completion for the gamedir command.
fix the savegame_legacy command. it wasn't entirely compatible.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5254 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-05-21 13:47:53 +00:00
Spoike 6ee709e6d7 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5253 fc73d0e0-1445-4013-8a0c-d673dee63da5 2018-05-19 05:11:09 +00:00
Spoike cf899af34a compile fixes for openbsd+freebsd
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5252 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-05-19 05:07:30 +00:00
Spoike 8c4d39268e added demo_nudge command.
attempt to fix an issue with bc formats being rejected by d3d if they're not a multiple of 4.
added doreset argument to refreshhostcache builtin, for mods to forget all servers when rescanning.
stop fteqcc from reporting uninitialised locals etc inside the wrong file.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5251 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-05-06 16:09:07 +00:00
Spoike 23afe95b70 Added cvarname completion for set+seta cvars.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5250 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-05-06 15:55:32 +00:00
Spoike 5c459e4eca fix some warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5249 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-04-27 17:11:14 +00:00
Spoike fdd903e0a3 win: emulate gamepad thumb axis as buttons.
keys: add some extra key names for compat with DP+QS (primarily gamepad buttons).
keys: fix a few keys getting mistranslated between engine and qc scancodes.
engine menus: remove 16bpp from the video options menu on win8+, as win8 no longer supports anything but rgbx8.
pmove: coord size and rounding is now part of the pmove code itself. this fixes truncation issues.
r_clutter_density: fix crash from clutter comprising of boneless iqms.
gl: added cvars to disable immutable buffers or textures. hopefully these might be usable to work around the issue reported on various geforce 1080s
wav: convert ieee wav files to 16bit on load, in case someone tries giving us one of these.
vid_srgb: this cvar now uses -1 for the former gamma-only setting.
r_viewmodel_quake: new cvar (name comes from quakespasm) that can be used to disable the weird movement of the viewmodel when pitching up or down.
nquake: try to block nquake's frogbot's autoexec.cfg, as I keep getting complaints about it fucking over singleplayer games.
fs: added -netquake commandline argument that disables the use of the qw/ gamedir.
fog: disabled fog on aky surfaces, as it was bugging out in The Wastes.
vid: fix some vid_restart/vid_reload issues (which got much worse recently in my attempt to fix a different crash)
routing: first attempt at engine-side routing. feature is currently disabled.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5248 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-04-27 16:40:50 +00:00