Commit Graph

3772 Commits

Author SHA1 Message Date
sigatrev 0bc0cc8a46 revert ActorScroller "loop" behavior and add new "wrap" parameter to wrap scrollers 2014-08-25 22:19:17 -05: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
sigatrev 02922aa5c0 fix ActorFrame diffusing and glowing children
When an ActorFrame's parent has a diffuse or glow, the ActorFrame uses
the static tempState in Actor::PreDraw(); When the ActorFrame draw's
it's children, those children also use tempState because their parent
has a diffuse( making their internalDiffuse not 1,1,1,1 ). If any child
is diffused it'll will change tempState, which will affect the
internalDiffuse given to the next child, and so on.

By determining the diffuse and glow to be passed to the children before
drawing any of them, any changes to tempState will not affect the
diffuse of subsequent children.
2014-08-16 22:51:34 -05:00
sigatrev d8b86fa3c5 make internal diffuse apply to bmt attributes
diffuse from BitmapText attributes were not receiving internal diffuse
from their parent ActorFrames. This change waits until after the draw
cycle to reset the internal diffuse and glow, so any color applications
separate from generic diffuse can use the internal diffuse when desired.
2014-08-16 16:38:26 -05:00
sigatrev 80447c3654 Allow Update and Draw functions to be turned off
allow nil to be passed as an argument to SetUpdateFunction and SetDrawFunction to turn off said functions.
2014-08-16 10:55:14 -05: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
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
Kyzentun eb7ac082ae Report error on fetching empty string metric instead of crashing. 2014-08-11 15:56:41 -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
AJ Kelly ab61c11606 Merge pull request #255 from sigatrev/SyncMachine
fix ScreenGameplaySyncMachine crash
dear github: our travis build is broken in a pretty serious way (The command "sudo apt-get install libc6-dev" failed and exited with 100), and I know this isn't travis-support nor the right place for it but I thought I should let someone outside of IRC know the reason for it thanks
2014-08-07 18:38:31 -05:00
sigatrev dabf62b055 fix ScreenGameplaySyncMachine crash
was not setting steps to null, caused access violations
2014-08-07 17:46:20 -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
freem 84a8d3adfb replace psychopathic mapconv.exe with one compiled by "g++ (rev5, Built by MinGW-W64 project) 4.8.1"
This is probably the part where someone says "why do we have the compiled binaries in the source tree anyways if they're just going to cause problems like this?"
2014-08-05 13:52:10 -05:00
freem 38aa07ce38 Kyzentun: it's not your fault that our mapconv.exe is psychopathic 2014-08-05 13:49:05 -05: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
freem 6a39fb5ded Changelog_SSCformat.txt said we were on v0.82, but Song.h said we were on v0.81... fix that.
also update FILE_CACHE_VERSION to regenerate cache for #PREVIEWVID tag (if it isn't already)
2014-08-05 10:45:15 -05:00
Kyzentun d1a84f979d Changed GradeDisplay::SetGrade to print errors instead of segfaulting on unloaded actors. 2014-08-04 20:08:56 -06:00
freem f311902765 fix REALLY BAD TYPO in GradeDisplay:SetGrade Lua function.
this is dumb and I'm too lazy to find out who's REALLY to blame so I want to assume it's my fault, probably. If anyone wants to bother clearing my name, check the stepmania SVN history. I don't care enough :v
2014-08-04 18:46:29 -05: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
sigatrev 3478bc7650 added GetStylesForGame method 2014-08-02 18:09:52 -05:00
sigatrev 6487261f32 maintain music rate speed adjust after music has finished
Keeps things like BGA effect clocks consistent when music stops.
2014-08-01 23:45:21 -05:00
Kyzentun f0d6bce62a Disabled AddATIToList on Windows because it makes mapconv crash. 2014-08-01 11:16:17 -06:00
Kyzentun 392ac045eb Added MusicWheel:GetSelectedSection. 2014-07-31 14:57:00 -06:00
Kyzentun 18b2d73bb1 Fixed invalid note type trace to use correct escape sequence. 2014-07-31 11:25:05 -06:00
freem 48425fa998 <Mad_Matt> hahaha. apparently I accidentally included my libtomcrypt and libtommath in my TapNote enum pull request
<Mad_Matt> someone should probably remove those
2014-07-31 11:58:58 -05: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 97bcfb37de Merge pull request #240 from sigatrev/UpdatePlayerSongPositions
UpdateSongPositions
2014-07-30 23:03:41 -06:00
kyzentun 77e0d70f39 Merge pull request #236 from kyzentun/RevalidateNoteDataATIs
Added revalidation scheme to NoteData's all_tracks_iterator
2014-07-30 23:02:13 -06:00
kyzentun 9a0219c6b6 Merge pull request #231 from kyzentun/ChangeGame
SetGame
2014-07-30 23:01:59 -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
freem 9038056ba4 Make default value for NumBackgrounds preference 10.
(The previous value, 8, was unable to be selected in the menu, so it was always getting changed. Thanks to Mad Matt for pointing this out)
2014-07-28 17:54:50 -05:00
Kyzentun a5db63657c Changed GameCommand screen validation to allow OptionsList to work again. 2014-07-27 01:47:30 -06:00
AJ Kelly 52ed5c3f55 Merge pull request #245 from sigatrev/ActorScroller
fix ActorScroller wrapping
2014-07-26 19:27:34 -05:00
freem bc73e053bb telling Visual Studio to shut up about more warnings wrt/double and float 2014-07-26 19:01:49 -05:00
freem 71abf53d3c we dropped Visual C++ 6 support a long time ago, so remove most of the boolean operator hacks.
However, the == one is still required (at least on Visual Studio 2008, not sure about others).
Feel free to revert this if it's causing problems elsewhere.
2014-07-26 19:00:50 -05:00