1
0
Fork 0
forked from fte/fteqw
Commit graph

111 commits

Author SHA1 Message Date
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
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
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
Mark Olsen
7bbd3c539d Fixing some fallout from Spike's commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2678 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-22 22:43:05 +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
Molgrum
8c4253ec8c Check this diff and revert it if you can find any purpose of vid_gamma and the pow()-calls with exponent 1.0 being in the code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2604 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-21 18:42:42 +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
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
0089cf5a3f don't Sys_Error with NULL Q2 setmodel call, properly fallthrough if bSetupPixelFormat fails
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2364 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-21 23:38:24 +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
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
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
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
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
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
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
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
Spoike
01c3544aeb Don't crash when trying to use d3d.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1960 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-12 17:06:55 +00:00
Spoike
bc1f25a11b A bit of fun with gamma.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1942 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-11 02:05:15 +00:00
Spoike
cf73c8b81e Copyable console, and up2's demand for aliases like fuhquake.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1935 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-06 01:06:17 +00:00
Spoike
48d07feec4 vid_wait_override stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1921 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-01 22:32:30 +00:00
Spoike
688bae5fdb Fixes taskswitch bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1671 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 02:19:22 +00:00
Spoike
77474af3b2 Stops a recursive error when the MessageBox function tells us that it's appeared, over and over and over again, causing more MessageBoxes... Grr.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1647 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-01 01:24:07 +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
Spoike
ebcaac9a08 This should fix the recent windows gamma issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1591 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-26 21:13:45 +00:00
Spoike
35192beb47 More tweekable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1569 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-14 01:32:21 +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
ad3f2c26ac warning fixes
log_* cvars (readable translation, cycling, custom dir/file, developer, etc)
cl_standardmsg (like cl_standardchat, colors names in standard net messages, defaults to 0 to annoy people)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1378 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-26 08:07:26 +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
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
Mark Olsen
c5c278da85 origional -> original.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1173 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 15:52:31 +00:00
TimeServ
0a25f2084f Windows XP raw input support (should fix rid#1217412?)
enhanced con_ocranaleds


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1120 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-29 21:20:34 +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
e5b76314ac - Q3 UI IS NOW BROKEN -
mouse5/6/7/8 attempt (rid #1217412)
DX3/DX7 dual compatibility (hopefully, needs testing)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1098 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-18 22:30:57 +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
a9d9293fc1 Changed spikeset.
Some csqc tweeks, bugfixes, additional work (yay - prediction, keyboard input!)
Some teamplay tweeks, supports much more fuhquake-compatable teamplay stuff.
Changed the texture naming scheme a bit.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@979 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-26 16:04:12 +00:00
Spoike
4fe170410d gl_2dscale removal for windows
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@837 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-27 20:45:24 +00:00
Spoike
33e1f445ba Those function pointers arn't needed
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@818 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-19 14:15:06 +00:00
Spoike
071a7cefe1 Changed gl->qgl.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@763 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:16:44 +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
9db52890b2 Added profiling code, added schematics, drawflat, and stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@654 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-15 19:53:30 +00:00
Spoike
ec3169941f Minor code cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@607 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-09 23:44:29 +00:00
Spoike
719a42f98e don't try using sw gamma if hw gamma is enabled.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@585 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-08 04:03:36 +00:00
Spoike
7a5b5d220b Cleaned up. Part way through zym models.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@523 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-23 01:23:45 +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
a0bf669e3e fixes for the new backend.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@418 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-13 17:31:04 +00:00
Spoike
dbf313157a ATI drivers properly support SetDeviceGammaRamp, so now so do we.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@330 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-14 12:31:29 +00:00
Spoike
3e75ffd266 People don't like bright green ... :(
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@318 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-13 06:33:10 +00:00
Spoike
0f1a14e0a9 trace prints. (ignore me)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@313 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-07 13:13:15 +00:00
Spoike
d89c1944ff fixing gl_2dscale bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@287 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-03 09:46:00 +00:00
Spoike
6f52211bb2 fixing gamma ramps and stuff... god I hate windows.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@277 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-01 02:19:17 +00:00
Spoike
fbda24bd34 trying to fix the whole gl_2dscale stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@270 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-30 22:47:02 +00:00
Spoike
98f3a782f7 Does this make you happy alex? does it? will you just leave me in peace? please?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@254 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-27 06:33:25 +00:00
Spoike
af8b141be8 *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@248 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-26 03:34:26 +00:00
Spoike
018e0cc849 so gl_2dscale takes effect if the user manually resizes the window with the mouse cursor. Kinda funky.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@245 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-24 04:42:10 +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
9c94742305 Some GCC compiler warnings fixed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@204 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-13 04:16:52 +00:00
Spoike
30605d11b7 D3D support should set the video mode via D3D rather than windows - this allows proper support for various duel-driver systems. (where we wouldn't know which screen was which anyway)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@69 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-27 00:51:25 +00:00
Spoike
8aa0eee611 Initial checkin of OpenGL renderer
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-22 22:29:09 +00:00