Commit Graph

352 Commits

Author SHA1 Message Date
Lance 12d0492566 Silly mistake, made the directx9 option select the d3d7 renderer by
mistake.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2903 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-02 15:52:14 +00:00
Lance 4ffbf6fe06 Fix to r2901 hopefully, if it isn't, revert back to r2900
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2902 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-02 15:46:14 +00:00
Lance 5cbcec8283 DirectX7 menu option fixed to select the d3d7 renderer, and DirectX9
menu option to select the d3d9 renderer.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2901 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-02 15:16:16 +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
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
Spoike 9d5b7f8d63 d3d renderers actually render stuff now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2814 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-15 17:16:01 +00:00
Molgrum b56789be74 Set D3D9 as the D3D default renderer, just so it compiles for now and to see the bugs in the rendering. Plans are to fall back on D3D7 if it cannot find D3D9.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2780 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-06 16:31:38 +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
Mark Olsen b97f2c5d69 No more HandlePause crap.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2685 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-23 15:20:46 +00:00
Spoike d5cfe54913 more consistant behaviour
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2675 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-22 22:10:08 +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
TimeServ fe5efe8b0b fix minimal builds and d3d build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2608 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-22 22:41:41 +00:00
TimeServ 1fbe5d1755 fixed up rcon a bit more, fixed merge build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2606 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-22 16:52:13 +00:00
Molgrum 8fcb33d00e MAJOR MAJOR MAJOR cleanup in renderer.c, see if you like it. Added gl_loadmd3 and gl_loadmd2 cvars, set to 1 as default for consistency.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2605 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-21 22:41:15 +00:00
Molgrum 71076ab1ca Made D3D compile, check this and rearrange however you like. Removed "gammaworks", copied GL_RoundDimensions and modded it for D3D (ugly, fix this), removed GetPalette and D_FlushCaches from vid_d3d9.c since it's already declared in vid_d3d.c, inserted vid_gamma (and I have no idea what this is good for, it seems it could just as well be a #define).
Happy time!

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2597 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-20 02:23:53 +00:00
Molgrum 865a5a003d Fixed a few Cygwin warnings: Removed/commented unused variables, added newline at end of crc.c
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2584 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 17:49:35 +00:00
Molgrum 75d9afc8c7 Fixed _alot_ of warnings, happy reviewing!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2574 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-06 21:13:15 +00:00
Mark Olsen bd853ce67a Fixed missing return value at the end of R_ApplyRenderer(). (committed by proxy for Spike)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2525 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-20 17:05:00 +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 591ee9c9b0 fixed some bugs with the previous commit (missing files, and some sw renderer issues). updated the dotnet2003 project files.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2502 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-05-25 23:03:49 +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 4a823c3601 bigfoot: Works for me(TM)
final 64bit qcvm portability issues fixed (I hope).
new qc extension: DP_QC_UNLIMITEDTEMPSTRINGS (assuming pr_tempstringcount = 0)
fixed a couple of issues with msg_entity being random.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2475 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-11 16:51:45 +00:00
Spoike 35c93f1f60 Some Q3 fixes some plugin improvements so qvms can actually function correctly, and a couple of minor things.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2469 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-02-23 00:21:33 +00:00
TimeServ 0b62fbba57 add scr_sshot_compression, sets level for png/jpg compression, ranges from 0-100 defaults to 75
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2330 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-17 04:18:52 +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 3866a4c292 add r_drawflat_nonworldmodel, defaults to 0
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2315 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-04 16:02:03 +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
TimeServ c19474d271 fixed sw build, fixed server banning, banip works properly and accepts the format x.x.x.x/n and x.x.x.x/x.x.x.x, added unban and banlist
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2294 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-22 22:51:14 +00:00
TimeServ 50c00fb7bc add cl_gunx/cl_guny/cl_gunz, remove r_viewmodelsize until I implement it correctly, misc cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2279 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-17 23:01:06 +00:00
TimeServ ccf48364b1 r_wateralpha for software rendering
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2278 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-14 21:43:35 +00:00
TimeServ 75af125d79 r_floorcolour/r_wallcolour uses 0-255 range
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2275 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-12 21:02:56 +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 640524e990 some input cleanup, restarts should work a bit better
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2271 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-10 22:12:20 +00:00
TimeServ 6197004228 add r_floortexture/r_walltexture, tweak to Doom speaker sounds
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2252 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-08 04:30:04 +00:00
TimeServ 0f2a193838 only attempt to load npr textures with r_drawflat 2, gamma/contrast use callbacks, vid_hardwaregamma switched to renderer latch (pretty much had to use vid_restart anyway)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2244 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 05:50:33 +00:00
TimeServ 551f37340b r_drawflat, r_wallcolour, r_floorcolour to callbacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2243 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 03:28:48 +00:00
TimeServ 0cc2ba719c vid_wait aliased to _vid_wait_override properly, command completion will now show renamed cvars (like mapname, host_setspeed, vid_wait) correctly
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2228 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-21 06:02:06 +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 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
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 75648fd2ff fix warnings, add cvar flag to force renderer callback on vid_restart, switched a few cvars from modified checking to callback usage
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2192 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-12 00:17:02 +00:00
TimeServ 3d0489e736 fix to failed renderer restart logic
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2171 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-06 22:07:34 +00:00
TimeServ 1785c0bfc5 added vid_conautoscale which allows vid_conheight/vid_conwiidth to be updated based on scale of current resolution, updated vc2005 project yet again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2141 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-02 07:14:25 +00:00
Spoike ca278f79e0 Slight improvement on antialiasing, like the cvar being registered and stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2124 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-15 20:48:48 +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
TimeServ e82a8ac9aa add gl_lightmap_shift (needs to handle renderer swap), fix linux building
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2086 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-11 18:33:56 +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 05ace9bdcb add Draw_FillRGB, allow con_selectioncolour to use R/G/B
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2078 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-11 00:51:00 +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
Spoike 0fe03c7b25 blooming stuff. I hope I got enough of the bugs out.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2042 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-03 03:31:19 +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 b1a5aab4f8 Fix a Q3 crash
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2025 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-26 05:49:15 +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
TimeServ 7518dec2f0 add sw_surfcachesize, essentially -surfcachesize in bytes but only needing a vid_restart to change
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2017 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-23 06:28:10 +00:00
TimeServ df16aa1400 fix Sys_Error with jpeg screenshots, standardize console warning/error/notice colors
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1984 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 01:24:22 +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
Lance 9f3e2bed88 Changed gl_ztrick to default on 0 instead of 1.
To quote LordHavoc:

