Shpoike
3708dab87a
Clean up some zlib references.
2024-07-14 19:58:24 +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
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
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
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
e292e1bbfb
Attempt to do a better job at internationaliation.
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
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
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
Shpoike
7b3096bbf5
Fix __int64 bitnot bug.
2023-04-17 03:58:21 +01:00
Shpoike
73bb9969a1
Fix emulated support of hexen2's CState syntax.
2023-04-17 03:58:21 +01:00
Shpoike
505061a8d2
Add deflate64 support, cos why not.
2023-04-17 03:58:21 +01:00
Shpoike
2c8c9b615f
Fix some bugs.
2023-04-17 03:58:20 +01:00
92229e769e
qclib: add sanity check for mixed usage of nonvirtual and virtual as it's currently unsupported.
2023-02-02 11:07:09 -08:00
Spoike
fcbfc90892
Make our mini http server report timestamps better, so wget's timestamping is happy.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6338 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:14:57 +00:00
Spoike
ed63b7435e
Make class parsing more c++-like, fix some issues with uninitialised variables not getting detected properly.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6322 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:13:12 +00:00
Spoike
c2f7a7b2d0
Fix some issues from last commit.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6304 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-08-19 13:29:27 +00:00
Spoike
f8af9b18eb
Fix up fteqcc's typedefs.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6303 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-08-08 22:45:19 +00:00
Spoike
8705adfb86
Revision 6270 was bad.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6282 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-30 04:12:24 +00:00
Spoike
c715171416
Fix some qcc bugs with large structs (reported by qqshka).
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6270 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-19 15:18:14 +00:00
Spoike
8faf8a7e96
Fix up our support for _Bool.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6268 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-19 15:18:00 +00:00
Spoike
5743de1167
Make fteqcc handle dupe typedefs better (primarily to fix autoproto).
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6253 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 18:00:09 +00:00
Spoike
bfdc0b59bd
'qqshka: btw, static actually helped' with hotkeys not working.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6252 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:59:57 +00:00
Spoike
c6e00068db
Try to fix some qcc bugs.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6182 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-07 14:34:02 +00:00
Spoike
88858f7698
Bump ent counts by a smidge.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6181 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-07 14:33:56 +00:00
Spoike
0085e5e8d8
Fix a .union{array}; issue
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6160 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-16 18:41:25 +00:00
Spoike
23437fff01
Switch to supporting the october quake rerelease instead.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6077 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-09 07:58:17 +00:00
Spoike
aa651c5059
'fteqcc -x foo.pak foo' now accepts wildcards.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6055 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-09-03 08:02:15 +00:00
Spoike
9741676e79
Try to fix some hexen2 saved game issues.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6054 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-09-01 07:30:48 +00:00
Spoike
6136cad786
Fix #merge bug.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6044 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-27 04:29:31 +00:00
Spoike
0382bb7049
Fix a crash.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6040 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-23 06:37:36 +00:00
Spoike
f9533ee8fc
Fix up silly warnings in fteqcc's decompiler.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6030 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-20 20:56:24 +00:00
Spoike
67ff1e6cbb
Try to fix dotranslate symbols getting b0rked.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6010 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-05 16:49:32 +00:00
Spoike
221d4032af
FTE_TARGET=msvc now invokes some old version of msvc via wine, old FTE_TARGET=vc removed. Related code tweaks to make it a bit happier.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6001 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-04 21:17:31 +00:00
Spoike
9d8b442cf3
fteqcc __GITDESC__ et all were not quite working properly. Fix bitnot operator.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5972 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-17 15:10:46 +00:00
Spoike
2ae4157738
Support for '[const] static type name=val;' inside classes.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5963 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-17 15:09:44 +00:00
Spoike
d3b1350ca5
Fix up autoproto with class-accessors and named enums.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5959 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-07 13:10:20 +00:00
Spoike
0dc1b91ec6
Add -ftags to generate tag info for vi and compatibles. Files will still need to be concatenated then sorted before use.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5954 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-06 00:12:27 +00:00
Spoike
3d1014efe4
A quick attempt to get accessors working inside classes. Needs proper testing.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5945 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-03 23:33:52 +00:00
Spoike
4ac09f8a03
Try to handle some qcc 'standards' a little better.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5944 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-03 01:47:16 +00:00
Spoike
b45ce608c0
Remove qcc hunk size limitations.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5940 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-03 01:46:52 +00:00
Spoike
98da911996
Fix up a couple of missing opcodes in our qc decompiler.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5900 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:45:33 +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
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
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
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
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