Commit Graph
1524 Commits
Author SHA1 Message Date
freemandJonathan Payne f3ffa60bf7 add missing nextrow character for options rows 2014-08-02 00:38:40 -07:00
KyzentunandJonathan Payne 8ef6be9a94 Changed LogDisplay to use the full message for IgnoreIdentical. 2014-08-02 00:38:38 -07:00
freemandJonathan Payne df825646c7 add missing Class attribute for ScreenOptionsEditProfile 2014-08-02 00:38:36 -07:00
KyzentunandJonathan Payne 1398f477c9 Added IgnoreIdentical param to LogDisplay for use in ignoring identical error messages. 2014-08-02 00:38:36 -07:00
KyzentunandJonathan Payne 32664e7e17 Changed ArbitrarySpeedMods to use a large increment that is not forced to be a multiple of the smaller increment. 2014-08-02 00:38:31 -07:00
KyzentunandJonathan Payne 4b7a6d092a Added Common Error font for use by error reporting so that themes that replace Common Normal won't have a problem. 2014-08-02 00:38:30 -07:00
KyzentunandJonathan Payne 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
KyzentunandJonathan Payne 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
KyzentunandJonathan Payne cc548a8cb5 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-08-02 00:38:21 -07:00
KyzentunandJonathan Payne 1f979fff5f Rewrote ScreenSystemOverlay overlay/default.lua to be able to display multiple messages. Added Reload Overlay Screens option to debug menu. 2014-08-02 00:38:19 -07: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 d472d28490 Fixed accidental old name for ArbitrarySpeedMods in metrics for edit mode. 2014-06-23 00:25:18 -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
freem 922c9c412a fix issue #65 by only centering the needed items. Yes, it's a workaround. (It also happened to me on ScreenEvaluation, so I fixed it there.) 2014-03-03 17:49:46 -06: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
Ben "root" Anderson 49265cfc2e Bug#991 fix pt2/2: Do not filter out StepsType_lights_cabinet; in the cases where it would be selected, we want it to be displayed. 2013-11-25 20:40:16 -06:00
Jonathan Payne b6dfe09253 Increment version to "StepMania 5 Beta 2b" 2013-10-29 16:51:49 -07:00
Colby Klein 5feef28f4d By the by, StretchBackgrounds is hardcoded
By the by, StretchBackgrounds is hardcoded or used by whatever calls
this.  Also, only you can prevent pillarboxing.
2013-10-20 10:10:29 -07:00
Jonathan Payne 433813f764 Themes/: remove anything we don't ship with. For real this time 2013-10-20 22:00:33 -07:00
Jonathan Payne 2e240a38c7 Themes/default: Fix header alignment, make the background checkboard less gaudy
Themes/: remove anything we don't ship with.
2013-10-20 21:57:50 -07:00
Jonathan Payne 7f9972ea74 Fix routine theme errors; do not force typical pump options behavior 2013-10-17 19:27:42 -07:00
AJ Kelly 017faf527d Stretch backgrounds based on preference
It turns out we have a preference called StretchBackgrounds and this
seems like the perfect place to use it. Also we may want to set it to
true then by default, I don't know.

(Sourced from shakesoda/stepmania.)
2013-10-13 02:06:28 -05:00
AJ Kelly e329e91602 Add names to life meter/meter display items
I would've added commands but I'm not sure where they get run from (or
if they get run at all), so that's a job for later.

(Sourced from shakesoda/stepmania.)
2013-10-10 00:11:12 -05:00