GF3 and Radeon and later cards have zbuffer optimizations that only work if ztrick is off, mainly Radeon I believe


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1945 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-11 13:08:45 +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 1730d4dc81 This is fun.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1924 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-01 22:36:12 +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 07a1fb3ba1 fixed msvc6 warnings
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1896 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-27 08:12:14 +00:00
Spoike 2eddce5713 Tweek moodle's complaint.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1887 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-21 05:08:08 +00:00
Lance a57ce8ebcd change to 60hz and attempt it when windows rejects your mode, which will happen often because LCDs have no need for refreshrates higher than 60. added some menu_video stuff too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1880 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-16 13:47:56 +00:00
Lance 77588da4fb added some lcd native resolutions, added Bilinear/Trilinear switcher in menu_video as well
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1879 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-16 07:42:50 +00:00
Spoike a09352928c up2 wants a cursor image.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1870 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-14 23:47:09 +00:00
TimeServ afb9ec7a08 fix for RID #1394691 (boss2 at least)
added r_drawviewmodelinvis
Spike needs to fix heightmaps, they have a similar issue


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1829 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-09 01:49:06 +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 4a0c9a0e79 r_dodgypcxfiles, for use with some Quake 2 mods
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1751 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-01 21:17:06 +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 c5b3483145 fix GL builds (as much as I screwed it up anyway)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1736 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-22 21:46:28 +00:00
TimeServ 6dd7ddd353 palette remap per entity for sw
minor change to qclib for hexen2


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1735 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-22 20:35:04 +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
TimeServ 96de3b78c3 added partial r_stains
changed default of r_stains to 0.75


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1723 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-17 21:51:42 +00:00
Spoike 87f100ad88 scr_centersbar
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1676 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 02:23:46 +00:00
Spoike 339d478659 I wonder how much this will break. Ahh well. It works for me, and I need to go to bed.
Well, plugins should be able to read/write files through the engine. audio decoding plugin interface is in (might be changed later).
TCPConnect is in.
msg_filter and scr_centersbar.
some recording fixes too.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1634 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-30 01:20:53 +00:00
TimeServ 3d531e6f45 added vid_desktopgamma
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1501 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-18 04:42:13 +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 cf2a589dbf sw build fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1434 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-06 02:32:24 +00:00
TimeServ 12a172bc95 r_menutint added, changes background tint for gl and sw
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1394 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-29 23:20:29 +00:00
Spoike 8af4819804 Added some cvars and stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1392 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-28 23:38:51 +00:00
Spoike 348a1024be Now compiles and works fine in linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1300 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-09 23:40:55 +00:00
Spoike 822ea1c963 Added a mod_md3flags cvar to disable reading flags on md3s.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1293 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-08 02:02:31 +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 bc6d871f37 gl_blendsprites hack added
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1245 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-23 23:36:04 +00:00
Spoike 5dce02d558 *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1209 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-07 18:08:13 +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
TimeServ c30d79eb31 fix to sw character drawing (should speed SW up)
gl_blend2d (hackish cvar to get 2d blending, should work?)
fixes to pluginless compile
few other small changes


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1202 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-06 07:18:29 +00:00
Spoike 69b3c5f51e Make software rendering work again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1200 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-06 00:36:08 +00:00
Spoike 7903310326 Lots of small changes. q3 player models are working and things, though csqc. md5mesh is supported (md5anim through an alternate 'format' to specify model name and a list of md5anims).
Lots of cool stuff.

