Commit Graph

656 Commits

Author SHA1 Message Date
Glenn Maynard a89a488251 use find() 2005-12-21 08:46:30 +00:00
Chris Danford d698a5f1ec CString -> RString in RageUtil
ThemeMetric<CString> -> LocalizedString to eliminate dependencies
2005-12-20 08:35:47 +00:00
Chris Danford 9cd3b4d4ba theme some common exception strings 2005-12-20 02:45:25 +00:00
Glenn Maynard 9c1f81f9bd use RageThreadRegister 2005-12-19 02:01:48 +00:00
Glenn Maynard 3fbde68e4a better encapsulation, reduce GameLoop.cpp depending on StepMania.cpp: move
CheckForChangedInputDevicesAndRemap into InputMapper
2005-12-18 23:45:46 +00:00
Chris Danford efe3984ad5 detect changing USB joysticks and remap on the fly 2005-12-18 07:13:13 +00:00
Chris Danford c95a5dc8e5 add InputDevice::DevicesChanged 2005-12-18 03:08:12 +00:00
Steve Checkoway ee07c1d20d Use ArchHooks::SetUserQuit() 2005-12-17 13:03:04 +00:00
Chris Danford 353e0c5b6e break up arch stuff into smaller .cpp files to fix smpackage build and not pull in unnecessary stuff 2005-12-16 04:16:09 +00:00
Glenn Maynard 74fd14ef23 cleanup. This name is for human consumption (crash dumps, debugger thread lists). 2005-12-15 18:56:18 +00:00
Steve Checkoway 315d907ef1 Add CreateThisThread(). Use it instead of the static object to name the main thread (and the GUI thread on OS X). 2005-12-15 08:32:29 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +00:00
Chris Danford 800158e185 move floating globals into a namespace 2005-12-02 01:16:28 +00:00
Glenn Maynard df8b9f681b remove old code 2005-11-23 16:11:28 +00:00
Glenn Maynard 90ad56522c move GetCommandlineArgument, g_argc and g_argv into RageUtil.cpp,
so tests don't have to duplicate stuff, and because PrefsManager
uses it
2005-11-22 21:18:43 +00:00
Renaud Lepage 1d2e3895f3 Small modification on returned value for Xbox 2005-11-16 04:32:10 +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 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 31ecd17da3 add Quadro defaults 2005-11-09 17:34:32 +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 6671b6b207 fix memory log 2005-11-09 02:01:56 +00:00
Steve Checkoway 784a073764 Quit is now handled by a menu key equivalent. 2005-10-31 00:51:06 +00:00
Chris Danford 0f0caf7972 Writable files in "Save", read-only files in "Data". This simplifies the installer and packaging. 2005-10-30 23:08:38 +00:00
Chris Danford 092b5d969d move all URLs into ProductInfo.h 2005-10-28 03:10:48 +00:00
Chris Danford 6e5b3a5ed8 fix PrefsManager::m_sCurrentGame not current, so GamePrefs from Static.ini weren't being used 2005-10-28 01:44:19 +00:00
Glenn Maynard df966ddaf6 remove Xbox prefs from PREFSMAN (not tested on Xbox) 2005-10-27 13:32:47 +00:00
Chris Danford 8b8fa8aad3 move CommonMetrics into a namespace so that it's clear where they're coming from when used. 2005-10-27 05:16:19 +00:00
Chris Danford 5d7885c764 move game prefs into PrefsManager 2005-10-27 04:54:45 +00:00
Steve Checkoway 2e84aba3a4 The new OS X input driver returns F13 for the F13 key. It might decide to return print screen for non-apple keyboards depending on the keyboard. Support both and keep cmd-F12 for laptops. 2005-10-24 11:18:01 +00:00
Steve Checkoway aa0f90feae __MACOSX__ --> MACOSX, keep __MACOSX__ for ogg. 2005-10-24 10:37:56 +00:00
Glenn Maynard 797653e5a4 better encapsulation 2005-10-09 01:36:04 +00:00
Chris Danford 4a9e8bec22 fix goofy "can't play dance reverting to dance" logic 2005-10-08 04:54:04 +00:00
Chris Danford d2fd0c5ed2 note skin -> NoteSkin 2005-10-08 04:49:43 +00:00
Chris Danford 15880eafd6 When in attract and not playing attract sounds, have SOUNDMAN only play sounds with RageSoundParams.m_bCriticalSound == true.
Currently, only the coin sound has RageSoundParams.m_bCriticalSound = true.
2005-10-04 06:51:06 +00:00
Chris Danford 1716a16035 more constructive video card error message 2005-10-02 21:14:21 +00:00
Chris Danford 878c73d3c2 Write Catalog.xml even if FastLoad is on.
FastLoad just means "don't check files for changes", not "only use cache".  New files that aren't already in cache are still loaded normally.
2005-09-24 20:39:48 +00:00
Chris Danford 155007bd3e don't write CatalogXml if FastLoad 2005-09-24 01:05:16 +00:00
Chris Danford 30c23a8129 fix AV if lose focus while initializing 2005-09-22 18:18:04 +00:00
Chris Danford bb10c7c21f pass around InputEventPlus in Screen::Input instead of multiple input structures 2005-09-05 02:26:50 +00:00
Chris Danford 48ebc53549 return NULL -> return CString() for clarity and efficiency 2005-09-04 16:55:21 +00:00
Chris Danford e439ae2a96 return "" -> return NULL 2005-09-02 00:14:07 +00:00
Chris Danford e50a401341 move Character stuff out of messy GAMESTATE and into CHARMAN 2005-08-14 12:06:40 +00:00
Chris Danford 7191258c0a clean up enum Message names so that they match the corresponding strings 2005-08-14 07:29:48 +00:00
Glenn Maynard 4bcf9fcbfd Calling SetNewScreen when not the top screen on the stack only replaces the
top screen.  This allows a screen to push a helper screen, which can then
enter an entirely separate set of helper screens before one pops back.
(For example, a screen could push ScreenServiceOptions to enter the options
menu, which then replaces itself with the various options menus, and finally
pops back to the original screen when the player backs out entirely.)  (Some
support is still missing to allow non-special-case use of this; coming soon ...)

However, in rare cases we want to kill all screens on the stack, regardless
of how many there are (operator menu).  Fix that case.
2005-07-26 03:08:03 +00:00
Glenn Maynard a16bb811e6 DeletePreparedScreens is automatic 2005-07-23 03:01:36 +00:00
Glenn Maynard 47d9ac8567 fix service menu 2005-07-15 00:35:45 +00:00