Chris Danford
cb8a48e254
fix Mac compile
2005-12-07 00:34:11 +00:00
Chris Danford
c2e84323b1
add res enumeration to LLW SDL
2005-11-28 17:17:16 +00:00
Chris Danford
730a113ed6
enumerate resolutions
...
use mixed case for prefs values
2005-11-26 07:22:33 +00:00
Glenn Maynard
7828dd60ad
g_X11Display is unused
2005-11-13 19:09:13 +00:00
Chris Danford
182232344f
GetVideoModeParams -> GetActualVideoModeParams
...
add GetApiDescription
2005-11-11 21:16:48 +00:00
Chris Danford
db7a6af95c
fix compile on non-Windows
...
remove header dependency
2005-11-10 20:39:55 +00:00
Steve Checkoway
8d56d70e0f
Move ExitGame into GameLoop.h.
2005-10-30 09:45:52 +00:00
Steve Checkoway
c576663c15
Add cursor hack since SDL_ShowCursor fails. Also, prevent resizing the window.
2005-10-30 08:51:02 +00:00
Glenn Maynard
16a1a71848
remove unused fDeltaTime
2005-07-12 23:14:21 +00:00
Glenn Maynard
6fdf6bfa57
cleanup
2005-01-20 02:07:02 +00:00
Chris Danford
6fd5183134
more "for" scope fixes
2004-09-25 05:10:10 +00:00
Glenn Maynard
cd61a9fd27
fix SDL_VIDEODRIVER not being set for SDL loading windows
2004-09-16 21:32:14 +00:00
Glenn Maynard
51a259c6a5
log SDL_GetAppState
2004-09-14 19:05:53 +00:00
Steve Checkoway
a9d0169058
Don't show/hide the cursor unless the video mode change was successful.
2004-08-21 06:27:31 +00:00
Hugo Hromic M
03b5a724e9
Make mouse cursor off by default before creating the window
2004-08-21 04:53:07 +00:00
Steve Checkoway
c92d595bc4
Show/hide the cursor after setting the video mode.
2004-08-07 00:59:01 +00:00
Steve Checkoway
f5ec5019d6
simplify
2004-06-19 06:46:13 +00:00
Glenn Maynard
7ef3d3e6bb
set g_X11Display
2004-06-14 05:50:40 +00:00
Glenn Maynard
34b3862833
log SDL version
2004-06-14 05:19:42 +00:00
Glenn Maynard
c2d109dc02
events
2004-06-14 03:55:38 +00:00
Glenn Maynard
03e11c81a1
call SDL_UpdateHWnd
2004-06-14 03:34:38 +00:00
Glenn Maynard
f4cea53212
HandleSDLEvents, comment
2004-06-14 03:13:13 +00:00
Glenn Maynard
9553f513c2
fix confusing SDL error message
2004-05-20 23:50:34 +00:00
Glenn Maynard
97791d82f0
license update
2004-05-15 22:30:30 +00:00
Glenn Maynard
e2d6911fb9
set SDL_VIDEODRIVER so SDL doesn't try to fire up aalib, etc
2004-04-10 06:28:08 +00:00
Glenn Maynard
52092e810e
fix LowLevelWindow_SDL::TryVideoMode sometimes returning "" on failure
...
due to SDL bugs
2004-04-09 21:53:41 +00:00
Glenn Maynard
87d2e439eb
hack to support vsync on nVidia cards in Linux
2004-01-03 06:58:30 +00:00
Glenn Maynard
6009d8fa88
API update
2003-09-30 00:16:14 +00:00
Glenn Maynard
3728708145
Improve error messages when OpenGL video init fails
2003-08-28 00:08:01 +00:00
Chris Danford
a3e4ebca3f
fix incorrect window title and lost alpha in window icon
2003-06-16 20:54:10 +00:00
Glenn Maynard
3d43798f88
Handle SDL_INIT_VIDEO failing, so we don't crash later.
2003-06-11 03:17:39 +00:00
Chris Danford
428d560a6b
Clean up resolution fallback logic
...
Add video settings for G400
Working on composited text
2003-06-05 19:29:27 +00:00
Chris Danford
c54214c1d2
On first run, run a gameplay benchmark and adjusts graphic options automatically for 60 fps.
2003-05-26 09:18:44 +00:00
Glenn Maynard
35405bc34c
remove log
2003-05-26 01:51:59 +00:00
Glenn Maynard
e173d576f2
Use mySDL_EventState. Set up event types in the ctor.
...
Restore event masks when we change modes. It's vital that we not
do this incorrectly. Resetting the video system resets the mask. If we
have events that are enabled that we don't actually monitor, it'll just stay
in the event queue and eventually fill it.
Re-fix alt-enter causing both keys to "stick".
2003-05-26 01:47:57 +00:00
Chris Danford
bb089f467e
consolidate SDL icon changing code
2003-05-25 21:58:34 +00:00
Chris Danford
6b63ef50f9
support theme-specific program icon and window title (useful for non-SM products)
2003-05-25 20:19:01 +00:00
Chris Danford
36cdb56d55
For now, always get a new OpenGL context in SetVideoMode. Reusing the same context doesn't seem to be working.
...
Call SetVideoMode when app is fullscreen and regains focus. Did our OGL renderer ever handle Alt+tabbing before this change?
2003-05-24 16:29:36 +00:00
Chris Danford
cfe1f9ec67
Add parameters to BackgroundChange: fRate, bFadeLast, bRewindMovie, bLoop.
...
I don't like how this changes the syntax for the #BGCHANGES tag in an SM file. I will think more about this - it's important to finalize it quickly.
2003-04-14 04:10:01 +00:00
Glenn Maynard
eb1e2a0435
use SDL_GetEvent
2003-04-12 19:03:02 +00:00
Glenn Maynard
ca1b94a043
LLW_SDL now handles its own SDL events, instead of being fed them
...
by StepMania.cpp. This simplifies things; SM.cpp no longer has to
direct SDL messages all over the place.
2003-04-12 02:30:28 +00:00
Glenn Maynard
d821c4f1b5
add LowLevelWindow
2003-04-07 00:54:32 +00:00