r_shadows is still broken due to depth sorting of model (and thier depth value being written too late).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1196 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-03 23:14:59 +00:00
TimeServ ea9c3b0360 software transtable rewrite, sw additive support for sprites/blob particles/line particles (no models yet), AddBlend/Trans functions need optimization
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1174 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-29 01:12:09 +00:00
Spoike f1ea7c0c06 Q2 works, models are depth sorted (the same time as particles).
some extra macros added. We have a full set of dp te effect builtins (but not parsing them all yet... so not advertising them either).
Dedicated server does not build. I need to add some functions to svmodel.c
sound should work properly with roq/cin/avi playback.
gl_detail should work like in ezquake. there's also a new gl_detalscale cvar
bss size should be a small ammount smaller.
all the dp te builtins will send something. But fte can't parse all of them yet.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1145 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-14 01:57:34 +00:00
Spoike 7e9bbc3fac ktpro should work better now woot. a few other things too
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1130 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-03 15:16:20 +00:00
TimeServ ed8f285738 con_ocranaleds preliminary (should obsolete rid# 1215521)
conwidth/conheight set to CVAR_ARCHIVE


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1119 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-26 12:31:56 +00:00
Spoike 39990c213d I wonder how many things this will break...
Anyway, made the renderer more modular (multiple gl renderers in the same binary, supported properly - menu still needs work).
Rewrote parm1-16 handling, and added support for 17-32.
Lightstyle smoothing cvar: r_lightstylesmooth


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1113 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-22 17:10:13 +00:00
TimeServ e73095a23a added bit depth selection to menu
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1108 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-21 07:44:16 +00:00
Spoike 0fb5e1dccb Makes vid_restart not do a double flush, resulting in faster vid_restarts, or at least less stutters when loading models.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1100 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-18 23:52:42 +00:00
Spoike b8060f60b2 Fixed up some line endings
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1093 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-15 04:44:39 +00:00
Spoike dfd8e1aaed Redesigned sound code for greater modularity.
Added support for dp6/dp7 protocols (ents are still broken).
md3 tags should work properly (still suffer from origin-of-parent interpolation bugs)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1089 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-14 04:52:10 +00:00
Spoike c2930803d4 hopefully, everything will work that little bit better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1072 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-04 04:20:20 +00:00
Spoike 76350b3463 Added gl_motionblur cvar.
>=1 and <= 0 are bad values.
experiment to find a value you like.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1057 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-27 08:24:31 +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
Spoike 4a0c02b685 Hopefully, the server will now run on 64bit archetectures.
Also, a piece of unitialialized memory should now be fixed.
there's a con_centertext cvar added
an extra default particle texture.
further dp protocol compatability stuff.
EF_ADDATIVE works on models and supposedly sprites. will do sw sprites too at some point.

Linux makefile needs work still.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1017 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-17 02:36:54 +00:00
Spoike e348dc30a2 Changed vec4_t down to vec3_t, got the server browser integrated with the menu.dat. csqc is having fun, and nexuiz should work better. Enjoy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1011 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-13 10:42:48 +00:00
Spoike f43b221896 Stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@942 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-16 16:21:27 +00:00
Spoike d7bb31a516 Some changes. QC execution has been tweeked a little. It needs further work still.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@925 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-28 00:11:59 +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 9ae7e2621d SOFTWARE RENDERING IS BROKEN: DO NOT USE ASM VERSION.
Lots of changes.
CSQC should be functional, but is still tied to debug builds. It WILL have some bugs still, hopefully I'll be able to clean them up better if people test it a bit.
Precompiled headers are working properly now. Compile times are now much quicker in msvc. This takes most of the files this commit.
Restructured how client commands work. They're buffered outside the network message, some multithreaded code is in. It needs a bit of testing before it's active.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@885 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-28 07:16:19 +00:00
Spoike acde8ade44 CSQC support changes and some small bugfixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@874 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-12 18:56:04 +00:00
Spoike cb487034e9 csqc is now working in some ways. Hash tables use renamed functions, and a few other changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@871 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-09 19:32:09 +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 70289170f1 added gl_lerpimages, changed default video mode to 640*480
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@844 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-28 04:24:40 +00:00
Spoike 1a14d41488 Improved video menu and 2d scale.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@834 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-26 18:56:49 +00:00
Spoike 51da6d3abf Fixed some warnings and stuph.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@829 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-24 23:47:32 +00:00
Spoike c2988990c2 I committed too much last time, so here goes for a big commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@774 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-13 16:29:20 +00:00
Spoike d28993bd60 Making FTE run without any gamedata.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@729 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-05 08:06:55 +00:00
TimeServ eede8928f3 removed Auto: Changed resolution
particles/beams should clear correctly on r_part


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@721 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-04 19:19:51 +00:00
Spoike 4b0395e079 Lots of stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@684 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-24 08:45:56 +00:00
Spoike 07ebed7f87 Whoops
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@675 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-22 01:06:31 +00:00
Spoike 2cdaa69fe2 bug fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@647 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-15 19:40:06 +00:00
Spoike 933cd63cd3 new defs added for r_drawflat
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@625 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-11 03:41:12 +00:00
Spoike 1d5a68fe88 Fixed a gcc warning
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@596 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-09 23:34:24 +00:00
Spoike 854f5340c1 server can be configured out, rtlights are a bit more responcible.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@538 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-29 01:21:00 +00:00
Spoike 9af4c7df7f we can connect to DP servers, dynamic lighting code was revised a little, a new cvar was added to control the extra feature, lights can be flagged with where they should appear, skin code was revised (to include models), fruity textures fixed, r_loadlit 2 failing to save is fixed. NQ demos smoothed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@537 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-27 08:16:25 +00:00
Spoike 1a4aa4ae5e Bit cleaner now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@515 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-23 01:08:59 +00:00
Spoike 72c3b0e8b2 Sortof an 'I know' option. We don't have a builtin palette... Though DP does so we should probably expect the occasional problem.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@495 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-20 01:16:43 +00:00
Spoike ac284a1b94 Adding a few tiny optimisations and playdemo working on qwd files again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@470 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-18 17:55:04 +00:00
Spoike f17ea2d97e We don't need a palette now... As we can download it. :)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@459 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-17 18:06:06 +00:00
Spoike 1f64e32b45 small bugfixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@416 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-13 17:29:47 +00:00
TimeServ bd038aa1d8 cvar cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@405 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-10 19:28:24 +00:00
Spoike f2ddeefe19 Warning and target fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@377 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 23:06:29 +00:00
Spoike 9982c2d9f9 Vertex lighting cvar added.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@371 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 15:31:39 +00:00
Spoike 4f36d50f60 Few bug fixes and some q3 compatable shaders.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@354 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-19 16:10:14 +00:00
Spoike 8473252e1a More sensible support for gamma settings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@331 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-14 12:32:32 +00:00
Spoike ea5c476ced I need to commit more often...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@316 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-10 06:32:29 +00:00
Spoike dc91267fff clarified the help message.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@262 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-30 22:39:32 +00:00
Spoike a4284501fc Is that the fix needed for linux?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@249 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-26 03:35:50 +00:00
Spoike 9c59fafc3e lots of changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@228 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-20 23:25:38 +00:00
Spoike a263ffdb3f Menu changes and adding new cvars.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@194 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-13 03:10:50 +00:00
TimeServ bf4bede0d9 rename
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@187 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-09 21:39:49 +00:00
TimeServ de51889f62 transtable/palconvbits updates
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@143 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-06 01:18:24 +00:00
Spoike ec74d9ac80 Added sanity warning if the user tries compiling a client without a renderer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@122 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-04 17:48:11 +00:00
TimeServ 3b26e6ff2f r_partconvbits
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@111 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-02 04:23:16 +00:00
Spoike 9a8a8fecea removing some old code
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@107 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-01 22:57:29 +00:00
Spoike 8184225473 Initial Checkin
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@15 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-23 00:15:46 +00:00