Commit Graph

131 Commits

Author SHA1 Message Date
Spoike 4b1032c337 Script particles and d3d renderer will now build again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3099 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-15 04:58:12 +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 0aac90de3b Correctly colour the tops of players again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3087 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-06 02:04:29 +00:00
Spoike 1b1f67bbfb Revamped FTE's skeletal animation system to support basebone/baseframe/baseframe2/etc on hierarchical skeletal models (eg: zym/dpm/md5anim).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3079 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-02 23:09:02 +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
Spoike 5b1679ad85 Molgrum doesn't like bgr, even though x86 display hardware uses it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2996 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-03 22:16:39 +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
Spoike 654eabc4c2 Reworked stats for csqc to match LH's suggestion. CSQC can read the 'delta' entities (experimental). Fixed up sv_getrealip, made banning work based on realip too. Added a ban command to easily ban a single client. Renamed some svcs for clarification. Added pvsflags to ssqc for greater control over how ents are sent to csqc. Broke some stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2977 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 22:23:43 +00:00
TimeServ a61d819f68 fix hash table inits, fix shader inits
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2959 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-14 18:06:58 +00:00
Spoike 406a7645a5 Okay, that ruleset cvar actually works now, correctly locking out modified textures on backpack.mdl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2911 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-08 23:26:25 +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
Spoike cc14795cba Model clamping finally implemented. Please test :)
Moved the call to PreNewMap to a bit earlier.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2864 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-19 05:59:00 +00:00
Spoike 4dcbbf5054 Fixed bugs regarding reading the pcx file format for player skins.
Fixed a bug in the colour-mapping code regarding player skins with sizes smaller than the player's model's skin, and optimised the uploaded image size when small skins are used.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2860 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-16 03:19:14 +00:00
Molgrum 379efc8376 s/thier/their
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2716 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 17:43:26 +00:00
Spoike fb99c6f501 I suck
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2713 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 14:17:55 +00:00
Spoike f9277a9e74 Made minimal builds compile again, hopefully.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2712 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 14:11:17 +00:00
Molgrum 43c48f23e6 Include the alloca-function.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2687 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-23 15:52:35 +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
Molgrum d1907666fb Moved declaration of COM_FileSize to common.h to fix warnings. Fixed one GCC warning in pr_cmds.c, added one ifdef in gl_alias.c
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2594 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-18 02:46:10 +00:00
Molgrum cf1a12ee11 Trying to fix the remaining warnings. Is this correct? Builds that now compiles with no warnings in VS 2005: Debug, Debug Dedicated Server and GLDebug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2586 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-08 02:37:59 +00:00
Molgrum 8581240774 Fixed a few warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2569 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-04 17:25:25 +00:00
Spoike 856d1ca150 Fixed bugs caused by last commit...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2548 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-23 18:52:41 +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 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 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 15fac4ad44 optimization to dlights, slight FPS increase
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2274 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-11 03:14:41 +00:00
TimeServ 181592a0e3 attempted fix for linux, added stupid hack for gl_fb_models 1;r_fullbrightskins 1, changed allow fbskins logic, r_fullbrightskins defaults to 0
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2273 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-11 02:30:13 +00:00
TimeServ a7a6dcc92f add cvar gl_overbright_all, 0 (default) = use overbrights only on Q1/H2/Q2 models, 1 = use on all models, set an engineflag marking non-map stuff but Spike needs to implement a gl_overbright_models
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2222 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 06:03:58 +00:00
Spoike f1fc7284b5 Yup, TimeServ did add an endian bug with his qtest model support, it seems.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2154 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-03 18:52:28 +00:00
Spoike eda0633c4e This needs a proper fix some time, but I don't want to be the one to do it, it's hideous! Hrm, colormap stuff... I dunno. This works well enough for most q3 mods.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2122 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-15 20:07:43 +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 5ebe24d121 removed Host_Error/Sys_Errors in Q2/Q3BSP/RBSP and MD5 loading, fix possible memory leaks with failed loads
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2101 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-13 05:54:12 +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
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
Spoike b48c3034dd Trying to fix the crash rjlan gets.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2055 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-06 02:02:17 +00:00
Spoike 2046931e26 gameclock, roq/avis can play on shaders (sound is wrong though, so that's fine with avis!), snprintf changes (this is the bulk), up2's mcharset
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2054 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-06 01:41:09 +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
Spoike d27d3c5b6d Less warnings (none at the gcc-default warning level)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2046 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-04 20:43:48 +00:00
Spoike c2aa755e86 Fixes the TF teleporter skin bug (which was a general problem with skingroups).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2040 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-01 20:47:24 +00:00
Spoike d0661cdc47 An alternate server browser, accessable via menu_servers2.
Needs tweeks. A good base for killing off the origional browser. Mouse driven. Needs keyboard input to actually connect still.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2035 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-28 00:46:04 +00:00
Spoike 38c36360f6 Mostly colourmod stuff. A few fixes for q3 menus, some gamma fixes for q2, more verbose messages for pngs, and hopefully a gamma fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2034 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-27 00:42:25 +00:00
Spoike 7120a5d1b9 Fixes some alienarena issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2011 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 23:49:35 +00:00
TimeServ f3f02e5353 fix warning
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1900 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-28 02:43:10 +00:00
Spoike 9620a98dc2 Removed moodles' infokey stuff which was totally wrong anyway.
Enabled the prototype warnings. Looks like we need them.
Fixed a few warnings other than the prototype ones which I just enabled.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1898 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-28 02:35:40 +00:00
Lance 20ef474862 fixed msvc6 warnings
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1895 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-27 08:06:48 +00:00
Spoike f0feb82b90 rjlan wanted mingl to compile again, and moodles reported a demorecording bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1862 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-13 06:27:18 +00:00
Spoike 15a7211e20 Fixes something with skeletal animated frame groups.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1855 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-12 22:25:15 +00:00
Spoike 19ab4fd050 Meh, I'm just going to commit everything.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1778 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 23:01:54 +00:00