Commit Graph
1023 Commits
Author SHA1 Message Date
Kyzentun c94758b4ca Merge branch 'BGFit' of https://github.com/kyzentun/stepmania 2014-08-25 02:34:43 -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
Kyzentun 9b2c59de46 Added BackgroundFitMode preference and setting screen for controlling how backgrounds are fitted to the screen. 2014-08-16 03:37:24 -06:00
Kyzentun eb7ac082ae Report error on fetching empty string metric instead of crashing. 2014-08-11 15:56:41 -06: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 076d67132d Reverted BitmapText::LoadFromNode back to previous logic.
BitmapText now looks up font names in Fonts/ if the path doesn't resolve, so LoadFont is obsolete.
Added optional arg to ActorUtil::ResolvePath and GetAttrPath to make them not report an error when something is optional.
2014-07-29 12:09:40 -06:00
Kyzentun ee53b9e601 Adjusted text scaling that convert_text_to_indented_lines uses to make it adjust for resolution differences better. 2014-07-27 21:38:43 -06: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
freem ba76310feb add missing nextrow character for options rows 2014-07-24 14:08:37 -05:00
Kyzentun 84766a7cff Changed LogDisplay to use the full message for IgnoreIdentical. 2014-07-23 00:09:04 -06:00
freem d4aa57e161 add missing Class attribute for ScreenOptionsEditProfile 2014-07-22 20:08:40 -05:00
Kyzentun 3cef425d63 Added IgnoreIdentical param to LogDisplay for use in ignoring identical error messages. 2014-07-22 17:51:40 -06:00
Kyzentun 22662a3b04 Changed ArbitrarySpeedMods to use a large increment that is not forced to be a multiple of the smaller increment. 2014-07-18 23:54:25 -06:00
Kyzentun cb168e29aa Added Common Error font for use by error reporting so that themes that replace Common Normal won't have a problem. 2014-07-18 18:04:51 -06: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 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
Kyzentun 63311ab62f Moved error reporting to ScreenSystemLayer error.lua. ScreenSystemLayer overlay/default.lua restored to previous. Error messages are now broadcast with the ScriptError message instead of SystemMessage. Added show/hide error messages toggle and clear error messages to debug menu. Nuked ScreenConsoleOverlay for being unfinished and duplicating ScreenSystemLayer. Changed Actor:tween and Tween::CreateFromStack to use ReportScriptError on invalid tween params. Changed some OptionRowList things to use ReportScriptError on invalid metrics. 2014-07-08 20:01:33 -06:00
Kyzentun bee284d0c7 Rewrote ScreenSystemOverlay overlay/default.lua to be able to display multiple messages. Added Reload Overlay Screens option to debug menu. 2014-07-08 01:02:36 -06:00
Kyzentun e25995267c Fixed invalid LineNames in ScreenOptionsExtended in _fallback metrics. 2014-06-29 12:43:10 -06:00
Kyzentun b08d766657 Fixed fake conflict in ThemeAndGamePrefs.lua. 2014-06-26 23:57:40 -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
Kyzentun de8799ebdc Renamed ArbSpeedMods to ArbitrarySpeedMods to avoid the wrath of the OpenGL Architecture Review Board. Added option rows for controlling the size of the increments used by ArbitrarySpeedMods. Simplified logic in ASM and added rounding to avoid excessive precision. Removed pointless setmetatable calls from various lua option rows. 2014-06-20 22:48:00 -06:00
Kyzentun 3a788651e5 Fixed bug that caused global fail setting to override setting the fail type from song options. Added GAMESTATE:SetFailTypeExplicitlySet so that a theme with a custom song options screen can protect its fail setting from being overridden the same way the engine ScreenSongOptions does. 2014-06-20 13:54:56 -06:00
Kyzentun 045e9edcdd Added ArbSpeedMods function for a better way of setting speed modifiers. Added NotifyHandlerOfSelection to OptionRowHandler to support this. Changed exceptions thrown by OptionRowHandlerLua into log warnings because crashing out is not helpful to themers. Fixed SetEnabledForPlayers in OptionRowHandlerLua to correctly read the PlayerNumber enum. Removed silly git add Docs/Themerdocs/Examples/OptionRowHandlerLua.lua and second check for ExportOnChange. 2014-06-19 06:41:18 -06:00
Kyzentun ba78c38c8b Disabled pad codes that change modifiers in dance game mode. 2014-06-17 01:22:30 -06:00
Colby Klein bea5f1cef9 Merge pull request #135 from sigatrev/song-options-fail
fix SongOptions fail type to not change fail type preference
2014-04-24 05:07:32 -07:00
Colby Klein ee87494252 Merge pull request #137 from sigatrev/TickHolds
Attempted fix of Tick Holds
2014-04-24 05:06:20 -07:00
sigatrev c4f7aab9a1 Attempted fix of Tick Holds
NoteDataUtil::GetTotalHoldTicks() was not counting the last tick of
holds which ended on the last row of the song. Extended the range to
include the last row.

