Commit graph

132 commits

Author SHA1 Message Date
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
ce5cb75832 this commit will most likely break things: main Z_*/BZ_* calls no longer have zone logic, tagged allocs redone and now partially thread safe (still Sys_Error), code using reallocs should no longer assume new memory is zeroed, minor mysql fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2951 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-09 14:22:37 +00:00
Molgrum
dbb78b3825 Spike's fix to prevent a crash due to particles being loaded before the map.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2792 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-22 17:08:18 +00:00
Mark Olsen
faac72835c SP_#? -> CON_#?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2686 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-23 15:28:06 +00:00
Spoike
0a682a76d6 Resolved conflicts with macosx header files
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2671 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-22 19:28:27 +00:00
TimeServ
13eeec99a2 removed gl_loadmd2/gl_loadmd3, added r_replacemodels, r_particlesdesc is now separated by spaces and ;
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2658 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-13 22:27:56 +00:00
Molgrum
2dfb03ee03 Fixed 1000 warnings, changed switch-statements to handle all enumerations. Sorted it up abit too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2585 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 19:16:32 +00:00
Spoike
1f9484f93d One d3d renderer.
Wonder how much this breaks.
Place your bets now.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2501 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-05-25 22:16:29 +00:00
Spoike
5339cd92e7 Spotted + fixed some bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2459 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-08 03:10:41 +00:00
Spoike
42c43d960f mostly miscilaneous changes (some old stuff that I don't remember), lightsampling changes, qtv changes, avi sound changes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2379 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-17 00:59:22 +00:00
TimeServ
36eb3f13ad attempted fix to particle run list
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2377 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-08-20 14:06:52 +00:00
TimeServ
5d58e5ce6e fix to particle run list
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2375 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-08-20 00:58:19 +00:00
TimeServ
72b679e209 delete from list instead of maintaining state
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2374 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-08-20 00:47:13 +00:00
TimeServ
99ac405575 only loop through particle types with particles (very slight fps increase)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2372 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-08-16 13:07:55 +00:00
TimeServ
d3fe8cba4b change default particle execs from server to local restrict level (server restrict screws over chain-loading)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2361 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-18 17:46:17 +00:00
TimeServ
a10f1f22a6 cleanup, change TE_BLOB to TE_TAREXPLOSION in particle sets, change TE_BIGEXPLOSION to TE_TEI_BIGEXPLOSION, fix centerprints/stuffcmds not being written to mvds (maybe), misc fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2310 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-02 17:42:36 +00:00
TimeServ
637633af80 vector op cleanups, added pr_droptofloorunits, sets how many units droptofloor QuakeC call will drop, defaults to "" which drops up to 256 units (Quake default)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2304 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-29 04:50:24 +00:00
TimeServ
f5ce9a375f cosmetic fixup to track stuff, r_rockettrail/r_grenadetrail will correctly update on change, r_rockettrail/r_grenadetrail "" will revert to default instead of no trail
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2282 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-18 01:19:19 +00:00
TimeServ
6f64002cc3 support r_particlesdesc chain loading; use r_particledesc "x;y;etc" to load multiple configs, removed shaft effect from spikeset, created new tsshaft set and added it into sets, change r_particlesdesc default to "spikeset;tsshaft"
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2246 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-07 01:49:06 +00:00
TimeServ
9e8aa5ee66 add r_particlesdesc callback and removed latch, r_particlesdesc will now reload particle set on change
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2245 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 06:26:02 +00:00
TimeServ
fbe51078b2 fix to spiral trails
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2226 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-20 22:21:42 +00:00
TimeServ
81bd85742f particle field spawnparam2 changes starting degree for spiral trail
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2225 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-18 23:11:44 +00:00
TimeServ
d2c2021680 use a more sane default value with beam textures which fixes the look of the spikeset railtrail for TF nails/Q2 railgun
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2127 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-20 00:23:48 +00:00
Spoike
aeea639fc2 Filename security paranoia. Added a glsl extension to the shader system. using serverinfo, you can enable shaders without cheats now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2079 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-11 03:12:10 +00:00
TimeServ
d245b06c91 got rid of some anonymous unions
fixed a few msvc2005 complaints


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1971 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-17 02:51:59 +00:00
TimeServ
484cf48e82 added particle fields beamtexstep/beamtexspeed for beam texture manipulation, added alphadelta which obsoletes alphachange
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1955 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-11 23:41:40 +00:00
Spoike
0ad239ca6a Fixed all warnings in MDebug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1948 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-11 14:51:36 +00:00
Spoike
6430b9b214 added a macro for specifying all the cvar properties. This will simplify stuff for Q2.
Also added trace_endcontents and trace_surfaceflags.
File system (still too selectivly) reads gz files.
Fixed a buffer overflow in the http client.
Made server downloads decompress zipped files to a temporary file. This should make it download them faster.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1943 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-11 02:09:43 +00:00
Spoike
cf73c8b81e Copyable console, and up2's demand for aliases like fuhquake.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1935 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-06 01:06:17 +00:00
Lance
9caf98dc48 fixed msvc6 warnings
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1897 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-27 08:17:59 +00:00
Spoike
a5c48434df Made spawnmode circle face the correct direction (z is no longer flat) - this is only on trails.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1890 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-26 04:04:04 +00:00
Spoike
e3cb464de9 Some bugs fixed. I wonder what I've broken.
Oh yeah, hud scoreboard stuff works now.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1883 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-21 00:06:49 +00:00
TimeServ
083ca12678 have to keep the old behavior
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1741 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-23 10:25:36 +00:00
TimeServ
996757ec23 step/count extension to handle additional random values
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1740 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-23 09:31:17 +00:00
Spoike
503eff6421 Reworked the filesystem. We now support a virtual filesystem. Many places accept stream usage, although many formats do not support this.
I'm not sure if this will break anything. It shouldn't do, but it might.

Not everything is ported over yet. Ideally there would be no more use of fopen anywhere else in the engine, and com_gamedir would be made static to fs.c
There are a couple of other changes too.

http/ftp stuff is currently disabled.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1728 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-21 03:07:33 +00:00
TimeServ
88098ab5d3 r_rockettrail/r_grenadetrail 0 disables
both cvars marked as semicheats
switched faithful for highfps in presets.. need a faithful preset probably


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1596 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-26 23:23:03 +00:00
TimeServ
8728f3abbb pe_defaulttrail junk for Q1/H2
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1595 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-26 23:11:19 +00:00
Spoike
9858ac6fdb Added orgadd to add to the origin like veladd does
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1540 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-28 01:32:24 +00:00
TimeServ
b19c4d4a81 well this somewhat fixes r_part and "blank lines" inbetween { and } but not completely, a real fix is needed for anything using Cbuf_NextLine
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1539 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-26 05:02:45 +00:00
TimeServ
8db473c858 Added particle type name to error message
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1499 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-18 04:37:42 +00:00
TimeServ
a972b7cb12 this should fix linux index particles/r_menutint
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1460 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-10 01:16:58 +00:00
TimeServ
fbf48a84dc fix to radomvelvert
rehashed particle sets (spikeset, faithful, and highfps are now complete sets), added minimal
fix to gl crosshair...


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1458 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-09 22:06:52 +00:00
TimeServ
ff9003eeb0 gl_part_flame should be registered under a SW-only build (it's not really a SW-only option...)
few more minor fixes


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1455 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-09 01:36:42 +00:00
TimeServ
e47090201b pe_defaultrail, like pe_default but for trails, works mostly with q2 for now though
additional Q2 TE_s supported
a few other particle fixes


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1454 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-08 22:35:20 +00:00
TimeServ
0751c774e9 added perframe, undoes per frametime emitting (for flares)
added nostate, disables use of trailstate (also for flares, problems with assoc)
added averageout, reaverages particles from start/end with trails (for beams)
added nospreadfirst/nospreadlast, disables spawnvel/spawnorg on first/last particles (for beams)
moved citracer to flag
added ball/circle spawnmode to trails (slightly different distribution from standard box)
added distball spawnmode


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1453 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-08 06:07:50 +00:00
Spoike
d4d365175d I've been fixing warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1448 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-07 16:27:20 +00:00
Spoike
c27b034fce This might be handy to someone.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1389 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-28 23:33:33 +00:00
TimeServ
ad3f2c26ac warning fixes
log_* cvars (readable translation, cycling, custom dir/file, developer, etc)
cl_standardmsg (like cl_standardchat, colors names in standard net messages, defaults to 0 to annoy people)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1378 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-26 08:07:26 +00:00
Spoike
bc810377fd A small security fix, well, it might be needed later.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1343 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-17 17:09:22 +00:00
TimeServ
eb06704511 fixes to particle emitting (temp?)
build fixes to SW
parsing fixes


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1299 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-09 02:01:30 +00:00