Commit Graph

26488 Commits

Author SHA1 Message Date
Chris Danford 43925dffee let PreferredDifficulty have an effect even if PreferredStepsType isn't set 2007-08-25 07:23:15 +00:00
Chris Danford 09e3f1872e GetNextScreen -> GetNextScreenName (makes return type more clear in Lua) 2007-08-25 03:13:16 +00:00
Chris Danford 06212434a5 rename MultiPlayer_1 -> MultiPlayer_P1 for consistency with Lua 2007-08-24 20:49:53 +00:00
Chris Danford bd9447ede4 remove multiplayer song index hack, replace with UpdateStageStats override that multiplayer can use
fix gameplay fails immediately if all players don't have a LifeMeter.
2007-08-24 20:29:01 +00:00
Chris Danford 1bdf0c8bcf fix GetCourseSongIndex in multiplayer 2007-08-24 20:27:50 +00:00
Josh Allen 271ebdbb02 song.h 2007-08-24 15:43:12 +00:00
Chris Danford 2c693da0f7 broadcast ScoreChanged with params 2007-08-24 11:35:52 +00:00
Steve Checkoway 01839b5996 Make out-of-line copies of inline functions visible to shut up linker warnings about code visibility. 2007-08-24 11:12:03 +00:00
Steve Checkoway 59eb1bde90 Work around broken header. 2007-08-24 06:15:50 +00:00
Steve Checkoway b792b5ea9c enclosing group. 2007-08-24 06:11:02 +00:00
Steve Checkoway 376cdb5437 Add files. 2007-08-24 05:54:54 +00:00
Glenn Maynard 5aadb602f2 handle GameButton_Invalid 2007-08-23 05:17:18 +00:00
Chris Danford 5b1aa24c6c broadcast Step message with parameters 2007-08-22 09:03:47 +00:00
Chris Danford 07ea9de943 remove unused DifficultyToString 2007-08-22 09:03:18 +00:00
AJ Kelly 9ec7334bf4 don't show Toasty on GameplaySyncMachine 2007-08-22 00:41:56 +00:00
AJ Kelly be629cca14 add ScreenOptionsToggleSongs 2007-08-21 22:32:09 +00:00
Glenn Maynard c263cdd303 add ScreenOptionsToggleSongs 2007-08-21 21:57:05 +00:00
Glenn Maynard 7d3627692f add ScreenOptionsToggleSongs. (This won't scale to lots of songs;
it's not intended to for now.)
2007-08-21 21:54:35 +00:00
Glenn Maynard 9cd07fc6cb fix string.upper is nil when theme changed 2007-08-21 20:29:28 +00:00
Steve Checkoway d83d5af1e6 Fix lua crashes for game types other than dance. 2007-08-21 08:34:10 +00:00
Chris Danford 6977897945 fix PlayerStageStats pointing to the wrong PossibleSteps in Multiplayer 2007-08-21 01:36:22 +00:00
Chris Danford e334a5bb2e mapping fix for GamePad Pro in pump 2007-08-21 01:35:47 +00:00
Chris Danford f648af4560 Lua bind DifficultyToString 2007-08-21 01:35:29 +00:00
Glenn Maynard 5408781154 settext: support alt text 2007-08-21 00:26:49 +00:00
Glenn Maynard e68f1ffa35 cleanup
(I'm ambivalent about aligning blocks of variables like
this and frequently don't bother, but if a block is going to
do it, it should be consistent within the block.)
2007-08-21 00:25:06 +00:00
Chris Danford 2832da8b4c in Multiplayer, have multiple Player objects for each MultiPlayer, then choose the best score from each group of Players on StageFinished 2007-08-20 10:45:28 +00:00
Chris Danford 58aa14142f broadcast on SelectionState change
rename: StepsSelected->StepsChosen
2007-08-20 03:32:26 +00:00
Chris Danford 4311158735 Split *Options::FromString into FromString and FromOneModString.
Check for invalid mod names when loading a course by checking whether the mod is a valid PlayerOption or a valid SongOption.  Previously, SongOption mods were being flagged as errors by PlayerOptions.
2007-08-20 02:57:05 +00:00
Charles Lohr e2d8d6d718 Fix the colored text issues. 2007-08-20 02:41:46 +00:00
Charles Lohr 7399e3203d Add constructor to prevent bad value from being in the overlay's state. 2007-08-20 02:22:07 +00:00
Josh Allen e5678c5480 Fix logic errors. SMO's step types should be used after the conversion. 2007-08-19 22:11:13 +00:00
Glenn Maynard 7f29885237 remove game-specific names 2007-08-19 21:04:40 +00:00
Josh Allen 5107f3ff97 Comment formatting 2007-08-19 20:49:21 +00:00
Josh Allen 7d98b7ed16 Translate from Stepmania's note score to SMO's note score(step type). 2007-08-19 20:41:21 +00:00
Steve Checkoway f8be4f8426 Ignore code. 2007-08-19 04:19:04 +00:00
Steve Checkoway 74b056c2af I don't know why this was changed, but include the header. 2007-08-19 04:12:21 +00:00
Steve Checkoway 422b9d5aa5 Comments. 2007-08-19 01:27:47 +00:00
Steve Checkoway 5eb5c5e199 This isn't invalid, just a song we don't know about, likely one that was once played and the removed. Don't warn. 2007-08-19 01:27:03 +00:00
AJ Kelly 36f83e0d8a add steps for pump-single so it doesn't crash in pump mode 2007-08-19 01:21:16 +00:00
Steve Checkoway 48a493cbb1 Document mbstrlen, BitmapText:AddAttribute, and BitmapText:ClearAttributes. 2007-08-19 00:11:11 +00:00
Steve Checkoway 97e7a6a1cb Add binding. 2007-08-19 00:10:33 +00:00
Steve Checkoway 50db5dc5f6 Get the string, find the substring, compute the number of multibyte characters before it, and use that as the position of the attribute. 2007-08-18 23:44:00 +00:00
Steve Checkoway c18512b4ff Have AddAttribute handle adjusting the position based on the number of lines. Remove the FindText hack. 2007-08-18 23:42:58 +00:00
Steve Checkoway 2d4122201c Add lua binding for multibyte string length. 2007-08-18 23:42:03 +00:00
Jason Felds aadc2c6178 Add Daisuke Master for new pump noteskin (real name requested). 2007-08-18 23:36:56 +00:00
AJ Kelly 4cd245e477 fixing up notification at bottom 2007-08-18 22:24:07 +00:00
Steve Checkoway dc52d1e3e5 Color "Great" and "NG" green and red, respectively. 2007-08-18 22:17:07 +00:00
Steve Checkoway 74bb5376ce Support adding attributes to BitmapText. The only ones supported currently are diffuse color and glow color. Overlapping attributes are undefined. However, a length of -1 means the attribute applies until the end of the text or another attribute, whichever comes first. 2007-08-18 22:16:05 +00:00
Steve Checkoway 8dcda44d9c There is no need for this to be public. 2007-08-18 02:15:35 +00:00
Steve Checkoway af0211c6a9 This should be checking if the player is enabled, not if the font is not null. 2007-08-18 02:08:37 +00:00