Commit Graph

628 Commits

Author SHA1 Message Date
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
Glenn Maynard 6badb0dd8c transitioning m_bEditing -> m_EditMode, IsEditing() 2005-07-14 05:12:56 +00:00
Glenn Maynard 90e8d8f130 split out GameLoop ... 2005-07-13 00:51:38 +00:00
Glenn Maynard 1f9b40ca23 split out GameLoop ... 2005-07-13 00:49:22 +00:00
Glenn Maynard f384783335 cleanup 2005-07-13 00:28:37 +00:00
Glenn Maynard cf22782ab9 add AppHasFocus 2005-07-13 00:22:59 +00:00
Glenn Maynard aad96ee660 remove Update 2005-07-13 00:01:08 +00:00
Glenn Maynard c587f12d65 Don't construct overlay screens in ScreenManager ctor. We havn't reset
GAMESTATE by then, so much of it is uninitialized, and we should not load
screens until that's done.  (fixes valgrind warning due to IsEventMode()
being called from SSystemLayer)
2005-06-23 00:30:02 +00:00
Steve Checkoway 99387583f9 DARWIN -> __MACOSX__ 2005-06-21 08:56:36 +00:00
Glenn Maynard d9ed603f18 implement coin settling 2005-06-19 21:58:11 +00:00
Chris Danford 47681f4684 DebugMenu: ReloadScreen load the current screen, not the initial screen 2005-05-24 23:32:39 +00:00
Glenn Maynard bfda377b10 absolute mountpoints 2005-05-22 02:38:00 +00:00
Glenn Maynard 07619915f5 absolute mountpoints 2005-05-22 02:36:56 +00:00
Glenn Maynard 5a80e4a542 fix crash 2005-05-20 04:34:54 +00:00
Chris Danford d67d60e178 sync controls cleanup:
move sync display/saving out of complicated ScreenGameplay
  show sync UI in editor playback as well as gameplay
  revert sync from in-memory backup, not from disk
  move more functions into debug overlay
2005-05-19 23:29:39 +00:00
Glenn Maynard f701c3f261 remove unused FirstRunInitialScreen 2005-05-19 21:05:25 +00:00
Glenn Maynard 78682940ea remove; we generate a machine keypair on demand
doing things "on first run" is fragile: it might be interrupted, in which
case we either do it again next time (running first-run tasks more than
once) or we don't do any (skipping some of them).  instead, do things
on demand, and keep track of which tasks have completed
2005-05-19 20:55:05 +00:00
Glenn Maynard f9b18c7a64 cleanup 2005-05-19 20:43:06 +00:00
Glenn Maynard 846a4bd6ae don't need to stuff this in a function (this doesn't belong in StepMania.cpp,
though ...)
2005-05-19 20:39:42 +00:00
Glenn Maynard 140ec4fdca allow setting preferences from theme metrics. static.ini is deprecated. 2005-05-19 05:19:23 +00:00
Glenn Maynard acc86207d0 Don't re-read game prefs at reset; it's a hack to load game prefs
and mappings after changing the game.  Do it in ChangeCurrentGame
instead.  Don't expose ReadGamePrefsFromDisk.  (This code path
is still a little overcomplicated, but it's a bit simpler now ...)
2005-05-19 05:12:30 +00:00
Glenn Maynard 0190f4024f after most calls to ReadGamePrefsFromDisk, we call
ReadMappingsFromDisk; cleanup
2005-05-19 04:30:30 +00:00
Chris Danford 5c16cabf0d move CoinMode toggle entirely into debug menu
add mute to debug menu
2005-05-16 22:23:20 +00:00
Chris Danford e389ba6191 convert the rest to use Preference 2005-05-16 09:36:32 +00:00
Chris Danford 17b6d15d79 themeable system message animation 2005-05-09 09:49:13 +00:00
Chris Danford fb1d69add3 rename: IsUsingProfile -> IsPersistentProfile
Don't require IsPersistentProfile in some places related to fitness mode where a non-persistent Profile will suffice
2005-05-09 08:44:01 +00:00
Glenn Maynard a87bc7f657 stop music on f2 restart, so the music resets, too (not sure if ResetGame(true)
should do this)
2005-05-08 23:20:19 +00:00
Chris Danford 820fb0b361 broadcast on Preference changes 2005-05-06 20:41:05 +00:00
Chris Danford 5ebf6942f8 broadcast on coin inserted 2005-05-06 19:51:29 +00:00