Commit Graph

4175 Commits

Author SHA1 Message Date
Spoike 8d72e19726 fix somew llvm/webgl warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4757 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-09-22 17:49:45 +00:00
Spoike 25d470bffb Try to fix some linux issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4756 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-09-21 03:35:38 +00:00
Spoike b29c68ef92 try to be more strict/paranoid with cvars.
load q2 game dlls from the binarydir in preference to gamedir (allows such dlls to be distributed with the engine).
add small emscripten msvc project so I can build the web port a little more conveniently.
require mouse releases to have had a corresponding mouse press while in the menu. this solves issues with mouse clicks triggering the load menu while dead and instantlyish loading one, and alt-tab issues too.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4755 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-09-20 04:11:39 +00:00
Spoike 489e88feb4 small fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4754 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-09-17 03:23:03 +00:00
Spoike 45bafbf374 fix issue with more submodels than the precache model limit. bump model precache limit.
move some of the weird hexen2 features into a HEXEN2 define, which will be disabled by the QUAKETC define.
preliminary attempt at capsule collision support. only capsule/q3bsp support, no capsule/box, box/capsule, or capsule/capsule support, yet.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4753 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-09-17 03:04:08 +00:00
Spoike 811d49720d don't constantly keep trying to reconnect to nq servers. its abusive.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4752 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-09-16 00:40:30 +00:00
Spoike 6c6999ce78 fix misc bugs/issues/warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4751 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-09-14 01:45:11 +00:00
Spoike 1daac61ea9 fix a couple of issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4750 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-09-12 13:14:51 +00:00
Spoike 389a2ee285 I missed a trick. acc.fld.stridx should work properly now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4749 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-09-09 11:23:41 +00:00
Spoike b328df6936 fix typo with menus.
fix a couple of obscure bugs.
rework qw/q2 skins. qwskin command now exists in .skin support.
add support for mod_external_vis, to load vis patches.
made the included http server a little more verbose with peer addresses.
preliminary support for using accessors in fteextensions.qc, will wait a while until fteqcc's support is robust before its enabled by default.
preliminary webgl drag+drop. still lots of work to do before giving it a pak1.pak is trivial.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4748 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-09-08 23:47:19 +00:00
Spoike 0fb5e2bc25 Second attempt at accessors. syntax is a little more usable. also supports arbitrary custom fields too, without requiring it to use lots of string compares.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4747 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-09-08 23:35:32 +00:00
Spoike abde2fa81b add -nowmfullscreen argument to kill detection of support for window-manager-assisted fullscreen support.
this WILL break alt-tab and things. use with caution (tip: use +set vidx_grabkeyboard 1 to block alt-tab completely, ensuring it can't break too much. if the game becomes unresponsive, you're completely screwed).
x11 is so fucked.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4746 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-09-08 23:26:22 +00:00
Spoike 11279542a1 Added an accessor data type, eg: accessor strbuf : rawtype : dereferencetype {get[]=bufstr_get;set[]=bufstr_set;length=buf_getsize};
accvar.foo is equivelent to accvar["foo"]. get* or set* accessors can be used without indexes, but only with * prefix notation on use. the rawtype isn't changable with this, so you can't set infokey values.
accvar.length works. array.length will also work too now, if you dislike sizeof's weirdness.

