1
0
Fork 0
forked from fte/fteqw
Commit graph

111 commits

Author SHA1 Message Date
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