1
0
Fork 0
forked from fte/fteqw
Commit graph

580 commits

Author SHA1 Message Date
Lance
226ae08d0a Use -DCLANG with clang (sv_rankin.c hotfix), Makefile cleanup (cleaner filenames) and -D_SDL added to the
win32_SDL 
targets


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3215 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-06-08 08:10:32 +00:00
Spoike
b7c8b33b98 Stopped Moodles from being quite so evil.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3197 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 10:37:50 +00:00
Spoike
9cd988a836 Added csqc->ssqc requests.
Fixed up cl_indepphysics. Sending is fully independent, bar sync points.
Fixed so #if 0 works in qc code.
Fixed up error conditions in qclib when features are not supported.
The webpage generator will now refcount properly.
Fixed error conditions when using glsl shaders.
If MULTITHREAD is defined, r_loadlit will not light inside a separate thread.
We now generate VBOs for bsp objects. Shaders/rtlights don't use them yet.
Fixed up MVD/multiview playback a bit. It now looks like it works! (cl_hightrack will no longer track the same person in all views).
Fixed error conditions when attempting to download versioned csprogs.
Reduced the number of places that a q3-style marked up string is expanded. I think there are a couple places left still though. Approximated ezquake colour codes.
Memory mapped read file access in win32, where we can. Not sure about this. Lets see how things pan out.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3195 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-24 10:11:17 +00:00
Spoike
640aafdc34 Makes Q3 somewhat playable again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3193 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-05-20 23:59:17 +00:00
Mark Olsen
af09a50527 Fixed 'unban all' to unban all, not just the first.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3186 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-28 15:49:20 +00:00
Spoike
5f1a9d8cbf added cprint console command.
fixed nq client loading-screen persisting bug
fixed nq clients getting flooded by packets.
fixed nq clients not receiving any entities
removed a bit of redundant code in pmove
fteqcc: merged array function calls with real function calls, fixing return values in the process.
vid_preservegamma now defaults to off. windows sucks.
tweeked the prototype FTE_CSQC_SKELETONOBJECTS a bit. still not official nor advertised.
added a little bit more functionality to halflife support
csqc got some pmove tweeks. this is how I want it to work. nothing has been changed that is really incompatible with darkplaces in this commit.
added markers around some ext_csqc_1 features.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3178 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-19 00:50:42 +00:00
TimeServ
42b4577802 don't flash when already the active window
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3177 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-18 23:48:35 +00:00
Spoike
2adb420a6d Reworked the console/loading screen a little. The console is no longer directly shown at startup. MSVC2005 project files update for npqtv.
Added vid_wndalpha to make the window transparent (only supported in GL-win32).
Multiple issues with SW rendering, which I'll fix eventually. It does at least run, even if it looks ugly.
Plugins are now able to read the console input. Bigfoot, feel free to tweek.
Fixed up a few mismatched prototypes.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3153 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-06 00:34:32 +00:00
Spoike
0eb7e83965 Stuff should compile a little better with GCC now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3150 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-02 22:25:54 +00:00
Spoike
4974c57c2c Big fat-off commit.
A few changes. Half-Life support is finally getting committed.
Some unnecessary filesystem code changes.
And there's code for nsapi - meaning we can embed FTE in a browser (firefox and opera on windows work).
A couple of CSQC changes, trying to move towards a final EXT_CSQC_1.
Revised ruleset format finally implemented.
Doesn't compile with msvc6 due to issues with libjpeg not being a clean library.
Presumably its fine in vs2005.
Your mileage may vary.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3148 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-01 22:03:56 +00:00
Spoike
76f6ad0345 CSQC_DAT and MENU_DAT can now be enabled in CLIENTONLY/MINIMAL builds (so long as both are enabled).
Tweeked a statement that was causing crashes with msvc2008.
Dedicated servers should build again.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3139 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-07 05:05:54 +00:00
Spoike
b763b5594d My monthly commit. I wonder what I broke.
Contains some stuff to get twig working a little better.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3132 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-03-03 01:52:30 +00:00
Spoike
d18566f4e8 My god. I suck. I really do. I really really apologise. Sorry. Really really sorry. GAH!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3125 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-21 22:27:51 +00:00
Spoike
3b402813d8 Don't resolve master servers at startup. This stops huge stalls when you don't have complete internet access (lan games/single player).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3123 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-08 19:05:28 +00:00
Spoike
4e5e28b1ee Fixes the phantom grenades in twig.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3113 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-30 06:46:21 +00:00
Spoike
88aa502054 Reduced spam a little.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3111 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-30 06:31:51 +00:00
Spoike
e2b905e74c NQ clients now get broadcast messages again. Whoops.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3106 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-30 02:48:03 +00:00
Spoike
f06fcc78af Fixed a potential incomprehensible server message bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3104 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-29 01:41:28 +00:00
Mark Olsen
3e6d9af3d4 Ugh, when a player changes a userinfo string, please don't send the update to all connected players n times, but just 1 time. 'Fixes' the 'crashes' on busy servers, but the real problem is still there: Too much client input can clog up the server, effectively causing a DoS.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3103 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-22 04:08:45 +00:00
Spoike
6e3f69f504 d3d rendering is diabled (framestate, read later - merged will compile just sw+gl for now).
fte particle scripts are disabled (classic works).
I'll fix these in the new year.
Redid framestate stuff again. Slightly better now, but this is the bulk of the changes here.
Reworked the renderqueue to provide batches of items instead of individual items. This cleans up the particle rendering code significantly, and is a step towards multiple concurrent particle systems. fte's scripted particles are broken as I'm trying to find a way to rework them to batch types together, rather than having to restart each batch after each particle when you have two particles in a trail. I'll fix it some time.
Reworked some alias model code regarding skeletal models. Added some conceptual skeletal bone control builtins available to csqc. Currently it can query the bone names and save off animation states, but can't animate - its just not complete.
Added more info to glsl custom shaders.
Updated surface sorting on halflife maps to properly cope with alphaed entities, rather than just texture-based blends (q2-style).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3095 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-23 02:55:20 +00:00
Spoike
5b978f4ab7 Fixed a recent stupid bug (thanks krimzon)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3093 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-11 00:18:47 +00:00
Spoike
90c028c812 clear fixangle on botclients, allowing them to update their angles to match v_angle automatically
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3089 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-06 02:07:04 +00:00
Spoike
0cd836b793 Makes DP_SV_PLAYERPHYSICS a little bit more tolerable by making players actually have friction when they're about to fall into lava, simply by renaming a cvar...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3088 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-06 02:06:00 +00:00
Spoike
f01514060e Fixed a crash associated with demo listings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3083 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-03 02:23:53 +00:00
Spoike
bab14ec1af Fixed ftesv's PEXT_MODELDBL support. It'll work in ezquake again now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3078 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-02 23:05:14 +00:00
Spoike
bf63418315 Fixed a potential crash on SV_Error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3077 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-02 23:04:15 +00:00
Spoike
e4c9d744a8 Why do I still have commit access?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3073 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-30 05:31:16 +00:00
Spoike
bf53bd5577 more stuff broken
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3072 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-29 16:15:04 +00:00
Spoike
6fb100e8b5 more stuff broken
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3071 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-28 20:34:51 +00:00
Mark Olsen
71ade84614 Empty enums are boring.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3066 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 20:32:28 +00:00
Spoike
dce284811e Minor update...
Q3 clients can connect to q1 gamecode (sv_listen_q3).
hacked support for SendFlags. It'll work compatibly, just not efficiently.
Unified shared qc builtins.
fteqcc supports int |= float, more params in macros, &~= operator.
Additional recent DP QC extensions.
Particle system abstraction. 'r_particlesystem classic' (vs null or script) will revert to truly classic particles.
Nexuiz might run again.
Network address revamp (sv_port and sv_port_ipv6 can both be used to specify an ipv4 address:port and both corrently accept clients). localhost now properly favours ipv4 (use ::1 for ipv6 localhost).
Download system revamp.
Numerous other changes.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3051 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-09 22:29:28 +00:00
TimeServ
fcbfb0e22c change registry entry for win32 dedicated for future use
misc sound fix

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3032 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-11 03:39:34 +00:00
Mark Olsen
704fb438c9 Another SNAFU fixed. This should be the end of superbloated entity updates.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3031 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-10 13:11:46 +00:00
Mark Olsen
0159d7a211 Spike, you suck. Always diff before commit :/. Delta updates are there for a reason.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3030 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-10 08:56:03 +00:00
Mark Olsen
24e178bc37 Buffer overflows are bad for you, m'kay?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3029 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-08-23 19:17:19 +00:00
TimeServ
828b3e99ab fix a few casting issues allowing maps such as warpa, etc. to load (probably not done here)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3028 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-08-06 12:11:27 +00:00
Spoike
9741aacb98 Fix a crash which qqshka reported, and fixed up some C style.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3021 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-07-07 20:39:21 +00:00
Molgrum
8278f53e15 Patch from Spike, change droptofloor() to take entity number as argument instead to comply with QVM mods.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3020 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-29 11:17:46 +00:00
Molgrum
eec8fcb78b Add G_MOVETOGOAL builtin for KTX.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3019 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-27 20:26:33 +00:00
TimeServ
0adc1e1054 clear colorshifts on disconnect, don't decrease cshifts on gamma change, fix warning
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3009 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-12 23:19:47 +00:00
TimeServ
9cf2db123c added persistant queries (UNTESTED), changed sqlopenquery call, added sqlreadfloat, fixed deallocs, self/other is stored on openquery call and is checked against a spawnid on callback call (reset to world when check fails), preliminary add FTE_ENT_UNIQUESPAWNID
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3006 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-11 16:04:14 +00:00
Molgrum
33140dbf24 Ruleset expanded with ruleset_allow_localvolume. Set to 0 in 'nqr' and 'strict'. Made NET_AdrToString return a non-static pointer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3002 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-08 14:37:57 +00:00
Mark Olsen
f15fc6fefd Build... Even if you don't have SQL defined.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3001 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-06 21:27:04 +00:00
TimeServ
f0b6bf19d3 commands sqlstatus, sqlkill, sqlkillall added; cvars sql_driver, sql_host, sql_username, sql_password, sql_defaultdb added; sqlconnect params changed to (string host, string user, string pass, string db, string driver) with all params optional; code works with these cvars when params omitted or "" but we only have one driver (mysql)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2998 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-04 20:48:28 +00:00
TimeServ
8761bb1485 fix sql init/deinit, add broadcast to force sql thread termination
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2995 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-02 23:13:03 +00:00
Molgrum
afb7e76967 It comiples in Linux, thanks to Spike for the break&fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2994 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-02 18:36:52 +00:00
Spoike
519983dee2 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2992 fc73d0e0-1445-4013-8a0c-d673dee63da5 2008-06-01 22:06:22 +00:00
TimeServ
a631205fe7 added conditional variables for win/linux/sdl, switched sql thread worker to conditional to avoid busy looping, corrected a spikeism
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2991 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-01 05:42:23 +00:00
Spoike
94d108c522 Fixed up qc stat field submission.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2989 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-31 10:35:38 +00:00
Molgrum
69a32e88de Stop RealIP-checks when realip_status has reached sv_getrealip.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2986 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-30 21:38:02 +00:00