Commit graph

43 commits

Author SHA1 Message Date
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
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
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
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
Molgrum
1e64dfd76d Patch from Spike. Two new ruleset cvars, one that prevents custom eyes models, one that prevents custom skins on packs/eyes (this doesn't work yet, needs fix).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2898 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-01 15:21:14 +00:00
Molgrum
0f02f12b8b s/compatable/compatible (take notice that sv_compatablehulls will have a changed name too)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2717 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 18:08:47 +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
Spoike
742c8df40b Added code to check for truncated BSPs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2398 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-10-05 21:12:04 +00:00
Spoike
97f836b5ed Just fixing my errors before TimeServ moans some more.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2383 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-17 02:42:18 +00:00
TimeServ
bded857feb force flame models to render fullbright, very slight fps increase with r_shadows
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2320 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-08 06:24:07 +00:00
TimeServ
2313517279 fix spr32 loading for sw renderer
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2119 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-15 10:04:41 +00:00
TimeServ
baad7f5422 mdl version 3 support, misc fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2104 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-13 23:20:49 +00:00
TimeServ
0138b991e1 removed Sys_Errors with SPR/SP2 loading
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2102 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-13 06:15:11 +00:00
TimeServ
322fd2a900 SW won't Sys_Error on game necessary models
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2099 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-12 22:11:41 +00:00
TimeServ
28979e3d12 don't Sys_Error on invalid translation, BSP (HL/Q1/H2) loading will no longer Sys_Error
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2098 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-12 22:01:49 +00:00
TimeServ
4b4a26aae0 cosmetic fixes, no Sys_Errors in heightmap/hlmdl loading
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2096 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-12 09:19:31 +00:00
TimeServ
2df1c6674b console line scrolling fix, MDL/MD2/MD3/ZYM/DPM loading will no longer Sys_Error (still need bounds checking)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2095 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-12 08:01:48 +00:00
TimeServ
12cd7eb5bd fix builds
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2080 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-11 04:39:16 +00:00
TimeServ
789c9b0ee6 use engineflags instead of constant strcmp checks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2053 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-06 00:19:46 +00:00
TimeServ
1ed370ac4a assure that bsp entity lumps are null terminated (fix 2fort5p loading), cosmetic fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2051 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-05 03:50:54 +00:00
TimeServ
8b960915b5 fix SW since Spike broke it
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2036 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-28 05:50:26 +00:00
TimeServ
283c7f8454 fix to loading maps/models with fullbrights (sw)
fix a rare crash with HLBSP textures


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1660 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-02 02:38:10 +00:00
TimeServ
be6d3c64fd small fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1349 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-21 01:16:12 +00:00
Spoike
347311db8c q3 fixes and misilaneous minor changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1298 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-08 22:52:46 +00:00
Spoike
1130dea569 Rewrote a few bsp tracing stuff (primarily for heightmap things).
Q3 client and server support is in.
heightmaps are in.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1252 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-26 22:56:51 +00:00
TimeServ
83cc102208 m_accel/m_accel_noforce/m_threshold_noforce added, m_filter fixed up
added particle fields inwater and spawnchance
changed particle field timelimit -> spawntime
emit state is now kept (fixes rid# 1015648 FINALLY)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1203 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-06 22:39:28 +00:00
Mark Olsen
19476733cb allready -> already.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1171 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 15:22:15 +00:00
Spoike
4fad5d02bc work, dammit!!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1149 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-16 17:04:36 +00:00
Mark Olsen
6bb342cb83 That's SWR_InitSky, not R_InitSky.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1134 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-05 18:22:48 +00:00
TimeServ
d0bf1e327c r_netgraph fix (rid#1214753)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1074 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-04 13:12:44 +00:00
TimeServ
641986a0ee r_lightmap_saturation
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1024 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-18 01:40:01 +00:00
TimeServ
b93695279c prerel, sw fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@990 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-08 03:41:24 +00:00
Spoike
5926f9f4cf *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@917 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-23 22:14:08 +00:00
Spoike
ce3c561cfe CSQC is standard now, and secure via the same md4 as a map currently has.
Particle system functions renamed a bit, a few other cleanups in that area.
Console handling tweeked. Better rules for subconsoles and plugins. Commands are coloured if it'll be execed, which should help reduce occurences of chat being commands. tab compleation tweeked, partial compleation no longer changes the suggestion.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@895 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-10 03:55:18 +00:00
Spoike
e269aeaf16 Qux removed to a plugin.
Small bugfixes.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@887 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-01 15:36:23 +00:00
Spoike
95eafd7427 some bugfixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@867 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-06 02:47:36 +00:00
Spoike
5136f7bcbc Software renderer now compiles on MINIMAL.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@853 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-28 04:32:20 +00:00
Spoike
90e7206cb1 SW should support q2 models
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@764 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:17:50 +00:00
Spoike
d87030a911 Made a message more friendly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@653 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-15 19:51:43 +00:00
Spoike
f23cf8b861 removed unused function
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@134 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-04 18:04:21 +00:00
Spoike
fffb8897b9 Initial checkin of software rendering bits and bobs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@20 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-23 03:03:41 +00:00