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
sigatrev
b0cac56864
fix ActorScroller wrapping
...
looping actor scrollers would never reach destination items with number
higher than the number of items.
2014-07-26 18:55:39 -05:00
freem
ec66fc21bb
explicit float postfix added to some numbers in order to get visual studio to shut up
2014-07-26 16:06:18 -05:00
freem
3239e4698d
update ScreenGameOver with a fancier "game over" graphic and bigger text
2014-07-26 15:48:36 -05:00
Kyzentun
32e5d7e90c
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-07-25 14:33:15 -06:00
freem
527e93c792
[Themes/default] hack for SWME StageDisplay to show correct stage on Normal Mode Evaluation
2014-07-25 12:59:47 -05:00
freem
0756bfa5f4
make [ScreenHowToPlay] CharacterName metric work again
2014-07-25 01:39:33 -05:00
Kyzentun
c05a173d52
Fixed UpdateHasteRate and PlayerInfo:GetLifeMeter to check whether the life meter is null before using it.
2014-07-25 00:20:38 -06:00
Jason Felds
1cee5c0e68
Merge pull request #234 from dtinth/xcode5.1.1
...
Make StepMania compile in Xcode 5.1.1
2014-07-24 19:56:43 -04:00
Thai Pangsakulyanont
dbc1dba403
Merge branch 'master' of https://github.com/stepmania/stepmania into xcode5.1.1
2014-07-25 08:46:27 +09:00
Thai Pangsakulyanont
0b8ee8475c
add note
2014-07-25 08:45:24 +09:00
freem
166ae6ea11
fix really awkward positioning of this line (was using spaces instead of tabs)
2014-07-24 17:51:02 -05:00
freem
c0a8528d6a
DX8->DX9 in the rarely updated Manual
2014-07-24 16:58:34 -05:00
freem
f286be18ab
make a note about DirectX 9 in the NSIS installer script
...
(I'm not sure how to fix it just yet)
2014-07-24 16:57:19 -05:00
freem
ba76310feb
add missing nextrow character for options rows
2014-07-24 14:08:37 -05:00
Kyzentun
bc7217908d
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-07-24 03:38:17 -06:00
Kyzentun
ba0a0c69d2
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-07-23 13:25:04 -06:00
Kyzentun
84766a7cff
Changed LogDisplay to use the full message for IgnoreIdentical.
2014-07-23 00:09:04 -06:00
Thai Pangsakulyanont
1d1c2925f1
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-07-23 12:49:58 +09:00
freem
d4aa57e161
add missing Class attribute for ScreenOptionsEditProfile
2014-07-22 20:08:40 -05:00
Kyzentun
3cef425d63
Added IgnoreIdentical param to LogDisplay for use in ignoring identical error messages.
2014-07-22 17:51:40 -06:00
AJ Kelly
020b3916e8
Merge pull request #233 from sigatrev/StringToDifficulty
...
add OldStyleStringToDifficulty method
2014-07-22 17:54:36 -05:00
sigatrev
7622c7d423
add OldStyleStringToDifficulty method
...
because SM recognizes them in .sm files.
2014-07-22 17:39:55 -05:00
AJ Kelly
8483e4c8b0
Merge pull request #232 from sigatrev/SavePrefs
...
SavePreferences. looks harmless enough to me!
2014-07-22 16:56:41 -05:00
sigatrev
49c8846cc0
SavePreferences
...
for custom option screens.
2014-07-22 16:52:42 -05:00
Kyzentun
69b5f1ae61
Fixed two typos.
2014-07-19 16:05:16 -06:00
Kyzentun
4c97ff64a0
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-07-19 15:20:02 -06:00
AJ Kelly
305e80a08b
Merge pull request #230 from sigatrev/GameSoundManager
...
add SOUND:IsTimingDelayed method and fixed SOUND:PlayMusicPart
2014-07-19 15:35:47 -05:00
sigatrev
f87c9f83b4
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-07-19 15:03:54 -05:00
Kyzentun
0f607df55e
Changed NoteSkinManager::LoadActor to always return a Sprite on failure because some elements must be a sprite.
2014-07-19 10:11:14 -06:00
Kyzentun
22662a3b04
Changed ArbitrarySpeedMods to use a large increment that is not forced to be a multiple of the smaller increment.
2014-07-18 23:54:25 -06:00
kyzentun
020fb06930
Merge pull request #218 from kyzentun/ErrorReporting
...
Better Lua Error Reporting
2014-07-18 21:52:03 -06:00
Kyzentun
cb168e29aa
Added Common Error font for use by error reporting so that themes that replace Common Normal won't have a problem.
2014-07-18 18:04:51 -06:00
Kyzentun
a2e6d186e3
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-07-18 16:29:46 -06:00
Kyzentun
ddf4ba3a22
Readded increment_version.pl because it's actually needed for building on OSX.
2014-07-17 03:05:50 -06:00
kyzentun
135d1df197
Merge pull request #229 from dguzek/mkrelease
...
new mkrelease script for OS X
2014-07-16 03:08:09 -06:00
Dan Guzek
bf4599421f
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-07-16 05:04:53 -04:00
Kyzentun
8a65dfaefa
Tested and fixed error reporting for NoteSkinManager. Changed Sprite::Sprite() to load the default texture.
2014-07-16 02:03:06 -06:00
freem
dfd7b11412
[ScreenSystemLayer] restore "Not Present" text in CoinMode_Home
...
(also gave a possible answer to the comment added during the removal of pay mode)
2014-07-15 20:39:01 -05:00
Kyzentun
0f72d7cc6b
Changed NoteSkinManager to use new error reporting and avoid crashing. Fixed DoChangeTheme to switch to the InitialScreen if the screen doesn't exist in the theme being changed to. Fixed error reporting in MeterDisplay.
2014-07-15 13:28:06 -06:00
Kyzentun
273b76d3c7
ActorUtil::ResolvePath updated for error reporting. Changed BitmapText to work with either a font name or a path. ThemeManager::GetPathInfoRaw fixed to use correct error dialog. ThemeManager::GetPathInfo fixed to report correct error for missing theme elements.
2014-07-14 18:02:28 -06:00
Kyzentun
6cf23c4dc3
Changed many parts of GameCommand to improve error reporting. Fixed GameCommand setpref to not set when loading the command. Minor fix to ScreenOptionsExample.ini to explain that SongInCurrentSongGroup is unusable. CommonMetrics, CourseContentsList, HoldJudgent, OptionRowHandler all have minor changes to fix crashes on malformed theme data.
2014-07-14 15:41:04 -06:00
Kyzentun
fb1a251b7a
Changed many places that used RageException to use ReportScriptError instead. Wrote ScreenOptionsExample.ini as documentation example for the OptionRow system. Rewrote gamecommands.txt to include all GameCommands. Fixed Commands::GetOriginalCommandString to insert the semicolons that separated the original commands. Changed nonsensical boolean |= true statements in GameCommand.cpp to just use =. Added protection to ReportScriptError to keep it from recursing through itself when an error occurs in error reporting. Added UseAbort option to ReportScriptError for places that want to use an AbortRetryIgnore dialog to query the user. Added ScriptErrorMessage for places that need to handle the warning/dialog part separately. Added logging flag to MESSAGEMAN so that all messages broadcast can be logged when desired. Changed OptionRowHandler::LoadInternal to return a boolean success value as part of error handling.
2014-07-12 14:59:10 -06:00
AJ Kelly
6104c3f6d4
Merge pull request #220 from spigwitmer/busted-without-ffmpeg
...
Fixes issue #216 : Cannot build with --without-ffmpeg
robo puppy mistreatment alert
2014-07-10 21:06:11 -05:00
Pat Mac
35052f29b4
Fixes issue #216 : Cannot build with --without-ffmpeg
2014-07-10 04:09:30 +00:00
freem
3b1270b909
fix autogen freaking out after the Minimaid commit
...
thanks to @spigwitmer for the fix
2014-07-09 22:25:34 -05:00
Kyzentun
63311ab62f
Moved error reporting to ScreenSystemLayer error.lua. ScreenSystemLayer overlay/default.lua restored to previous. Error messages are now broadcast with the ScriptError message instead of SystemMessage. Added show/hide error messages toggle and clear error messages to debug menu. Nuked ScreenConsoleOverlay for being unfinished and duplicating ScreenSystemLayer. Changed Actor:tween and Tween::CreateFromStack to use ReportScriptError on invalid tween params. Changed some OptionRowList things to use ReportScriptError on invalid metrics.
2014-07-08 20:01:33 -06:00
Kyzentun
aa564628c5
Changed InputFilter to not assert on unrecognized input devices or buttons.
2014-07-08 17:24:09 -06:00