Kyzentun
a3e6cdbfa2
Added One_Screen_Example_Theme as a minimal example.
2014-08-10 16:17:03 -06:00
freem
04c49a2fd8
add TextEntrySettings documentation to ScreenTextEntry
2014-08-08 20:33:29 -05:00
Kyzentun
7e73892e6e
Moved LifeType, DrainType, and BatteryLives from Song Options to Player Options. Added ScreenGameplay:FailFadeRemovePlayer lua function.
2014-08-06 23:26:05 -06:00
Kyzentun
6aad3c8f75
Added CourseSongRewardLives metric to LifeMeterBattery.
2014-08-06 15:26:54 -06:00
Kyzentun
6be879f06d
Fix PlayerStageStats::SetLifeRecordAt to broadcast correct message for the player. Also adds Message::Message(MessageID) constructor.
2014-08-06 04:41:05 -06:00
Jonathan Payne
ef5a650b76
merge 84a8d3a
2014-08-05 15:43:57 -07:00
Kyzentun
ef955bc4d4
A couple actor docs.
2014-08-04 20:27:49 -06:00
Kyzentun
9244b0f1d8
Updated actordef.txt.
2014-08-04 10:59:38 -06:00
sigatrev
3478bc7650
added GetStylesForGame method
2014-08-02 18:09:52 -05:00
Kyzentun
6b346e8e0b
Added MusicWheel:GetSelectedSection.
2014-08-02 00:38:58 -07:00
freem
8777e77bfc
updating luadocs
2014-08-02 00:38:55 -07:00
sigatrev
82cb4a198d
Enums for TapNoteType, TapNoteSubType, and TapNoteSource
...
I intend to make additional useful information available on judgments,
such as TapNoteType and TapNoteSubType( for hold judgments ).
I am submitting this part as a separate pull request because it is more
generally applicable to anything TapNote related.
2014-08-02 00:38:48 -07:00
Kyzentun
3945a4a34b
Improved three-key support. Default theme should be completely usable with three-key cabinets if ThreeKeyNavigation pref is true. Added ThreeKeyNavigation pref. ScreenOptions:NavigationMode metric now uses that pref to decide between normal and toggle modes. Added GoToFirstOnStart to OptionRowHandlerLua so an option row can control that behavior. Rewrote input for default's ScreenSelectProfile to use an input callback to take advantage of menu button mapping. Fixed inconsistent indentation in ORHL documentation.
2014-08-02 00:38:46 -07:00
sigatrev
ada902140e
add OldStyleStringToDifficulty method
...
because SM recognizes them in .sm files.
2014-08-02 00:38:35 -07:00
sigatrev
e8e617e545
SavePreferences
...
for custom option screens.
2014-08-02 00:38:35 -07:00
Kyzentun
9b08ab5b52
Created GameLoop::ChangeGame analogous to GameLoop::ChangeTheme. Changed ChangeTheme to use the AfterThemeChangeScreen metric instead of a passed in screen name from the theme being changed away from. ChangeGame uses the AfterGameChangeScreen and AfterGameAndThemeChangeScreen metrics to pick the screen to load after the change. New metrics are optional and default to InitialScreen. Changed ScreenManager::ThemeChanged to not duplicate the code in ReloadOverlayScreens. Fixed ScreenManager::IsScreenNameValid to check with HasMetric before using GetMetric. Changed game ConfOption logic to set the preference and work in a similar way to the theme ConfOption. Added THEME:SetTheme lua function.
2014-08-02 00:38:34 -07:00
Kyzentun
5828b2529b
Fixed two typos.
2014-08-02 00:38:33 -07:00
sigatrev
fe08728393
add SOUND:IsTimingDelayed method and fixed SOUND:PlayMusicPart
...
PlayMusicPart does not immediately start the new music. IsTimingDelayed
will return true until the new music has started.
The "applyRate" argument of PlayMusicPart was being applied to the
"align_beat" property. Added an additional argument to for "align_beat"
and made "applyRate" work properly.
2014-08-02 00:38:32 -07:00
Kyzentun
8657d70fe1
Created Def.LogDisplay for displaying messages in a log. Changed error reporting layer to use Def.LogDisplay. Changed engine error reporting to not clip errors to a single line.
2014-08-02 00:38:29 -07:00
Kyzentun
4343a99ea9
Changed many parts of GameCommand to improve error reporting. Fixed GameCommand setpref to not set when loading the command. Minor fix to ScreenOptionsExample.ini to explain that SongInCurrentSongGroup is unusable. CommonMetrics, CourseContentsList, HoldJudgent, OptionRowHandler all have minor changes to fix crashes on malformed theme data.
2014-08-02 00:38:25 -07:00
Kyzentun
5df80b6e0e
Changed many places that used RageException to use ReportScriptError instead. Wrote ScreenOptionsExample.ini as documentation example for the OptionRow system. Rewrote gamecommands.txt to include all GameCommands. Fixed Commands::GetOriginalCommandString to insert the semicolons that separated the original commands. Changed nonsensical boolean |= true statements in GameCommand.cpp to just use =. Added protection to ReportScriptError to keep it from recursing through itself when an error occurs in error reporting. Added UseAbort option to ReportScriptError for places that want to use an AbortRetryIgnore dialog to query the user. Added ScriptErrorMessage for places that need to handle the warning/dialog part separately. Added logging flag to MESSAGEMAN so that all messages broadcast can be logged when desired. Changed OptionRowHandler::LoadInternal to return a boolean success value as part of error handling.
2014-08-02 00:38:24 -07:00
sigatrev
acf15aed53
SetGame lua docs
2014-08-02 00:38:23 -07:00
Kyzentun
392ac045eb
Added MusicWheel:GetSelectedSection.
2014-07-31 14:57:00 -06:00
kyzentun
d7fade2f0b
Merge pull request #244 from sigatrev/TapNote-enums
...
Enums for TapNoteType, TapNoteSubType, and TapNoteSource
2014-07-30 23:03:51 -06:00
kyzentun
9a0219c6b6
Merge pull request #231 from kyzentun/ChangeGame
...
SetGame
2014-07-30 23:01:59 -06:00
freem
35fea8f68d
updating luadocs
2014-07-30 04:37:21 -05:00
sigatrev
e81af8c131
Enums for TapNoteType, TapNoteSubType, and TapNoteSource
...
I intend to make additional useful information available on judgments,
such as TapNoteType and TapNoteSubType( for hold judgments ).
I am submitting this part as a separate pull request because it is more
generally applicable to anything TapNote related.
2014-07-25 18:45:02 -05:00
Kyzentun
32e5d7e90c
Improved three-key support. Default theme should be completely usable with three-key cabinets if ThreeKeyNavigation pref is true. Added ThreeKeyNavigation pref. ScreenOptions:NavigationMode metric now uses that pref to decide between normal and toggle modes. Added GoToFirstOnStart to OptionRowHandlerLua so an option row can control that behavior. Rewrote input for default's ScreenSelectProfile to use an input callback to take advantage of menu button mapping. Fixed inconsistent indentation in ORHL documentation.
2014-07-25 14:33:15 -06:00
AJ Kelly
020b3916e8
Merge pull request #233 from sigatrev/StringToDifficulty
...
add OldStyleStringToDifficulty method
2014-07-22 17:54:36 -05:00
sigatrev
7622c7d423
add OldStyleStringToDifficulty method
...
because SM recognizes them in .sm files.
2014-07-22 17:39:55 -05:00
sigatrev
49c8846cc0
SavePreferences
...
for custom option screens.
2014-07-22 16:52:42 -05:00
Kyzentun
c3fb210291
Created GameLoop::ChangeGame analogous to GameLoop::ChangeTheme. Changed ChangeTheme to use the AfterThemeChangeScreen metric instead of a passed in screen name from the theme being changed away from. ChangeGame uses the AfterGameChangeScreen and AfterGameAndThemeChangeScreen metrics to pick the screen to load after the change. New metrics are optional and default to InitialScreen. Changed ScreenManager::ThemeChanged to not duplicate the code in ReloadOverlayScreens. Fixed ScreenManager::IsScreenNameValid to check with HasMetric before using GetMetric. Changed game ConfOption logic to set the preference and work in a similar way to the theme ConfOption. Added THEME:SetTheme lua function.
2014-07-20 20:59:12 -06:00
Kyzentun
35ce025a1c
Merge branch 'SetGame' of https://github.com/sigatrev/stepmania into ChangeGame
2014-07-20 02:12:39 -06:00
Kyzentun
69b5f1ae61
Fixed two typos.
2014-07-19 16:05:16 -06:00
sigatrev
f87c9f83b4
add SOUND:IsTimingDelayed method and fixed SOUND:PlayMusicPart
...
PlayMusicPart does not immediately start the new music. IsTimingDelayed
will return true until the new music has started.
The "applyRate" argument of PlayMusicPart was being applied to the
"align_beat" property. Added an additional argument to for "align_beat"
and made "applyRate" work properly.
2014-07-19 15:03:54 -05:00
Kyzentun
a2e6d186e3
Created Def.LogDisplay for displaying messages in a log. Changed error reporting layer to use Def.LogDisplay. Changed engine error reporting to not clip errors to a single line.
2014-07-18 16:29:46 -06:00
Kyzentun
6cf23c4dc3
Changed many parts of GameCommand to improve error reporting. Fixed GameCommand setpref to not set when loading the command. Minor fix to ScreenOptionsExample.ini to explain that SongInCurrentSongGroup is unusable. CommonMetrics, CourseContentsList, HoldJudgent, OptionRowHandler all have minor changes to fix crashes on malformed theme data.
2014-07-14 15:41:04 -06:00
Kyzentun
fb1a251b7a
Changed many places that used RageException to use ReportScriptError instead. Wrote ScreenOptionsExample.ini as documentation example for the OptionRow system. Rewrote gamecommands.txt to include all GameCommands. Fixed Commands::GetOriginalCommandString to insert the semicolons that separated the original commands. Changed nonsensical boolean |= true statements in GameCommand.cpp to just use =. Added protection to ReportScriptError to keep it from recursing through itself when an error occurs in error reporting. Added UseAbort option to ReportScriptError for places that want to use an AbortRetryIgnore dialog to query the user. Added ScriptErrorMessage for places that need to handle the warning/dialog part separately. Added logging flag to MESSAGEMAN so that all messages broadcast can be logged when desired. Changed OptionRowHandler::LoadInternal to return a boolean success value as part of error handling.
2014-07-12 14:59:10 -06:00
sigatrev
bc1cb0c0ae
SetGame lua docs
2014-07-12 10:32:48 -05:00
Kyzentun
e9220c56b7
Added Actor:GetDestX/Y/Z to Lua API.
2014-07-04 02:03:05 -06:00
kyzentun
3c028c2321
Merge pull request #206 from kyzentun/InputCallbacks
...
This seems solid in my testing, I've converted Consensual to use it instead of CodeMessageCommand.
2014-07-03 23:15:03 -06:00
Kyzentun
9a9da05cfb
Added doc explaining what a theme needs to support heart rate calorie calculation.
2014-07-01 02:21:24 -06:00
Kyzentun
947479f154
Added heart rate based calorie counting method to Profile as an alternative to step count based calorie counting. Removed unused IsWeightSet from Profile::SaveGeneratlDataCreateNode.
2014-07-01 01:36:00 -06:00
Kyzentun
0cd1584b01
Documentation from Matt for ArrowEffects namespace.
2014-06-29 11:30:11 -06:00
freem
f6af8fc685
update repo Lua.xml to try and match generated one better.
...
PlayerOptions is still organized differently (keep it this way, it's better).
(ControllerStateDisplay isn't in Linux Makefile, hence its absence here... dunno if we're gonna bother keeping it or not.)
2014-06-27 16:11:56 -05:00
freem
330fe36a8e
update Lua.xml a bit, before I smack the VS2008 project into building ActorMultiVertex
2014-06-27 16:02:26 -05:00
Kyzentun
b08d766657
Fixed fake conflict in ThemeAndGamePrefs.lua.
2014-06-26 23:57:40 -06:00
kyzentun
c29c9c0cee
Merge pull request #201 from kyzentun/FixSetFail
...
Fix global fail setting overriding song options.
2014-06-26 22:25:21 -06:00
Kyzentun
27c6a54d82
Added AddInputCallback and RemoveInputCallback to Lua API for screen. ScreenManager now passes input to the lua side of each screen in addition to the engine side.
2014-06-26 21:33:54 -06:00
Kyzentun
dcf819d297
Moved all sanity checking for OptionRowHandlerLua to a separate function so that a malformed row does not crash StepMania, and instead prints an error to the log file, and creates a row that does nothing. Added AllowAnything arg to CheckEnum.
2014-06-25 12:08:57 -06:00