Commit Graph

3633 Commits

Author SHA1 Message Date
Spoike b6a9a64124 Lets try using posix clocks instead of gettimeofday.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4076 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-15 03:34:57 +00:00
Spoike b0d236c5c0 yet more fixes...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4075 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-15 03:18:34 +00:00
Spoike a0acf7ceab bizzare...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4074 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-15 02:44:54 +00:00
Spoike ddc9183f11 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4073 fc73d0e0-1445-4013-8a0c-d673dee63da5 2012-07-15 02:40:30 +00:00
Spoike 584d2776cc Added terrain to q3/rbsp maps too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4071 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-14 23:17:54 +00:00
Spoike a2f7763d97 grr
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4070 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-14 17:33:44 +00:00
Spoike 71dce10318 Trying to fix stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4069 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-14 17:25:21 +00:00
Spoike 2c7220af2e bizzare...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4068 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-14 16:36:19 +00:00
Spoike 8ae45223dc Android: fat presses, vibrator, onscreen keyboard, keep-screen-on, console scaling, touch-based console scrolling, additional bindables.
Some memory leaks fixed.
latency with the nq protocol over loopback is much reduced.
Terrain: now mostly a property of a (q1 for now) bsp map, file format changed, glsl now built in, terrain editor builtin improved/changed, holes supported.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4067 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-14 16:25:18 +00:00
Spoike e2a5138e77 Fix missing default textures on rbsp maps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4066 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-09 00:44:05 +00:00
Spoike fe4e66ee1b Fix silly hunk misalignment.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4065 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-08 23:28:41 +00:00
Spoike fcf33c350d Fix fs_cache issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4064 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-08 12:33:08 +00:00
Spoike 73fd4fcf8d gb reported that fs_cache wasn't working, but its more serious than that. this should fix it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4063 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-07 22:26:45 +00:00
Spoike f58b9802b8 misc fixes, mostly for q3bsp+no pvs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4062 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-07 05:17:43 +00:00
Spoike eaae31aec1 Fix 'Building a vbo with too many verticies' error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4061 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-07 02:52:39 +00:00
Spoike 765642b1e2 Sorry, some bits I missed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4060 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-06 21:34:23 +00:00
Spoike fe23d72d69 Android tweeks
memory freeing tweeks
batch data rearranged a little (to try to reduce memory).
RBSP/FBSP fixed. lightstyles now supported.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4059 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-05 19:42:36 +00:00
Spoike 180432523d Fix specular.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4058 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-05 13:09:44 +00:00
Spoike a88b2274c7 rbsp/fbsp lightstyle support in the default wall shader
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4057 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-05 13:08:07 +00:00
Lance aee80e353b Added some 16:9 video resolutions in the options menu
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4056 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-06-16 08:58:36 +00:00
Spoike 237dffe4d4 Trying to appease bigfoot.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4055 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-06-01 12:57:01 +00:00
Spoike f96c737175 Slightly more verbose output for glsl linker errors.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4052 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-14 15:07:03 +00:00
Spoike da3ac7e993 not sure what to do with this. oh well.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4051 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-14 01:46:13 +00:00
Spoike 4db8b46c4b implement ripplemaps. currently requires explicit mod support to use properly.
fix hexen2 conchars
fix audio sample mixups
fix recent beam-related crashes.
added orthographic bsp culling routines.
fix crash on vid_restart.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4050 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-14 01:41:08 +00:00
Spoike 757b50efa1 Resolved amd64 valgrind warnings and potential slowness
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4049 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-13 13:59:39 +00:00
Lance 46d38af14e Fix for Android under buildbot
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4048 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-11 04:44:18 +00:00
Spoike 1dcc435bca added args to the bloom shader for better tweekage.
Committing my lame water shader. r_water_refract/r_water_reflect 1 to use.
Bugfix for crepuscular arrays (r_sun_colour to easily enable).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4047 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-11 01:57:00 +00:00
Lance 376324eacf Fixed Win64 SDL abit, and tweaked Android to work better with buildbot
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4046 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-11 01:20:36 +00:00
Spoike 38e0063b39 fix h2 teleporters not being transparent
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4045 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-11 00:51:54 +00:00
Spoike 48d03aff82 mingl fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4044 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 19:14:25 +00:00
Spoike 15af83a0d8 fix potential crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4043 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 19:09:51 +00:00
Spoike 6422652191 Fix hexen2 crash-on-starting-a-map.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4042 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 18:54:07 +00:00
Lance 768b58b9ec Fixed MorphOS dedicated server to include some important headers
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4041 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 15:39:23 +00:00
Mark Olsen 05782350c4 Define __MORPHOS_SHAREDLIBS on MorphOS by default. FTE for MorphOS now requires MorphOS 2.0+.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4040 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 13:01:02 +00:00
Mark Olsen 7c45604012 Use dynload.library by default. dlopen() and friends will now only work on MorphOS 2.0+.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4039 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 12:56:18 +00:00
Mark Olsen 8e5035d08a MorphOS build fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4038 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 12:55:14 +00:00
Mark Olsen cdc66e4dad Crappy crap code now has crap support for MorphOS.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4037 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 12:54:10 +00:00
Mark Olsen 756b6b67f0 Only try AF_INET6 if IPPROTO_IPV6 is defined.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4036 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 12:53:36 +00:00
Spoike 4446f60fe8 Added code for glsl-less rtlights.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4035 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-10 01:00:41 +00:00
Spoike 33a540806e Small tweeks, bugfixes, breakages, cleanups...
Added $reflection texture map for (water) shaders. Just renders the screen to an fbo before rendering the surface.
hub/savegame fixes.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4034 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-05-09 15:30:53 +00:00
Spoike 7b5a5f6f9e fix for packet fragmentation
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4033 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-25 16:29:58 +00:00
Spoike 5d12d96f87 bigfoot complained that the timedemo framecounts didn't match vanilla. So now it matches vanilla (both nq and qw), but does not match bigfoot's own engine, because bigfoot's engine cheats and does not match vanilla.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4032 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-24 12:22:50 +00:00
Spoike 25ef3f02db Couple of bugs fixed - other-player prediction, net_preparse crashes, q2 gamecode no longer crashes.
Throttle getstatus requests (so we don't end up being used for udp escilation (d)dos attacks so usefully/expensively).
Added cl_predict_players_frac. vanilla QW effectively had a hardcoded value of 0.5.
Added simple fps preset menu, which keeps on appearing until they actually pick one. mwahaha.
Quit menu offers to save settings if some CVAR_ARCHIVE cvar was changed.
alias models do vertex blending on the gpu.
GL renderer now uses vao when available.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4031 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-24 07:59:11 +00:00
Spoike 6187f214cf Removed obsolete 'OF' macro.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4030 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-24 03:12:50 +00:00
Spoike a6bd4e999d Removed obsolete 'OF' macro.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4029 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-24 03:11:27 +00:00
Spoike 6ffc2e5041 Removed obsolete 'OF' macro.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4028 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-24 03:07:04 +00:00
Mark Olsen b39b0fae51 Not that it is accepting server announcements currently anyway, but changed asgaard.morphos-team.net to qwmaster.fodquake.net.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4027 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-23 18:43:12 +00:00
Spoike e81a0f68e3 fixes aerowalk lifts (broken since my gravitydir stuff apparently).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4026 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-23 18:40:10 +00:00
Spoike 810d28dd84 Included Environment class to figure out where the sdcard is on more devices.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4023 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-21 04:04:46 +00:00
Spoike 3c5cb8ee20 for qtv to work too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4020 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-20 15:18:01 +00:00
Spoike 0e77fa7386 Fix an mvd/qtv-related crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4018 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-20 14:13:18 +00:00
Spoike e6c741f2fe small fix for bigfoot's $time
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4017 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-20 14:09:04 +00:00
Spoike ffb3ddcbb8 compile fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4016 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-16 12:19:15 +00:00
Spoike b6d08f44c5 Added $time and $properdate macros to dedicated servers too, for bigfoot's easyrecord stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4015 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-16 12:15:05 +00:00
Spoike 161f9e46b1 forgot to add that to the makefile
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4014 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-10 10:51:52 +00:00
Spoike 82542ae037 Committing this before I break it any more.
Massive terrain system rewrite.
Added a Native Client port (sound is stereo 44khz only, rendering is gles2, networking is websockets only (sv_port_tcp supports acting as a qw websockets server with non-nacl servers, filesystem is downloads-only - no saves/configs). Blame Zalon. Grr.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4013 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-09 19:12:12 +00:00
Lance 9657eb2637 Fix Win64 SDL build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4012 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-27 03:01:13 +00:00
Lance 47b0283d10 Enabled BOTLIB (-DBOTLIB), and added it to virtually every target possible (except NPFTE and MinGL) which don't have a dedicated server. Let's see what we break...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4011 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-25 11:30:07 +00:00
Lance bc8ee99e3a Added botlib (BOTLIB_OBJS) but not enabled.
botlib errors when enabled: http://pastebin.com/YfQfeEB3

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4010 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-25 11:15:37 +00:00
Spoike 39fa352534 fix typo. reported by DeCypher
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4009 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-23 07:23:39 +00:00
Spoike 56b48c2f7c compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4008 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-23 05:22:22 +00:00
Spoike 14507b55f3 doubled -mem size to a 16mb heap.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4007 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-22 22:50:19 +00:00
Spoike 5049001068 compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4006 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-20 03:52:16 +00:00
Spoike 53116a9763 tweaked console completion to be less spammy and to show descriptions for commands where available.
added a few descriptions to a few cvars.
tweaked strzone/strunzone, added memalloc/memfree/memcpy/memset (use pr_dumpplatform to dump out a new defs).
tweaked android to use a smaller audio buffer, hopefully reducing latency slightly. let me know if this results in bugs...

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4005 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-19 06:30:41 +00:00
Spoike 8e77971422 fix a temp use error in self.enemy.velocity += vecfunc();
divVerent has full credit for this.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4004 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-03-18 20:07:03 +00:00
Spoike 6bd53e82a3 android fix, enables ipv6. should stop the crashes, though that's a separate issue really.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4003 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-29 20:54:22 +00:00
Spoike 95569fc5dd Trying to fix stuff from last commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4002 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-27 13:55:23 +00:00
Spoike 4149c85ab6 tweeks and changes for android.
audio mixer revamped to cope with threads. 'cache' memory functions no longer used for audio.
added windows acm code to decode mp3 files.
audio playback rates scale with game speed. snd_playbackrate added to control the rate of new samples.
sv_gamespeed no longer needs a map change.
fixed '=' on german keymaps and in_builtinkeymap 0 (and similar issues). bug: keybind names still use US keymap.
added support for rmqe's 24bit network precision.
fixed byterate reporting to no longer be protocol-dependant (nq rates are no longer wildly inaccurate).
removed waterjumping when already dead.
fixed model matrix for viewmodels (modelview unchanged), thus fixing rtlighting on viewmodels.
Added bspx support for rgblighting, lightingdir, and (preliminary)brushlists.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4001 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-27 12:23:15 +00:00
Spoike 5f12e8c9dd bug fixes...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3999 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-17 01:35:22 +00:00
Spoike 854157a4e7 Added .vector gravitydir;
Added csqc getentity builtin (untested, broken for players).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3998 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-17 01:12:37 +00:00
Spoike 47ccd3bd0d fix movetypes, fix q2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3994 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-15 13:53:30 +00:00
Spoike 0736882c60 trying to fix q2 connectivity.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3993 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-15 13:35:37 +00:00
Spoike 09c275794c fix a connectivity issue
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3992 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-15 08:31:55 +00:00
Spoike ee72d0ca0d I'm tweeking pmove.c for the luls.
fixed 8859-1 for non-english hexen2
tweeking my deltaing.
cl_demospeed bugs fixed.
fixed things being seen through skys.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3990 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-14 15:50:34 +00:00
Spoike 24e5adeb2b qcc: added somevec[0] to read somevec_x
qcc: fixed struct->ptrfield = ptrvalue
qcc: fixed spam with unused struct members
qcc: fixed str[0][0] and similar situations.
bgqc: fixed sprintf builtin's vector prints.
csqc: added flags field to beginpolygon. value&4 will draw the poly immediately (orthographic projection).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3988 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-13 09:24:01 +00:00
Spoike 9acd5a61a6 trying to fix q2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3986 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-13 04:11:11 +00:00
Spoike 37ce84814d random quick fixes...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3984 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-12 08:32:39 +00:00
Spoike 342ab8af35 random quick fixes...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3983 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-12 07:57:53 +00:00
Spoike f43b8d535c random quick fixes...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3982 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-12 05:54:44 +00:00
Spoike 7d9fcc4150 random quick fixes...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3981 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-12 05:51:51 +00:00
Spoike 7ca0ccd48c random quick fixes...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3980 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-12 05:33:16 +00:00
Spoike 9ee7301d32 my attempt at android multitouch (csqc can also distinguish separate mice in windows too).
playing around with fragmentation and mtus. added net_mtu to negotiate some mtu size for smaller (or larger) network messages. setting a custom mtu allows for message fragmentation too.
trying to add a reworked deltaing protocol, including all sorts of fun stuff like bbox sizes, and higher ent limits.
added support for content override entities. set the skin field to some (negative) contents value, and you get movable water with prediction and waterwarp and everything, though you likely want a custom qbsp or a shader to get backface culling.
removed some madness with model skins, fixing some weird q3 bugs.
fixed forced-pause-on-start for q2
fixed q3 server to actually accept client packets again.
fixed strftime builtin

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3979 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-12 05:18:31 +00:00
Spoike 37f494a7c0 Fixes a potential illegible server message.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3976 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-06 02:06:23 +00:00
Spoike 20403759b0 Stricter typedefs/typenames, so no more random types appearing which were not intended.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3974 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-05 01:38:51 +00:00
Spoike c3e1d104d5 allow installing on the sdcard instead of phone.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3972 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-02 04:20:22 +00:00
Spoike 121c693a13 use SDK level 8's tools and java classes, in order to support additional features (app-on-sd and multitouch). Should still run on droid 1.6+.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3971 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-02-02 04:19:24 +00:00
Spoike 114cc22cbc Fix screen rotations making the screen black.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3970 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-29 12:53:12 +00:00
Spoike c1f65683bb I'm an idiot.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3969 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-28 10:49:12 +00:00
Spoike 44530bac44 And I suck too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3968 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-28 10:40:09 +00:00
Spoike 6cb98092de gmake sucks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3967 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-28 10:33:48 +00:00
Spoike 4496bb6ea0 Removed limit on strcat builtin's length.
Fixed issues with DP7 protocol.
Fixed .fatness.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3965 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-28 10:30:44 +00:00
Spoike aa72d14cec don't use TRUE or FALSE. apparently fte's headers don't define them, so depending on them is folly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3964 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-25 04:41:12 +00:00
Spoike 420438ea79 Fix the cause of all of OneManClan's issues. A 64bit portability issue that won't always trigger on every 64bit machine. Thanks to OMC for helping me find that.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3963 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-25 04:40:10 +00:00
Spoike c1db4356f7 try to fix a clientonly-with-csqc build issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3962 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-25 04:11:27 +00:00
Spoike 567e9f112b added DP_QC_ENTITYSTRING builtins.
mvd playback fixes/cleanups
r_fb_models more closely matches ezquake.
readded str[i] support.
fixed char constants (outside of strings).
string table compression no longer affects distinction between "" and string_null.
multiplayer savedgame fixes.
don't bugilly change hexen2's playerclass on loadgame, and preserve the STR_foo globals which are not marked for saving.
fix small bug on player renames. added a temp debug print to try to catch the issue onemanclan is having.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3961 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-24 04:24:14 +00:00
Spoike 770948a320 d3d compiles again (yes, your poking does work Moodles).
Fixed particle beam/torch weirdness (rjlan poked me for this one!).
tiny optimisation in the gl renderer.
offsetmapping info is loaded even with bumpmapping disabled.
Fixed some hexen2 annoyances.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3960 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-21 07:53:49 +00:00
Spoike 1cb10f78d6 fix mingl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3959 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-18 04:15:16 +00:00
Spoike fceb77d3cb probably I should add some makefile rule instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3958 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-18 02:44:50 +00:00
Spoike fb214142a3 tcpconnect fixes
lots of hexen2 fixes
fixed clipped decals again, still not using any...
fixed zips over 2g
rewrote bloom to use glsl. should be slightly more usable now.
lots more hexen2 fixes

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3957 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-17 07:57:46 +00:00
Spoike 5651e77c30 Android fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3956 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-16 06:22:06 +00:00
Lance 0b7e5ce3e6 Proper fix to my previous failed fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3955 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-04 16:51:50 +00:00
Lance 5c52aa9975 Hopefully a solution for Win64 + SDL... or hack
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3954 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-04 16:08:33 +00:00
Spoike 2b7b9720f3 this is one way to fix that error anyway.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3953 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-03 23:44:01 +00:00
Spoike 5ac53bf18c Added android signing rules.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3952 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-02 15:32:08 +00:00
Spoike 0453b1bbae Missed a file for android.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3951 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-02 14:59:00 +00:00
Spoike ac526f0e1b patch to use extern properly. divVerent neededed it, so we might as well.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3950 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-01 17:34:32 +00:00
Spoike 1f4c6c0da3 fun text to speech hack.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3949 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-01 15:34:02 +00:00
Spoike d017f98870 thought I'd changed that. also, cygwin sucks, I just want to say that despite it having nothing to do with this actual commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3948 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-01 13:11:35 +00:00
Spoike 1e621416ce added support for ambient/diffuse/specular scale properties on rtlights.
attempting to fix up the avi code for mingw weirdness.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3947 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-01 11:22:24 +00:00
Spoike 3b3d08542a avi audio decoding.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3946 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-01 07:02:45 +00:00
Spoike 016c840497 fixed rcon_address not having a default port
sv_port now accepts a space-delimited list of addresses/ports to listen upon.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3945 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-01 06:25:51 +00:00
Spoike d877bd4e39 preliminary attempt to get rtlights in d3d builds. shadows are only cast by world, and the hlsl code is somewhat lacking. also only works in d3d-only builds.
no longer using the vfw header or lib, so avi playback/recording should work when compiled with gcc.
added d_mipcap cvar.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3944 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-01 02:26:42 +00:00
Spoike f32a88f684 saneified dynamic light colour values.
added preliminary support for some rtlight cubemaps.
no longer using tmpfile in win32 - its too unreliable.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3942 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-27 08:35:19 +00:00
Spoike 54358b62b2 bugfix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3941 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-26 16:26:15 +00:00
Spoike 9e4edb8a9a Small fixes and tweeks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3940 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-26 15:19:13 +00:00
Spoike 29cfd270b9 tiny fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3939 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-24 06:16:01 +00:00
Spoike de29dce680 skel_set_bone_world implementation.
fix attempt to fix npfte issues.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3938 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-24 04:05:28 +00:00
Spoike 6bb579f24b improve compat.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3937 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-23 17:33:28 +00:00
Spoike 4d75061dbc iqm fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3936 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-23 16:11:21 +00:00
Spoike 1cd1453a42 fixes iqm again, 'fixes' the white textures on xavior's map.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3935 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-23 15:32:26 +00:00
Spoike 354879befc fixed up player lerping.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3934 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-23 14:36:25 +00:00
Spoike 1693ba6c58 revamped fog to use glsl. shouldn't harm framerate quite so much.
tweeked d3d renderer. certain shader constructs might be broken now so don't try q3 with it, but framerates are up when playing quake.
tweeked gl rendering too, timedemo results seem a little higher also.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3933 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-23 03:12:29 +00:00
Lance dd006b6edd removed some redundant code required for mingw64
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3932 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-23 02:53:12 +00:00
Spoike 2d23892be0 Misc fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3930 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-06 00:39:39 +00:00
Spoike 345d9a6e50 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3929 fc73d0e0-1445-4013-8a0c-d673dee63da5 2011-12-06 00:37:14 +00:00
Spoike 34f05c9aeb I shoulda modified the makefile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3928 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-06 00:35:24 +00:00
Spoike 9df0a4c2d4 workaround for mesa.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3927 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-06 00:34:31 +00:00
Spoike d6d0105d3c A couple of changes.
Added a higher quality particle config.
Quick hack for crepuscular rays.
added new command, eg: pr_dumpplatform -FFTE -O csplat
used package reporting on servers, auto package downloading on clients, should be fully implemented.
Smoothed out players a little. Added option to menus.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3926 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-12-05 15:23:40 +00:00
Spoike a3257e524f divVerent was not happy!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3925 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-11-27 16:17:02 +00:00
Spoike 3adc129b83 compile fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3924 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-11-09 11:15:19 +00:00
Spoike 790052a28e tighter bsp model culling.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3923 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-11-09 04:14:38 +00:00
Spoike 119c9c412c Basic collisions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3922 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-11-09 04:12:57 +00:00
Spoike 6398930473 Fixes bugs found by xonotic team ('0 0 0' being overlapped with globals, initialisers not being marked as referenced, fixed macro argument expansion to not crash when given long values).
Enables compilation of 'float foo=5;float foo=5;' (similarly functions, fields are never initialised anyway, the dupe is ignored so long as the initialisation is the same).
Fixed an offset bug with arrays stored within typedefed structs.
Fixed int += int to not require an explicit addstore operand.
Added support for ! operator in #if statements, as well as fixing a couple of other issues there, should be much more usable.
Added 'optional' keyword when defining function arguments. All trailing arguments must have it too. This allows stricter type checking with functions that take optional arguments.
Removed warnings with __variant types.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3921 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-11-08 06:00:35 +00:00
Lance b8cb5421de Accidently set unpack to false on last commit, this one it's set to true
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3920 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-11-06 14:50:32 +00:00
Lance 7f9568f0cf Firefox NPFTE fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3919 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-11-06 12:18:13 +00:00
Lance c8e7e0641a 32bit version of mingw64 doesn't seem to have this header
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3918 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-30 11:29:09 +00:00
Spoike 77ac72e78c bumped MAX_NAME limit. seems to not be part of any structures/dynamic allocations, so there's no super-massive memory hole added by this.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3917 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-29 23:16:51 +00:00
Spoike b91b32cd38 Just breaking stuff, trying to get axfte stuff working.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3916 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-29 19:01:33 +00:00
Lance 18179bcf48 .cpp handling in makefile added, lowercase'd an include file in sys_axfte
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3915 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-29 04:06:49 +00:00
Spoike a463f1c0f1 fixed getsurfacenearpoint builtin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3914 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-29 03:15:49 +00:00
Lance 39bb4fff81 sys_npqtv.o renamed to sys_npfte.o
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3913 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-28 17:46:38 +00:00
Spoike e5845b86a8 stub Sys_RandomBytes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3912 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-28 15:15:35 +00:00
Spoike b356dc75aa linux/gcc/general fixups.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3911 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-27 16:42:53 +00:00
Spoike f33873ddb7 committing for fixes for OMC
some minor changes. Mostly bug fixes and internal reorganisation.
Added code to provide an activex control as part of the npfte.dll plugin. If the dll is registered the regsvr32 way, the plugin can be used with IE as well.
fisheye/panoramic view enable is now controlled by rulesets instead of serverinfo.
server will list all pak files it has loaded. client will probably do the wrong thing and still needs fixing properly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3910 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-27 16:16:29 +00:00
Spoike 5118de8bdd committing for fixes for OMC
some minor changes. Mostly bug fixes and internal reorganisation.
Added code to provide an activex control as part of the npfte.dll plugin. If the dll is registered the regsvr32 way, the plugin can be used with IE as well.
fisheye/panoramic view enable is now controlled by rulesets instead of serverinfo.
server will list all pak files it has loaded. client will probably do the wrong thing and still needs fixing properly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3909 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-27 15:46:36 +00:00
Spoike 50a8624f59 no dupe _("") stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3908 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-06 19:59:53 +00:00
Mark Olsen 12678040d4 Completely untested and not even attempted compiled MorphOS implementation of Sys_RandomBytes().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3907 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-03 09:23:34 +00:00
Lance 06d954479b npfte target now creates npfte.crx for Google Chrome
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3906 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-03 05:56:36 +00:00
Spoike f3bbed043b Some qcc changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3905 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-03 02:45:44 +00:00
Spoike 8d2cc63faf Audio support for droid. No idea how the latencies are. Probably terrible.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3903 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-09-22 15:57:16 +00:00