Zack Middleton
8c1d3c635c
Use bundle icon on Mac OS X instead of internal 32x32 window icon
2013-10-19 01:54:58 -05:00
cmf028
d7444b8ca1
Don't set the window title twice
2013-09-23 12:21:20 -05:00
Tim Angus
58b8cfa0b3
Various fixes from Fuma
2013-09-15 23:54:52 +01:00
Tim Angus
fb9270306b
Fix initial window position being top left
2013-08-29 19:15:35 +01:00
Tim Angus
bde7665462
Merge branch 'master' into sdl2
...
Conflicts:
code/sdl/sdl_input.c
2013-08-16 23:34:08 +01:00
Zack Middleton
81909bb266
Fix text getting appended to vid_restart in command buffer
...
I was getting unknown command "vid_restart-button2" warning on OSX when trying to use alt-return to toggle fullscreen.
2013-08-03 17:40:50 -05:00
Tim Angus
d9d52f0306
Merge branch 'master' into sdl2
...
Conflicts:
Makefile
code/renderercommon/qgl.h
code/renderergl1/tr_local.h
code/sdl/sdl_glimp.c
2013-05-08 14:27:15 +01:00
Tim Angus
2da0fd6de8
Add renderercommon/tr_common.h
2013-02-16 20:58:04 +00:00
Tim Angus
f6fb9eb602
renderer -> renderergl1, rend2 -> renderergl2
2013-02-15 23:46:37 +00:00
Tim Angus
51df89ab13
Remove the SMP renderer feature
2013-01-24 22:53:08 +00:00
Tim Angus
9b8711d2e1
Fix wacky patch for r_ignorehwgamma
2013-01-19 21:39:35 +00:00
Tim Angus
3105d62027
Allow hardware gamma, in theory
2013-01-18 21:53:37 +00:00
Tim Angus
f478761e07
Use SDL 2 instead of SDL 1.2
2013-01-17 18:20:03 +00:00
Zack Middleton
0167b439c9
Don't include client.h in sdl_glimp.c as it is part of the external renderer lib.
2012-10-13 23:15:02 +00:00
Zack Middleton
1aaf9d3e7b
Use correct fallback height and width for r_mode -2.
2012-08-27 15:38:55 +00:00
Zack Middleton
42d3ff8d1d
Added r_mode -2, uses desktop resolution. Bug #5408 . Patch by Andrei Drexler and myself.
2012-08-27 14:52:41 +00:00
Thilo Schulz
1af9c636a5
r_ignorehwgamma 1 does not actually turn on software gamma ( #5511 ) - patch by Serge Belyshev
2012-07-01 17:01:30 +00:00
Zack Middleton
1469df546e
Reverted r2145 per Timbo's suggestion.
2011-08-11 20:57:39 +00:00
Zack Middleton
1609d1c42b
- Added r_mode -2 for using display resolution.
...
- Changed q3_ui's very high video settings use display resolution.
2011-08-11 05:14:42 +00:00
Thilo Schulz
40dfcee06e
Modular rendering system. Patch by use.less01
...
This might break MSVC builds. I'll take care of it later
2011-08-01 01:19:55 +00:00
Thilo Schulz
4b9ab42c2c
Remove newlines from Com_Error calls, patch by DevHC
2011-05-14 14:32:43 +00:00
Thilo Schulz
a56e448850
Add minimize command ( #4531 )
2011-02-10 19:21:13 +00:00
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