Commit Graph

600 Commits

Author SHA1 Message Date
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
Chris Danford 3db3500226 remove size on statc CString arrays so that XToString can catch size differences 2005-05-05 19:55:04 +00:00
Ryan Dortmans 9d1a3b5f12 Fixed xbox compile errors. 2005-04-30 04:44:18 +00:00
Chris Danford df0f224ae0 show totals and unlock totals in Catalog.xml
don't show locked in Catalog.xml
2005-04-28 21:20:20 +00:00
Chris Danford 0938d9d9a7 conver more to use Preference 2005-04-28 08:27:40 +00:00
Chris Danford 4ffa3dcef4 fix uses of CoinsPerCredit 2005-04-27 08:51:29 +00:00
Chris Danford 958642a3b8 save mappings after automapping. Otherwise, if we don't exit cleanly, the automappings are lost and not reapplied on the next run 2005-04-24 02:06:26 +00:00
Chris Danford 218be32879 separate fail types per player. Now FailType adjustments based on Difficulty only affect the relevant players. 2005-04-05 08:30:57 +00:00
Ted Percival 151b70ab27 (cosmetic) fix off-by-one in current date sent to logfile 2005-03-25 11:51:08 +00:00
Glenn Maynard 0948c50ce4 move display-related init into a function 2005-03-22 21:34:23 +00:00
Glenn Maynard 36eafca988 fix extending method tables 2005-03-18 23:56:37 +00:00
Glenn Maynard e4adda1183 Init Lua earlier, so we can have LuaReferences in GameState. 2005-03-18 22:46:17 +00:00
Ben Anderson 167e5aebc0 Put all the Make* functions into a single .h/.cpp file (yes, kinda like the way it was), and add Make* functions for DialogDrivers. This means there's only one object that's affected by drivers being added/removed. (Driver default changes are a little different -- 2 or 3 objects.) Also one or two minor cleanups. (note: I apparently don't know much about CVS, it appears that some files might not make it into the repository; hang tight, I'm trying to find a solution.) 2005-03-15 00:30:26 +00:00
Ben Anderson 0db665d4d6 Thorough(!) remodeling of the arch/ directory and the contents therein; fixed link-time warnings on GCC and should make things a lot easier to manage. A pile of other random things too, mostly cleanups and getting things to work with the remodeled arch/ directory. 2005-03-14 06:44:38 +00:00
Glenn Maynard eadd3b3edb separate "low res loaded on startup" and "low res loaded on demand" banner modes 2005-03-08 01:39:32 +00:00
Glenn Maynard d37a167688 move RegisterTypes 2005-02-28 07:20:03 +00:00
Chris Danford ea4950e5c5 reset game on Ctrl+F2 2005-02-28 04:07:37 +00:00
Chris Danford a2915c038b add TemporaryEventMode flag to GameState 2005-02-21 17:29:49 +00:00
Glenn Maynard 04ca6e051a UnlockSystem -> UnlockManager 2005-02-21 06:29:04 +00:00
Glenn Maynard 74d27315d3 s/UnlockSystem.h/UnlockManager.h/ 2005-02-21 06:22:46 +00:00
Chris Danford eb63c30d15 make hack more surgical 2005-02-16 17:33:28 +00:00
Chris Danford bb712884bb move global StageStats into a singleton 2005-02-16 03:25:45 +00:00
Chris Danford a9c2d3ae29 fix re-init of Lua to give singletons a chance to register after they've all been constructed 2005-02-16 00:14:43 +00:00
Chris Danford 12fde5d55c move PlayerName texts out of code and into BGAnimations 2005-02-13 01:16:17 +00:00
Chris Danford 1bd60eb3fb construct LUA after THEME 2005-02-12 22:53:03 +00:00
Chris Danford 613b99d26f add experimental MessageManager 2005-02-09 05:20:49 +00:00
Glenn Maynard 404d80e600 call ShutdownGame after HOOKS->RestartProgram, since it deletes HOOKS 2005-02-08 05:09:51 +00:00
Glenn Maynard cb7255860c ug, revert 2005-02-07 23:50:44 +00:00
Glenn Maynard f8084888fe Only do NTPAD check in Windows. This belongs in ArchHooks, but I don't want to drag INPUTMAN into there ... 2005-02-07 09:48:52 +00:00