Commit Graph

123 Commits

Author SHA1 Message Date
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
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
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 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
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
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
Spoike 9af1ba84cc A few things... f_ruleset stuff, 64bit qvm compatability, added cvars so you can put the built in http server on a custom port, added #warnings to annoy molgrum.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2659 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-17 20:35:39 +00:00
Spoike 56526bfe69 Fixed the loading screen in nexuiz a little
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2558 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-01 14:56:55 +00:00
Spoike dcec305bd9 Fixed Ogg support a bit. Enhanced DarkPlaces/Nuxuiz compatability. Fixed a couple other minor bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2519 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-06-20 00:02:54 +00:00
Spoike d74c6f738a Added some new bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2515 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-06-10 21:33:24 +00:00
Spoike 36f35cff78 added gl_texturemode2d
fixed an nq network message corruption bug with large reliables.
CSQC is supported on the server with the DP7 protocol
sv_listen_qw can be switched off leaving sv_listen_dp enabled in order to force DP to connect with a specific protocol. This needs to be improved, but works well enough for what it was added for.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2514 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-06-10 05:14:38 +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
TimeServ 2e4995fdaa gl_fontedgeclamp to gl_fontinwardstep, fix gl_fontinwardstep and make it accept a float range (0-1)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2328 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-15 22:03:34 +00:00
TimeServ 2b946b97f4 fix graphic error with 8-bit images and gl_blend2d, don't Sys_Error loading textures when out of scrap space
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2327 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-15 21:40:54 +00:00
TimeServ f67a1e5ce4 fix renderer switch with gl_texture_anisotropic_filtering callback
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2314 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-04 03:55:51 +00:00
TimeServ 6eac4b965b gl_texture_anisotropic_filtering is now a cvar with archive flag set
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2312 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-04 02:25:10 +00:00
Mark Olsen 00438b27fa Fixed TGA loading when PNG support is enabled.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2301 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-28 23:17:30 +00:00
TimeServ c14115d90e gl_conback loads from gfx/ instead of conbacks/
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2283 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-18 01:39:19 +00:00
TimeServ 8e65ba98d5 minor fixes, change name and sys_linebuffer to callbacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2241 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 02:53:36 +00:00
TimeServ bd3cab06a3 probably overdoing the callback thing now but oh well! (changed r_explosionlight, r_stains, r_rocketlight, scr_conalpha)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2227 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-21 05:23:51 +00:00
TimeServ 8709f8ec1f gl_font should now update the menu cache conchars texture
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2224 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 07:22:56 +00:00
TimeServ 70d31d2617 added gl_smoothcrosshair, defaults to 1, 0 = don't smooth, 1 = old behavior (smooth on crosshairsize > 16 or using image)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2212 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 07:10:49 +00:00
TimeServ 960b2b8d96 cl_sbar/vid_conautoscale/vid_conwidth/vid_conheight/gl_font/gl_fontedgeclamp/gl_smoothfont/gl_conback/fov/viewsize changed to callbacks, needs testing.. hopefully increases fps a bit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2211 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 06:57:13 +00:00
TimeServ 3fd1a224e3 internal cleanup, r_menutint and r_skybox use callbacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2210 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 05:28:44 +00:00
TimeServ ceafd30644 vid_width/vid_height/vid_bpp 0 will use default desktop settings, added vid_desktopsettings which uses default width/height/bpp/refresh rate, command line -current maps to vid_desktopsettings 1
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2208 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 03:31:23 +00:00
TimeServ 68a5e9d3b3 simplified r_floorcolour/r_wallcolour, switched gl_texturemode to callback, some cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2207 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 05:23:11 +00:00
TimeServ 363223186e change crosshairimage/crosshair/crosshaircolor to use callbacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2206 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 04:31:29 +00:00
TimeServ 1d6899434a fix lightmap_textures with init function
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2194 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-12 03:36:31 +00:00
TimeServ 6a67fa367e fix loading graphic on reinit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2175 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-07 02:59:17 +00:00
TimeServ 62462f3b5d sv_http/sv_ftp paranoia, add gl_menutint_shader cvar, use shaders for r_menutint rendering on GL
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2118 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-14 09:20:07 +00:00
Spoike 96cc1e17aa gl_texturemode was made into a cvar yonks ago.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2093 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-12 05:24:57 +00:00
TimeServ 973d2830a0 use stringtorgb and stringtoindex functions for crosshaircolor and r_menutint
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2077 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-11 00:35:56 +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 d8240c391a fix tile clearing with hud plugins (screensize), fix host_endgame message, fix issue with loading icon, add gl_bloom to vc2005 project
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2047 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-04 22:37:28 +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
TimeServ ec3d886864 scr_conalpha added
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2022 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-25 21:03:56 +00:00
Spoike bff51b251a Fix the logic with gl_font
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2010 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 23:48:29 +00:00
Spoike 52ddfccfaa Removed moodles' multisample stuff. That's not how it's done.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1907 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-29 00:18:27 +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
TimeServ 8f550d6d1f half-alpha character rendering for software
changed background to not blink
added BX_COLOREDTEXT extension (although the FTE extension conflicts)
fix to console clearing which should hopefully speed things up a little bit


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1886 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-21 03:10:16 +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
Lance e713a9b5ab Better anisotropic filtering support
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1878 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-16 06:22:18 +00:00
Spoike 840ab4682d *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1853 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-12 22:23:03 +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
TimeServ a8889d8f24 THIS COMMIT MOST LIKELY BREAKS THINGS.
changed conchars from 16-bit to 32-bit
added support for RGBI fg and bg colors
better support for ^8/^9 text codes
fix to echoish menu sounds
added plugin stuff for centerprints/server messages/chat messages, not finalized (?)
GL/SW color character functions improved (although neither handle transparent characters, and SW needs improvement with the palette remapping)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1750 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-01 09:01:15 +00:00
TimeServ 55f788ef0d removed Draw_PicFromWad so we only use the "safe" version
killed some Sys_Errors
transtable loading to vfs
log rotation fix
server cosmetic changes


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1731 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-21 07:00:33 +00:00
Spoike 13d0a98133 cygwin, mingw should compile, plugins in dedicated servers, and stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1711 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-15 19:15:39 +00:00