Commit Graph

959 Commits

Author SHA1 Message Date
freem f3faeefb26 StepMania 5 beta 4, for real this time. 2014-09-30 17:30:59 -05:00
Kyzentun c548bff564 Changelog updated. 2014-09-30 03:55:21 -06:00
freem af4d01af20 update sm5_beginner.txt with the content from the google doc 2014-09-28 00:45:42 -05:00
freem 60b66f7273 add TFG to repo, update date on bottom of Lua.xml 2014-09-27 17:16:44 -05:00
Colby Klein 97e5ff0e63 Merge pull request #85 from kyzentun/TimingData_api_change
Timing data api change
2014-09-21 17:56:36 -07:00
freem 6f8c999089 update changelog with a few things
(I'm not really sure it's ready for beta 4 unless others do)
2014-09-18 20:10:53 -05:00
freem a7307fd87e add a split point for sm5 beta 3 in the changelog 2014-09-15 03:30:14 -05:00
Kyzentun 4df1940633 Updated Changelog_sm5.txt to include every theme-visible change since 2014/02/08. 2014-09-15 00:48:32 -06:00
freem 64cd9f898d Various changes to things in the Docs folder:
* remove unused WindowsNotes.txt
* various sm-ssc -> StepMania (and similar) changes
* Rewrote a bit of recommended_practices.txt
* Fix a copy/paste typo in anatomy_of_an_actor.lua
* many other things I can't remember; namely newlines at the end of files
2014-09-14 19:17:17 -05:00
freem b20fe48bba fix some of the errors in the luadoc; doc returns 2014-09-11 17:03:39 -05:00
Kyzentun efd2a82bf7 Merge branch 'JudgementMessageParams' of https://github.com/sigatrev/stepmania 2014-09-10 20:49:03 -06:00
Kyzentun 3006b70d71 Updated TimingData docs. 2014-09-10 05:37:13 -06:00
sigatrev e60ac1395d expose tap notes for judgment message
allow themes access to as much information as possible on judgments
2014-09-05 22:30:33 -05:00
Kyzentun 92a6d7be0f Merge pull request #288 from kyzentun/ScreenTexture
Special Screenshot texture.
2014-09-04 18:34:59 -06:00
Colby Klein 867af661df Merge pull request #291 from kyzentun/UnsuckCKJ
Massively improved Config Key/Joy Mappings Screen.
2014-09-04 17:26:40 -07:00
Kyzentun 13066518fe Renamed Header elements to ListHeader. Removed hungarian notation from ScreenMapControllers. 2014-09-04 17:03:11 -06:00
Colby Klein b89bc65178 Change ES/OMES to 2x, extend timer on ScreenCaution
Also, changed indent style in .editorconfig to spaces  for txt files, to
reduce diff noise.
2014-09-04 10:38:37 -07:00
Kyzentun 4f2b92a25a Added __screen__ special texture name. Added AMV:GetTexture, RageTexture:Reload, and Screen:SetNextScreenName lua functions. 2014-09-02 05:18:29 -06:00
freem cecfff079d update stepmania.com links to point to old.stepmania.com where needed 2014-09-02 00:01:09 -05:00
Dan Guzek eae5fcb3ba expose InsertCoin and InsertCredit to Lua
This commit exposes InsertCoin() and InsertCredit() to Lua under GAMESTATE.  It adds a check to ensure overall credits don't become negative when deducting and only plays sounds if credits are being added.

Themers are instructed to deduct credits by passing negative values to InsertCoin.
2014-09-01 19:00:00 -04:00
Kyzentun 6757ab0c8c Added WheelItemBase:IsLoaded lua function and associated error. 2014-08-29 20:06:50 -06:00
Jonathan Payne 6453b8b04a Merge branch 'master' of https://github.com/stepmania/stepmania 2014-08-27 16:07:12 -07:00
Kyzentun a41d9c0467 Changed GetAttrPath to not warn on optional paths. 2014-08-25 03:38:22 -06:00
Kyzentun 95b16a0196 Merge branch 'LifeMeterMessage' of https://github.com/kyzentun/stepmania 2014-08-25 02:33:53 -06:00
Kyzentun 8ae17b4422 Changed LifeMeterTime to not crash when not in course mode. Changed _fallback's life settings back to forcing together. Added ForceImmediateFailForBattery theme metric. Gave up on FailFadeRemovePlayer lua function and removed it. 2014-08-19 23:58:35 -06:00
Jonathan Payne c0ee269d7c Merge branch 'master' of https://github.com/stepmania/stepmania 2014-08-15 03:08:10 -07:00
sigatrev 81080ce9ce Add SetCurrentPlayMode and SetCurrentStyle methods
because there needs to be a way other than using antiquated GameCommands
2014-08-13 22:04:54 -05:00
freem 4ac7e2ad2d draft 2 of ActorScroller example; still needs work
* removed QuantizePixels because it's unused
* make note that the "BitmapText requires ActorFrame for coloring" bug has existed for a while
* mention what offset actually is in TransformFunction
2014-08-12 13:23:53 -05:00
freem 90b388c586 add first draft of ActorScroller example 2014-08-12 12:43:50 -05:00
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