1
0
Fork 0
forked from fte/fteqw
Commit graph

4422 commits

Author SHA1 Message Date
Spoike
47d4dbb633 attempt to statically link against scintilla.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4809 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-12-29 06:39:57 +00:00
Spoike
c1e991f31c hide console while updating packages.
fix rate indicator with http downloads.
fix gamedir change crash.
force r_shadow_realtime_world_lightmaps to 0 if there are no rtlights on the map (to work around TF/etc maps where such 'useless' entities got stripped).
tweak profile lists to be slightly more verbose.
add extra parms to fteextensions.qc, so that people realise that fte actually supports that.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4808 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-12-29 02:35:10 +00:00
Spoike
f20e5b4135 add missing function.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4807 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-12-26 11:47:25 +00:00
Spoike
67bd64d35f update autoupdate code. now finally using https. triptohell.info's self-signed public cert has been hardcoded, avoiding cert authority mitm attacks (damn corporate proxies!)
http downloads supposedly now also supports https.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4806 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-12-25 20:10:05 +00:00
Spoike
c57dbc7ca4 give csqc the ability to rewrite/override prydon cursor information.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4805 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-12-25 02:32:22 +00:00
Spoike
dec0230c7d small minimal fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4804 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-12-23 15:39:39 +00:00
Spoike
dddee3d76c rewrote some master server code to isolate games.
servers will subscribe to both ipv4 and ipv6 addresses if a master's name resolves to both types.
handle filename security more cautiously.
avoid some wasted memory with q3bsps. fix crashing bug in dedicated servers.
try fixing OMC's latest issue.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4803 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-12-23 15:26:42 +00:00
Spoike
100c46a7cc bum.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4802 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-12-11 16:42:07 +00:00
Spoike
3e2bffdddc preliminary first real attempt at letting the csqc draw loading screens. added some serverkey fields to query load progress.
misc fixes for the webgl port.
silence some warnings reported by llvm.
hide windows cursor in webgl port. use software cursor for now. will need to use url+dataurl at some point.
ignore f11 key, because it makes firefox a bit unusable in certain situations.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4801 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-12-11 16:26:26 +00:00
Spoike
f118bccc6a fix some glsl issues.
fix gles+q3bsp black lightmaps bug.
enable q3bsp support in webgl port.
enable uncompressed pk3 support even if zlib isn't available.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4800 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-12-09 14:39:54 +00:00
Spoike
0256c19270 fix stuff again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4799 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-12-08 22:14:31 +00:00
Spoike
95cfa0cfac fix ffov, for now.
fix server crash(es).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4798 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-12-08 21:18:32 +00:00
Spoike
5c2533e207 lets try using absolute mice even in fullscreen mode. esentually _windowed_mouse is treated as 1 while fullscreen, instead of forcing grabs+deltas even with the console focused etc.
this should solve hardware cursor issues when fullscreen, and allow csqc ui code to handle only absolute coords. however, this does make sensitivity more awkward, and might not work with joysticks.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4797 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-12-06 02:24:46 +00:00
Spoike
1f2996a245 make sure log files always have a .log extension - log file rotation was generating stuff like rcon.log.1 which can be a pain to open in notepad, and also violates filename check expectations.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4796 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-12-06 02:19:34 +00:00
Spoike
4d9ee2395a warn clients when stuff will be invisible due to protocol limits. this does not include extra features, only limits.
try to handle mvd prespawning a little more generically, to enable support for vweps (when protocol extensions are active). also fix issues with mid-demo map changes, which can potentially affect qtv streams.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4795 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-12-02 02:00:41 +00:00
Spoike
512fad39fb allow '$linear:' as a texture flag prefix, in addition to '$nearest:', which is already supported.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4794 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-11-24 15:20:22 +00:00
Spoike
0077b87d02 support for gl4 tesselation shaders. glsl code is available separately.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4788 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-11-05 06:00:51 +00:00
Spoike
a1c2689d1f support for gl4 tesselation shaders. glsl code is available separately.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4787 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-11-05 05:54:29 +00:00
Spoike
5a33efb14e support for gl4 tesselation shaders. glsl code is available separately.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4786 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-11-05 05:39:24 +00:00
Spoike
98ec171f17 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4785 fc73d0e0-1445-4013-8a0c-d673dee63da5 2014-11-03 09:41:05 +00:00
Spoike
2fa7606774 fix .maxspeed and .gravity with ssqc's runstandardplayerphysics
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4784 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-11-03 09:38:17 +00:00
Spoike
2a65ebee65 rendertargets ignore gl_max_size. this fixes underwaterwarp+bloom at high resolutions with outdated configs (ones that picked up an earlier default, or custom settings to limit texture detail... those crazy legoquakers).
fix shadow/particle issues, shadowmapping should be a little more robust now.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4783 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-11-03 04:45:18 +00:00
Spoike
9602ae7247 write lightstyle changes into mvds.
don't add 'mapname' (for q3 compat) unless we actually need that in the serverinfo for q3 gamecode.
fix bloom only blooming sideways.
clean up R2D_RT_Configure's arguments to use TF_ constants properly, without gumming up qc apis.
make InitFlyby more readable.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4782 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-11-01 09:09:58 +00:00
Spoike
2dbad9574c Fix some issues with implicit int->float conversions. Constants convert to floats gracefully if the target doesn't support the required instruction. -fassumeints now finally works as expected.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4781 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-30 11:28:19 +00:00
Spoike
3998821865 Polished and documented the manifest support a little. Feels a bit more robust now.
Try to avoid certain prediction issues with positions truncated into solid areas, that appears to happen on q3bsp and thus might happen elsewhere too.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4780 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-29 05:03:03 +00:00
Spoike
661d64056a fix issue with ban expire times.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4779 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-27 15:27:51 +00:00
Spoike
ea3aa75290 fix q3 tcgen ordering bug.
implement support for r_showshader, to see most shader bodies (inc auto-generated ones).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4778 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-25 02:16:35 +00:00
Spoike
284705c01b update libpng in mingw builds to 1.6.13.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4777 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-25 01:24:12 +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
1b64a9c9c4 tweak demo playback to not have extra penalties, and closer sync.
fix occasional vid_restart crash.
fix dynamic rtlight memory leak.
tweak some gl robustness things, so we can throw away the gl context and restart video cleanly if the drivers decide to randomly crash us. grr. dodgy drivers/hardware are annoying.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4775 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-22 19:41:20 +00:00
Spoike
ddb3a52987 valgrindiness
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4774 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-21 17:12:02 +00:00
Spoike
7d47b32f74 fix some issues found via valgrind.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4773 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-20 03:14:00 +00:00
Spoike
c8a0c1ad0e try to fix bloom. fix some spectating stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4772 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-19 03:40:27 +00:00
Spoike
c636c07165 fix omission.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4771 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-14 16:49:20 +00:00
Spoike
508a546f01 typo...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4770 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-14 16:46:14 +00:00
Spoike
008ac37b3a fix a small mistake.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4769 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-14 16:44:52 +00:00
Spoike
dbfd69f572 preliminary support for qc rendertargets with d3d11. I took some shortcuts so try not to combine it with other render target stuff just yet.
flipped gl qc rendertargets to logically be top-down. the joys of weird matricies is a sight to behold.
try to fix threading dependency on recent versions of windows.
break some other related stuff.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4768 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-14 16:42:48 +00:00
Spoike
4461fb7759 actually, that's more preferable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4767 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-11 22:54:38 +00:00
Spoike
e572332173 sharkbanana found an edge case.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4766 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-11 22:53:26 +00:00
Spoike
3284a25b59 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4765 fc73d0e0-1445-4013-8a0c-d673dee63da5 2014-10-11 22:16:40 +00:00
Spoike
97579ebfbb bugfixes:
hexen2 players now have colourmaps again. doesn't crash with rgb player colours.
hexen2 colour previews now work (as well as they did in actual hexen2, anyway)
fix possible issue with 'bad type - needs fixing'
color command now longer omits 0 values when displaying.
readded support for all hexen2 palette lookup types.
fixed some hexen2 image positions.
using premultiplied alpha for pics as an easy fix for hexen2's various ugly halos.
the checkerboard texture is back!
fix q1 maps that have more than 32k clipplanes.
new features:
when associated with mdl etc file extensions, now opens up the modelviewer. also potentially changes gamedir (this applies to bsps too).
multiplayer setup menu now supports selecting rgb colours (lower colour remains with the 14 team colours). press shift for the normal/hue colour selection instead. 
attempt to use bgra for texture uploads by default where available. reimplement possible support for 16bit textures.
attempt to implement gamepad support for web port. untested, but should be completeish.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4764 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-11 19:39:45 +00:00
Spoike
71f4fe99e0 disable flood fill on skingroups. apparently other engines don't bother with it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4763 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-09 13:03:43 +00:00
Spoike
9ff0f6ff6e try and do something smarter with x11 and refresh rates.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4762 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-07 13:50:58 +00:00
Spoike
2a58bd0d74 fix times/pausing with pure csqc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4761 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-06 21:03:08 +00:00
Spoike
a3d7f5aa40 fix player skins to be reliable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4760 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-06 17:55:39 +00:00
Spoike
9881bc3dd7 fix makefile issue
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4759 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-05 20:47:03 +00:00
Spoike
7f6c2054d9 threaded loading code and associated/extensive tweaks.
unified image loading code a little between renderers.
support switching worldmodel in csqc. also associated bugfixes.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4758 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-10-05 20:04:11 +00:00
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
Spoike
433c7b24c8 change package reference rules to not reference files that are not used (ones that were found+rejected with com_fdepthfile)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4707 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-07-01 07:10:10 +00:00
Spoike
70c3d27465 fix a potential crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4706 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-07-01 07:05:16 +00:00
Spoike
d3b9818f25 be more lax with state opcodes, accept variables in either argument.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4705 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-07-01 07:01:33 +00:00
Spoike
71b251c42f drawline wasn't blending.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4704 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-07-01 02:51:41 +00:00
Spoike
a704b1423b preliminary bidi support.
add blind+speconly penalties.
add dpi-aware flag.
fix issue when switching between singleplayer and multiplayer between maps.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4703 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-30 21:57:35 +00:00
Spoike
75e22d98fe fix potentially fatal sv_minping memory leak.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4702 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-30 20:32:34 +00:00
Spoike
a842a623e4 fix minimal
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4701 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-27 16:19:22 +00:00
Spoike
51baf65e9b add joystick csqc event stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4700 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-27 16:10:10 +00:00
Spoike
ceb32ec494 reworked penalties flags. now a single bitfield instead of separate booleans. added 'blind' penalty.
tweaked portals again. no longer wrongly impacting against the portal's front/back planes, even with speed.
reworked PEXT_LIGHTSTYLECOL, now uses a vector instead of a channel mask.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4699 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-25 03:53:11 +00:00
Spoike
b1e3060648 tweaked download rules to match mvdsv, by adding an allow_download_other cvar.
added log_enable_rcon (and enabled it by default), for feature parity with mvdsv. invalid requests, valid requests, and redirected prints are all logged.
tweaked server-side download code to not bug out with downloads larger than 2gb.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4697 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-24 03:02:32 +00:00
Spoike
1908310788 try to fix centerprint bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4696 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-23 16:18:00 +00:00
Spoike
9ec5f0007b minor bugfixes.
changed qw portal collision to match bboxes more closely.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4695 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-22 23:58:53 +00:00
Spoike
9ad0d24f54 fix lumas missing on q3 bsps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4694 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-22 23:45:30 +00:00
Spoike
1943a1c5a0 fix lumas missing on q3 bsps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4693 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-22 23:44:30 +00:00
Spoike
5aba4ddeaa fix SV_RunClientCommand on dedicated servers (and other weird ways).
fix a couple of other crashes.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4692 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-22 16:30:35 +00:00
Spoike
e7a29a440f fix crashes on ATI cards.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4691 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-22 03:14:07 +00:00
Spoike
f58cede199 fix mingw debug crash reports.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4690 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-21 23:19:47 +00:00
Spoike
ed54ed2dcf portal tweaks. prediction code can now use portals, but cannot actually predict them yet, for a couple of reasons.
gravitydir on monsters should now be workable (qc needs to be careful with ideal_yaw, which is now relative to the gravitydir rather than the xy plane).
fix an issue where shaders were not loaded after gamedir switches.
added 6dof command (and player movetype).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4689 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-21 17:58:17 +00:00
Spoike
49a04eacae fix minimal build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4688 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-16 21:13:50 +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
b026bbacfe add support for ipv6 scope ids (so you can use the correct link-local addresses).
fix portal rendering with non-identity model matricies. add portal csg behaviour (with nq physics at least).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4686 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-16 16:21:28 +00:00
Spoike
a4db77b22f rewrite download code detect rates and get the best speeds practical.
client can cope with files over 4gb.
added download resumption. hopefully.
fix some q3 bugs.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4685 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-12 23:08:42 +00:00
Spoike
4405abcc93 added nodraw2. exactly the same as nodraw except that q3map2 doesn't understand it. this allows it to be used with 'surfaceparm meshcollide' for solid invisible surfaces.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4684 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-08 20:27:35 +00:00
Spoike
d143045118 fix !!ver so it actually works, allowing later glsl version (for stuff like 'flat')
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4683 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-08 09:36:15 +00:00
Spoike
854c56d9c0 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4682 fc73d0e0-1445-4013-8a0c-d673dee63da5 2014-06-08 04:59:00 +00:00
Spoike
45d04950c1 fix defaultgroundshader issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4681 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-08 04:54:04 +00:00
Spoike
945020e760 fix an rtlight crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4680 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-05 11:21:37 +00:00
Spoike
454a87ba55 oops
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4679 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-04 18:29:01 +00:00
Spoike
2401870b7b small performance tweak.
fix r_remapshader command with sv_cheats on.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4678 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-04 16:08:30 +00:00
Spoike
e2eded8ffe oops
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4677 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-02 19:05:18 +00:00
Spoike
c415ead7d8 Attempt to improve areaportal support. now networked (so visible clientside), but will probably break anyway, if doors open before players join. should also block some rtlights, although perhaps not completely.
disable the use of quakespy stuff, using a dynamic port and no stuffcmds from random ip addresses and no mutex.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4676 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-06-02 16:50:40 +00:00
Spoike
c841b4fbd1 attempt to update the openportal builtin to work with q3 as well.
ignore sound() calls with empty sound names.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4675 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-30 18:04:51 +00:00
Spoike
50f80352c3 don't get too confused over areas.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4674 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-30 17:20:21 +00:00
Spoike
68599df1f7 some more random fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4673 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-30 16:37:20 +00:00
Spoike
3c8ece88ed fix a potential crasher.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4672 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-30 15:47:04 +00:00
Spoike
a601a18708 Try to fix a few issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4671 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-30 03:59:38 +00:00
Spoike
6c84350afd Try to fix a few issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4670 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-30 03:57:30 +00:00
Spoike
1c38e52b3f kill svmodel.c from the makefile too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4669 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-23 02:14:36 +00:00
Spoike
3bd6892353 try to fix q2/q3bsp checkclient bug by rewriting everything to do with pvs!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4668 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-23 02:02:51 +00:00
Spoike
faae661e9e fixed up sort ordering to be more correct.
drawstrings now tint the string, and should now work as expected with ^3 colours.
tweaked qcc's utf-8 parsing. utf-8 chars are now valid in identifiers. invalid chars (like pesky nbsp) are more verbose, and can actually be found.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4667 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-21 06:21:09 +00:00
Spoike
23dc0cbe21 unbreak console links.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4666 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-20 02:36:19 +00:00
Spoike
eb91fc3ac7 try to fix a couple of misc issues, both minor and major.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4665 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-20 02:23:37 +00:00
Spoike
bacf9e90ba try to fix a crash or two.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4664 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-19 01:44:05 +00:00
Spoike
6e9f1eb0c6 add/fix some more extension.qc comments.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4663 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-19 00:09:56 +00:00
Spoike
025f95238e try to compensate for id's bugs/warnings, for ease of use.
fix a couple of bugs/spam.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4662 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-18 23:02:04 +00:00
Spoike
9d97715782 make sure .framegroups can't use poses out of bounds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4661 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-17 15:40:50 +00:00
Spoike
7cfaa1a6ef setrenderer headless;vid_restart does not mess with vid_renderer cvar at all now.
add the particle debugging commands to release builds too. probably should only be the particles one and not the trails one, but whatever.
try to do something about black screens on android etc by sys_erroring if we get glsl compile errors on the default2d glsl when there's no fixed function available. this is enough to ensure that the console text+background is always visible, or they know(ish) why its not.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4660 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-17 15:25:02 +00:00
Spoike
c0f8c28e2c fix some crashes and other annoying issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4659 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-16 17:45:37 +00:00
Spoike
4c3cb29108 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4658 fc73d0e0-1445-4013-8a0c-d673dee63da5 2014-05-16 01:48:12 +00:00
Spoike
d7f83cbdc7 moving q2 temporary entities to particle configs.
fix 'bind alt_k' result.
don't generate a luma from 8bit if there's a custom diffuse image.
add support for #append.
#includelist now supports macro expansion.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4657 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-16 01:34:58 +00:00
Spoike
e693c6956b hopefully that won't break anything too much...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4656 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-14 01:08:36 +00:00
Spoike
3711f71bdc add getsoundtime builtin to csqc. needs testing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4655 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-13 23:21:20 +00:00
Spoike
49249854c3 try to fix a glsl level
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4654 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-13 23:17:12 +00:00
Spoike
d39708f043 tweak the binds menu. adding spacers, titles, and tooltips.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4653 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-10 17:26:41 +00:00
Spoike
6cc33d7d08 try to be more verbose with null functions called from the engine.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4652 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-10 16:37:53 +00:00
Spoike
589b09ae1d added cl_sendguid cvar, defaulting to 0. this disables the guid feature by default.
reworked a few q2 particle effects. q2 should feel a bit better now. by no means complete.
ssqcless csqc should have time progressing.
q3ui+console should be a bit less stupid.
stripped old huffman code. copied over from ioquake3. should help avoid bugs in that shit.
system mouse cursor should now always be hidden when running windowed. soft-cursor only.
added bindlist.lst feature.
particle system can now support weighted/randomized sounds. model command now more verbose, and supports renderflags.
renamed debugger cvar to pr_debugger, in the hopes that it'll be easier to find. also added to menu a little more visibly in a politically-motivated move.
fix q2+viewsize 30
'high' particles now have scrag+hknight impact effects. perhaps I overdid the scrag one.
fixed q2 player icons on the scoreboard.
added q3bsp_surf_meshcollision_* cvars.
dedicated servers now use the same bsp etc loading code as clients. the dedicated-server-only stuff is no longer needed, which is a good thing because it seemed a little buggy last time I tried.
split vertex+fragment shader compilation, for systems that secretly thread that.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4651 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-10 13:42:13 +00:00
Spoike
88994352f8 added support for some bindlist.lst file giving available menu binds, to make it a little easier to change those.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4650 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-07 20:25:08 +00:00
Spoike
d8704bb5e0 try to catch exceptions in threads too, not just the main thread.
fix default settings to correctly use ` instead of ~ for toggleconsole.
fix a couple of possible signed-where-unsigned-expected with quake2.
fix possible q3 crash.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4649 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-05-04 04:14:52 +00:00
Spoike
952670bb3a Fix a few bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4648 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-29 02:29:04 +00:00
Spoike
c0841c73ab add net_compress cvar to enable/disable the compression feature. off by default for now.
auto-precache sounds if they were not already precached. also prints a warning (once, obviously). this is for consistency with models
added cmd voicetarg specself, which will send voice only to the people spectating you (and not your team), including into demos.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4647 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-27 23:16:07 +00:00
Spoike
eb3f5addb5 someone fecked up...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4646 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-24 02:18:06 +00:00
Spoike
1c0373ae97 add headless renderer to make onemanclan happy. ish.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4645 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-24 01:56:00 +00:00
Spoike
dd8628eb2a tweak particle system a little for more compat.
added a couple extra effects to r_particledesc high
try and solve the trailparticles madness once and for all by autodetecting which set of arguments is used.
fix some annoyances with menuqc.
rebuild fs cache when doing vid_restart, to avoid insane reload times.
add profiling support.
qcc: be more permissive with {a,b,} in array definitions.
tweaked logfrag builtin to not loose frags quite so easily. should be more robust now. Whether tools agree or not is a different matter... but there's always the possibility that it'll just work.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4644 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-24 01:53:01 +00:00
Spoike
3d71834373 pointer arithmetic.
fix issue with classes not doing nonvirtual properly.
fix virtual functions existing separately from basic fields.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4642 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-14 09:16:41 +00:00
Spoike
45545825a4 try to correct decal positions so small ones work a little more reliably (only when no orientation is specified).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4641 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-13 18:21:04 +00:00
Spoike
15caf097af git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4640 fc73d0e0-1445-4013-8a0c-d673dee63da5 2014-04-13 04:27:21 +00:00
Spoike
8b9ad6a48e fixed menu bug
added some extra quake particle effects to the 'high' set, including some lights. I wonder how many people will complain.
tried to fix up coronas a bit to make them more robust.
fix stepping issue at high framerates.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4639 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-13 04:23:13 +00:00
Spoike
faeb62f4ee misc hexen2 compat fixes. added/improved most missing particle effects in some form.
hopefully this won't break quake too much.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4638 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-12 03:31:59 +00:00
Spoike
5be72a87b8 fix some tenebrae-style rtlights.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4637 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-12 03:30:27 +00:00
Spoike
f25a6cd758 oops. I implemented it, but never actually hooked it up properly!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4636 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-12 02:37:18 +00:00
Spoike
2e98386da2 Added pm_watersinkspeed cvar.
Misc bugfixes, mostly hexen2-related. tibet5 bug is finally fixed.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4635 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-06 15:16:39 +00:00
Spoike
8f7931b860 findradius in csqc should not be using server stuff...
fix some potential crashes on conflicting cvar/command names.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4634 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-06 15:12:19 +00:00
Spoike
6793b674ff stop crashing, mmkay?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4633 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-04 01:45:40 +00:00
Spoike
d124fe8cf0 Fix misc bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4632 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-03 02:39:51 +00:00
Spoike
7ece1c70cb Fix misc bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4631 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-03 02:16:21 +00:00
Spoike
f18c928973 Add gl_lightmap_nearest.
Add a warning if the world moves.
Fix tags to not loop on non-looping animations.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4630 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-02 00:58:02 +00:00
Spoike
7cbb9d61ca double leafbrushes limit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4629 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-04-01 23:43:45 +00:00
Spoike
e75cbadc11 fix iqm models.
rename some things.
don't reload filesystem(twice) when quitting.
add savegame_legacy command for saved games that can be loaded in vanilla engines.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4628 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-03-31 17:06:41 +00:00
Spoike
4a88b21e11 fix stupid bug with vf_perspective 0 and maxdist 0.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4627 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-03-30 13:03:02 +00:00
Spoike
cef708e7af msvc ignores this. gcc doesn't. bah.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4626 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-03-30 11:52:09 +00:00
Spoike
42d428df5a fix misc things that I previously missed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4625 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-03-30 10:43:05 +00:00
Spoike
cdf7815cf7 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4624 fc73d0e0-1445-4013-8a0c-d673dee63da5 2014-03-30 09:17:19 +00:00
Spoike
2e1a70e319 rewrote ban code, merging bans+nonbans+cuffs+mute+cripple+deaf+lagged+vip. added timeouts. new penalties have no dedicated command. use the addip command for it.
maplist command now generates links.
implemented skin objects for q3. added a csqc builtin for it. also supports compositing skins.
playing demos inside zips/pk3s/paks should now work.
bumped default rate cvar.
added cl_transfer to attempt to connect to a new server without disconnecting first.
rewrote fog command. alpha and mindist arguments are now supported. fog change also happens over a short time period.
added new args to the showpic console command. can now create clickable items for touchscreen/absmouse users.
fixed menus to properly support right-aligned text. this finally fixes variable-width fonts.
rewrote console tab completion suggestions display. now clickable links.
strings obtained from qc are now marked as const. this has required quite a few added consts all over the place.
probably crappy attempt at adding joypad support to the sdl port. no idea if it works.
changed key bind event code. buttons now track which event they should trigger when released, instead of being the same one the whole time. this allows +forward etc clickable buttons on screen. Also simplified modifier keys - they no longer trigger random events when pressing the modifier key itself.
Right modifiers can now be bound separately from left modifiers. Right will use left's binding if not otherwise bound. Bind assumes left if there's no prefix.
multiplayer->setup->network menu no longer crashes. added rgb colours to the translation view (but not to the colour-changing keys).
added modelviewer command to view models.
added menu_mods menu to switch mods in a more friendly way. will be shown by default if multiple manifests exist in the binarydir.
clamped classic tracer density. scrag particles no longer look quite so buggy.
added ifdefs to facilitate a potential winrt port. the engine should now have no extra dependencies, but still needs system code+audio drivers to be written.
if it can't set a renderer, it'll now try to use *every* renderer until it finds one that works.
added experimental mapcluster server mode (that console command). New maps will be started up as required.
rewrote skeletal blending code a bit.
added cylinder geomtypes.
fix cfg_save writing to the wrong path bug.
VFS_CLOSE now returns a boolean. false means there was some sort of fatal error (either crc when reading was bad, or the write got corrupted or something). Typically ignorable, depends how robust you want to be.
win32 tls code now supports running as a server. added connect tls://address support, as well as equivalent sv_addport support.
exposed basic model loading api to plugins.
d3d11 backend now optionally supports tessellation hlsl. no suitable hlsl provided by default. !!tess to enable.
attempted to add gamma ramp support for d3d11.
added support for shader blobs to speed up load times. r_shaderblobs 1 to enable. almost vital for d3d11.
added vid_srgb cvar.
shadowless lights are no longer disabled if shadows are not supported.
attempt to add support for touchscreens in win7/8.
Wrote gimmicky lua support, using lua instead of ssqc. define VM_LUA to enable.
updated saved game code. can again load saved games from vanilla-like engines.
changed scale clamping. 0.0001 should no longer appear as 1.
changed default mintic from 0.03 to 0.013 to match vanilla qw. I don't know why it was at 0.03. probably a typo.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4623 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-03-30 08:55:06 +00:00
Spoike
7e80062ab9 Added x11 unicode input support. Added wayland support (FTE_TARGET=linux-wayland). Added properly support for rpi+egl (FTE_TARGET=linux-rpi, warning: expects to cross-compile).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4622 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-03-30 00:39:37 +00:00
Spoike
4499164f27 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4621 fc73d0e0-1445-4013-8a0c-d673dee63da5 2014-03-01 12:16:27 +00:00
Spoike
b282a31f35 A few fixes for nehahara/reacc compat. I got a working progs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4620 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-03-01 11:38:53 +00:00
Spoike
c604c0c17f Fix a bug that mushi got stuck on.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4619 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-22 00:28:22 +00:00
Spoike
ce67f11851 Hopefully fixed missing particles bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4618 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-22 00:27:03 +00:00
Spoike
4b2fc5ac01 fix compile error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4617 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-21 12:21:12 +00:00
Spoike
832079f0a6 Fixed dynamic linking issues... properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4616 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-17 15:31:47 +00:00
Spoike
b499252a4e Fixed dynamic linking issues with png_get_error_ptr
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4615 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-17 15:12:44 +00:00
Spoike
1c46aefb39 avoid the use of png_jmpbuf. libpng's setjmp crap is just bug after bug. don't use it at any cost. luckily libpng still provides for an error callback, so use that with our own setjmp+longjmp calls. hopefully things will be less fucked that way.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4614 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-16 18:05:28 +00:00
Spoike
a3d4e46edc git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4613 fc73d0e0-1445-4013-8a0c-d673dee63da5 2014-02-14 13:29:41 +00:00
Spoike
4deebba5ee and fix dedicated servers again...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4612 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-14 13:19:00 +00:00
Spoike
80dd9a1e79 fix misc junk that was buggy. hurrah for handy test cases.
q3 shader remapping now a bit more robust.
portals finally work properly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4611 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-14 10:02:23 +00:00
Spoike
8f6c1a3e92 fix misc junk that was buggy. hurrah for handy test cases.
q3 shader remapping now a bit more robust.
portals finally work properly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4610 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-14 09:59:32 +00:00
Spoike
fd70ec0c62 fix misc warnings.
add support for q3's shader remapping feature.
don't mask sky depth on q3bsp. apparently it causes problems.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4609 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-13 23:54:57 +00:00
Spoike
d502211d75 make sure things drop to the ground after getting pushed over a ledge.
fix some warnings.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4608 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-13 23:49:36 +00:00
Spoike
a50af06efc fix some warnings. properly fix v1 holes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4607 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-13 23:37:33 +00:00
Spoike
324e0b9334 updated qc key codes to match 2004+ dp builds.
added qc key code defines to fteextensions.qc
removed map planes limit, lives on as only a sanity limit. should perhaps cvar them.
added cl_run cvar, for q2 compat.
fix \r char not printing properly.
attempt to support holes in terrain again.
fix issue with q3 bspmodel culling.
clamp q3 movement, to not overflow-then-bug-out.
fixed recent zip bug.
now sending an empty string instead of a null string to gamecode when playing a cinematic map, gamecode should be less likely to crash this way.
added 'game' cvar. exactly like gamedir, except a cvar and q2 compatible.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4606 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-11 17:51:29 +00:00
Spoike
13b586ea06 Tweaked svn stuff a little more. Should be more robust now. 3rd party SVN headers+libs are no longer on svn.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4605 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-09 09:25:28 +00:00
Spoike
663c405165 fix potential font-missing crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4604 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-09 05:55:55 +00:00
Spoike
0d4128ff78 fixing sdl1.2
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4603 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-07 16:05:24 +00:00
Spoike
48330c38c9 try to fix a crash that gb had.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4602 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-07 15:39:37 +00:00
Spoike
02662a3369 tweak cl_loopbackprotocol. its probably not ready for picking a random protocol.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4601 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-07 15:36:10 +00:00
Spoike
4131ab7a6e less debug spam.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4600 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-07 15:17:43 +00:00
Spoike
ae55a11a1c Tweaks to fix stuff that I broke.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4599 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-07 14:57:07 +00:00
Spoike
db77a84453 try that again. I hate platform-specific code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4598 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-07 09:39:18 +00:00
Spoike
9140cccb9f Fix a couple of bugs that I didn't catch.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4597 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-07 09:36:04 +00:00
Spoike
1bb752b582 sdl2 support.
hacky rendertarget stuff. not polished. don't use except for testing. feedback desired.
switched file system to use a qofs_t type instead. define FS_64BIT to make it 64bit (standard on 64bit cpus).
rewrote zip support, ditching unzip.c. this provided zip64 support, and unicode in zips.
changed local address enumeration to not be so stupid.
updated ode support a little to match some dp features.
changed fs_cache scheme, to not rebuild needlessly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4596 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-02-07 08:38:40 +00:00
Mark Olsen
b9e46e4fa6 When trying to addip an IP address that has already been banned, and the code in fact detects that the address has already been banned, don't add a duplicate entry to the list of banned IP addresses.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4595 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-22 07:58:32 +00:00
Spoike
a4f03df481 try to fix the recently created fodffa unable-to-respawn bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4594 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-17 23:28:48 +00:00
Spoike
b05e0a051c attempt to clean up log rotation names. again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4593 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-17 08:31:16 +00:00
Spoike
25bf5b55b2 Fix the 'removeip' command to be less buggy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4592 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-17 08:05:25 +00:00
Spoike
026939f58d readlink doesn't null terminate. oops.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4591 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-16 07:03:40 +00:00
Spoike
4f48db148c fix valgrind issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4590 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-16 06:47:33 +00:00
Spoike
8b5cbfbc94 Tweak field reordering routine slightly to not result in valgrind warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4589 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-16 06:36:36 +00:00
Spoike
caa2fa5177 add some compat back in for bigfoot
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4588 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-16 03:53:36 +00:00
Spoike
20c69342a2 make sure the language cvar is registered properly, even if we don't read registry settings on windows dedicated servers. fixes dedicated servers crashing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4587 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-16 02:44:43 +00:00
Spoike
eb3b670a45 Fix a bug with map restarts and missing entities.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4586 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-15 23:28:51 +00:00
Spoike
a9ee530688 fix minimal builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4585 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-15 02:58:07 +00:00
Spoike
e96be3b817 and fix the hud.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4584 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-15 02:51:01 +00:00
Spoike
964c8899b0 make sure clients always know their own velocity. this is required for cl_bob, and other things I guess.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4583 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-15 02:32:13 +00:00
Spoike
9a38addfaf c++11 style raw-string support
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4582 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-15 02:13:58 +00:00
Spoike
c52a75aea0 try to fix a couple of rtlight issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4581 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-15 02:13:06 +00:00
Spoike
e00155b8fa mostly fix v_gunkick/punchangle in nq mods.
as an nq client, its still ignored.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4580 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-15 01:30:23 +00:00
Spoike
d9085d414b lets try that one again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4579 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-14 21:56:41 +00:00
Spoike
38a9770253 add support for symlinks in zips.
try to fix normalmaps on q3bsps. could do with verification, but at least I'm not the only one with a bug if its still buggy.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4578 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-13 02:42:25 +00:00
Spoike
705e9ac9e8 fix a comment bug reported by gnounc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4577 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-13 02:33:11 +00:00
Spoike
90d981d8ef I used an msvc-only function. oops.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4576 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-05 01:01:52 +00:00
Spoike
ede02cbb91 attempt to load the no_texture image from disk as needed. this allows gb to avoid the pink check board image that he seems to hate. With this change, he is free to change it to pink ponies or whatever else he fancies.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4575 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-04 22:05:47 +00:00
Spoike
2f62478648 mneh
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4574 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-03 21:53:17 +00:00
Spoike
bfe545222e added con_textsize to resize console separately from everything else.
qcc: added support for variable arguments via the va_arg intrinsic.
qcc: fix up some comment/whitespace issues with the preprocessor.
random hacks to try to improve dp compatibility a little.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4573 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-29 22:48:28 +00:00
Spoike
d7cdc39ccd don't use qw nail packets for clients that have replacement deltas. at least we won't repeat lots of angle changes.
tweak some culling with attachments to be a little more in line with DP. This should fix view models randomly disappearing in nexuiz.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4572 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-23 21:33:40 +00:00
Spoike
1f4a0cb80a try that again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4571 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-20 11:26:28 +00:00
Spoike
2a030268c5 trying to sort out input madness.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4570 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-19 18:41:57 +00:00
Spoike
d4e312b398 compile even with no freetype support
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4569 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-19 16:38:36 +00:00
Spoike
4a19ae4627 try to resolve rjlan's forgetting-configs issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4568 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-19 16:36:17 +00:00
Spoike
f762446a7d make cheat cvars allowed in single player by default.
fix an issue with referenced packs getting forgotten when running non-dedicated servers.
whichpack now always references packs even if allow_download_refpackages is disabled.
add setcursormode for compat with dp's csqc.
fix some qcc issues that came up.
bump some q3bsp sanity limits a little.
greater precision for android's vibrate feature.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4567 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-17 22:45:37 +00:00
Spoike
7ac2fd1b39 try to fix an issue with r_r2g with the grenade model not precached.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4566 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-12 12:39:34 +00:00
Spoike
9d10c167b6 fix a couple of inconsistencies.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4565 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-10 20:53:31 +00:00
Spoike
a445b8486a fix terrain not saving properly
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4564 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-10 20:52:28 +00:00
Spoike
e2081b565f webquake-compatible websocket support. yuck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4563 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-09 01:18:27 +00:00
Spoike
483403dc9a misc bugfixes for things reported by 1path0gen1.
and a few added bugs for fun.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4562 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-08 20:06:55 +00:00
Spoike
a62660d5e7 don't crash with pipes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4561 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-07 23:26:10 +00:00
Spoike
6d2849cf29 fix some qcc bugs with arrays+structs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4560 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-07 18:32:55 +00:00
Spoike
591b848148 trying improve ftedroid and fix the issue with opera+file urls.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4558 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-07 00:30:48 +00:00
Spoike
5f1ec064dc fix annoying warning about temps not being freed when pointers are used.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4557 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-07 00:28:02 +00:00
Spoike
6defcc7a5f better parsing for #pragma target
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4556 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-07 00:24:06 +00:00
Spoike
f311eaec54 fix stupid binds menu bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4555 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-04 06:14:10 +00:00
Spoike
d75ef8869e add a default autoexec.cfg for android at mushi's request.
add temp(ish) workaround for non-functioning tmpfile libc function on android.
clarified the error message displayed when tmpfile fails.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4554 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-03 15:15:50 +00:00
Spoike
f438694f28 msvc sucks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4553 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-02 14:33:22 +00:00
Spoike
218006198d fix q2 bsp texture animations.
fix q2 prediction.
fix q2 saved games issues.
fix q2bsp fullbright/fullwhite lights.
fix potential issues from svs.clients no longer being preallocated.
fix rtlights not doing q1 bsp texture animations.
misc crash fixes.
hack to allow a clickable hud when using a touchscreen.
gl_max_size no longer affects 2d images.
select faithful fps preset option by default.
gl_font a,b,c works to select fallback fonts. freetype fonts reused to reduce memory usage when the same font is used multiple times either with different sizes or as fallbacks as part of other fonts.
allow static member functions. allow static locals.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4552 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-02 14:30:30 +00:00