Kyzentun
8a6f6a7124
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-08-02 00:38:26 -07:00
Kyzentun
4343a99ea9
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-08-02 00:38:25 -07:00
Kyzentun
5df80b6e0e
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-08-02 00:38:24 -07:00
sigatrev
acf15aed53
SetGame lua docs
2014-08-02 00:38:23 -07:00
sigatrev
ce2b729710
SetGame method
...
Added SetGame method to GameManager.
Altered Stepmania::ChangeCurrentGame() to allow a second input,
selecting which theme will be loaded after game is changed.
2014-08-02 00:38:23 -07:00
Pat Mac
beb8c40ce0
Fixes issue #216 : Cannot build with --without-ffmpeg
2014-08-02 00:38:22 -07:00
freem
c0eff36375
fix autogen freaking out after the Minimaid commit
...
thanks to @spigwitmer for the fix
2014-08-02 00:38:22 -07:00
Kyzentun
cc548a8cb5
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-08-02 00:38:21 -07:00
Kyzentun
8e74a512ad
Changed InputFilter to not assert on unrecognized input devices or buttons.
2014-08-02 00:38:20 -07:00
freem
194c8de8f8
add pkgingo's (Win32) Minimaid driver.
...
* new makefile config option "HAVE_MINIMAID"
* update all Visual Studio projects
2014-08-02 00:38:20 -07:00
Kyzentun
1f979fff5f
Rewrote ScreenSystemOverlay overlay/default.lua to be able to display multiple messages. Added Reload Overlay Screens option to debug menu.
2014-08-02 00:38:19 -07:00
Kyzentun
a74a49af78
Changed many uses of Dialog::OK and LOG->Warn to use ReportScriptError.
2014-08-02 00:38:18 -07:00
Kyzentun
a6c54ebd90
Made Screen not go to next screen if the screen name is empty.
2014-08-02 00:38:17 -07:00
Kyzentun
95fe1a17e9
Replaced every use of lua_call with RunScriptOnStack. Modified RunScriptOnStack to report an error to log and system message using a passed in context string. Modified every use of RunScriptOnStack to avoid crashing so that the reported error can be seen.
2014-08-02 00:38:17 -07:00
Rémy Léone
cd1292dd18
Adding a .travis.yml file to use the travis-ci.org
...
From wikipedia:
Travis CI is a hosted, distributed continuous integration service used
to build and test projects hosted at GitHub.
Travis CI is configured by adding a file named .travis.yml, which is a
YAML format text file, to the root directory of the GitHub repository.
Travis CI automatically detects when a commit has been made and pushed
to a GitHub repository that is using Travis CI, and each time this
happens, it will try to build the project and run tests. This includes
commits to all branches, not just to the master branch. When that
process has completed, it will notify a developer in the way it has been
configured to do so — for example, by sending an email containing the
test results (showing success or failure), or by posting a message on an
IRC channel. It can be configured to run the tests on a range of
different machines, with different software installed (such as older
versions of a programming language, to test for compatibility).
2014-08-02 00:38:16 -07:00
sigatrev
6487261f32
maintain music rate speed adjust after music has finished
...
Keeps things like BGA effect clocks consistent when music stops.
2014-08-01 23:45:21 -05:00
Kyzentun
f0d6bce62a
Disabled AddATIToList on Windows because it makes mapconv crash.
2014-08-01 11:16:17 -06:00
freem
206d416932
we don't have a "make test", so travis reports the build as "failed"
...
(also throw in an IRC notification)
2014-08-01 05:36:20 -05:00
freem
d32aa39925
add compile status from travis-ci; thanks @shakesoda
2014-08-01 05:05:42 -05:00
freem
dd9576397b
add libglew-dev to list of packages to get
...
will hopefully shut up "configure: error: "No usable version of GLEW found."" msg
2014-08-01 05:05:28 -05:00
Colby Klein
12c93349f3
Merge pull request #190 from sieben/travis-ci
...
Adding a .travis.yml file to use the travis-ci.org
2014-08-01 02:49:29 -07:00
Kyzentun
392ac045eb
Added MusicWheel:GetSelectedSection.
2014-07-31 14:57:00 -06:00
Kyzentun
18b2d73bb1
Fixed invalid note type trace to use correct escape sequence.
2014-07-31 11:25:05 -06:00
freem
48425fa998
<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-07-31 11:58:58 -05:00
freem
1042327690
add libtommath and libtomcrypt to ignore list
2014-07-31 11:58:21 -05:00
kyzentun
d7fade2f0b
Merge pull request #244 from sigatrev/TapNote-enums
...
Enums for TapNoteType, TapNoteSubType, and TapNoteSource
2014-07-30 23:03:51 -06:00
kyzentun
97bcfb37de
Merge pull request #240 from sigatrev/UpdatePlayerSongPositions
...
UpdateSongPositions
2014-07-30 23:03:41 -06:00
kyzentun
77e0d70f39
Merge pull request #236 from kyzentun/RevalidateNoteDataATIs
...
Added revalidation scheme to NoteData's all_tracks_iterator
2014-07-30 23:02:13 -06:00
kyzentun
9a0219c6b6
Merge pull request #231 from kyzentun/ChangeGame
...
SetGame
2014-07-30 23:01:59 -06:00
freem
35fea8f68d
updating luadocs
2014-07-30 04:37:21 -05:00
Kyzentun
076d67132d
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-07-29 12:09:40 -06:00
Colby Klein
1d5f4ec115
Merge pull request #246 from Tatsh/secure-rpath
...
Add option --with-ffmpeg-rpath
2014-07-29 08:45:55 -07:00
freem
9038056ba4
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-07-28 17:54:50 -05:00
Andrew Udvare
eab2143ea7
Add option --with-ffmpeg-rpath to specify a hard-coded but safe RPATH as an alternative to the non-secure relative defaults
2014-07-28 03:33:31 -07:00
Kyzentun
ee53b9e601
Adjusted text scaling that convert_text_to_indented_lines uses to make it adjust for resolution differences better.
2014-07-27 21:38:43 -06:00
Kyzentun
a5db63657c
Changed GameCommand screen validation to allow OptionsList to work again.
2014-07-27 01:47:30 -06:00
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
sigatrev
e81af8c131
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-07-25 18:45:02 -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
sigatrev
acd3340c57
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-07-24 19:45:17 -05: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