Colby Klein
174fd8e669
Merge pull request #62 from djpohly/enum-compatibility
...
Backwards-compatible type-safe enum behavior
2014-02-23 23:24:42 -08:00
Devin J. Pohly
bb1b6a81c6
Special case player number 1/2 in ApplyGameCommand
...
This function, oddly, used to take a 1 or 2 for the player number where
other nearby functions (e.g. IsPlayerEnabled) would take the proper enum
value, 0 or 1. If the old-style syntax (raw number) is used, also use
the old-style interpretation.
2014-02-23 16:41:19 -05:00
Devin J. Pohly
10d872db3f
Accept old-style raw values for enum parameters
...
These will still be checked to ensure they are valid members of the
enumeration, so it's not as ugly or dangerous as it used to be.
2014-02-23 16:39:10 -05:00
Devin J. Pohly
2907fa06a7
Try to resolve enums old-style if new-style fails
...
This makes e.g. cmd(blend,add) work like cmd(blend,'BlendMode_Add').
Resolution in this case is case-insensitive like it used to be.
2014-02-23 15:28:20 -05:00
Devin J. Pohly
5051d85288
Add lowercase strings to Lua enum reverse table
...
Step one toward compatibility with case-insensitive legacy command
syntax.
2014-02-23 15:01:34 -05:00
Devin J. Pohly
5f0c8c428f
Merge pull request #61 from djpohly/modicon-bound
...
Correct array bound for ModIcon text
2014-02-23 12:10:01 -05:00
Devin J. Pohly
1e04f576d2
Debug assert should fire on failure, not success!
2014-02-23 00:23:23 -05:00
Devin J. Pohly
f1cc0a4a19
Correct array bound for ModIcon text
...
Should fix problems with selecting more than NumModIcons mods in SMO.
2014-02-22 23:09:24 -05:00
Colby Klein
cb07827c21
Merge pull request #60 from djpohly/eventmode-f3
...
Fix F3+1 handling in Event Mode
2014-02-22 17:22:29 -08:00
Devin J. Pohly
d07dd295a4
Fix F3+1 handling in Event Mode
...
Since Event+Pay is treated as Free Play mode, the debug overlay menu
would get stuck on Free if Event Mode was on.
2014-02-22 20:14:20 -05:00
Colby Klein
aec671b8df
Merge pull request #58 from dguzek/master
...
Update copyright dates in Xcode project
2014-02-21 20:16:19 -08:00
Dan Guzek
53e75ae57d
Update copyright dates in Xcode project
2014-02-21 23:00:56 -05:00
freem
5c998c0f96
pedantic "change 4 spaces to tab" commit
2014-02-21 16:41:30 -06:00
Colby Klein
2f9bdb8352
Merge pull request #57 from sigatrev/master
...
TextureTranslate method
2014-02-21 09:37:49 -08:00
sigatrev
0ab15ed053
TextureTranslate method
...
Allow themes to duplicate the way noteskins are handled.
2014-02-20 21:17:10 -06:00
Colby Klein
cf23d4966f
Merge pull request #56 from djpohly/xml-cachever
...
Bump cache version for XML changes
2014-02-20 14:21:35 -08:00
Devin J. Pohly
b98e5e6dba
Bump cache version for XML changes
...
The XML patchset includes more items in the FGCHANGES line, which is
stored in cache. Previous caches wouldn't include these entries.
Sorry 'bout that folks.
2014-02-20 15:32:58 -05:00
Colby Klein
e4c91ab236
Merge pull request #54 from djpohly/xml-forwardport
...
Resurrect XML actor support when QuirksMode=1
2014-02-20 10:21:02 -08:00
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