1
0
Fork 0
forked from fte/fteqw
Commit graph

135 commits

Author SHA1 Message Date
Spoike
27a59a0cbc LOTS OF CHANGES. was hoping to get revision 5000 perfect, but really that's never going to happen. this has gone on for too long now.
vulkan, wasapi, quake injector features added.
irc, avplug, cef plugins/drivers reworked/updated/added
openal reverb, doppler effects added.
'dir' console command now attempts to view clicked files.
lots of warning fixes, should now only be deprecation warnings for most targets (depending on compiler version anyway...).
SendEntity finally reworked to use flags properly.
effectinfo improved, other smc-targetted fixes.
mapcluster stuff now has support for linux.
.basebone+.baseframe now exist in ssqc.
qcc: -Fqccx supports qccx syntax, including qccx hacks. don't expect these to work in fteqw nor dp though.
qcc: rewrote function call handling to use refs rather than defs. this makes struct passing more efficient and makes the __out keyword usable with fields etc.
qccgui: can cope a little better with non-unicode files. can now represent most quake chars.
qcc: suppressed warnings from *extensions.qc

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5000 fc73d0e0-1445-4013-8a0c-d673dee63da5
2016-07-12 00:40:13 +00:00
Spoike
5920bf05fb reworked menusys combo items, as per mushi's request. should be a bit prettier now.
fixed most gcc warnings when compiling for linux.
client can now connect to 10002 servers. probably 10000+10001 too, but too lazy to test.
doom3 map loading is working again, but has too many issues for it to be useful (leaks, premature purges, no texture_d suffix support), so its still disabled for now.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4999 fc73d0e0-1445-4013-8a0c-d673dee63da5
2016-02-15 06:01:17 +00:00
Spoike
46c63cbedb curtesy molgrum: allow_download_loc permits locs/*.loc to be downloaded. also fixes an strncmp. oops.
device ids with rawinput and xinput are now assigned only on the first event. this means the ordering is easily controllable, thus helping splitscreen usability.
fix compile errors with the nolegacy builds.
client updates "chat" userinfo to match ezquake. does not display them still. server now forwards them correctly for ezquake.
android can now switch gles version. a bit crashy with it though.
android: gyroscope is now available to csqc.
android: added vid_dpi_x/y cvars. will be 0 on other platforms, for now.
added screenshot_vr command, for 360-degree stereoscopic screenshots.
fix a potential crash from frag parsing.
added m_accel_style and friends, for nicer mouse acceleration.
fixed const-correctness in a few places.
added friendly spectate button to the server browser
display a warning if an mdl has dodgy seam values. this won't affect fte, but can crash winquake.
qcc: fix struct fields to at least appear to work.
qcc: -I is finally implemented.
qccgui: options now has tooltips, so people might have a chance of actually figuring out what each option does.
menusys: game configs menu now scans for files rather than listing specific ones. should probably be tested more.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4998 fc73d0e0-1445-4013-8a0c-d673dee63da5
2016-02-10 23:23:43 +00:00
Spoike
9360a016c2 mvd: cl_autotrack_team cvar locks autotrack to a specific team. getting the team name to match can still be problematic when it contains non-ascii chars however.
qw: fix recording mid-map.
q2: add support for recording demos on q2 servers.
q: fix setattachment not using the correct orientations.
q2: now supports splitscreen, as well as increased model and sound limits.
cl: fix crosshair not appearing in splitscreen.
cl: splitscreen clients now get their own colour tints (like the bf command)
snd: tweak audio to be a bit more usable in splitscreen by default.
cl: added con_logcenterprint cvar, for shoving a copy of centerprints onto the console. by default only appears in single player.
qc: add checkbuiltin builtin. for all those #0 builtins without their own extension name.
gl: fix r_dynamic -1 bug that was painfully visible in AD.
mdl: validate per-frame bounds of mdl files (stuff that would crash software renderers).
sv: fix -port or +sv_port commandline args to override the port correctly.
win: attempt to cope with windows symlinks enumerating with the wrong filesizes.
gl: fix skyboxes not appearing properly.
gl: fix sprite alpha/edge issue resulting in some invisible sprites in AD.
gl: fix screenshot_mega, in combination with r_projection. yay for HUGE panoramic screenshots.
q2: fix replacement textures issue.
qw: fix download demonum/X issue, both in client and server.
qw: fix multicast dimensions not always being honoured properly.
nq: fix starting angles sometimes being wrong.
menusys: I'm finally uploading my menusys library, plus example mod, which I'll now be providing like csaddon is.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4997 fc73d0e0-1445-4013-8a0c-d673dee63da5
2016-01-18 05:22:07 +00:00
Spoike
5172823341 code to use occlusion queries for coronas.
tweaked cl_maxfps a little. now sticks much closer to the desired rate. also tweaked cl_netfps. clamps 77fps to 13ms frames (read: 76.9 fps) in an attempt to avoid tripping up any framerate checks (we had previously been using a lower net rate with occasional 14ms frames).
viewspace particles are now a thing.
greater control over spawning particles. its now possible to spawn particles only in slime, etc.
fix soundlength builtin.
preliminary version of r_dynamic -1, which can give some significant framerate boosts on certain maps.
fix halflife bsp texture issues.
rewrote worker thread logic. workers now work as a single pool, instead of independent pools. this means that you don't have to wait for a specific thread to finish before it can load new stuff, reducing overall load times some more. worker_count cvar allows reconfiguring the number of active workers. can be changed any time.
updated mod_terrain_create command. should be more useful now and make more sense when first loaded.
fix lit support. apparently its been broken for a while.
brush editor now has csg subtraction.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4990 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-10-11 11:34:58 +00:00
Spoike
cc875358fd qcc: allow variable definitions inside for statements. these are strictly subscoped.
csaddon: implement convenient vertex dragging. not bug free, but should be sufficiently functional.
small optimisation for r_loadlit 2.
sdl2: now supports hardware cursors, supposedly. also ensures the window title is set to something that isn't obviously weird.
fix #water replacements not being loaded. again.
.map loading now ignores all lightstyles, instead of many lights being completely black.
.map loading can now properly cope with angled surfaces without the player getting stuck.
try to avoid missing d3d11 definitions issue.
tp_disputablemacros no longer blocks say commands, but does block +forward etc. supposedly.
fix timer precision issue that appears in sdl builds. not sure why it wasn't visible in other cases though.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4989 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-09-18 20:30:10 +00:00
Spoike
da316ce374 fix gles1 issues (read: android port now works again).
update csaddon code.
qclib now understands 'objects'. engine+qcc does not use them yet.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4987 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-09-14 10:36:42 +00:00
Spoike
57248e9f64 tiny update...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4864 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-04-27 05:10:01 +00:00
Spoike
c3f681cfc8 Try to fix shadowmap issues to at least be consistent even if not acne free.
add light auto-rotation to csaddon, for rotating static lights.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4776 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-23 01:42:05 +00:00
Spoike
84888e3ff2 terrain editor update, to implement some of the things epicenter asked for.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4687 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-16 20:45:44 +00:00
Spoike
fb22181816 random fixups
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4528 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-22 00:13:52 +00:00
Spoike
56131015c6 Small update. Just because.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4405 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-26 03:34:39 +00:00
Spoike
a5ac2e9a9d did I forget to commit this? did I need to? oops.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4309 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-09 01:04:43 +00:00
Spoike
b2bcc1be15 ------------------------------------------------------------------------
r4233 | acceptthis | 2013-02-27 16:24:26 +0000 (Wed, 27 Feb 2013) | 1 line

small update to fix a couple of issues.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4229 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:12:08 +00:00
Spoike
1261ad5d2a ------------------------------------------------------------------------
r4232 | acceptthis | 2013-02-27 16:21:54 +0000 (Wed, 27 Feb 2013) | 1 line

try to be a little more usable.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4228 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:11:35 +00:00
Spoike
52bacf161b Made the lights editor more useful/usable.
tints for terrain, nicer save+load commands.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4159 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-12-04 18:19:20 +00:00
Spoike
586cedea8b Directly query client for video size.
Berkelium focus now properly tracked. The cursor blinks on google. yay.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4125 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-13 01:00:53 +00:00
Spoike
35c6aecad2 Support to pipe the keyboard/mouse input from csqc into media decoders (read: embedded web browsers / x11).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4110 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-07 18:36:28 +00:00
Spoike
3e1a546e83 water/meshes/usability
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4082 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-20 01:49:13 +00:00
Spoike
db40d60b95 added a terrain editor
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4072 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-14 23:20:06 +00:00
Spoike
db9388a297 example command for jogi. I've not tested that it even compiles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4000 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-22 14:40:39 +00:00
Spoike
bd44e87734 Fixed a division-by-zero issue, and a couple of other minor things.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3997 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-15 22:49:30 +00:00
Jogi
8421aff462 ...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3996 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-15 22:12:37 +00:00
Jogi
29617109b0 godspeed sir
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3995 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-15 16:45:57 +00:00
Jogi
e39981eab4 some more menu stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3991 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-14 23:52:28 +00:00
Jogi
61061c8e71 fixed some of the menu stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3989 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-14 00:54:54 +00:00
Spoike
ad32917970 tiny fixes (note: also removed workarounds, jogi update fteqcc).
added drawlame3dtext function as per jogi's request.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3987 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-13 09:14:09 +00:00
Spoike
3c4100a2a9 Jogi's changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3985 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-13 01:41:49 +00:00
Spoike
fb35b91e01 Added cheesy menus.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3978 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-08 04:13:25 +00:00
Spoike
d9f0528f47 All jogi's work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3977 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-08 01:56:30 +00:00
Spoike
855b3ee993 small update.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3975 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-05 01:40:39 +00:00
Spoike
a722205543 jogi wants to see the current status, this prolly won't compile, but nothing autobuilds any of this stuff anyway
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3973 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-04 22:53:53 +00:00
Spoike
03f3cc738f Added a particle effect editor. A few issues still to fix (like being unable to add a new effect).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3966 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-28 10:31:55 +00:00
Spoike
ebc29fe683 added the additional editable fields which the engine now exposes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3943 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-27 08:35:59 +00:00
Spoike
c44096f0b2 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3931 fc73d0e0-1445-4013-8a0c-d673dee63da5 2011-12-17 16:37:07 +00:00
Spoike
d95a523f80 Just messing with stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3794 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-20 04:10:59 +00:00
Spoike
e164c7c7ad Work in DP didn't work in DP.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3361 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-08-29 18:59:48 +00:00
Spoike
e9c0883937 I messed up with the WORKINDP thing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3214 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-07 23:42:55 +00:00
Spoike
54f6c830de movevars and pmove are obsolete. Bit of a code cleanup.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3213 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-07 15:46:12 +00:00
Spoike
b3b0f3da9f Map triggers are more sane.
Really buggy example custom prediction code in this commit.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3180 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-19 01:15:18 +00:00
Spoike
444f2dc7aa Work in progress. A couple more comments in the code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3171 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-14 21:39:15 +00:00
Spoike
0b792a6355 Made the boolean type consistently int or float, without using conversions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3053 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-09 23:29:13 +00:00
Spoike
81a86449ef Might as well make it generate -TFTE if its not going to work in DP anyway.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3048 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-22 00:04:15 +00:00
Spoike
e7aa21bf29 Stripped some prints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3046 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-16 22:02:39 +00:00
Spoike
baff3de5af Initial commit. Needs work. Mostly functional though.
Requires a cutting edge version of fteqcc... Older versions have bugs and stuff.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3045 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-16 22:00:54 +00:00
Spoike
b51530886e Seeing as this is the only csqc example on fte's svn, I'm updating it to support the recent clientstat standardisation.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2870 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 01:32:20 +00:00
Spoike
554d49d657 Tweeked the 'fallout2' inventory a little.
Now supports mousewheel and doesn't have the wasted space down at the bottom of the slot list.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2332 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-18 13:08:34 +00:00
TimeServ
02176f8853 remove more cvsignore files
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2148 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-02 23:25:51 +00:00
Spoike
f49d3e2cee Removed a debug message.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1876 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-15 22:37:14 +00:00
Spoike
b65300ce58 Enforce team colours.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1875 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-15 22:36:44 +00:00