Commit Graph

546 Commits

Author SHA1 Message Date
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 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 af1ccb9333 Support for valve-style lmps/qpics on the conback.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3128 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-22 13:47:49 +00:00
Spoike 02b182a260 Fix a crash with halflife sprites.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3127 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-22 13:46:48 +00:00
Spoike aac9d42554 Fixed up halflife model support - we now support models with textures stored in an external model.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3126 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-22 13:45:35 +00:00
Spoike 672035b1a9 Fixed particles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3124 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-02-10 21:50:10 +00:00
TimeServ 8b658df029 attempted vs2008 compile fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3102 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-18 01:47:48 +00:00
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 9fc7a20e9c old fixes including for rgb_gen_topcolor in shaders
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3098 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-01-15 04:56:44 +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
Lance 41a92be8b2 Defined GL_BGRA_EXT so morphos and macosx crosscompilers can do the OpenGL targets again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3058 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-12 12:05:29 +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 9f5fb267c3 Makes nexuiz's csqc work ever so slightly better (pics with size 0*0 now mean to draw at the natural size, instead of 64*64...).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3039 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-05 02:58:22 +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 c29cf3db99 Framerate will be more stable when picking up items/getting shot/etc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3025 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-07-16 00:19: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
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
TimeServ 5c65851fb7 fix merged build (d3d color references, renderinfo fixes)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2993 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-01 22:34:19 +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
Molgrum 61ee26d0ff Fix an uninitialised value.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2960 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-16 23:28:47 +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
Molgrum 55071c68e4 Implemented DGA-code similar to Fuhquake, works much better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2954 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-13 11:16:20 +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 c1f86620db Backpacks are visible again, now let's throw lots of eggs at Spike.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2934 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-24 19:20:51 +00:00
Spoike b134fd9e65 Cleaned up the bloom code a little, fixed bloom so view2/splitscreen doesn't cause the main view to get a double dose, by pulling the pixel offsets from outside rather than recalculating them (thus no longer wrongly assuming a full screen). Made the code slightly more readable - no more ugly braces!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2930 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-21 03:19:46 +00:00
Spoike 9060465c0e Fixed r_shadows 1 on nvidia hardware, and a little paranoia.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2929 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-21 03:13:59 +00:00
Spoike 7b8e20d0ae Fixes the black lines bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2927 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-16 15:57:46 +00:00
Spoike 794ac6d3d3 Don't leave the mouse grabbed if the video mode failed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2926 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-16 03:41:15 +00:00
Mark Olsen c343bc3b6a printf()s, be gone.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2922 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-14 12:45:08 +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
Spoike 10f49b7705 Support for x11 mwheel conventions instead of traditional support, and hopefully fixed gamma on task switches in the glx renderer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2908 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-05 00:38:41 +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 2801b70dd2 Attempts to fix the quad/pent glows not appearing on bots (normal style). More changes than strictly necessary to clean up combined gl_flashblend and r_dynamic usage.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2877 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-24 01:24:10 +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
TimeServ d46a2ca5d5 remove GL_Smoothfont_Callback in reinit
set gl_smoothfont as CVAR_RENDERERCALLBACK

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2862 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-16 04:57:44 +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 01483e5e89 Patch by Spike, don't let gl_texturemode2d affect the console font.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2859 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-16 00:27:28 +00:00
TimeServ 9f09a30019 r_fastskycolour accepts rgb format
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2857 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-13 05:05:30 +00:00
Spoike aeef86dc62 New cvar, vid_preservegamma. Set it to 0 to obliterate your old gamma settings when you leave FTE. This mimics the use of quake3 to reset your gamma settings should FTE crash on you. The default is to restore gamma settings to how they were when you first loaded FTE, the same as before. You can now use FTE to reset your gamma if FTE crashed and broke it. Only applies to the windows version so far.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2850 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:37:17 +00:00
Molgrum 3b1ac20640 s/componants/components + missing newline.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2767 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-29 06:06:20 +00:00
Molgrum 30daf3a9e7 r_replacemodels didn't work when gl_load24bit was 1, should be the other way around.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2756 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-23 03:14:25 +00:00
Mark Olsen 45c953d819 Added non-public constants.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2753 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-20 15:54:04 +00:00
Molgrum a7d75f8889 DGA mouse support compiles now, maybe.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2749 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-17 14:09:43 +00:00
Molgrum 612674fc53 Merged builds again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2741 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-12 13:23:46 +00:00
Molgrum 0b046e2f5e s/possabilities/possibilities, sv_displaypossabilities has changed name.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2727 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-08 12:56:17 +00:00