Commit Graph

33687 Commits

Author SHA1 Message Date
Devin J. Pohly 77ece5a414 Process FT_Xml as legacy actors
Everything from here on out is edge cases.
2014-02-20 10:59:50 -05:00
Devin J. Pohly 60ce34cfaa Reconnect legacy sprites 2014-02-20 10:59:50 -05:00
Devin J. Pohly cd526b8e44 ActorUtil: add loading behavior for legacy actors
Filetypes are not yet linked in, so this shouldn't change anything.

The loading/guessing logic is ported from OpenITG.
2014-02-20 10:59:49 -05:00
Devin J. Pohly 58eddc2652 Annotate XNode trees with legacy attribute 2014-02-20 10:59:49 -05:00
Devin J. Pohly a9d5931533 Command/LuaManager: add legacy command parsing
Only enabled when compiling via CompileXNodeTree.
2014-02-20 10:59:49 -05:00
Devin J. Pohly c9ac7e7a53 Resurrect Annotate function for XNodes
No-op.  Function isn't actually used yet.
2014-02-20 10:59:49 -05:00
Devin J. Pohly da5eb84730 Player: broadcast StepPN message (compat)
For backwards compatibility, broadcast the old StepP1/2 message in
addition to the new Step message.  New themes, charts, etc. should of
course use the new message with parameters.
2014-02-20 10:59:49 -05:00
Devin J. Pohly 59674ad6f2 BitmapText: check both File and Font as path
Allow BitmapText to specify font from Theme/Fonts as well as locally,
using either the Font or the old-style File attribute.
2014-02-20 10:59:49 -05:00
Devin J. Pohly 000498ba63 Foreground: don't issue a spurious OnCommand
We don't need the ending beat until the change has already started, so
just use the legitimate On to calculate things rather than doing
anything hacky.
2014-02-20 10:59:49 -05:00
Devin J. Pohly 9801ec52b2 Foreground: don't propagate OnCommand
We load foreground changes at the beginning of the screen, but they
shouldn't be issued an OnCommand until it's time for them to start.  The
Foreground layer, however, should get the OnCommand right away.  So
don't propagate it, since we already issue On manually to changes.
2014-02-20 10:59:49 -05:00
Devin J. Pohly 3ac15cc1ce Warn on failed command compilation 2014-02-20 10:59:48 -05:00
Devin J. Pohly 80bf2f8d93 Re-add FT_Xml and FT_Sprite to FileType enum
Doesn't associate any behavior with them yet.
2014-02-20 10:59:48 -05:00
Devin J. Pohly a8018575b8 Use non-const XNode in ActorUtil::LoadFromNode
No-op aside from constness.  Need this later.
2014-02-20 10:59:48 -05:00
freem 5644917565 update windows resources file for next version 2014-02-19 21:28:39 -06:00
freem 59600538da Visual Studio was choking on isnan; it worked in StreamDisplay by including <float.h>, and that works here too. 2014-02-19 21:27:23 -06:00
Colby Klein 7133e5c90c Bump version to 5.0 beta 3. Holding off on tagging until people get in their last minute fixes. 2014-02-19 11:07:11 -08:00
Colby Klein b4682a2bd4 Merge pull request #49 from kyzentun/sprite_custom_pos_coords
Added SetCustomPosCoords to Sprite.
2014-02-19 10:36:14 -08:00
Colby Klein dfd693b916 Merge pull request #48 from kyzentun/text_distortion
Added distort function to BitmapText.
2014-02-19 10:36:05 -08:00
Colby Klein 2f476af54c Merge pull request #40 from kyzentun/GetCreditsRequired_fix
GetCreditsRequiredToPlayStyle didn't check the coin mode.
2014-02-18 15:12:28 -08:00
Colby Klein 03fa5d0f2e Merge pull request #52 from Suisse00/stepmania_pullrequest
Upgrade to VC++ 2013
2014-02-18 14:57:55 -08:00
Colby Klein 907eeb9ba8 Merge pull request #47 from wolfman2000/wolf-mac-64-prep
Attempt prep work for 64 bit just in case.
2014-02-18 14:44:24 -08:00
Colby Klein 52a5c69666 Merge pull request #42 from kyzentun/combo_list_and_life_record
Added GetComboList and GetLifeRecord to PlayerStageStats.
2014-02-17 14:46:09 -08:00
Colby Klein 5e52c4f37e Merge branch 'ComboContinuesBetweenSongs_readd' of https://github.com/kyzentun/stepmania into kyzentun-ComboContinuesBetweenSongs_readd 2014-02-17 14:41:33 -08:00
Suisse00 d7ce7cfff1 Upgraded the solution to VC++2013 2014-02-16 20:48:20 -05:00
Suisse00 f7b7e3a1ca Added VC++2013 projects/solution 2014-02-16 20:48:14 -05:00
Suisse00 ae3a056b2d Fixed compiling issue with lrintf() on VC++ 2013
Added a preprocessing condition which don't implement lrintf() with VC++
>= 2013 because it is in the SDK
2014-02-16 20:48:05 -05:00
Kyzentun 3c7bb93bbc Added ComboContinuesBetweenSongs back in. And if that line in ResetStageStatistics is committed as FOREACH_HumanPlayer, I'm going to punch git. 2014-02-16 11:43:28 -07:00
Jason Felds 8151afc602 Merge pull request #41 from kyzentun/resetspeed_mod
Added resetspeed mod to PlayerOptions.
2014-02-15 09:51:44 -05:00
Kyzentun 0c9728a8a9 Changed resetspeed to use SET_FLOAT so it can be tweened to the way other mods can. 2014-02-14 22:26:03 -07:00
Jason Felds 6d51648bbf Merge pull request #46 from kyzentun/PlayMusicPart_loopable
Made SOUND:PlayMusicPart pass on the loop and applyRate args.
2014-02-14 20:56:27 -05:00
Kyzentun a02e7528d2 Fixed misplaced comma in docs for PlayMusicPart. 2014-02-14 18:51:10 -07:00
Kyzentun 6ba6fbf21d Merge branch 'master' of http://github.com/stepmania/stepmania into PlayMusicPart_loopable 2014-02-14 18:49:32 -07:00
Jason Felds 875d6bd48b Merge pull request #45 from kyzentun/SetAllowLateJoin
Added SetAllowLateJoin to ScreenWithMenuElements.
2014-02-14 19:21:41 -05:00
Jason Felds 5db9840dd8 Merge pull request #43 from kyzentun/expose_joininput
Exposing GameState::JoinInput to Lua.
2014-02-14 19:19:48 -05:00
Jason Felds 6cfedbc7f3 Merge pull request #39 from kyzentun/miscounted_hold_points
Hold notes were added to possible score twice.
2014-02-14 19:13:47 -05:00
Jason Felds 3adfce9857 Merge pull request #37 from kyzentun/ComboGraph_height_fix
ComboGraph height fix
2014-02-13 21:32:21 -05:00
Kyzentun d9b38234dd Added SetCustomPosCoords to Sprite. 2014-02-12 18:43:42 -07:00
Kyzentun 88ad09d293 Added distort function to BitmapText. 2014-02-12 18:13:49 -07:00
Jason Felds 9bbefe2240 Attempt prep work for 64 bit just in case.
If SDL2 fails, someone (not me) will have to try to
keep these updated.
2014-02-12 19:40:27 -05:00
Kyzentun 901ba529e8 Made SOUND:PlayMusicPart pass on the loop and applyRate args. 2014-02-12 17:36:43 -07:00
Kyzentun 779e3da286 Added SetAllowLateJoin to ScreenWithMenuElements. 2014-02-12 17:18:13 -07:00
Kyzentun 17ea38576c Added GetComboList and GetLifeRecord to PlayerStageStats. 2014-02-12 16:19:16 -07:00
Kyzentun 13a4cccfb5 Added resetspeed mod to PlayerOptions. 2014-02-12 15:49:51 -07:00
Kyzentun 5bde20e897 Exposing GameState::JoinInput to Lua. 2014-02-12 15:45:26 -07:00
Kyzentun 56cd5fb961 GetCreditsRequiredToPlayStyle didn't check the coin mode. 2014-02-12 15:08:54 -07:00
Jason Felds 3f1c96d10f Merge pull request #38 from kyzentun/misleading_style_comment
Comment in Style.h was misleading.
2014-02-12 17:02:38 -05:00
Kyzentun 392fabc45f Hold notes were added to possible score twice. 2014-02-12 14:59:48 -07:00
Kyzentun 272b55ff7c Comment in Style.h was misleading. 2014-02-12 14:49:32 -07: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
freem 0715c38475 Luadoc: update GetPlayableSteps to show that it returns a table 2014-02-12 15:14:41 -06:00