Commit Graph
1482 Commits
Author SHA1 Message Date
Chris Danford b3c7b9c99d fix viewport not correctly reset when alt+tabbing out of and back into full-screen opengl 2005-11-24 10:40:23 +00:00
Glenn Maynard ecd8d199bd missed commit: update for USB cleanup 2005-11-23 22:43:17 +00:00
Glenn Maynard d08e4d0a14 LoadingWindow_SDL 2005-11-23 16:19:25 +00:00
Glenn Maynard efae87bb4b HAVE_SDL is only defined on OSX, and that has its own loading window. Remove
LoadingWindow_SDL.  (This is still marginally useful, since we don't have a native
X11, non-GTK loading window yet.  But using SDL at all is a hassle, and it hasn't
been active in a long time, so let's remove this and add a native loading
window later if wanted instead of  keeping this around.)
2005-11-23 16:17:14 +00:00
Renaud Lepage 6e6e89276d Fix for Xbox compilation. It was easier with HAVE_FOO, but oh well. 2005-11-16 04:38:28 +00:00
Glenn Maynard 7828dd60ad g_X11Display is unused 2005-11-13 19:09:13 +00:00
Glenn Maynard 0ab285b40a g_X11Display -> X11Helper::Dpy 2005-11-13 19:05:30 +00:00
Glenn Maynard 7803d84ddd Disable the X11 screensaver in LowLevelWindow_X11. 2005-11-13 19:04:07 +00:00
Glenn Maynard 1cb4525ee6 LowLevelWindow_X11::IsSoftwareRenderer 2005-11-13 18:56:14 +00:00
Glenn Maynard 92504b10cc LowLevelWindow_Win32::IsSoftwareRenderer 2005-11-13 18:55:30 +00:00
Glenn Maynard 071ff2adb5 LowLevelWindow::IsSoftwareRenderer 2005-11-13 18:53:48 +00:00
Glenn Maynard 9c17980ed5 move some GLX-specific stuff into LowLevelWindow_X11 2005-11-13 18:43:22 +00:00
Glenn Maynard 7f95e0a309 calling straightforward code an "ugly hackish mess" falls just short of productive and appropriate 2005-11-13 18:38:55 +00:00
Glenn Maynard 4f52fab65a In OpenGL (not D3D), it's our job to unset and reset the full-screen video mode
when we lose focus.
2005-11-11 21:22:18 +00:00
Chris Danford 182232344f GetVideoModeParams -> GetActualVideoModeParams
add GetApiDescription
2005-11-11 21:16:48 +00:00
Glenn Maynard f0bb643e11 add ArchHooks::CheckForMultipleInstances 2005-11-11 21:10:10 +00:00
Glenn Maynard 3bbfe9ebc0 Two tests for not filling a buffer:
if( m_iBufferBytesFilled > m_iWriteAhead )

	int iNumBytesEmpty = m_iWriteAhead - m_iBufferBytesFilled;
	if( iNumBytesEmpty < iChunksize )

The latter, manipulated a bit, is actually:

	if( m_iBufferBytesFilled+iChunksize >= m_iWriteAhead )

These do almost the same thing.  This isn't what was intended.  The
former checks whether we *want* to write another buffer (based on our
preferred writeahead).  The latter was meant to check whether it's *possible*
to fit another chunk into the buffer.  It should check against m_iBufferSize,
not m_iWriteAhead.

This fixes writeahead: 4096 means "write if we have less than 4096 frames
buffered", not "write if writing the new chunk would result in still having
less than 4096 frames buffered".  This is important on slower devices, like
USB headsets.
2005-11-10 22:10:05 +00:00
Chris Danford db7a6af95c fix compile on non-Windows
remove header dependency
2005-11-10 20:39:55 +00:00
Chris Danford 7f5a4b8373 move VideoModeParams out of RageDisplay to reduce header dependencies 2005-11-10 18:37:04 +00:00
Chris Danford 423caaf207 spacing 2005-11-10 08:55:11 +00:00
Steve Checkoway 67477db9f2 Don't show version number here. 2005-11-10 07:09:48 +00:00
Glenn Maynard 553bc91559 cleanup 2005-11-09 14:23:23 +00:00
Glenn Maynard 48ce4bf80c cleanup 2005-11-09 14:10:48 +00:00
Glenn Maynard 089a187a6c fix empty loading window title 2005-11-09 03:57:29 +00:00
Steve Checkoway c0056e546a Use a different api for this. 2005-11-08 06:04:09 +00:00
Glenn Maynard a8247bd45b threaded linux driver 2005-11-06 12:18:37 +00:00
Steve Checkoway c45ef95e27 unused 2005-11-04 12:53:32 +00:00
Steve Checkoway e56e3551dd Write the bundle path for a particular version into the users preferences. 2005-11-04 09:23:15 +00:00
Glenn Maynard b339832bbf GetSystemDefaultLangID -> GetUserDefaultLangID. (Like GetUserDefaultUILanguage,
this reports the correct answer on my system.  GUDUIL() is for multilanguage
versions of Windows, I think.)
2005-10-31 23:51:52 +00:00
Steve Checkoway 33fb76772f Remove hack. 2005-10-31 02:30:22 +00:00
Steve Checkoway cdcf01470d Exclude from Window menu. 2005-10-31 00:49:40 +00:00
Steve Checkoway 2ca163bf00 oops 2005-10-30 13:53:10 +00:00
Steve Checkoway 3cb0889324 Fix ppc linux compile. 2005-10-30 13:11:15 +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
Steve Checkoway 5ff545cbf2 Use setNeedsDisplay: since I think display: should only be called from the GUI thread. 2005-10-30 08:38:03 +00:00
Glenn Maynard 21fcc06b7e fix long-standing bug: resize image to fit the dialog for when the default
font size is changed (in Win2k, hidden away in display -> settings -> advanced ->
general)
2005-10-29 21:52:50 +00:00
Glenn Maynard 9b7346e607 oops, fix another crash. I guess the "pass pointer by reference and maybe automatically reallocate" idiom is error-prone. 2005-10-29 21:50:26 +00:00
Glenn Maynard 3bf8373588 fix crash 2005-10-29 21:15:55 +00:00
Glenn Maynard 7c42b794ea cleanup 2005-10-29 21:08:37 +00:00
Glenn Maynard 034c7f4a41 bring back MovieTexture_FFMpeg::RegisterProtocols 2005-10-29 03:25:39 +00:00
Chris Danford 1917c30bc1 fix VC6 compile 2005-10-28 17:45:57 +00:00
Steve Checkoway e41570a8f8 Cleanup and simplify. 2005-10-28 14:21:23 +00:00
Steve Checkoway 1726efed12 GetPreferredLanguage. 2005-10-28 08:04:44 +00:00
Glenn Maynard 20efb43a86 add ArchHooks::GetPreferredLanguage 2005-10-28 07:14:53 +00:00
Chris Danford 092b5d969d move all URLs into ProductInfo.h 2005-10-28 03:10:48 +00:00
Glenn Maynard 8c52221570 cleanup 2005-10-27 23:03:21 +00:00
Glenn Maynard fe19cdf726 don't FixSlashes on the memory card OS path. This is a system path, not a RageFile path, so it doesn't need to follow our rules. 2005-10-27 17:33:01 +00:00
Glenn Maynard 702c81cf1c fix compile 2005-10-27 12:46:05 +00:00
Glenn Maynard 0ac45b8853 handle all frame decoding stuff in DecodePacket 2005-10-27 00:09:17 +00:00