Commit Graph
4533 Commits
Author SHA1 Message Date
Sandon Van Ness 5c588087f0 Fixed indention. Fixed revert.
Signed-off-by: Sandon Van Ness <[email protected]>
2014-03-14 12:24:42 -07:00
Kyzentun cc58f43567 Switching to double style shouldn't join the other player. It isn't necessary for input, the engine ScreenSelectMusic doesn't do it, and it forces a theme with custom SSM and style changing to unjoin the player that wasn't really joined. 2014-03-13 20:14:21 -06:00
Sandon Van Ness 27e393e1c6 Fix colors when unicode characters are in chat box (Online).
This is just hanubeki's patch which calculates accurate widths of
characters so colors don't get offset.

Signed-off-by: Sandon Van Ness <[email protected]>
2014-03-11 22:06:19 -07:00
parashep 8b78678b47 net2013 project contained refrences to net2011 projects, preventing build on some machines 2014-03-11 17:57:21 -04:00
Kyzentun 27dc958970 Changed GameState::UnjoinPlayer to actually follow its own comment and unjoin the player from STATSMAN first, instead of unjoining from PROFILEMAN, then STATSMAN, then PROFILEMAN again. Changed ProfileManager::UnloadProfile to skip unloading if the profile wasn't actually loaded in the first place. 2014-03-10 21:54:53 -06:00
Kyzentun 2fc1c51389 Changed TimingData Lua API to not return strings that will be immediately be parsed into numbers. 2014-03-09 10:19:52 -06:00
Colby Klein a428e16cc8 Merge pull request #84 from sigatrev/StealthFix
Fix for issue 83
2014-03-09 03:57:26 -07:00
sigatrev 1b1716ac7d Fix draw function
Actors with glow but no alpha are not drawn because. Adding glow to the
conditional.
2014-03-09 00:17:45 -06:00
freem dd187e204c we actually don't need this anymore, even in releases. (things only freem remembers) 2014-03-07 20:56:51 -06:00
AJ Kelly 95343dc27b Merge pull request #71 from sigatrev/MineTracks
added iTrack to mine judgment message
2014-03-07 14:11:54 -06:00
Dan Guzek 5f006ba119 Remove unused variable from ActorScroller 2014-03-06 21:16:52 -05:00
Dan Guzek ec51d48b07 Remove unintuitive loop condition from ActorScroller 2014-03-06 21:13:44 -05:00
sigatrev f6d44ae85b hold judgment positions with mini
they weren't scaled to handle the zoom.
2014-03-03 20:46:47 -06:00
sigatrev 43f9fd70ca added iTrack to mine judgment message
more information is better.
2014-03-03 20:37:13 -06:00
sigatrev a038300dba added lua function for GetTimeSinceStart
Allows checking time within a single update. This can be used to halt
processes which would otherwise cause lag.
2014-03-03 20:27:46 -06:00
freem 7187efeab4 update location of zlib in ZipArchive.h
(even though I still can't get SMPackage to compile)
2014-03-03 17:42:37 -06:00
freem 299b4695ce Update bugtracker address now that the main bugtracker is on github 2014-02-24 15:20:41 -06:00
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
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
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
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
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