Commit Graph

58 Commits

Author SHA1 Message Date
Chris Danford edc23dd5e1 cap at 20 credits for locations with time cards so that players can't load the machine up with an unlimited number of credits 2007-06-04 21:13:20 +00:00
Steve Checkoway 92fff09378 Fix compile. Judging by the name of the function, it is possible this should be checking all memory cards, not just the ones for pn. I am not sure so this is only temporary until Glenn reappears. 2007-04-19 10:17:20 +00:00
Glenn Maynard 2ff151586b GetMetric -> GetString 2007-04-14 19:26:57 +00:00
Chris Danford 0c972a4dd7 cleanup CoinMode and Premium names 2007-02-26 09:40:14 +00:00
Glenn Maynard 67f372af09 SideJoinedP1, SideJoinedP2 -> PlayerJoined(P1)
move most of ScreenSystemLayer into Lua
2007-02-15 11:30:22 +00:00
Chris Danford f7fc9ceaa5 remove Set/GetHidden, leave *Visible
remove hidden from ActorCommands eventually
2007-02-13 06:32:26 +00:00
Glenn Maynard a5f5fa0b78 HandleMessage( Message ) 2006-11-13 23:11:25 +00:00
Glenn Maynard 586c1fc497 unused 2006-10-07 08:15:50 +00:00
Glenn Maynard 1813a9d9e3 subscribe to the events that change the credits message; don't
make everything else hook into SCREENMAN
2006-09-15 06:04:43 +00:00
Glenn Maynard 7b995b8487 remove unused 2006-08-20 20:01:53 +00:00
Glenn Maynard 41bfd277a5 cleanup 2006-03-26 04:16:57 +00:00
Chris Danford 09b88acb0d remove brightness quad. Add SSystemLayer overlay for doing hacks like that. 2006-03-22 23:00:58 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard a87993bcb1 finish ctor transition 2006-01-15 20:46:15 +00:00
Glenn Maynard 06e389ecd2 load in Init() 2006-01-15 20:34:52 +00:00
Glenn Maynard 2b4c9e4516 Transition away from Screen(sName). 2006-01-15 19:49:02 +00:00
Glenn Maynard 3e456e60fd load in Init() 2006-01-15 19:48:11 +00:00
Chris Danford 36c7d8e0ed enum name cleanup 2005-12-01 03:20:25 +00:00
Chris Danford 7cb3a12722 move stats and skips into ScreenStatsOverlay 2005-10-04 06:02:18 +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 e30fcd571d add brightness overlay 2005-08-18 02:28:54 +00:00
Glenn Maynard 6ac51af9c2 header 2005-07-20 09:48:19 +00:00
Chris Danford 505e835214 GetDisplayName -> GetDisplayNameOrHighScoreName 2005-07-13 18:49:49 +00:00
Chris Danford f76db9b91c fix HideSystemMessage 2005-06-15 10:30:58 +00:00
Chris Danford c2a8150f16 add HideSystemMessage 2005-06-15 10:01:08 +00:00
Chris Danford b2686a5473 add system message frame 2005-06-04 03:04:29 +00:00
Chris Danford 50717c6ee9 COIN_ -> COIN_MODE_ 2005-05-20 17:45:44 +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 b2b72a8258 fix SystemMessageNoAnimate never displayed 2005-05-12 21:55:48 +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
Chris Danford 820fb0b361 broadcast on Preference changes 2005-05-06 20:41:05 +00:00
Chris Danford 3a726a1c9b fix ScreenEnding shows stats when not using a memory card
fix other bugs introduced when GetProfile was changed to return a valid pointer even with no profile loaded
2005-05-01 06:42:30 +00:00
Chris Danford 4ffa3dcef4 fix uses of CoinsPerCredit 2005-04-27 08:51:29 +00:00
Glenn Maynard 30c3578cdc interface to allow more specific error messages 2005-04-22 05:48:52 +00:00
Glenn Maynard 27b12d3228 rename MEMORY_CARD_STATE_WRITE_ERROR -> MEMORY_CARD_STATE_ERROR 2005-04-22 04:58:32 +00:00
Chris Danford e6f37dbee8 Don't fill in new Profiles with a hard-coded "NoName". Let ScreenSystemLayer fill in blank name from metrics. 2005-03-26 22:18:28 +00:00
Chris Danford 66a30e72b8 optimize: Add GetTimeSinceStartFast() that caches the time for archs where GetMicrosecondsSinceStart() is slow 2005-03-21 21:40:07 +00:00
Chris Danford 829130da13 fix VC6 2005-03-01 18:45:04 +00:00
Glenn Maynard 2b54f34c39 cleanup 2005-03-01 15:22:15 +00:00
Glenn Maynard 8e0a6f505d cache 2005-03-01 15:18:25 +00:00
Glenn Maynard 1d854909c6 generalize overlay screens; ScreenSystemLayer is no longer a special
case
2005-02-28 05:22:53 +00:00
Glenn Maynard f9f5e0671c actor messages for system messages 2005-02-28 05:10:08 +00:00
Glenn Maynard 7aef68aa7b use a message to communicate credits line changes 2005-02-28 05:01:50 +00:00
Glenn Maynard aa86bb1fbc split out ScreenSystemLayer::GetCreditsMessage 2005-02-26 07:20:38 +00:00
Glenn Maynard 2758d599f5 const 2005-02-26 07:15:09 +00:00
Chris Danford 42c5e2b3f9 allow specifying a Lua function for a command with "%funciton(self) self:blah end" 2005-02-23 19:15:24 +00:00
Glenn Maynard b51b0cfb4c Use Init() for all screens, so we can set state before the base class
members are loaded--they'll see resets, score finalization, etc.  It
also results in smaller code, due to a g++ bug that causes constructors
to be emitted several times.
2005-02-23 06:29:05 +00:00
Chris Danford a2915c038b add TemporaryEventMode flag to GameState 2005-02-21 17:29:49 +00:00