Commit Graph
33964 Commits
Author SHA1 Message Date
freemandJonathan Payne 753158ceb1 we don't have a "make test", so travis reports the build as "failed"
(also throw in an IRC notification)
2014-08-02 00:39:00 -07:00
freemandJonathan Payne abbbb3c43d add compile status from travis-ci; thanks @shakesoda 2014-08-02 00:38:59 -07:00
freemandJonathan Payne 15ddaa02b6 add libglew-dev to list of packages to get
will hopefully shut up "configure: error: "No usable version of GLEW found."" msg
2014-08-02 00:38:59 -07:00
KyzentunandJonathan Payne 6b346e8e0b Added MusicWheel:GetSelectedSection. 2014-08-02 00:38:58 -07:00
KyzentunandJonathan Payne 2020c9b3bf Fixed invalid note type trace to use correct escape sequence. 2014-08-02 00:38:57 -07:00
freemandJonathan Payne 2910fca47b <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-08-02 00:38:57 -07:00
freemandJonathan Payne 62fb76404d add libtommath and libtomcrypt to ignore list 2014-08-02 00:38:56 -07:00
freemandJonathan Payne 8777e77bfc updating luadocs 2014-08-02 00:38:55 -07:00
KyzentunandJonathan Payne 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
freemandJonathan Payne 87b7aa36a3 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-08-02 00:38:54 -07:00
Andrew UdvareandJonathan Payne 0389f55109 Add option --with-ffmpeg-rpath to specify a hard-coded but safe RPATH as an alternative to the non-secure relative defaults 2014-08-02 00:38:53 -07:00
KyzentunandJonathan Payne 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
KyzentunandJonathan Payne 9339f5dfb8 Changed GameCommand screen validation to allow OptionsList to work again. 2014-08-02 00:38:52 -07:00
freemandJonathan Payne 0b3e03fee5 telling Visual Studio to shut up about more warnings wrt/double and float 2014-08-02 00:38:52 -07:00
freemandJonathan Payne ee3efaf36b 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-08-02 00:38:51 -07:00
sigatrevandJonathan Payne 9e0a42680a fix ActorScroller wrapping
looping actor scrollers would never reach destination items with number
higher than the number of items.
2014-08-02 00:38:50 -07:00
freemandJonathan Payne ab4cceff31 explicit float postfix added to some numbers in order to get visual studio to shut up 2014-08-02 00:38:50 -07:00
freemandJonathan Payne 7f305664fa update ScreenGameOver with a fancier "game over" graphic and bigger text 2014-08-02 00:38:49 -07:00
sigatrevandJonathan Payne 82cb4a198d Enums for TapNoteType, TapNoteSubType, and TapNoteSource
I intend to make additional useful information available on judgments,
such as TapNoteType and TapNoteSubType( for hold judgments ).

I am submitting this part as a separate pull request because it is more
generally applicable to anything TapNote related.
2014-08-02 00:38:48 -07:00
KyzentunandJonathan Payne 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
freemandJonathan Payne ea74aa74bc [Themes/default] hack for SWME StageDisplay to show correct stage on Normal Mode Evaluation 2014-08-02 00:38:45 -07:00
freemandJonathan Payne 6af6f98a05 make [ScreenHowToPlay] CharacterName metric work again 2014-08-02 00:38:45 -07:00
KyzentunandJonathan Payne 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
sigatrevandJonathan Payne 52c2801503 UpdateSongPositions
It is useful to have Player SongPositions update off of ScreenGameplay
for use with things like ArrowEffects.

