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
Steve Checkoway
97e7a6a1cb
Add binding.
2007-08-19 00:10:33 +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
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
Glenn Maynard
400da3065f
better EnabledSongs interface
2007-08-16 23:24:36 +00:00
Steve Checkoway
4991a266df
Remove unnecessary CACHED_REGISTER_CLASS.
2007-08-16 09:32:40 +00:00
Steve Checkoway
d12e579038
Use MapLog to keep track of the top screen. It's a bit buried in the crashinfo.txt, but still there.
2007-08-16 08:01:29 +00:00
Steve Checkoway
a01bf41010
Use ShowWarningOrTrace, it strips out unnecessary parts of the path.
2007-08-16 07:59:30 +00:00
Glenn Maynard
03b7983216
merge UnlockManager::SongIsRouletteOnly into SongIsLocked
2007-08-16 01:24:55 +00:00
Glenn Maynard
1ab347b022
cleanup
2007-08-16 01:14:14 +00:00
Glenn Maynard
27f76b12ef
fold in UpdateCachedPointers
2007-08-15 23:35:48 +00:00
Glenn Maynard
02e4ba617f
not needed anymore
2007-08-15 21:02:50 +00:00
Glenn Maynard
9aead72d03
CourseID
2007-08-15 21:01:23 +00:00
Glenn Maynard
7729701678
use SongID
2007-08-15 20:56:44 +00:00
Glenn Maynard
3509dfee03
cleanup
2007-08-15 20:38:10 +00:00
Glenn Maynard
83d64246d9
If a course uses a song that is disabled, disable the course too.
2007-08-15 20:37:34 +00:00
Glenn Maynard
85732aa4c8
return a mask, like SongIsLocked
2007-08-15 20:31:47 +00:00
Glenn Maynard
6f68b3fbaa
save disabled songs
2007-08-15 20:27:11 +00:00
Steve Checkoway
b9c6cd950c
Load the actors, untested but should fix the missing OnCommands for SNEval.
2007-08-15 06:51:56 +00:00
Steve Checkoway
a9f12e1788
Fix text showing only the first character.
2007-08-15 06:43:11 +00:00
Steve Checkoway
8d8e707347
This code is very strange, but all of the actors need to have their commands loaded since these were what were missing Off commands.
2007-08-15 06:20:23 +00:00
Steve Checkoway
e332565c9d
Better debugging messages so we can see which actor on which screen is missing the command.
2007-08-15 06:18:19 +00:00
Steve Checkoway
2f672bca45
Add a wrapper function to get the Top Screen's name. Useful for debugging when you don't want to pull in ScreenManager.h.
2007-08-15 06:17:41 +00:00
Steve Checkoway
18d77b9003
Let the theme decide how many colors for the rainbow.
2007-08-15 03:00:39 +00:00
Steve Checkoway
37bdc7f002
Doesn't return anything.
2007-08-14 09:28:53 +00:00
Steve Checkoway
62b49f2d7f
Fix compile and link errors. The relevant parts of the standard have been cited for those following along at home.
...
typename must be used for dependent name resolution as described in 14.6 [temp.res].
An elaborated-type-specifier with the class-key present is required ("shall be used") in a friend declaration for a class. 11.4.2 [class.friend] and 7.1.5.3.1 [decl.type.elab].
However, an elaborated-type-specifier cannot be a typedef-name. 3.4.4.2 [basic.lookup.elab].
Lastly, the is no need for registration since "a definition for a static data member may be provided in a namespace scope enclosing the definition of the static member's class template." 14.5.1.3.1 [temp.static].
2007-08-14 09:17:56 +00:00
Glenn Maynard
3e3c1deea4
We have a lot of duplicate, redundant checks between UNLOCKMAN->SongIsLocked
...
and Song::GetDisplayed/Song::NormallyDisplayed, which leads to inconsistency.
Make UnlockManager::SongIsLocked() handle both. Returns a bitfield; most
cases only need to test true or false.
(Also adds m_bEnabled; not used yet.)
2007-08-13 21:20:51 +00:00
Glenn Maynard
4d3b3315b8
remove unused
2007-08-13 19:41:34 +00:00
Glenn Maynard
35bdbc619a
dehack old hack
2007-08-13 19:28:41 +00:00
Glenn Maynard
4f256b12b1
store as a reference
2007-08-13 19:24:54 +00:00
Glenn Maynard
9284021d2a
style
2007-08-13 19:21:21 +00:00