Commit Graph

16374 Commits

Author SHA1 Message Date
Chris Danford 7484bdd5a4 smpackage.exe -> tools.exe 2005-11-12 07:14:18 +00:00
Chris Danford 7e1cc9ce0f change PRODUCT_NAME".ini" to "Preferences.ini"
add Clear Preferences and Clear Keymaps to smpackage
2005-11-12 07:03:49 +00:00
Steve Checkoway ad26458081 Fix compile on OS X. 2005-11-12 03:59:24 +00:00
Chris Danford e7dbf5ed3d fix remnants of "convert theme" button 2005-11-11 22:00:26 +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 4d8ab8a6f6 use ArchHooks::CheckForMultipleInstances. Uses AllowMultipleInstances
pref to disable for advanced use; I sometimes start multiple windows, to
eg. compare D3D and OGL live.
2005-11-11 21:13:13 +00:00
Chris Danford d081c0902c make sphere mapping texture coords look more like OpenGL (though it's still significantly different when viewing side-by-side) 2005-11-11 21:11:30 +00:00
Glenn Maynard f0bb643e11 add ArchHooks::CheckForMultipleInstances 2005-11-11 21:10:10 +00:00
Glenn Maynard cbc31d637b easier to search for by class name 2005-11-11 21:08:35 +00:00
Glenn Maynard 799655dfa5 remove spurious warning 2005-11-11 21:05:05 +00:00
Glenn Maynard 9b39cc4f02 (untested) fix vsync on osx 2005-11-11 21:04:14 +00:00
Glenn Maynard 99fdf95d8e possibly fix stale extension function pointer use after losing context 2005-11-11 21:01:58 +00:00
Glenn Maynard 45650f732d cleanup 2005-11-11 20:58:07 +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 20b5c41f76 cleanup 2005-11-10 20:00:01 +00:00
Chris Danford 6446d21eb2 fix incorrect VideoRenderer defaults used 2005-11-10 19:38:21 +00:00
Chris Danford 311fd70573 when resetting the D3D device, use the preferred video mode and not the current desktop mode. This fixes "Win98, full-screen, alt-tab away, alt-tab back and the game is running fullscreen at the desktop video mode" 2005-11-10 18:55:03 +00:00
Chris Danford 7f5a4b8373 move VideoModeParams out of RageDisplay to reduce header dependencies 2005-11-10 18:37:04 +00:00
Chris Danford af115bab90 handle sentinel values for refresh rate instead of asserting 2005-11-10 10:22:15 +00:00
Chris Danford 34debc4e59 point to new StepMania.ini location 2005-11-10 09:19:48 +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
Chris Danford 31ecd17da3 add Quadro defaults 2005-11-09 17:34:32 +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 9d090cbe7d static 2005-11-09 13:34:17 +00:00
Chris Danford 81037f05cd move Preferences from ThemeManager to completely in PrefsManager
Also, allow Defaults.ini and Static.ini to have sections
2005-11-09 10:55:30 +00:00
Glenn Maynard 089a187a6c fix empty loading window title 2005-11-09 03:57:29 +00:00
Glenn Maynard 6671b6b207 fix memory log 2005-11-09 02:01:56 +00:00
Glenn Maynard 946fce020b If BeginFrame returns false (eg. we have no drawing context), then EndFrame
will never be called.  This caused messages to not be handled when we lose
focus in fullscreen, so we could never regain focus.
2005-11-09 00:19:02 +00:00
Chris Danford cc0d65e0db remove product name from vdi contents
differentiate between "can't open .vdi" and "can't parse .vdi"
2005-11-08 22:14:59 +00:00
Chris Danford 924cd3261b revert sync changes when backing out of gameplay instead of silently saving them 2005-11-08 18:04:51 +00:00
Chris Danford e87df3bc5e fix SaveSync prompt. Make it a Screen again so that it can be used in branching and doesn't need to be integrated into an already-complicated ScreenGameplay. 2005-11-08 17:51:40 +00:00
Steve Checkoway c0056e546a Use a different api for this. 2005-11-08 06:04:09 +00:00
Glenn Maynard 8e976a275a simplify FindSystemFile 2005-11-07 16:26:47 +00:00
Chris Danford 489cf3b202 .dat -> .txt so that file associations will find a text editor 2005-11-07 05:45:48 +00:00
Chris Danford 8d2316f1c3 search Data\Type.dat for the Preferences group in addition to reading from the command line 2005-11-07 05:40:22 +00:00
Chris Danford d1c968f0ae add newline 2005-11-07 04:30:33 +00:00
Chris Danford 72bfacbdfe add multitexture debug toggle 2005-11-07 03:59:05 +00:00
Chris Danford 44e517339d make env mapping match OpenGL's "sphere map" tex coord gen 2005-11-07 03:58:14 +00:00
Chris Danford b206a38b5d add INSTALL_TYPE_INTERNAL_PCKS 2005-11-07 01:22:06 +00:00
Chris Danford bfc7a6b758 Undo attempt at vsync in windowed mode. It's causing jerky animation and aparent skipping (even though the skip display isn't showing any hiccups) 2005-11-07 00:43:50 +00:00
Glenn Maynard b35541b4ce simplify 2005-11-06 23:03:23 +00:00
Glenn Maynard f5c9f4661f Modify the existing viewport, instead of constructing a new one. Fixes
resizing problems.
2005-11-06 23:02:23 +00:00
Glenn Maynard 4c874a943b include cleanup 2005-11-06 18:03:47 +00:00
Glenn Maynard 95b71dbd3b cleanup 2005-11-06 15:24:26 +00:00
Glenn Maynard b691117e2c cleanup 2005-11-06 13:00:34 +00:00
Chris Danford ffbf54c263 Loading a blank Song if a mp3/ogg file is present and no SM/KSF/DWI is present 2005-11-06 12:52:19 +00:00