updated preprocessor to comply slightly more with C.
fixed int emulation a little to be more robust. utility functions must be defined in advance. this avoids stealth dependancies resulting in unexpected bugs.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4745 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-09-05 19:17:57 +00:00
Spoike 110c19c6fd hipnotic hud support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4744 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-09-03 16:06:23 +00:00
Spoike c0a92a16dd stop mobile browsers from trying to fake desktop resolutions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4743 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-09-02 06:16:33 +00:00
Spoike 0b7f9c3a5e fix touchscreen controls again... oops.
the cursor now works with both mouse+touch as appropriate.
add touchscreen events to the webgl port.
built in menu now responds to up events instead of down events for mouse1. this makes it slightly easier to navigate the menu on touchscreens devices.
don't fail to compile when GL_LINE_SMOOTH isn't defined.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4742 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-09-02 06:01:03 +00:00
Spoike c6b8617d87 try to statically link sdl+vorbisfile+etc+png+jpeg for mac, in case I pester tuna in the future.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4741 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-09-02 04:00:45 +00:00
Spoike bb62a39278 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4740 fc73d0e0-1445-4013-8a0c-d673dee63da5 2014-09-02 03:18:27 +00:00
Spoike 3e2169bbc4 no jumbo cursors please.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4739 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-09-02 02:50:28 +00:00
Spoike 230ce4e0a0 updated mapcluster mode a little, should be more robust now. also supports cross-server events.
added option for softer/wider lines.
attempt to use hardware cursors in windows. provide api for csqc to specify its own.
cl_downloads cvar blocks all automatic downloads.
QUAKETC: new compile-time setting. if defined lots of stuff will be disabled including built in menus.
remove spam from log files.
try to get the webgl port to complain a bit more reliably when webgl is not usable.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4738 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-09-02 02:44:43 +00:00
Spoike ae9324b970 fix issue with rtlight scissoring with cl_sbar 1
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4737 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-30 09:58:51 +00:00
Spoike da0473bf5e Fix post-inc return values, oops. Bug reported by OneManClan.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4736 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-29 11:33:11 +00:00
Spoike 3ee2712c3c dedicated compile fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4735 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-29 04:50:49 +00:00
Spoike 5f9e575e75 lets make that new con_stayhidden cvar default to 1 instead. should make it look slightly more professional.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4734 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-27 09:01:46 +00:00
Spoike 258a4163ae random hacks to get rtshadows working in the gles/webgl port, no longer depend upon GL_ARB_shadow.
gles renderer can use fbos now.
webgl now saves configs+savedgames persistently using localstorage.
misc startup/manifest refinements.
make nacl compile again.
webgl port can now use #stuff to select different manifest files.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4733 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-27 08:41:31 +00:00
Spoike 957afd8c3b map command now strips parms+spawnflags. use changelevel if you want to keep that (unlike nq, we still won't kick players).
fix some compiler warnings.
update the emscripten port.
reduce bss a little (as emscripten blatently can't cope with it)
support for '_wateralpha'. also support for cvar_foo too.
demo_jump works in nq demos.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4732 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-25 07:35:41 +00:00
Spoike 8c951e13fc fix d3d11 renderer not working properly when first joining a server.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4731 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-24 17:21:51 +00:00
Spoike cd690a165a fix issues with join/observe spam by throttling it to no more than 1 per 2 seconds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4730 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-24 17:16:12 +00:00
Spoike 0de3e18aad make the r key restart the current animation in the modelviewer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4729 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-24 15:40:33 +00:00
Spoike 803510986c iqm: more verbose on errors, detect more.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4728 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-21 23:48:09 +00:00
Spoike 54c0810d41 fix nq bob (also fixes show_speed in nq)
tweaked waterwarp+bloom to use fbos. this fixes any issues with viewsize 10 or whatever, but depends upon npot.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4727 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-19 06:08:23 +00:00
Spoike 23b7a15980 fixes courtesy of DyB|Tuna, to fix mac/sdl2 compilation.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4726 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-18 10:05:10 +00:00
Spoike c61f77af28 actually that was a smidge wasteful
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4725 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-17 03:33:31 +00:00
Spoike 7bc7cbeb05 try to fix hip2m5 stuck-in-floor bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4724 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-17 03:32:48 +00:00
Spoike 23866f0196 attempt to remember menu selections for when the menu is next opened. for keyboard users that don't realise that the mouse works.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4723 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-17 03:18:43 +00:00
Spoike 1da6377542 fix gb's 'help! they're crawling out of the walls! thing'
fix scrags+fish being affected by gravity at spawn

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4722 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-17 02:27:54 +00:00
Spoike 727b8d40db fix 3 issues that appear to happen with hipnotic.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4721 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-16 19:03:04 +00:00
Spoike 583d8aa46c bugfix patch:
prevent shift+alt from triggering the menu while in demo playback. hopefully solve toggleconsole issues on german keymaps.
gl_texturemode2d is now in presets, using nearest in vanilla preset.
waterwarp edge textures now force linear sampling. no weird blocky edges.
fix serverflags reset issue on saved games.
fix $currentrender to not glitch on fbos too much.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4720 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-16 05:33:50 +00:00
Spoike 362d8f820f I got into a discussion with gb. added fps_preset vanilla. this enables all sorts of vanillary things, even more so than faithful (which disables them again).
added r_part_classic_square, cl_demoreel.
fixed a couple of things that the ever vigilant gb spotted. I guess I don't play quake enough.
fixed a load of random warnings reported by gcc. many many many warnings remain. I got bored.
internal mrt feature implemented, not properly tested yet.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4719 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-15 02:20:41 +00:00
Spoike 6066fdf421 Fix some bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4718 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-10 00:31:37 +00:00
Spoike 1f9daedabe git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4717 fc73d0e0-1445-4013-8a0c-d673dee63da5 2014-08-03 15:19:12 +00:00
Spoike 66aa41adef git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4716 fc73d0e0-1445-4013-8a0c-d673dee63da5 2014-08-03 15:07:30 +00:00
Spoike 5cbb8be132 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4715 fc73d0e0-1445-4013-8a0c-d673dee63da5 2014-08-03 15:02:39 +00:00
Spoike 402aa52362 misc fixes, tweaks, and hacks.
qc rt target api now uses names instead of numbers. shaders can name such rendertargets in advance.
added timing info to qc profiling, instead of just opcodes executed.
added sv_showconnectionlessmessages, to show all messages that don't relate to a client, so omc can see if he's getting DDOSed easily.
try to show proper error messages with the xmpp plugin, at least for certain things.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4714 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-08-03 14:47:47 +00:00
Spoike d63b8cefd6 gb reports that this greatly improves stereo ogg playback quality.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4713 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-07-30 00:04:15 +00:00
Spoike db9f9ed98c gcc strictness.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4712 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-07-12 06:59:35 +00:00
Spoike b97bc5685c added multiple joystick support in windows.
fixed portals. again. now pushing the player out (reverting origin) if they get de-spawned.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4711 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-07-12 06:56:17 +00:00
Spoike d710d945d0 fix fraglog sequence count crash (which resulted in SZ_GetSpace: overflow without allowoverflow set). Reported by OneManClan.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4710 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-07-12 03:59:04 +00:00
Spoike adf3384730 try to fix a crash reported by spirit. not sure how I didn't find that myself.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4709 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-07-07 17:18:45 +00:00
Spoike 4d7cc67ebe fix recent prediction issue.
added current bandwidth info to the status command. added cl_status command for similar things for client stuff.
minping delays now using floats instead of milliseconds.
fix waterjump bug with qc player physics.
fix flymode friction.
fixed illegible server message with ezquake going through portals. rendering is still ugly, but at least it can be used.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4708 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-07-02 03:20:40 +00:00