Commit graph

36 commits

Author SHA1 Message Date
svdijk
55d6a601c9 Fix default video mode.
Revert "The default video mode is 5 (640x480). Spotted by svdijk."
This reverts commit a76d7d5cfb.
2013-05-28 20:42:57 +02:00
svdijk
6472514c8f Lets not do the last two commits just before 5.11
Revert "change several strcat calls to Q_strlcat calls"
This reverts commit ab879f1bc7.

Revert "change (v)sprintf calls to (v)snprintf calls"
This reverts commit b46e210d76.
2013-05-18 18:59:39 +02:00
svdijk
b46e210d76 change (v)sprintf calls to (v)snprintf calls 2013-05-17 21:50:31 +02:00
svdijk
e07294b6b1 replace most strncpy calls (several of them wrong) by Q_strlcpy calls 2013-05-11 14:44:36 +02:00
svdijk
8869b0542d rename strlwr to Q_strlwr 2013-05-11 12:46:49 +02:00
svdijk
aae7de19c4 Use some safer offset values for gl_zfix, and default to 0
(Since it seems to cause unwanted artifacts with some drivers)
2013-04-07 19:07:16 +02:00
svdijk
7637d32f6f Work around the z-fighting on some baseq2 maps (new cvar gl_zfix) 2013-03-16 16:47:57 +01:00
Yamagi Burmeister
a76d7d5cfb The default video mode is 5 (640x480). Spotted by svdijk. 2012-11-14 21:12:21 +01:00
svdijk
1c0934f462 Game cleanup. 2012-11-07 21:10:48 +01:00
svdijk
8c8fba7421 Refresher cleanup. 2012-11-05 21:33:35 +01:00
Yamagi Burmeister
687ca61dfa Fix gl_swapinterval 2012-10-06 09:14:12 +02:00
Yamagi Burmeister
602dd1af6f Connect non-base OpenGL function by calling wglGetProcAddress() on Windows
This is necessary since non-base OpenGL functions can't be connected by
calling the standard GetProcAddress() on Windows. To archive this the
old qwglGetProcAdress() is renamed into GetProcAdressGL() and a new
function pointer qwglGetProcAdress is introduced. On unixoid System it's
NULL and on Windows connected to wglGetProcAddress(). If it's NULL the
system wide function is called, if not the function Pointer is used.
2012-08-03 15:14:45 +02:00
Yamagi Burmeister
f1420ffe75 Use correct default mode 2012-08-02 14:47:18 +02:00
Yamagi Burmeister
c6eaf5c876 Mobe LIBGL makro to common.h and replace all hardcoded libGL calls with it 2012-08-02 14:06:32 +02:00
Yamagi Burmeister
6f719f4c7b Reformat the refresher 2012-07-21 14:09:45 +02:00
Yamagi Burmeister
6b7bc06074 opengl32.dll is the default gldriver on Windows 2012-06-04 13:13:14 +02:00
Christoph Mallon
ab034114b4 Whitespace fixes. 2012-04-30 08:25:59 +02:00
Daniel Gibson
965fedf9ae It's X11GAMMA with 2 "m". 2012-04-28 20:04:24 +00:00
Yamagi Burmeister
38943b3573 Print build options at startup 2012-04-25 09:50:06 +00:00
Yamagi Burmeister
92da6ed580 Hind retexturing support behind RETEXTURE 2012-04-25 08:59:40 +00:00
Yamagi Burmeister
b6bb97e223 - add support for big endian CPUs
- enable the build on SPARC64
- add runtime-requirements for SPARC64
- bump version number to 4.10
2012-04-16 06:54:48 +00:00
Yamagi Burmeister
d0133509e1 Provide the gl_retexturing CVAR to switch retexturing off. Default is
"1", retexturing enabled.
2012-03-12 09:31:33 +00:00
Yamagi Burmeister
042ec93bfe Rename r_lefthand to gl_lefthand to match the other renderer cvar. This
is a noop, since this is an internal cvar to exposed to the user.
2012-03-08 11:30:30 +00:00
Yamagi Burmeister
1f3ce73a75 Add gl_farsee (by Richard Allen) 2012-03-08 11:24:45 +00:00
Yamagi Burmeister
f8a9f6ead4 - Define the values for point parameters in qgl.h. They should be
set by the OpenGL implementation somewhere in gl.h but apperently
  the values are sometimes wrong...
- AND the particle color with 0xFF. This is a no-op with most
  OpenGL implementations but may help Mesa3D. Suggest by
  "hukaru" on IRC.
2012-02-09 16:30:17 +00:00
Yamagi Burmeister
0f7b422ded - Switch multitexturing by default to 1
- Switch paletted textures (8 bit textures) to 0
2012-02-09 15:13:51 +00:00
Yamagi Burmeister
2320693f6a Change the default mode 4 aka "640x480". This should be saver than 3 aka
"640x400"
2011-12-06 13:26:12 +00:00
Yamagi Burmeister
55f51eb680 Add support for anisotropic filtering 2011-10-17 10:43:48 +00:00
Yamagi Burmeister
6db456587c Schreibe das Hardwaregamma auf X11 um :) 2010-10-25 15:57:39 +00:00
Yamagi Burmeister
95d7d43695 Füge Overbrightbits ein 2010-10-25 13:21:52 +00:00
Yamagi Burmeister
40a91572e0 Baue Texturen auf Basis ner Palette wieder ein 2010-10-25 12:55:59 +00:00
Yamagi Burmeister
6847b33cb5 Füge Multitexturing ein. Dies funktioniert (natürlich) nicht mir Mesa3D 2010-10-25 12:33:55 +00:00
Yamagi Burmeister
8b3002b1dd Benenne alle r_ CVAR in gl_ um 2010-10-24 08:50:01 +00:00
Yamagi Burmeister
cbc6e22c6f gl_rmisc in Sachen Funktionsnamen aufgeräumt 2010-10-23 07:19:40 +00:00
Yamagi Burmeister
d1aaaf06b0 Lizenzheader 2010-10-23 06:58:56 +00:00
Yamagi Burmeister
de91dbe5b0 Benennen gl_rmain.c in r_main.c um 2010-10-23 06:56:02 +00:00
Renamed from src/refresh/gl_rmain.c (Browse further)