Commit Graph

84 Commits

Author SHA1 Message Date
Chris Danford f4b1e3e72b broadcast CoinsChanged, removed InsertCoin broadcast later 2008-09-18 09:06:59 +00:00
Glenn Maynard a191c25a13 readd missing operator= (needed for STL use) 2008-05-27 17:40:30 +00:00
Josh Allen 79b57b5dce Use lua and messages to set the room titles in the screen headers 2008-05-24 01:07:56 +00:00
Chris Danford 685f2bc38a add to assert information 2008-02-15 09:44:36 +00:00
Chris Danford 2c693da0f7 broadcast ScoreChanged with params 2007-08-24 11:35:52 +00:00
Chris Danford 71492cd106 add PreferredStepsType, fix StepsType jumps when changing songs if multiple StepsTypes are shown 2007-05-15 19:32:39 +00:00
AJ Kelly b5c5f1c3d7 "Difficuty" -> "Difficulty" 2007-05-07 17:18:56 +00:00
Glenn Maynard 464356151d better messages 2007-05-04 18:15:26 +00:00
Glenn Maynard d64294dc21 remove PlayersFinalized message 2007-04-16 18:45:51 +00:00
Chris Danford 43ef38383d separate CurrentStageIndex into separate number per game and per player. This allowed for staggered join periods. 2007-03-25 09:37:14 +00:00
Glenn Maynard c0e8327704 don't propagate broadcasts 2007-03-02 06:15:56 +00:00
Glenn Maynard f361dc7032 handle MultiPlayer judgements with message parameters to clean
up judgement handling
2007-03-01 21:22:37 +00:00
Glenn Maynard 67f372af09 SideJoinedP1, SideJoinedP2 -> PlayerJoined(P1)
move most of ScreenSystemLayer into Lua
2007-02-15 11:30:22 +00:00
Glenn Maynard 9bc27fb390 Messages and commands are nearly identical: they both have a name,
they can both have parameters stashed in a table, and they both play
stuff out of the actor command list.  Merge them; now the only
difference between playing and broadcasting a command is that playing
plays recursively on a tree and broadcasting sends to all subscribers.

The distinction between "messages" and "commands" is cosmetic now;
everything is a message.  The only thing special about commands intended
to be received as a broadcast is the "Message" suffix, which subscribes it.
2007-02-03 06:17:02 +00:00
Chris Danford 7b7817f613 remove unused AssistTickChanged message 2007-01-25 11:05:12 +00:00
Glenn Maynard 17ad7bb1bf getters 2007-01-15 04:17:15 +00:00
Glenn Maynard c3cf5ef59e remove ProcessMessages 2006-12-20 01:11:49 +00:00
Chris Danford b21ceca756 add guitar scoring 2006-11-15 23:34:48 +00:00
Glenn Maynard c86c218522 MessageToString -> MessageIDToString 2006-11-14 04:26:38 +00:00
Glenn Maynard 174f0c16fa update bindings 2006-11-14 04:22:27 +00:00
Glenn Maynard 11e8d4b4c4 unused 2006-11-13 23:55:27 +00:00
Glenn Maynard 7e9ec10f3a work on allowing parameters to messages: pass a Message
struct, not just a string
2006-11-13 23:51:24 +00:00
Glenn Maynard c219f56a3b work on allowing parameters to messages: pass a Message
struct, not just a string
2006-11-13 23:07:02 +00:00
Glenn Maynard ec061bebc3 Message -> MessageID 2006-11-13 22:36:39 +00:00
Glenn Maynard 28724eb156 SongChanged -> SongModified (confusing with CurrentSongChanged) 2006-11-09 04:32:23 +00:00
Glenn Maynard a1ead63fb1 fix message name 2006-11-09 04:25:58 +00:00
Steve Checkoway 360f1e66d5 Simplify. 2006-11-03 04:49:29 +00:00
John Bauer 592c27996d Originally, the AdjustSync class always saved to disk, even in edit mode.
In edit mode, though, AdjustSync should only save to memory, giving the
user a chance to save later.  This change adds a SongChanged message
to the MessageManager.  Making the ScreenEdit class listen to this
message allows the AdjustSync class to mark a song as dirty rather than
saving it to disk when in edit mode.

R=steve chekoway
2006-11-02 05:30:02 +00:00
Steve Checkoway e87789da7c Rename XToString2 to XToString. 2006-10-15 00:09:18 +00:00
Steve Checkoway 04bff6bc1d Use XToString2. 2006-10-15 00:00:22 +00:00
Glenn Maynard cd905f9372 simplify 2006-10-01 07:34:55 +00:00
Glenn Maynard df8630b91b remove unused fDelayRemaining. If we want to delay a broadcast,
delay the actual broadcast and handle the timer in MessageManager,
not process the broadcast in every individual listener.
2006-10-01 07:32:53 +00:00
Glenn Maynard c690fdcfe4 unify registration 2006-09-29 00:01:32 +00:00
Glenn Maynard f4975f1f54 simpler Lua boilerplate 2006-09-27 20:30:29 +00:00
Glenn Maynard 2b7e2849fd simplify singleton registration 2006-09-21 04:27:45 +00:00
Glenn Maynard 3a0ce66220 fix MessageSubscriber copying 2006-08-16 22:32:36 +00:00
Glenn Maynard f537670058 --Fixing log-- 2006-05-31 05:28:15 +00:00
Chris Danford f40015aad9 move MadeChoice to a command played on the screen. Broadcasting it doesn't work if there are prepared screens. 2006-05-26 09:59:56 +00:00
Chris Danford 1189805ada 32 player messages 2006-04-21 00:34:36 +00:00
Chris Danford 16ecd09b9b 400ms between NotesWillCross messages 2006-04-04 21:45:10 +00:00
Chris Danford fc3312f9be broadcast on screen changed 2006-03-26 08:10:53 +00:00
Chris Danford e052ff7829 add FadingBanner to ScreenUnlockBrowse 2006-03-23 00:16:18 +00:00
Steve Checkoway bd9fe065c9 Fix spelling. 2006-02-21 11:24:53 +00:00
Steve Checkoway 1946083107 Don't change player one's course difficulty preferenes. Play a sound when the difficulty changes. 2006-02-20 04:25:53 +00:00
Chris Danford a05d1e8265 move message helper stuff out of Actor into a new base class so that it can be used w/o deriving from Actor 2006-02-06 01:26:52 +00:00
Chris Danford 6a1ef9d858 refresh mapping screen text when automapping is applied because of a joystick plug/unplug 2006-01-26 04:51:07 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard b734b602d2 force TypeName arrays for XToString to be an array of const char*, not CString 2006-01-04 22:30:51 +00:00
Chris Danford cd9cf4c1e2 move some service menu actions from GameCommand into ScreenServiceAction 2005-11-29 23:15:11 +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