Tim Angus
005f870ebe
* Sys_Dialog for more user friendly error reporting
...
* (bug #3932 ) Recovery from bad video settings
2010-02-15 16:20:33 +00:00
Tim Angus
c98df5ad58
* Make window centering optional, defaulting to off
2009-11-06 15:34:05 +00:00
Tim Angus
568cf2732a
* Fix to GLimp_DetectAvailableModes not sorting the first returned mode
2009-11-05 20:29:26 +00:00
Thilo Schulz
bd2ab9bffd
- implement r_noborder, inspired by patch from ensiform ( #4289 )
...
- Add Sys_SetEnv for portable setting of environment variables
- Default ioquake3 to appear on the center of the screen if running in windowed mode.
2009-11-03 20:29:43 +00:00
Tim Angus
968892c61b
* Bump the minimum SDL version up to 1.2.10, and remove workarounds for earlier versions
2009-10-25 22:36:32 +00:00
Tim Angus
43d31f7c3a
* (bug #4316 ) Hack to work around suspected driver bug (Lakitu7)
2009-10-25 21:48:48 +00:00
Tim Angus
96a3b4b169
* Remove superfluous f from warning
2009-09-28 12:44:43 +00:00
Tim Angus
0ba8b20305
* Avoid calculating a NaN when failing to compute the display aspect ratio
2009-09-28 11:57:16 +00:00
Ryan C. Gordon
8c04462b34
Handle r_colorbits values better.
...
Fixes Bugzilla #4244 .
2009-09-15 02:51:09 +00:00
Ryan C. Gordon
842f27818b
Fix SGI systems choosing an inefficient 36-bit color visual.
...
Now they'll choose 16 or 32 bit correctly with this magic.
Fixes Bugzilla #4245 .
2009-09-15 01:01:07 +00:00
Ryan C. Gordon
b096ca1d04
Allow optional window resizing.
...
Fixes Bugzilla #2844 .
2009-09-14 22:07:34 +00:00
Tim Angus
64a0a078d2
* Fix warning in cl_main.c
...
* Fix bug #4026 (SDL dx backend doesn't work on some machines)
2009-09-14 12:34:31 +00:00
Zachary Slater
95060e4fb6
See here:
...
http://bugzilla.icculus.org/show_bug.cgi?id=4064
2009-06-13 22:00:28 +00:00
Tim Angus
acbf982689
* Don't set SE_KEY event to ctrl-h; I don't think this makes sense
...
* Don't warp the mouse on deactivation unless the cursor is in the window
already; this fixes in_nograb
* Stop grabbing the mouse in windowed mode when there is no sense in
doing so
* Make sure that IN_Restart is only called on r_fullscreen modification
if a mode change actually takes place
2008-08-22 22:16:37 +00:00
Tim Angus
d781a25157
* Fix misplaced #endif
2008-08-14 07:59:34 +00:00
Tim Angus
49fa0edd61
* Pass the "best" SDL_PixelFormat (as returned by the initial call to
...
SDL_GetVideoInfo) to SDL_ListModes; this fixes said function returning an
empty list when using the "windib" driver
2008-08-13 19:39:38 +00:00
Tim Angus
c29417b42a
* Always show the mouse cursor when the mouse is disabled
...
* Rename IN_StartupJoystick to IN_InitJoystick, add IN_ShutdownJoystick
* Add IN_Restart, which avoids calling IN_DeactivateMouse at the wrong time
* Call IN_Restart when changing r_fullscreen
* Add CVAR_ROM r_sdlDriver for easy checking of the SDL driver in use
* Random README tweaks
2008-08-09 13:20:00 +00:00
Tim Angus
d4d5527a89
* Add Sys_GLimpInit for platform specific GLimp initialisation
...
* Move Unix specific signal handlers to Sys_PlatformInit
* (Windows only) Don't set the SDL video driver if SDL_VIDEODRIVER is already
set externally
* (Windows only) Use the "windib" SDL video driver if in_mouse is set to -1
2008-08-08 21:35:33 +00:00
Tim Angus
a87661a1be
* Whitespace...
2008-08-03 21:38:54 +00:00
Tim Angus
d56c53abb4
* Report SDL driver used on GLimp initialisation
2008-08-03 21:37:51 +00:00
Ryan C. Gordon
c923872ca2
Added GL_EXT_texture_compression_s3tc support.
...
GL_S3_s3tc, which Quake 3 previously supported, is legacy. This new codepath
is the common, vendor-neutral extension to get the same results.
2008-06-13 02:28:51 +00:00
Thilo Schulz
ae08d1a6d8
This may enable stereo rendering for other devices like shutter glasses, but I don't know whether this works yet.
2008-04-27 19:07:57 +00:00
Ludwig Nussel
89a5a6429e
sort video modes only if there are modes to sort
2008-04-13 08:30:48 +00:00
Thilo Schulz
9412316883
Make sure fullscreen does not work for in_nograb when manually Alt-Entering, too.
2008-03-26 16:20:21 +00:00
Tim Angus
50783f1dbb
* Disabling r_allowSoftwareGL as per bug 3526
2008-01-31 17:44:33 +00:00
Tim Angus
b9ab949ec7
* Replace "powered by ioq3" text with ui_ioq3 CVAR_ROM
...
* Guess display aspect based on the desktop resolution
* Sort detected resolutions by...
+ closeness to display aspect
+ ascending width
+ ascending height
* Apply Q3 coding style to resolution detection code
2007-12-11 00:19:23 +00:00
Ludwig Nussel
6b5fbd189d
detect available resolutions and offer them in the menu
...
Store the resolutions detected by SDL in a cvar. The mod code can
then optionally use the cvar to offer a better choice in the menu.
Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de>
2007-12-08 10:08:05 +00:00
Tim Angus
6bd4bb16a0
* Move SDL library version check to sys_main.c as it's proving difficult to
...
make the Makefile check sufficiently portable
* Remove unnecessary GL PFN... casts from SDL_GL_GetProcAddress calls
* Replace OS X uname workaround with Solaris workaround, as I believe OS X
uname now behaves the same as GNU name
2007-11-25 23:41:01 +00:00
Tim Angus
31c24bd0d2
* (bug 3393) Blank user names still possible (Michael Jard <kfaust@gmail.com>)
...
* (bug 3363) Download percentage overflow (Martin Doucha <next_ghost@quick.cz>)
* (bug 3390) MSVC project (Julian Priestley <juzley@gmail.com>)
* For OS X and MinGW ports, don't -I code/SDL when USE_LOCAL_HEADERS is 0
2007-11-02 23:36:23 +00:00
Tim Angus
26641226a4
* Remove some C99isms (f0rqu3)
...
* Provide Q_snprintf wrapper for snprintf (f0rqu3)
2007-10-01 07:56:32 +00:00
Tim Angus
1d54a9ebe5
* Revert 1176 -- MinGW's headers are too old *sigh*
...
* Revert to using literal function pointers for GL extensions rather than PFN*
typedefs as some platforms' headers are broken enough that they prevent
SDL_opengl.h from fixing things up if the PFN* typedefs are missing
2007-09-12 18:02:38 +00:00
Tim Angus
4f4f0c0dab
* Remove use of GL_ARB_multitexture since this has been part of the
...
core API for many years now
2007-09-10 22:28:58 +00:00
Tim Angus
e56a151a97
* Compile time and runtime checks for SDL >= 1.2.7
...
* Modified versioning to play nice with the reverted Makefile change
2007-09-06 18:21:10 +00:00
Tim Angus
0951b69be5
* Fix for SMP hack on OS X
2007-09-06 02:16:07 +00:00
Tim Angus
c903576c59
* I R KNWOING HOW COMPUTARS WURK!!!!!!! lOL
2007-09-05 21:46:15 +00:00
Tim Angus
904cce6311
* Replace the ugliness in qgl.h with SDL_opengl.h
2007-09-05 18:56:39 +00:00
Tim Angus
672cfbf16f
* Merge unified-sdl to trunk
...
* Bump Q3_VERSION to 1.35
2007-09-05 18:17:46 +00:00