15ddaa02b6
add libglew-dev to list of packages to get will hopefully shut up "configure: error: "No usable version of GLEW found."" msg
freemandJonathan Payne2014-08-01 05:05:28 -05:00
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
freemandJonathan Payne2014-07-31 11:58:58 -05:00
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.
KyzentunandJonathan Payne2014-07-29 12:09:40 -06:00
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)
freemandJonathan Payne2014-07-28 17:54:50 -05:00
0389f55109
Add option --with-ffmpeg-rpath to specify a hard-coded but safe RPATH as an alternative to the non-secure relative defaults
Andrew UdvareandJonathan Payne2014-07-28 03:33:31 -07:00
b882f3506a
Adjusted text scaling that convert_text_to_indented_lines uses to make it adjust for resolution differences better.
KyzentunandJonathan Payne2014-07-27 21:38:43 -06:00
9339f5dfb8
Changed GameCommand screen validation to allow OptionsList to work again.
KyzentunandJonathan Payne2014-07-27 01:47:30 -06:00
0b3e03fee5
telling Visual Studio to shut up about more warnings wrt/double and float
freemandJonathan Payne2014-07-26 19:01:49 -05:00
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.
freemandJonathan Payne2014-07-26 19:00:50 -05:00
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.
KyzentunandJonathan Payne2014-07-25 14:33:15 -06:00
ea74aa74bc
[Themes/default] hack for SWME StageDisplay to show correct stage on Normal Mode Evaluation
freemandJonathan Payne2014-07-25 12:59:47 -05:00
82c07d04b3
Fixed UpdateHasteRate and PlayerInfo:GetLifeMeter to check whether the life meter is null before using it.
KyzentunandJonathan Payne2014-07-25 00:20:38 -06:00
ddcf60943e
make a note about DirectX 9 in the NSIS installer script (I'm not sure how to fix it just yet)
freemandJonathan Payne2014-07-24 16:57:19 -05:00
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.
KyzentunandJonathan Payne2014-07-24 03:38:17 -06:00
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.
KyzentunandJonathan Payne2014-07-23 13:25:04 -06:00
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.
KyzentunandJonathan Payne2014-07-23 05:34:23 -06:00
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.
KyzentunandJonathan Payne2014-07-20 20:59:12 -06:00
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.
KyzentunandJonathan Payne2014-07-19 15:20:02 -06:00
4dfeb3eb89
Changed NoteSkinManager::LoadActor to always return a Sprite on failure because some elements must be a sprite.
KyzentunandJonathan Payne2014-07-19 10:11:14 -06:00
32664e7e17
Changed ArbitrarySpeedMods to use a large increment that is not forced to be a multiple of the smaller increment.
KyzentunandJonathan Payne2014-07-18 23:54:25 -06:00
4b7a6d092a
Added Common Error font for use by error reporting so that themes that replace Common Normal won't have a problem.
KyzentunandJonathan Payne2014-07-18 18:04:51 -06:00
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.
KyzentunandJonathan Payne2014-07-18 16:29:46 -06:00
1ff292ad24
Readded increment_version.pl because it's actually needed for building on OSX.
KyzentunandJonathan Payne2014-07-17 03:05:50 -06:00
88f56cb0ec
Tested and fixed error reporting for NoteSkinManager. Changed Sprite::Sprite() to load the default texture.
KyzentunandJonathan Payne2014-07-16 02:03:06 -06:00
aef6e287f9
[ScreenSystemLayer] restore "Not Present" text in CoinMode_Home (also gave a possible answer to the comment added during the removal of pay mode)
freemandJonathan Payne2014-07-15 20:39:01 -05:00
a9056c20d1
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.
KyzentunandJonathan Payne2014-07-15 13:28:06 -06:00
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.
KyzentunandJonathan Payne2014-07-14 18:02:28 -06:00
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.
KyzentunandJonathan Payne2014-07-14 15:41:04 -06:00
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.
KyzentunandJonathan Payne2014-07-12 14:59:10 -06:00
c0eff36375
fix autogen freaking out after the Minimaid commit thanks to @spigwitmer for the fix
freemandJonathan Payne2014-07-09 22:25:34 -05:00
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.
KyzentunandJonathan Payne2014-07-08 20:01:33 -06:00
8e74a512ad
Changed InputFilter to not assert on unrecognized input devices or buttons.
KyzentunandJonathan Payne2014-07-08 17:24:09 -06:00
194c8de8f8
add pkgingo's (Win32) Minimaid driver. * new makefile config option "HAVE_MINIMAID" * update all Visual Studio projects
freemandJonathan Payne2014-07-08 16:51:11 -05:00
1f979fff5f
Rewrote ScreenSystemOverlay overlay/default.lua to be able to display multiple messages. Added Reload Overlay Screens option to debug menu.
KyzentunandJonathan Payne2014-07-08 01:02:36 -06:00
a74a49af78
Changed many uses of Dialog::OK and LOG->Warn to use ReportScriptError.
KyzentunandJonathan Payne2014-07-07 00:39:27 -06:00
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.
KyzentunandJonathan Payne2014-07-05 01:34:05 -06:00
6487261f32
maintain music rate speed adjust after music has finished
sigatrev2014-08-01 23:45:21 -05:00
f0d6bce62a
Disabled AddATIToList on Windows because it makes mapconv crash.
Kyzentun2014-08-01 11:16:17 -06:00
206d416932
we don't have a "make test", so travis reports the build as "failed" (also throw in an IRC notification)
freem2014-08-01 05:36:20 -05:00
d32aa39925
add compile status from travis-ci; thanks @shakesoda
freem2014-08-01 05:05:42 -05:00
dd9576397b
add libglew-dev to list of packages to get will hopefully shut up "configure: error: "No usable version of GLEW found."" msg
freem2014-08-01 05:05:28 -05:00
18b2d73bb1
Fixed invalid note type trace to use correct escape sequence.
Kyzentun2014-07-31 11:25:05 -06:00
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
freem2014-07-31 11:58:58 -05:00
1042327690
add libtommath and libtomcrypt to ignore list
freem2014-07-31 11:58:21 -05:00
d7fade2f0b
Merge pull request #244 from sigatrev/TapNote-enums
kyzentun2014-07-30 23:03:51 -06:00
97bcfb37de
Merge pull request #240 from sigatrev/UpdatePlayerSongPositions
kyzentun2014-07-30 23:03:41 -06:00
77e0d70f39
Merge pull request #236 from kyzentun/RevalidateNoteDataATIs
kyzentun2014-07-30 23:02:13 -06:00
9a0219c6b6
Merge pull request #231 from kyzentun/ChangeGame
kyzentun2014-07-30 23:01:59 -06:00
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.
Kyzentun2014-07-29 12:09:40 -06:00
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)
freem2014-07-28 17:54:50 -05:00
eab2143ea7
Add option --with-ffmpeg-rpath to specify a hard-coded but safe RPATH as an alternative to the non-secure relative defaults
Andrew Udvare2014-07-28 03:33:31 -07:00
ee53b9e601
Adjusted text scaling that convert_text_to_indented_lines uses to make it adjust for resolution differences better.
Kyzentun2014-07-27 21:38:43 -06:00
a5db63657c
Changed GameCommand screen validation to allow OptionsList to work again.
Kyzentun2014-07-27 01:47:30 -06:00
52ed5c3f55
Merge pull request #245 from sigatrev/ActorScroller
AJ Kelly2014-07-26 19:27:34 -05:00
bc73e053bb
telling Visual Studio to shut up about more warnings wrt/double and float
freem2014-07-26 19:01:49 -05:00
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.
freem2014-07-26 19:00:50 -05:00
ec66fc21bb
explicit float postfix added to some numbers in order to get visual studio to shut up
freem2014-07-26 16:06:18 -05:00
3239e4698d
update ScreenGameOver with a fancier "game over" graphic and bigger text
freem2014-07-26 15:48:36 -05:00
e81af8c131
Enums for TapNoteType, TapNoteSubType, and TapNoteSource
sigatrev2014-07-25 18:45:02 -05:00
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.
Kyzentun2014-07-25 14:33:15 -06:00
527e93c792
[Themes/default] hack for SWME StageDisplay to show correct stage on Normal Mode Evaluation
freem2014-07-25 12:59:47 -05:00
0756bfa5f4
make [ScreenHowToPlay] CharacterName metric work again
freem2014-07-25 01:39:33 -05:00
c05a173d52
Fixed UpdateHasteRate and PlayerInfo:GetLifeMeter to check whether the life meter is null before using it.
Kyzentun2014-07-25 00:20:38 -06:00