ScreenGameplay, ScreenHowToPlay, and ScreenEdit stop GameSoundManager
from running GameState:UpdateSongPosition and do it themselves, so this
has no impact on the screen classes that cared about, and thus updated,
player SongPositions.
2014-08-02 00:38:43 -07:00
Thai PangsakulyanontandJonathan Payne aadf01ef98 add note 2014-08-02 00:38:43 -07:00
freemandJonathan Payne 46e7ff7ead fix really awkward positioning of this line (was using spaces instead of tabs) 2014-08-02 00:38:42 -07:00
freemandJonathan Payne 88c412f792 DX8->DX9 in the rarely updated Manual 2014-08-02 00:38:41 -07:00
freemandJonathan Payne ddcf60943e make a note about DirectX 9 in the NSIS installer script
(I'm not sure how to fix it just yet)
2014-08-02 00:38:41 -07:00
freemandJonathan Payne f3ffa60bf7 add missing nextrow character for options rows 2014-08-02 00:38:40 -07:00
KyzentunandJonathan Payne 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
KyzentunandJonathan Payne 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
KyzentunandJonathan Payne 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
KyzentunandJonathan Payne 8ef6be9a94 Changed LogDisplay to use the full message for IgnoreIdentical. 2014-08-02 00:38:38 -07:00
Thai PangsakulyanontandJonathan Payne 1c8436ec91 Make StepMania compile in Xcode 5.1.1
project:

- Mac OS X 10.6 SDK is used.
- Architecture has been set to 32-bit. Otherwise, `MemoryCardDriverThreaded_MacOSX` and `HIDDevice` will not compile.
- Replaced the outdated `README` file with a new `README.md`.

libmad:

- Use FPM_64BIT instead of FPM_INTEL. Otherwise, it will not compile. Also, latest Xcode seems not to support `$(...)` expansion in defining macros. Instead, they are hardcoded in the build settings.

stepmania:

- Removed compiler flags `-finline-limit` and `-falign-loops=16`
2014-08-02 00:38:37 -07:00
freemandJonathan Payne df825646c7 add missing Class attribute for ScreenOptionsEditProfile 2014-08-02 00:38:36 -07:00
KyzentunandJonathan Payne 1398f477c9 Added IgnoreIdentical param to LogDisplay for use in ignoring identical error messages. 2014-08-02 00:38:36 -07:00
sigatrevandJonathan Payne ada902140e add OldStyleStringToDifficulty method
because SM recognizes them in .sm files.
2014-08-02 00:38:35 -07:00
sigatrevandJonathan Payne e8e617e545 SavePreferences
for custom option screens.
2014-08-02 00:38:35 -07:00
KyzentunandJonathan Payne 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
KyzentunandJonathan Payne 5828b2529b Fixed two typos. 2014-08-02 00:38:33 -07:00
KyzentunandJonathan Payne adfc259b71 Changed CheckEnum to use lua_isnoneornil so that enum args can be made properly optional. Changed PlayMusicPart to allow nil for optional args so optional args would be independent. 2014-08-02 00:38:33 -07:00
sigatrevandJonathan Payne fe08728393 add SOUND:IsTimingDelayed method and fixed SOUND:PlayMusicPart
PlayMusicPart does not immediately start the new music. IsTimingDelayed
will return true until the new music has started.

The "applyRate" argument of PlayMusicPart was being applied to the
"align_beat" property. Added an additional argument to for "align_beat"
and made "applyRate" work properly.
2014-08-02 00:38:32 -07:00
KyzentunandJonathan Payne 4dfeb3eb89 Changed NoteSkinManager::LoadActor to always return a Sprite on failure because some elements must be a sprite. 2014-08-02 00:38:31 -07:00
KyzentunandJonathan Payne 32664e7e17 Changed ArbitrarySpeedMods to use a large increment that is not forced to be a multiple of the smaller increment. 2014-08-02 00:38:31 -07:00
KyzentunandJonathan Payne 4b7a6d092a Added Common Error font for use by error reporting so that themes that replace Common Normal won't have a problem. 2014-08-02 00:38:30 -07:00
KyzentunandJonathan Payne 8657d70fe1 Created Def.LogDisplay for displaying messages in a log. Changed error reporting layer to use Def.LogDisplay. Changed engine error reporting to not clip errors to a single line. 2014-08-02 00:38:29 -07:00
KyzentunandJonathan Payne 1ff292ad24 Readded increment_version.pl because it's actually needed for building on OSX. 2014-08-02 00:38:29 -07:00
Dan GuzekandJonathan Payne a40b7aa921 new mkrelease script for OS X
This commit does a few things:
1. includes a new mkrelease script for OS X devs to bundle releases with
2. removes the old Perl scripts that sort of accomplished the same task
3. includes a README documenting how to use the new script

The old scripts were brittle and inefficient.

The new script is written in Ruby because it is what I'm familiar with and because OS X has shipped with Ruby since version 10.5.0.
2014-08-02 00:38:28 -07:00
KyzentunandJonathan Payne 88f56cb0ec Tested and fixed error reporting for NoteSkinManager. Changed Sprite::Sprite() to load the default texture. 2014-08-02 00:38:27 -07:00
freemandJonathan Payne aef6e287f9 [ScreenSystemLayer] restore "Not Present" text in CoinMode_Home
(also gave a possible answer to the comment added during the removal of pay mode)
2014-08-02 00:38:27 -07:00