Commit Graph

5358 Commits

Author SHA1 Message Date
Spoike be0c0b1821 Small defs cleanup.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5897 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:45:14 +00:00
Spoike 19073fe2a5 Prevent ftenq from overflowing its svc_serverdata quite so easily.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5896 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:44:34 +00:00
Spoike eb4af059cb Make the presets menu behave better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5895 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:44:28 +00:00
Spoike 6ff548cc64 -Ounreferenced wasn't doing anything (as it would break spawn functions). stop claiming it does stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5894 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:44:22 +00:00
Spoike aa4cfe91b9 Fix oriented sprites - quake draws them backwards.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5893 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:44:14 +00:00
Spoike 04689373a3 Add disabled-by-default openssl plugin. Try to fix up ffmpeg build rules.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5892 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:44:05 +00:00
Spoike d4714cab52 Rework tls/dtls stuff into a more formal crypto interface instead of lots of ifdefs all over the place.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5891 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:43:57 +00:00
Spoike 1057453158 Fix softwarebanding. Fix problem with map textures with a leading #.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5890 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:43:45 +00:00
Spoike d15d82e1d1 Fix possible crash when using -nosound arg.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5889 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:43:40 +00:00
Spoike b3c469f106 Fix out-of-bounds read in COM_DefaultExtension
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5887 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:36:24 +00:00
Eukara 9194f5cddf Fix rendering of turb surfaces on HLBSP
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5886 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-18 20:37:57 +00:00
Spoike 868f13cb29 Fix for FTE_CONFIG=wastes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5885 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-02 15:29:56 +00:00
Spoike 3a97a75ab2 Small code cleanup in the ftemaster code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5884 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-02 15:29:51 +00:00
Spoike c035801161 Add support for maps/foo.bsp.xz too, for better compression.
Seeking within files inside zips is now slightly more efficient.
Fix issue with servers decompressing .gz before download...

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5883 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-02 15:29:44 +00:00
Spoike 5ceb4730ad COM_FileBase should strip .ext.gz instead of leaving the .ext there - the .gz is handled by our filesystem so we try to pretend that its not there. This fixes loading textures/foo/bar.png files from inside foo.bsp.gz files.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5882 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-01 17:11:13 +00:00
Spoike c76735b1fc Strip support for VK_NV_glsl_shader. nvidia drivers no longer support it anyway, and it was never recommended.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5881 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-01 17:11:07 +00:00
Spoike d85cdd4c50 my map package tweak was defective. whoops. try again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5880 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-01 10:56:08 +00:00
Spoike c8ca5f09e1 Make my little standalone http server report its own public address instead of needing to visit random websites.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5879 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-01 09:23:49 +00:00
Spoike 84d6ef3e45 Take extra measures to ensure that zip-in-bsp content is actually used.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5878 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-01 09:23:42 +00:00
Eukara 286159d191 pass -DMULTITHREAD to GL_CFLAGS on BSD
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5877 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-01 08:33:06 +00:00
Spoike 1979150076 Preliminary attempt at loading zips concatenated onto the end of bsp files, instead of having servers load 5000+ different pk3s up front.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5876 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-28 07:07:48 +00:00
Spoike b4092ab903 Remove some array length limitations with package lists.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5875 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-27 11:36:01 +00:00
Spoike 148de2e082 Fix qcc crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5874 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-27 11:34:28 +00:00
Spoike 08b5b09fd3 Add -Fdumplocalisation arg to fteqcc to dump localisation stuff (in part to try to encourage more people to use this stuff).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5873 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-27 11:34:22 +00:00
Spoike 4d351b60f3 Add SV_PerformSave/SV_PerformLoad entrypoints for QC-controlled saved games, at Eukara's request.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5872 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-27 11:34:15 +00:00
Spoike 883207989e Always rename aliases that conflict with commands, because they're utterly pointless otherwise.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5871 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-27 11:34:07 +00:00
Spoike 1e2b0cdb18 Some ktx fixups.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5870 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-27 11:34:01 +00:00
Spoike 2657dce9c8 Fix a couple of crashy issues that were possible with the updates menu.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5869 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-27 11:33:55 +00:00
Spoike fb54cc140b Lit sprites should not be additive. Make gl_blendsprites 2 replicate that tenebrae behaviour instead. Allow colormod to oversaturate sprites.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5868 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-27 11:33:48 +00:00
Spoike ff6c438d89 Try to handle qc execution warnings a little better, with less undefined behaviour.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5867 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-27 11:33:26 +00:00
Spoike 100850ee93 Apparently I got those ranges backwards.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5866 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-20 15:35:32 +00:00
Spoike e6c9a979c7 Some obituaries were not getting coloured, others could not be linked. Also underline console links on mouseover to encourage users into realising that they can actually be clicked.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5865 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-20 15:35:26 +00:00
Spoike f73e1b7ffc Fix up our new png bug. Attempt to save a little memory with greyscale pngs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5864 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-20 12:29:31 +00:00
Spoike fcbbfc223d Add colourmap support for hlmdls.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5863 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-20 12:29:25 +00:00
Spoike a9897b7d4e Make multicast respond to sv_nopvs too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5862 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-19 04:50:06 +00:00
Spoike 9af3e9b307 Fix small bug where the TF2.8 intro demo didn't play its music.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5861 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-19 04:49:58 +00:00
Spoike e789d4400b Hack around the qc code to restore its jump sound when using autobunny.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5860 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-19 04:49:52 +00:00
Spoike 2b2e7c76c4 Make FTE slightly more likely to work on gles<3 when configured for 32bit indexes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5859 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-19 04:49:33 +00:00
Spoike d5beed038f Skinobjects now attempt to cache qwskins. This can be used as a precache for fortressone.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5858 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-19 04:49:24 +00:00
Spoike 8023ceadc8 Add r_glsl_precache cvar to force all glsl permutations to compile at startup. This can be slow on some drivers due to all the permutations involved, but probably handy for debugging, or for people worried about stutters.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5857 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-19 04:49:15 +00:00
Spoike 01d1ca73c1 imgtool now exports pngs as 8bit when appropriate, and imports them again without losing fullbright info.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5856 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-19 04:49:03 +00:00
Spoike 466dac47f4 Move connect's dns lookup to a thread. Handle multiple results (we can finally connect to ipv6-only 'localhost').
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5855 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-19 04:48:57 +00:00
Spoike 4507c7c8b4 Don't bother trying to use a couple of SDL pixel formats. Too paranoid.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5854 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-13 10:17:35 +00:00
Spoike cdbf3614a3 Small tweak to temporalscene cache to adhere to r_novis. Change sort order of water shaders when refract_fbo isn't active, to ensure the refraction scene is actually drawn before its read.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5853 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-13 10:17:27 +00:00
Spoike f35928f4fd OpenXR stuff should be a little more usable now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5850 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:02:49 +00:00
Spoike 13d524a30b Some menu reorganisation suggested by Qmaster.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5849 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:02:31 +00:00
Spoike 5e38a007c7 Switch to poll instead of select, to avoid crashes from select's arbitrary fd limit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5848 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:02:23 +00:00
Spoike a13e5cfbcf Fix stupid signed byte indexing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5847 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:02:15 +00:00
Spoike 1f6f0979bc FTEQCC was having issues with initialising variables from other constants when using -Fautoproto.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5846 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:02:09 +00:00
Spoike 90597c9fbb Add date+time info to fte config files, to thwart people claiming that fte doesn't _save_ their configs when its some quake.rc or autoexec.cfg stomping over things afterwards. Might also be nice to have for people that copy stuff around without saving them that often.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5845 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:02:01 +00:00
Spoike c3038db058 Let FTE know about git revision info, for people that refuse to use svn...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5844 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:01:50 +00:00
Spoike 440a8e7b53 If the user picks an explicit vulkan device, attempt to ignore any issues from vulkan not reporting any render queues that can present to the screen. This allows us to start up with mesa's software vulkan implementation.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5843 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:01:44 +00:00
Spoike b4b4653b68 csqc traces against ssqc bmodels should support rotation like the ssqc does.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5842 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:01:37 +00:00
Spoike f98486687b Archive the cl_sbaralpha cvar.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5841 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:01:29 +00:00
Spoike 7ca9d0698f I really do not trust nquake's configs. Completely refuse to exec them, at least when warnings are silenced (so manual attempts will still work).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5840 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:01:21 +00:00
Spoike 2538e37e28 Add a preview for 2d array textures. Bind gl textures according to texture type rather than hardcoded assumptions, making it more consistent with the other rendering APIs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5839 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:01:15 +00:00
Spoike ff4b88dd45 Tweak FTE_TARGET arch postfixes in our makefile to make cross compile targets a little more readable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5838 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:01:04 +00:00
Spoike de7a03a780 Fix some warning prints not printing what was intended.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5837 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:00:56 +00:00
Spoike 43bff54529 Warn when images cannot be used for a cubemap.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5836 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:00:49 +00:00
Spoike b8667546c9 The modelflags field wasn't working for trails unless the actual model already had some trail.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5835 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:00:43 +00:00
Spoike 11ed815a7f Accept any gamedir that contains a 'fortress' substring for tf-specific rules, instead of only 'fortress' specifically.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5834 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:00:37 +00:00
Spoike 692fe2c211 Add serverside pm_autobunny support. Will result in prediction misses for older clients.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5833 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:00:30 +00:00
Spoike 190070d277 Basic ktx2 support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5832 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:00:21 +00:00
Spoike 2cf2247b84 Optimize endian routines when we know the endian at compile time.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5830 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:00:00 +00:00
Spoike 176afd6d5d Add resetcfg for compat with QS.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5826 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-05 21:59:23 +00:00
Spoike 8ba2b21c5d Fix up alignment with r_speeds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5825 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-05 21:59:17 +00:00
Spoike 9dd692c4bb Fix audio menu not escaping device names with spaces in them.
With sv_nqplayerphysics now using auto, we probably don't want to force it for _graphics_ presets when the mod will do it anyway.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5824 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-22 17:31:06 +00:00
Eukara eb27688181 Fix blob shadows/itemtimers from corrupting other trisoup
by not flushing. ok'd eukara@ Spoike@


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5823 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-20 19:21:34 +00:00
Eukara 0f7294564a Fix BIH generation crash for patches. ok'd eukara@ Spoike@
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5822 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-20 19:08:14 +00:00
Spoike 2ccae3b1cf Fix emscripten build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5821 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-19 19:17:14 +00:00
Spoike aa5c71f839 Fix silly cvar-related crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5819 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-19 18:25:11 +00:00
Spoike 36fb0bbe8e Give some 2d builtins some implicit args, particuarly stringwidth. This should work around weird dp-compat behaviour.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5818 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-19 15:37:36 +00:00
Spoike dded6a1b90 fix imagetool to support enumerating wad3 qpics, and mdl textures.
fix window sizing issue with viewer.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5817 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-17 21:35:13 +00:00
Spoike ee70a255b4 fix some compile issues
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5816 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-17 14:00:51 +00:00
Spoike 6bb6acde94 Try to fix some compile issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5815 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-14 06:48:19 +00:00
Spoike 320cf1cee5 Try to fix some compile issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5814 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-14 06:10:37 +00:00
Spoike b9cd6ec91b openxr plugin: tweaked - inputs should be working properly now, and are visible to csqc. subject to further breaking changes, however.
_pext_vrinputs: added cvar to enable vr inputs protocol extension allowing vr inputs to be networked to ssqc too. defaults to 0 for now, will be renamed when deemed final.
updates menu: the prompt to enable sources is now more explicit instead of expecting the user to have a clue.
updates menu: added a v3 sources format, which should be more maintainable. not final.
updates menu: try to give reasons why sources might be failing (to help blame ISPs if they try fucking over TTH dns again).
presets menu: no longer closes the instant a preset is chosen. some presets have a couple of modifiers listed. force the demo loop in the background to serve as a preview.
prompts menus: now does word wrapping.
ftemaster: support importing server lists from other master servers (requested by Eukara).
server: try to detect when non-reply inbound packets are blocked by firewalls/nats/etc (using ftemaster to do so).
qcvm: added pointcontentsmask builtin, allowing it to probe more than just world, with fte's full contentbit range instead of just q1 legacy.
qcvm: memfill8 builtin now works on createbuffer() pointers.
qcvm: add missing unsigned ops. Fixed double comparison ops. fixed bug with op_store_i64. added missing OP_LOADP_I64
qcc: added '#pragma framerate RATE' for overriding implicit nextthink durations.
qcc: fixed '#pragma DONT_COMPILE_THIS_FILE' to not screw up comments.
qcc: added __GITURL__ __GITHASH__ __GITDATE__ __GITDATETIME__ __GITDESC__ for any mods that might want to make use of that.
qcc: fix up -Fhashonly a little
setrenderer: support for vulkan gpu enumeration.
rulesets: reworked to support custom rulesets (using hashes to catch haxxors, though still nothing prevents just changing the client to ignore rulesets)
bspx: use our BIH code for the bspx BRUSHLIST lump instead of the older less efficient code.
(static)iqm+obj: these model formats can now be used for the worldmodel (with a suitable .ent file). Also using BIH for much better collision performance.
pmove: tried to optimise PM_NudgePosition, should boost fps in stress tests.
wayland: fix a crash on startup. mousegrabs now works better.
imagetool: uses sdl for previews.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5813 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-14 05:21:04 +00:00
Spoike d4606452e6 Fix some type confusion in fteqcc's enums.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5809 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-02-17 03:55:20 +00:00
Spoike 931bddff56 Oops, __uint64 was signed...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5808 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-02-15 21:44:50 +00:00
Spoike ed08236922 Fix windows build issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5807 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-02-15 21:43:54 +00:00
Spoike df98b816ce Add sys_clockprecision to see if it helps with timer precision on windows. Set to 1 if having issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5806 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-02-15 21:43:11 +00:00
Spoike e26f26e170 Don't try to clean up .. segments in fteqcc's include paths. Its buggy, and doesn't handle symlink weirdness properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5805 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-02-08 10:59:53 +00:00
Spoike 193d14a931 Try to fix webgl port.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5804 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-02-01 20:22:47 +00:00
Spoike 2fdb7ab6b3 Fix Tulkas' crashes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5802 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-01-24 14:33:45 +00:00
Eukara 46eaeabbc6 Fix config_minimal.h from being unable to compile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5801 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-01-18 22:18:09 +00:00
Spoike 5cc499d5eb movetype_follow was not respecting r_meshpitch.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5800 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-01-11 07:09:50 +00:00
Eukara 4a2c74ee83 Check to make sure we don't send lightstyle updates to unsuspecting fake-clients/bots
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5799 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-01-04 13:44:42 +00:00
Eukara d8e001b336 Make r_speeds respect con_textsize...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5798 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-01-04 09:57:49 +00:00
Eukara 9925427ac9 export waypoint radius to the route-data passed onto QC, this will change nodeslist_t
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5797 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-01-02 10:13:59 +00:00
Eukara a98bd4eaf6 Routing: We forgot to pass the linkflags a way-file may define, fixed that
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5796 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-12-29 07:22:21 +00:00
Eukara f152acaa12 Fix a logic error with my rendering check. Sleep required.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5795 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-12-25 03:20:48 +00:00
Eukara a322a175de Add support for the FIRSTPERSON renderflag from Q3
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5794 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-12-25 03:07:07 +00:00
Eukara 29e511817a Server: Check for fakeclients before attempting to 'fixangle' them
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5792 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-12-25 01:29:40 +00:00
Eukara 8dce502335 Uncomment the mapping of Q3RF_FIRST_PERSON to RF_WEAPONMODEL for Q3A
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5791 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-12-14 00:35:06 +00:00
Spoike 583922f586 Try to fix r_stereo_method anaglyph rendering.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5790 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-12-05 04:08:40 +00:00
Spoike c652b9a7e5 Reset v_cshift when changing who we're tracking, to try to hide bugs caused by TF flashbangs not being reset by the mod. Stuffcmds suck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5789 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-12-05 04:07:41 +00:00
Spoike 546be5849a Allow server cshifts to be disabled when playing back demos.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5788 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-12-02 06:38:32 +00:00
Spoike d6bae5a2bf Fix qclib-only makefile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5787 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-11-12 20:48:02 +00:00
Eukara fd3198904d git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5786 fc73d0e0-1445-4013-8a0c-d673dee63da5 2020-11-07 07:16:39 +00:00
Spoike 29cb22af8e try to fix vulkan validation warnings (and maybe some crashes on amd gpus)
fix sdl1 not compiling.
fix temporalscenecache with q3bsp
add the net_wm_ping protocol to fte's native x11 stuff, allowing our process to be killed if we lock up (usually due to vulkan drivers...).
qccguiqt: actually save the config.
try to fix hl fonts


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5785 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-11-04 10:19:30 +00:00
Eukara 5d5067ed82 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5784 fc73d0e0-1445-4013-8a0c-d673dee63da5 2020-11-03 15:52:26 +00:00
Spoike e649f6ebdb Add SB_NAMESORT for search_begin to ensure files are sorted by name instead of filesystem precedence.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5783 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-10-27 04:10:51 +00:00
Spoike 5d4f66cffd Add SB_MULTISEARCH flag for search_begin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5782 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-10-27 02:56:18 +00:00
Spoike 3008072807 Fix some stupid bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5781 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-10-26 11:48:50 +00:00
Spoike 4d25c073ec big commit. :(
fix crash from qwplayers with invalid modelindexes
rework allow_skybox a little. now applies immediately.
try to fix the appears-outside-of-map bug, again.
dir *.wav now shows a little extra info on mouse-over.
try loading music file extensions that we expect to be able to play via ffmpeg, not just the ones that are directly supported.
rework the hidden fps_presets, show them with tab completion.
fix a possible crash with r_temporalscenecache
fix lightmap updates on submodels not happening properly with the scenecache.
fix the serious memory leak with scenecache.
add r_glsl_pbr cvar to force use of pbr pathways in our glsl.
fix bug in alsa output not supporting float output properly.
preliminary work to have the mixer use floating point mixing. disabled for now.
try to update sys_register_file_associations on linux, still needs work though.
try to work around nquake's config quirks, so config files don't get overwritten.
repackage quake's conchars in order to add padding. this should avoid extra junk on the outside of glyphs.
give fteqcc(commandline version) some extra package extration/creation support. our paks should be more end-user-friendly, and our spanned pk3s are awesome.
write rune state to legacy saved games, so we don't ever have the missing-runes bug ever again...



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5780 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-10-26 06:30:35 +00:00
Eukara 0ceff5a31d Fix QC adddecal() calls from crashing the engine when the affected model hasn't fully loaded.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5779 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-10-23 02:50:11 +00:00
Spoike 697edaac76 Optimise lightmap updates with threaded world rendering.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5778 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-10-15 00:17:37 +00:00
Spoike 899c54223e Some build fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5776 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-10-06 04:30:48 +00:00
Spoike 432bc96456 Add r_meshroll, like r_meshpitch (hexen2 requires it set to -1 - they made the bug worse).
HTTP client code now tracks the reason for failure better (so we can distinguish between dns, no response, disconnects, and tls cert issues).
Downloads menu shows reasons for failure for its various sources.
make hexen2's +infoplaque button work even when tab isn't held! Yes! usability! who'd a thought it?
Try to clean up some client-only build issues.
Added 'librequake' as a recognised game name (mostly so that we can reuse the quake-specific engine compat settings.
.map support now supports patches enough to query+create(+network)+select them. Collisions are basically defective though.
qcc: Remove char as default keyword.
qcc: Fix some recent regressions.
sv: Add 'sv_protocol csqc' setting to force csqc protocols on clients that disabled handshakes, for mods that NEED csqc support. other options include 'fte1' and 'fte2', if you want to force extra stuff. Engines that don't support the selected protocols will crash out so only set these if your mod/map always requires it.
sv: default to qw physics whenever a mod defines the SV_RunClientCommand, even if its an nq mod.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5775 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-10-06 03:17:28 +00:00
Spoike 524fdb3dfd Fix unintended rounding issue with hexen2's movechain stuff that was preventing origin changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5774 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-10-01 01:27:00 +00:00
Spoike 155ef1f460 better compat with hexen2's intermissions
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5773 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-30 21:03:59 +00:00
Spoike 069433abc1 Rework how fte clients handle serverinfo watervis a little. Server's setting (if set) overrides client's ruleset_allow_watervis.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5772 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-30 14:54:52 +00:00
Spoike 4cead675f6 Try to fix fteqccgui not parsing its ini file properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5771 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-30 00:10:22 +00:00
Spoike f3049f1b85 fix a couple of bugs in the updates junk.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5770 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-29 11:43:09 +00:00
Spoike 4de49e06d1 Try to fix some stuff that was wrong in the last commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5769 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-29 09:34:38 +00:00
Spoike e3fdbfcdbd qcc: Add unsigned int, long/__int64, unsigned long/__uint64, and double datatypes to qcc+qcvm.
qcc: Add '#pragma opcode enable|disable NAME' to override whether an individual opcode may be generated for the current target.
nq: Fix smartjump on nq servers.
nq: Fix enemyskin/teamskin stuff on nq servers.
Rework show_fps cvar to give a greater focus on the timings graph.
Update updates menu to allow enabling/disabling specific sources.
Add separate settings for ef_red+ef_green+ef_blue.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5768 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-29 07:09:01 +00:00
Spoike 24a9634ccc Fix pvs issue on maps with far too many leafs (was still using 16bit leaf indexes, whoops).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5767 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-28 17:13:51 +00:00
Spoike e5f358ee5e Fix tokenizebyseparator with ',,,,' returning 3 tokens instead of 5.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5766 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-21 10:34:00 +00:00
Spoike b040358b54 capturedemo wasn't respecting -nosound arg properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5765 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-15 09:58:29 +00:00
Spoike 378570256c Make sure -homedir arg ends with a slash, to avoid messy surprises.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5764 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-15 08:55:53 +00:00
Spoike 6094fc6ab3 '+set vid_renderer egl_headless' will now give a headless client that's able to take screenshots and video captures without creating any kind of window. Because we can.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5763 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-15 08:54:10 +00:00
Eukara 2b21ab1164 basedir on UNIX should not be "" as the fallback.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5761 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-14 16:32:29 +00:00
Spoike b095410ce6 Make sizeof into an actual operator instead of a mere intrinsic
Char immediates now support a greater range of escapes for parity with string immediates.
Don't misparse triple field parameters as variable args+junk.
Recognise octal immediates, but warn in case it was unintended.
Fix a bug with initialised const locals.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5760 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-11 01:18:32 +00:00
Spoike ebc28bf3ef Yup, looks like we are actually using that path now...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5759 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-08 10:40:21 +00:00
Spoike 7d970f78f8 Change r_shadow_realtime_world_importlightentitiesfrommap to default to 0. This will prevent the engine from using rtlights on maps that don't have any rtlights defined. Can still be forced on a per-map basis with 'r_editlights_reload bsp', or by just changing this cvar back to 1, if you're the kind of person who MUST have rtlights. makestatic+pflags stuff can still be used if a mod wants to define its own light conversions. This should make FTE a little more palettable to the mapping community.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5758 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-08 10:38:26 +00:00
Spoike b380421e42 Lets try using _LARGEFILE64_SOURCE in 32bit linux builds. Not that anyone will notice.
Clarify the 'too many alternate clients' messages.
Gamepad movement should respond to +speed.
favour fte's nq protocols over dp ones when both are supported by the client, to boost compat with qss.
try to generate proper utf-8 filenames from player/team names when recording mvds, instead of bad char encodings.
Fix loading saved games with splitscreen enabled.
pr_dumpplatform can now optionally filter symbols via some specific external files, adding deprecated tags for any symbol not also supported by DP and QSS.
Rework CSQC globals to use macros, to ensure completeness and consistency.
rework sv_csqcdebug to use special svcs. This should make it more robust.
Fix some scary warnings when vid_reloading the vulkan renderer.
Fix a possible segfault from opengl+rtlights.
Mousewheel will now interact better with engine menus.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5757 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-08 05:11:09 +00:00
Spoike a5371f0027 Add 'using' keyword (for muting deprecation warnings), eg __using(foo) {codethatuses(foo);};
Make checkbuiltin also mute deprecation warnings for the referenced builtin within the current scope (read: usually entire containing function).
Move crc-based module-type prints to after any warnings about missing symbols.
Fix load-game bug that was causing strings to be forgotten (reported by Orl).
Add (virtual) mod+pow opcode variants that accept int types.
Add compiler flags to dump symbol lists, field lists, autocvar lists, and file lists. This replaces similar functionality from multiple -v args.
Add a little colour to a few more warnings.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5756 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-08 04:44:07 +00:00
Spoike 2ce617ce7a Update the qclib-only makefile. linux's gcc didn't like the -l ordering.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5755 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-08 03:21:27 +00:00
Eukara 42d810b320 Support for HL SPR's INDEXALPHA blend type.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5754 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-05 18:58:12 +00:00
Spoike 64fb49e908 Fix crash from DNS resolution failures.
Additionally attempt to work around ISPs with dodgy DNS services.
Add tls_provider cvar, for builds using both gnutls and openssl.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5753 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-26 09:30:51 +00:00
Spoike 79d851d6ea Fix some crashes with rtworld enabled.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5752 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-26 09:25:48 +00:00
Spoike 8651ff62d8 fix 24bit skins to work again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5751 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-24 07:52:55 +00:00
Spoike 244b0681ed dont use CLOCK_MONOTONIC when not defined (should fix compile-time issue on non-posix macos, reported by rhoenie).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5750 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-24 07:50:15 +00:00
Spoike da6b6c3e6c qcc: Avoid crashing from trying to warn about uninlinable inlines.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5747 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-16 04:41:11 +00:00
Spoike 0c0b6c3ed0 Try to explicitly opt in/out to windows's ASLR in release/debug builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5746 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-16 04:40:13 +00:00
Spoike ac4e7c396c Only try to autoupdate the fmf file if we know which file to actually update... (should fix a crash).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5745 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-16 04:00:46 +00:00
Spoike 22ea0b87d7 Try to fix up some qcc inline logic to no longer result in so many offset_0 values.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5744 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-15 04:31:27 +00:00
Spoike 51ef92fa52 Add map selection list to menusys. Some other minor tweaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5743 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-13 10:09:39 +00:00
Spoike 744b9a25db try to fix common-symbol conflicts in windows builds.
attempt to provide some better gettext support for engine strings (especially cvar/command descriptions). still no translations available though.
try to optimise hldml rendering a little.
fix issue with menuqc models rendering as black when fog is active.
use threads to try to reduce stalls from player-skin switches.
add sys_clocktype cvar to linux builds too, with CLOCK_MONOTONIC by default.
enable dtls certificate pinning log stuff.
fix r_viewmodel_fov being used instead of fov cvar.
fix possible segfault when egl driver fails.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5742 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-13 08:39:48 +00:00
Spoike f7d46b7878 Fix clientside sv_cheats overriding server settings. Don't pointlessly stall for 5 secs when connecting via dtls.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5741 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-10 18:34:10 +00:00
Spoike 437a3091e4 Fix some recent bugs in fteqcc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5740 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-03 10:34:44 +00:00
Spoike 48d4e97515 Try to make the readcmd builtin more robust (by erroring out if some command destroyed the qcvm during execution). Stop forceinfokey from spamming when the new value is unchanged.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5739 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-01 06:33:05 +00:00
Spoike 1d4535f5a1 Add sys_clocktype cvar for windows, for people on older versions of windows that need to work around windows timer bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5738 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-01 06:28:22 +00:00
Spoike b005d9fdcd Try to fix missing impulses bug.
Fix skybox fog glsl compile error.
Implement DP_QC_FS_SEARCH_PACKFILE, search_getpackagename, and search_fopen.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5737 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-21 07:58:54 +00:00
Spoike a3a0e1eae1 Do the _xyz thing for vectors in structs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5736 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-19 22:39:10 +00:00
Spoike 8a20cb3a70 Annonymous union/struct fields were not initialising their symbol data properly for vector types.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5735 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-19 16:00:31 +00:00
Spoike 4d1a45109c Fix msvc compile issue reported by ericw. Tighten some syntax checks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5734 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-19 01:38:42 +00:00
Eukara 00dc8aad4f Makefile: Force PKGCONFIG on OpenBSD
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5733 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-17 16:19:35 +00:00
Spoike 1ff329062f Fix 'enum int {};' syntax.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5732 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-16 19:23:00 +00:00
Spoike bd29617dce Fix NOT_I instruction emulation.
Fix 'struct{.float a,b;}' type confusion.
Display a more helpful message when too many globals are used.
Fix warnings about qcc commandline (eg when -max_regs is used).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5731 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-15 23:50:30 +00:00