Kyzentun
4d703b8870
Minor docs change for effect colors.
2014-10-29 20:29:56 -06:00
Kyzentun
a5289ddaca
Fixed broken else-if chain in Actor::SetEffectClockString. Changed error to not crash Stepmania.
2014-10-29 17:43:37 -06:00
Kyzentun
d2b61644f3
Changed ColorToHex to just use string.format instead of useless number to hexstring to number to hexstring conversion.
2014-10-29 00:14:13 -06:00
Kyzentun
5639a0d31f
Lineage reporting for nil commands in RunCommands. Stricter type checking for FormatPercentScore in PercentageDisplay.
2014-10-28 20:32:38 -06:00
Kyzentun
ca4eb65b61
Added lerp, lerp_color, approach, and multiapproach lua functions.
2014-10-23 00:13:13 -06:00
Kyzentun
2e7fabc7e7
Added StageStats:GetStepsSeconds lua function.
2014-10-20 22:17:20 -06:00
Kyzentun
1d061ac4dd
Don't crash if AI.ini doesn't exist.
2014-10-20 12:26:29 -06:00
Kyzentun
c16f045cb4
Fixed UnknownStyleSupport.
2014-10-20 05:14:54 -06:00
Kyzentun
af68d6cb14
Merge branch 'UnknownStyleSupport' of https://github.com/kyzentun/stepmania
2014-10-20 02:58:57 -06:00
Kyzentun
5ef72ab8b0
Set StepsTypeStr in Steps::CreateBlank.
2014-10-19 20:24:06 -06:00
Kyzentun
7ad1874ada
Changed Common Error redir to not use Common Normal redir so changing Common Normal doesn't accidentally change Common Error.
2014-10-14 18:24:54 -06:00
Kyzentun
14a1504263
Merge pull request #323 from kyzentun/UnknownStyleSupport
...
Preserve Steps of unknown Style.
2014-10-11 16:18:21 -06:00
Kyzentun
e8b8bfdb60
Song cache version bump.
2014-10-03 19:05:39 -06:00
Kyzentun
8edd929e24
Preserve Steps of unknown Style.
2014-10-01 17:12:01 -06:00
Kyzentun
db1147abac
Added ScreenHeartEntry example.
2014-09-30 19:16:21 -06:00
Kyzentun
c548bff564
Changelog updated.
2014-09-30 03:55:21 -06:00
Kyzentun
38fedca9a2
Not sure why git had a conflict, fixed.
2014-09-19 15:40:57 -06:00
Kyzentun
efd11c5851
Added character setting and minor documentation to ScreenOptionsCustomizeProfile.
2014-09-18 17:28:53 -06:00
Kyzentun
b0d40eca3d
Merge branch 'theme-updates' of https://github.com/Midiman/stepmania
2014-09-17 14:40:05 -06:00
Kyzentun
1186840ef0
Fixed SSM StageDisplay to update when the song changes and SG StageDisplay to fetch curStage at the correct time to set its color.
2014-09-17 03:13:31 -06:00
Kyzentun
01185e97bd
Merge branch 'theme-updates' of https://github.com/Midiman/stepmania
2014-09-17 01:45:00 -06:00
Kyzentun
c45b5f053a
Added ScreenContinue:ContinueEnabled metric. Changed Actor:hidden and Lua scoring to emit errors because they are deprecated.
2014-09-15 05:09:27 -06: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
Kyzentun
455431d8c3
Removed DefaultFail GamePref and reinstated DefaultFailType real preference. Should fix default fail related problems.
2014-09-15 00:04:41 -06:00
Kyzentun
2f37e9d8a9
Merge branch 'DefaultHeart' of https://github.com/kyzentun/stepmania
2014-09-14 21:07:54 -06:00
Kyzentun
5ffe5f7157
Removed unused is_stage_final function from default.
2014-09-14 21:07:34 -06:00
Kyzentun
1dbdca6b0a
Merge branch 'StageDispFixes' of https://github.com/kyzentun/stepmania
2014-09-14 21:06:27 -06:00
Kyzentun
fa7502b7b0
Added ScreenOptionsCustomizeProfile to _fallback and default.
2014-09-14 20:04:10 -06:00
Kyzentun
64acd77c68
New NumPadEntry actor, used by ScreenHeartEntry.
2014-09-13 19:48:04 -06:00
Kyzentun
f87afa8a4b
Added ScreenHeartEntry to default theme.
2014-09-12 15:07:46 -06:00
Kyzentun
17ccc0cef5
Merge pull request #311 from foresto/debfixes
...
Fix #300 : files are inappropriately marked executable
2014-09-11 05:28:05 -06:00
Kyzentun
1ecb7fbeda
Merge branch 'CourseFixes' of https://github.com/kyzentun/stepmania
2014-09-10 20:53:00 -06:00
Kyzentun
a08613e58d
Merge branch 'debfixes' of https://github.com/foresto/stepmania
2014-09-10 20:51:12 -06:00
Kyzentun
efd2a82bf7
Merge branch 'JudgementMessageParams' of https://github.com/sigatrev/stepmania
2014-09-10 20:49:03 -06:00
Kyzentun
63affc326f
Forgot about the AsNumbers unseen version that default was trying to use.
2014-09-10 12:07:26 -06:00
Kyzentun
3006b70d71
Updated TimingData docs.
2014-09-10 05:37:13 -06:00
Kyzentun
321c2cdc62
Added metric for controlling whether TimingData returns numbers instead of strings.
2014-09-10 04:15:44 -06:00
Kyzentun
bcb2589114
Fixed endless courses to make them repick on repeats and not crash after repeating.
2014-09-10 02:44:49 -06:00
Kyzentun
33a9b042b2
Added MaxDimensionUsesZoom to BMT copy constructor.
2014-09-07 22:56:50 -06:00
Kyzentun
1ca9753e10
Sanity checking for frame and texuture hints from filenames.
2014-09-07 14:15:19 -06:00
Kyzentun
2199e7aafb
Fixed GAMESTATE:GetCurrentStage to use correct logic for determining if all human players are on final stage.
...
THEME:GetPath lua functions can now pass true for the third arg if the element is optional.
Fixes to various StageDisplay things in default.
thify_number and thified_curstage_index lua functions added to default/Scripts/04 Other.lua.
2014-09-07 04:05:10 -06:00
Kyzentun
8e9ec1053d
Fixed CanGoLeft logic in SMC.
2014-09-04 21:18:24 -06:00
Kyzentun
92a6d7be0f
Merge pull request #288 from kyzentun/ScreenTexture
...
Special Screenshot texture.
2014-09-04 18:34:59 -06:00
Kyzentun
b75679f3c1
Actually use the argument in SetMaxDimUseZoom.
2014-09-04 18:21:39 -06:00
Kyzentun
c6f598890b
Added max_dimension_use_zoom lua function to control whether an individual BitmapText uses the zoom in maxwidth calculations.
2014-09-04 18:04:51 -06:00
Kyzentun
13066518fe
Renamed Header elements to ListHeader. Removed hungarian notation from ScreenMapControllers.
2014-09-04 17:03:11 -06:00
Kyzentun
f2fdaa0cf5
Massively improved Config Key/Joy Mappings screen.
...
Warning is dismissable now, and cursor does not start in a position that will change a setting.
New special actions added: ClearToDefault, ReloadFromDisk, SaveToDisk, SetListMode. Exit is a special action.
Player is prompted to save when exiting screen instead of saving after every action.
Special actions fallback on Graphics/SMC action if they don't have their own.
Moved SMC overlay to Graphics/SMC warning.
Metrics for configuring input lock time, warning autodismiss time, lines visible, and NoSetListPrompt autodismiss time.
Header row added for cursor to start on.
ScreenMapControllers2 deleted as obsolete.
BitmapText:maxwidth changed to factor the zoom of the actor into the calculation.
2014-09-04 01:23:28 -06:00
Kyzentun
e3f8d272c1
istream::operator bool() is explicit in C++11, use git diff
2014-09-02 14:33:55 -06: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
Kyzentun
fcf51f4cc0
Added djpohly to credits.
2014-09-01 19:10:52 -06:00
Kyzentun
aac32f81ad
Rewrote ScreenCredits to move StepMania credits to Scripts/04 CreditsHelpers.lua and provide an API for adding sections so that themers don't have toe duplicate stepmania credits to theme the screen.
2014-09-01 15:41:58 -06:00
Kyzentun
2eba76c873
Localized Arbitrary Remap edit mode strings. Changed track ids for Arbitrary Remap to start at 1.
2014-08-31 19:46:29 -06:00
Kyzentun
71ed1df5e6
Added FastNoteRendering preference.
2014-08-31 17:17:48 -06:00
Kyzentun
9e8b8c3c09
Changed ColorDepth prefs defaults to 32-bit.
2014-08-31 04:32:12 -06:00
Kyzentun
d5878da037
Added Arbitrary Remap option to Alter Menu in Edit Mode.
2014-08-30 13:38:16 -06:00
Kyzentun
be64c240c3
Added Swap Up/Down option to Edit Alter Menu.
2014-08-30 00:47:07 -06:00
Kyzentun
5f6e574ffc
Changed Actor:scale_or_crop_background back to forcing the actor to the screen center. Changed LogDisplay's IgnoreIdentical to not ignore when hidden.
2014-08-29 23:30:36 -06:00
Kyzentun
6757ab0c8c
Added WheelItemBase:IsLoaded lua function and associated error.
2014-08-29 20:06:50 -06:00
Kyzentun
bedaf07e51
Reverted some changes that should not have been part of the merge from Midiman.
2014-08-28 05:53:37 -06:00
Kyzentun
cab4f4d5d1
Fixed StatsManageer::GetFinalEvalStageStats to not put them in reverse order and not have a 3 stage limit. Fixed PlayerStageStats::AddStats to not overwrite the last entry of the record with the first entry of the record being added.
2014-08-27 00:04:57 -06:00
Kyzentun
a41d9c0467
Changed GetAttrPath to not warn on optional paths.
2014-08-25 03:38:22 -06:00
Kyzentun
96433cc3e4
Merge branch 'BitmapText-attribute' of https://github.com/sigatrev/stepmania
2014-08-25 02:37:26 -06:00
Kyzentun
28bdd2ca2a
Merge branch 'RadarSubscript' of https://github.com/kyzentun/stepmania
2014-08-25 02:35:16 -06:00
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
01442d193f
Fixed SwitchThemeAndLanguage to run lua scripts when reloading the theme. Removed ForceThemeReload param from GameLoop::ChangeTheme.
2014-08-24 03:21:01 -06:00
kyzentun
1ca6154c1a
Merge pull request #264 from sigatrev/SetStyleAndPlayMode
...
Add SetCurrentPlayMode and SetCurrentStyle methods
2014-08-22 20:12:07 -06:00
Kyzentun
2c49ec7380
Change RadarValues internal implementation to not use a union and use the subscript operator instead of the float* operator for subscripting.
2014-08-22 13:19:17 -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
493d0f8214
Fixed CreateMethodTable to create a new table even when something of that name exists, so that the previously existing one that might have been modified by a theme is removed when changing themes.
2014-08-18 11:26:05 -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
a3e6cdbfa2
Added One_Screen_Example_Theme as a minimal example.
2014-08-10 16:17:03 -06:00
Kyzentun
c368fc1b47
Didn't realize RollingNumbers was supposed to have negative velocity.
2014-08-08 13:55:51 -06:00
Kyzentun
bdb2b373bc
Added NoteSkinManager::GetDefaultNoteSkinName so that PlayerOptions can avoid clearing the noteskin when the clearall mod is used.
2014-08-07 18:36:42 -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
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
Kyzentun
75a1defea0
ifdef'ed out AddATIToList and RemoveATIFromList on WIN32 because they cause mapconv to crash.
2014-08-05 11:52:31 -06:00
Kyzentun
ef955bc4d4
A couple actor docs.
2014-08-04 20:27:49 -06:00
Kyzentun
d1a84f979d
Changed GradeDisplay::SetGrade to print errors instead of segfaulting on unloaded actors.
2014-08-04 20:08:56 -06:00
Kyzentun
9244b0f1d8
Updated actordef.txt.
2014-08-04 10:59:38 -06:00
Kyzentun
f3f7af7045
Changed RollingNumbers to not set NAN velocity.
2014-08-03 22:38:01 -06:00
Kyzentun
bffeda6dc0
Pretend I didn't forget the +1.
2014-08-02 19:44:25 -06:00
Kyzentun
f58f111cfd
Changed GetStylesForGame to not traverse the list of styles twice.
2014-08-02 19:34:39 -06:00
Kyzentun
e907454943
Merge branch 'GetStylesForGame' of https://github.com/sigatrev/stepmania
2014-08-02 17:17:17 -06:00
Kyzentun
dd82ec734d
Disabled AddATIToList on Windows because it makes mapconv crash.
2014-08-02 00:39:00 -07:00
Kyzentun
6b346e8e0b
Added MusicWheel:GetSelectedSection.
2014-08-02 00:38:58 -07:00
Kyzentun
2020c9b3bf
Fixed invalid note type trace to use correct escape sequence.
2014-08-02 00:38:57 -07:00
Kyzentun
95be537d2c
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-08-02 00:38:55 -07:00
Kyzentun
b882f3506a
Adjusted text scaling that convert_text_to_indented_lines uses to make it adjust for resolution differences better.
2014-08-02 00:38:53 -07:00
Kyzentun
9339f5dfb8
Changed GameCommand screen validation to allow OptionsList to work again.
2014-08-02 00:38:52 -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
Kyzentun
82c07d04b3
Fixed UpdateHasteRate and PlayerInfo:GetLifeMeter to check whether the life meter is null before using it.
2014-08-02 00:38:44 -07:00
Kyzentun
2134151b90
Added Sprite::NewBlankSprite for use by NoteSkinManager. Removed default texture loading from Sprite::Sprite. Should fix problems with white banners and garbage on videos.
2014-08-02 00:38:40 -07:00
Kyzentun
2e43a70752
Fixed Course::GetTotalSeconds to work on courses that don't have a medium difficulty. A course with only double charts was probably the one that made the crash manifest.
2014-08-02 00:38:39 -07:00
Kyzentun
1a18d64f09
Added revalidation scheme to NoteData's all_tracks_iterator so that it can be made valid again after the NoteData is transformed by something adding or removing steps. This fixes the crash on courses that use transform mods on the second song. ITG2's Getting Started is an example.
2014-08-02 00:38:38 -07:00
Kyzentun
8ef6be9a94
Changed LogDisplay to use the full message for IgnoreIdentical.
2014-08-02 00:38:38 -07:00
Kyzentun
1398f477c9
Added IgnoreIdentical param to LogDisplay for use in ignoring identical error messages.
2014-08-02 00:38:36 -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