Commit graph

438 commits

Author SHA1 Message Date
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
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
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
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
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
18de9855ae build fixes, miscalc on bar thing
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2249 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-07 07:25:18 +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
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
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
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
ba38acd1ce gl_overbright_all effects gl_lightmap_shift, and gl_overbright_all 0 correctly works for only Q2 vs Q3 however just noticed Q3 uses overbright 2 for maps and 1 for models... yay
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2223 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 07:01:06 +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
f57808caf0 warning cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2221 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 03:55:55 +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
Spoike
0560842635 Prevent 8bpp opengl. I hate you Up2nOgOoD[ROCK].
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2203 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 01:55:12 +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
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
Spoike
d71040af7a Fixes halflife sprites on big-endian machines.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2185 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-09 15:35:50 +00:00
Spoike
9b9b696afe Fixed the bloom/gl_max_size issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2180 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-08 15:16:47 +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
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
TimeServ
19cfb4a2c5 make sure vid_conautoscale refreshes on reinit and resize, go back to old behavior with vid_conheight/vid_conwidth
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2145 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-02 09:11:37 +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
b5b74f2529 Rotating BSP fixes, hexen2 fixes, and a few extra bugs...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2134 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-23 19:22:12 +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
Spoike
a0964b50e9 fsaa as promised to moodles. vid_multisample should be set to something like 4. Moodles needs to do the enables/disables. :)
I've not done GLX.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2123 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-15 20:11:37 +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
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
6231281e5e Fix a bug where shaded wateralpha surfaces were not being drawn.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2114 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-14 01:28:22 +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
0138b991e1 removed Sys_Errors with SPR/SP2 loading
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2102 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-13 06:15:11 +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
322fd2a900 SW won't Sys_Error on game necessary models
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2099 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-12 22:11:41 +00:00
TimeServ
28979e3d12 don't Sys_Error on invalid translation, BSP (HL/Q1/H2) loading will no longer Sys_Error
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2098 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-12 22:01:49 +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
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
Spoike
a93e959fa4 Removed a little dead code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2091 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-12 05:22:16 +00:00
TimeServ
1cb4fa386a fix warning, fix building of direct3d on msvc8, update project
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2089 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-12 04:33:22 +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
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