Commit graph

509 commits

Author SHA1 Message Date
Spoike
2801b70dd2 Attempts to fix the quad/pent glows not appearing on bots (normal style). More changes than strictly necessary to clean up combined gl_flashblend and r_dynamic usage.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2877 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-24 01:24:10 +00:00
Spoike
cc14795cba Model clamping finally implemented. Please test :)
Moved the call to PreNewMap to a bit earlier.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2864 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-19 05:59:00 +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
Spoike
4dcbbf5054 Fixed bugs regarding reading the pcx file format for player skins.
Fixed a bug in the colour-mapping code regarding player skins with sizes smaller than the player's model's skin, and optimised the uploaded image size when small skins are used.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2860 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-16 03:19:14 +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
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
Molgrum
3b1ac20640 s/componants/components + missing newline.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2767 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-29 06:06:20 +00:00
Molgrum
30daf3a9e7 r_replacemodels didn't work when gl_load24bit was 1, should be the other way around.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2756 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-23 03:14:25 +00:00
Mark Olsen
45c953d819 Added non-public constants.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2753 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-20 15:54:04 +00:00
Molgrum
a7d75f8889 DGA mouse support compiles now, maybe.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2749 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-17 14:09:43 +00:00
Molgrum
612674fc53 Merged builds again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2741 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-12 13:23:46 +00:00
Molgrum
0b046e2f5e s/possabilities/possibilities, sv_displaypossabilities has changed name.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2727 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-08 12:56:17 +00:00
Molgrum
8482bc2c52 More warnings fixed in D3D.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2724 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-06 15:33: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
Molgrum
379efc8376 s/thier/their
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2716 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 17:43:26 +00:00
Spoike
fb99c6f501 I suck
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2713 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 14:17:55 +00:00
Spoike
f9277a9e74 Made minimal builds compile again, hopefully.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2712 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 14:11:17 +00:00
Spoike
e59d02ed52 We now have a really crappy gl renderer for macosx.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2689 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-23 22:00:19 +00:00
Molgrum
43c48f23e6 Include the alloca-function.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2687 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-23 15:52:35 +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
4828fb8947 vid_curpal isn't needed with GL.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2683 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-23 09:57:48 +00:00
Mark Olsen
93a505f0a8 Now registering the in_xflip cvar.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2682 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-23 09:55:38 +00:00
Mark Olsen
6a6ae57c84 Added a dummy GL video renderer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2681 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-23 09:53:41 +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
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
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
Mark Olsen
f6b0cba2f2 Added copyright header, extended the comment a bit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2646 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-09 14:33:13 +00:00
Mark Olsen
589292cfe1 Added copyright header.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2645 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-09 14:30:04 +00:00
Spoike
ddf6246a83 making client-only builds build a little further
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2619 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-30 18:27:39 +00:00
Molgrum
4861637b3b Unused variables here too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2613 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-25 04:22:18 +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
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
Molgrum
bb7975a47a Fixed an error that I caused. Modified the rcon-command so you can write "rcon <password> cmd" without needing to set rcon_password every time.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2603 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-21 17:16:52 +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
d1907666fb Moved declaration of COM_FileSize to common.h to fix warnings. Fixed one GCC warning in pr_cmds.c, added one ifdef in gl_alias.c
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2594 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-18 02:46:10 +00:00
Molgrum
ef31d5cfab Fixed a few declaration-warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2592 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-17 23:24:05 +00:00
Molgrum
1173ee0759 Let's hope this fixes r_drawviewmodel
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2591 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-17 18:41:14 +00:00
Molgrum
cf1a12ee11 Trying to fix the remaining warnings. Is this correct? Builds that now compiles with no warnings in VS 2005: Debug, Debug Dedicated Server and GLDebug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2586 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-08 02:37:59 +00:00
Molgrum
273dedc28c Added endifs, moved log.c declarations to common.h but kept SV_LogPlayer in server.h (is this ugly? probably)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2579 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 14:41:23 +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
Molgrum
8581240774 Fixed a few warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2569 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-04 17:25:25 +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
7b4f6508b9 A few changes, I hope it makes people very happy
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2555 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-27 21:24:31 +00:00
Spoike
856d1ca150 Fixed bugs caused by last commit...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2548 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-23 18:52:41 +00:00
Spoike
b41d8b205e Fixes a 64-bit sw crash
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2540 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-23 11:51:57 +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