Commit graph

3793 commits

Author SHA1 Message Date
Spoike
4182d5d160 revert that breakage
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4356 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-11 14:10:06 +00:00
Spoike
9dbf5b5837 changed to not load gamecode from quake paths, to avoid issues with buggy quakeworld clients that will freely download stuff from anywhere (not sure what to do about ktx, but it can be reenabled with a cvar).
image_width is now only set by a single function.
tweaked scancode inputs slightly. added support for printscreen binds.
changed the way gamma works. glsl gamma now used when running windows, or hardware gamma is not available. removed gl_contrast+gl_brightness.
q2 gamecode support no longer has a system componant. this means that ports only need the generic stuff.
misc tweaks to the d3d11 renderer.
added brief descriptions to many builtins. need to add comments to constants, globals, and fields too, somehow.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4355 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-11 14:02:55 +00:00
Spoike
39705786bd mingw64 changed to match msvc's symbol decorations (but not all the extra runtime stuff). So we need new versions of the various libraries if they are to compile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4354 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-11 10:36:30 +00:00
Spoike
873f0a8134 Fix various warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4353 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-11 05:03:07 +00:00
Spoike
2c084c6042 Couple of fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4352 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-10 15:20:47 +00:00
Spoike
675c34777c allow cross-origin websocket connections.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4351 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-09 03:01:29 +00:00
Spoike
9f4d7529df Make spec_track internally work off entities, as its 1-based already. This properly fixes the crashing bug onemanclan had.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4350 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-09 02:18:15 +00:00
TimeServ
67e139bb64 attempt fix static gl build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4349 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-08 02:06:02 +00:00
Spoike
b82dc4f068 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4348 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-05-07 22:25:00 +00:00
Spoike
ec03a4ed95 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4347 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-05-07 22:23:28 +00:00
Spoike
cab2869fc7 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4346 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-05-07 21:07:14 +00:00
Spoike
4074f20476 apparently this is more correct.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4345 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-07 19:41:17 +00:00
Spoike
24040b9ef2 couple of issues I spotted that might eventually lead to issues if they're not fixed now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4344 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-07 19:40:44 +00:00
Spoike
029b630ab7 slightly better version.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4343 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-07 19:39:35 +00:00
Spoike
f293ffa8a5 Fix a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4342 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-07 19:39:04 +00:00
Spoike
d4f3879a25 attempt to fix some mingw issues
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4341 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-07 19:38:36 +00:00
Spoike
61e1eee0e9 more explicit checks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4340 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-07 19:37:37 +00:00
Spoike
9c163d60aa create paths as needed
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4339 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-07 19:37:00 +00:00
Spoike
5330c9b124 fix nacl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4338 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-07 19:36:42 +00:00
Spoike
186dd8ab68 trying to make it a little more robust for omc
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4337 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-07 02:08:44 +00:00
Spoike
b7db01e3fc Probably more correct.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4336 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-05 01:18:38 +00:00
Spoike
11c7f5965a For debug versions of plugins.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4334 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-04 10:37:51 +00:00
Spoike
d90ed31f93 Simple fix for stupid bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4333 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-04 10:37:21 +00:00
Spoike
f7737ea294 Finally remove dependancy on X11 library, as no symbols are used from it anyway.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4331 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-04 04:48:14 +00:00
Spoike
045d75a770 Small fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4330 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-04 04:38:48 +00:00
Spoike
0ace59febf oops
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4329 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-04 04:18:41 +00:00
Spoike
2e978297a9 Fix a bad type.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4328 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-04 04:03:12 +00:00
Spoike
ec6a6dcd8b Attempt to determine where we're being run from on linux as we do in windows.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4327 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-04 04:02:25 +00:00
Spoike
6b41038183 Be a bit more precise with backtrace prints. Don't include the signal handler, and make sure the faulting frame is not corrupted by the handler on x86.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4326 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-04 04:01:47 +00:00
Spoike
ffc2a08589 pass network addresses around as a pointer rather than as a struct. They've grown quite a bit from vanilla code and can now be quite large. this should give more efficient network filtering+matching.
Added version+time+date to segfault lots.
try to use vbo+vao as needed.
added a manifest file in order to disable uac emulation and its virtual store lies.
particles now support a sort of namespace. eg: an effect called "cfg.effect" will load up the 'cfg' particle config and use its 'effect' effect (but not replace any explicit effects). You can still create particle effects called 'cfg.effect' with no issue.
Added support for fsarchive plugins.
Added a sys_register_file_associations command. .bsp not yet handled, but demo playback should work fine.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4324 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-03 04:28:08 +00:00
Spoike
152f3cf78a fix a qcc issue with [x,y,z] and temp values, also fix an issue with comments and preprocessor.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4323 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-03 04:10:48 +00:00
Spoike
1cd5a38a3e fix deadlock issues on xp, hopefully.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4319 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-13 15:29:50 +00:00
Spoike
6ce12710eb code for a watchdog debug dump.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4318 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-13 13:42:57 +00:00
Spoike
8b3541b9b4 fix a few input issues.
ctrl+tab completes the suggested text (ctrl+space still does).
escape works again to bring up the menu (oops)
partial command completion works again.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4317 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-13 13:41:02 +00:00
Spoike
a70446c69b oops, fixed a missing function for emscripten builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4316 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-13 13:13:15 +00:00
Spoike
577419de37 improve handling of writing to world entity.
split left and right alt. binds+gamecode still use left-alt exclusively. alt-for-red-chars only works with left alt. right alt is alt-gr, so text input now works fine.
fixed support for keypad and text entry.
sdl2 clipboard support, if we're compiled with sdl2.
fixed issues with sdl sound. shouldn't be so terrible now.
soundinfo command now more verbose.
support for interpolated ramps.
removed input line length limitations, although some limitations still remain.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4315 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-13 08:15:18 +00:00
Spoike
19c2e051a6 remove spam/infinite loop bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4314 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-13 07:53:21 +00:00
Spoike
b3fccfa11f finally fix font corruption.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4313 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-13 07:52:15 +00:00
Spoike
04c1e9537b more correct scoping warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4312 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-12 15:01:48 +00:00
Spoike
a141f45715 Bit more verbose. Also ensures that the location actually exists.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4311 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-11 10:34:06 +00:00
TimeServ
292f61c6e0 add command line options via query string for web build, add web memory option and boost default to 384MB, use gcc4.7 for android build, fix pnacl, clean makefile slightly
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4310 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-09 21:31:44 +00:00
Spoike
6ddd50e769 include clipboard stuff for mac.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4308 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-09 00:21:55 +00:00
Spoike
53f8676f83 needed for macos, apparently. there's still a bug elsewhere.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4307 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-09 00:19:13 +00:00
Spoike
b90b032238 global focus dsound in win32. give it the desktop window so we don't have to care about window handles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4306 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-09 00:18:38 +00:00
Spoike
c0167628f2 fix a mutex deadlock due to my dsound change.
allow the webgl port to directly accept an ip, making up the tcp:// and port part automagically.
fix sdl dependencies slightly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4305 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-08 11:27:39 +00:00
Spoike
2632c351fd some kind of standard header for mkdir or something. mneh.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4304 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-08 09:45:26 +00:00
Spoike
5b2bd7fe87 hopefully sdl target should work a little better on mac.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4303 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-08 09:31:59 +00:00
Spoike
cc0e24142a fix mouse input again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4302 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-08 08:23:43 +00:00
Spoike
944c675b2e Use SDL1.3 text input instead of button input, this gives (me) actual unicode values, so you're no longer all forced to use an en-gb charmap, lucky you.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4301 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-08 06:47:27 +00:00
Spoike
20a338b0f6 do not assume alpha test works (because it does not in gles2 / core).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4300 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-08 03:51:21 +00:00