NoteDataUtil::GetTotalHoldTicks() was counting number of rows held, when
it should only count 1 regardless of number( at least to mimic pump )

Player::CrossedRows() was assuming a constant tick rate over the crossed
rows, leading to potentially inaccurate tick counts.

Pump holds were counting "HoldNote_Held" due to capitalization in the
metrics. Fixed metrics and made "IsGame" function case insensitive.
2014-04-23 21:45:37 -05:00
sigatrev 94053c2dfe fix SongOptions fail type to not change fail type preference
per issue #80. Problem came from commit
231ae7cb32 - May 27, 2011
2014-04-23 15:52:26 -05:00
sigatrev 25ddd69208 added GetHasteRate method, made GiveUpSeconds a metric
without haste rate, it's impossible to display an accurate BPM. Give up
time should be controllable.
2014-04-15 12:27:54 -05:00
sigatrev 343511f4c3 HNS_Missed
Added an HNS type to handle holds which are never initialized due to
missed taps. This fixes a long standing issue with
iCurPossibleDancePoints and allows themes to decide how to handled this
case.
2014-03-16 11:36:40 -05:00
Kyzentun 13c99c1814 Added BodyHeight metric to ComboGraph and set width and height to make zoomtowidth/height work. 2014-02-12 14:38:54 -07:00
Ben "root" Anderson 3701197fd4 Add some localization things that Devin caught and I missed. 2014-02-02 13:37:37 -06:00
Ben "root" Anderson d654bd0142 Time to reopen this big 'ol bag of worms. 2014-02-02 12:53:26 -06:00
Jason Felds 3b9b4d1e36 Issue 010: Add missing step sync types. 2014-01-27 19:38:41 -05:00
Ben "root" Anderson a9ed54ae9b Don't rename EVERY difficulty of halfdouble. That's just silly. Medium is the one people actually use. 2014-01-25 12:46:11 -06:00
Ben "root" Anderson 34e1bf4b55 Boolean operators do not work that way. 2013-12-27 19:57:37 -06:00
Flameshadowxeroshin dd49998438 fix a couple of bugs that manifest themselves in uncommonly-used gametypes (apologies for the spacing) 2013-12-22 18:23:41 +00:00
Ben "root" Anderson c783009730 Un-revert. This reversion was made on a wrong assumption and it should actually be this way anyway. PercentScoreWeight* and GradeWeight* are metrics once again. 2013-12-20 18:24:00 -06:00
Ben "root" Anderson 3185746d8a Revert "Make PercentScoreWeight* and GradeWeight* theme metrics instead of preferences"
This reverts commit 77f2b67ee1.

These must be Preferences (or hardcoded) because they affect max DP.
2013-12-19 18:18:54 -06:00
Ben "root" Anderson b5962fd8d2 see next 2013-12-19 18:17:53 -06:00
Ben "root" Anderson ee84f9263c Make hold checkpoints a struct Game member, not a metric. It CANNOT be a metric because it affects max DP. 2013-12-19 18:06:07 -06:00
Ben "root" Anderson fb09908916 Hack away the HoldJudgments 2013-12-13 12:35:51 -06:00
Ben "root" Anderson b8f3217929 Revert "Hide HoldJudgments in pump mode"
This reverts commit df25983936.

Apparently you can't do that in ActorCommands
2013-12-13 12:27:48 -06:00
Ben "root" Anderson df25983936 Hide HoldJudgments in pump mode 2013-12-11 20:41:04 -06:00
Ben "root" Anderson faeb7ae321 Scoring and grade behavior more faithful to PiU in Pump mode 2013-12-11 19:52:00 -06:00
Ben "root" Anderson 77f2b67ee1 Make PercentScoreWeight* and GradeWeight* theme metrics instead of preferences 2013-12-11 19:39:14 -06:00
Ben "root" Anderson 2eea7aa06e Lifebar behavior closer to PiU re: checkpoint holds 2013-12-11 18:20:03 -06:00