Commit Graph
73 Commits
Author SHA1 Message Date
Glenn Maynard 738a8b6895 move course rename and delete into Overview 2009-10-31 23:26:36 +00:00
Steve Checkoway 76f0af145b When Move()ing, Remove()ing, or Close()ing a file opened for writing, update the cache when possible (RageFileDriverDirect) or invalidate the directory cache for the directory containing that file (everything else). Remove most of the FlushDirCache() calls as they are no longer needed. This fixes a long standing bug where files added into the cache were stat(2)ed O(n^2) times--that is, each file is stat(2)ed O(n) times. 2009-09-14 08:08:06 +00:00
Chris Danford cd139430f5 CustomDiffiuclty cleanup, now takes CourseType as a parameter
DifficultyList -> StepsDisplayList
Course editor screen cleanup
Change GameManager back to singleton for consistency with other classes
2009-08-09 02:59:32 +00:00
Chris Danford d858e2d7da workout -> course 2009-04-11 19:12:26 +00:00
Chris Danford 35df186a28 move EditCourseUtil into CourseUtil, remove WorkoutManager 2009-04-11 19:10:41 +00:00
Chris Danford 1e4b73185c merge ManageWorkouts into ManageCourses 2009-04-11 18:45:04 +00:00
Chris Danford ed75682b9f remove Workout, fold into EditCourses 2009-03-22 08:42:27 +00:00
Chris Danford defedc2c62 GAMEMAN->GetStepsTypeInfo -> GameManager::GetStepsTypeInfo to allow Lua to call before GameManager singleton is initialized 2008-03-24 08:53:05 +00:00
Chris Danford 077a1a3b85 Add StepsTypeInfo and return the structure rather than having GameManager methods for each piece of data 2008-03-24 04:39:24 +00:00
Steve Checkoway e87789da7c Rename XToString2 to XToString. 2006-10-15 00:09:18 +00:00
Steve Checkoway 04bff6bc1d Use XToString2. 2006-10-15 00:00:22 +00:00
Glenn Maynard 4ccea4e87b phase out separate course difficulty names 2006-10-07 22:49:04 +00:00
Glenn Maynard 78a91ba878 revert. You brought back a type I've been trying to remove. 2006-10-07 22:33:24 +00:00
Steve Checkoway 73663c4f8a CourseDifficulty. 2006-10-07 10:49:53 +00:00
Glenn Maynard 617e8b5335 FOREACH_ENUM2 -> FOREACH_ENUM 2006-10-07 08:56:58 +00:00
Glenn Maynard de6ca466d2 more enum standardization 2006-10-07 04:39:48 +00:00
Glenn Maynard 8a4ddd1515 Invalid 2006-10-07 04:13:43 +00:00
Glenn Maynard 2eca7b670c use FOREACH_ENUM2 2006-09-27 05:18:47 +00:00
Glenn Maynard f806ec5936 StepsType_Invalid 2006-09-26 20:28:46 +00:00
Glenn Maynard a4ac724eef cleanup 2006-09-26 03:19:58 +00:00
Steve Checkoway a4aa69b148 Remove ThemeMetricEnum. Since all metrics are evaluated as lua, use lua integer constants. 2006-09-23 07:21:26 +00:00
Steve Checkoway 6ea2a41b00 Cleanup RageException::Throw(). Do not use ssprintf() inside of Throw() and do not pass it bare error messages. Use RageException::Throw( "%s", sError.c_str() ); instead. Be consistent with quoting file names "%s" and theme metrics as "%s : %s". Try to make them complete English sentences when possible. 2006-09-17 01:19:19 +00:00
Steve Checkoway 944a913790 PlayerNumber -> IEP. 2006-09-15 01:47:24 +00:00
Steve Checkoway 547920b6cd Simplify. 2006-08-10 06:39:08 +00:00
Steve Checkoway 7469032de4 If CreateNewScreen is empty, use old behavior, otherwise set the screen named. 2006-06-22 09:43:07 +00:00
Chris Danford acdf036e05 add metric to specify new sceen on "Create New" 2006-06-13 01:07:57 +00:00
Steve Checkoway c4835e0adb Revert. Reloading is a hack and shouldn't be part of the API. 2006-03-18 13:26:01 +00:00
Steve Checkoway a79329daa3 Only rebuild the option rows when they've actually changed. 2006-03-18 11:28:41 +00:00
Steve Checkoway 778025184c More editor work. Pressing \ cycles through steps/difficulties and updates the meter value for the particular difficulty. 2006-03-05 03:52:00 +00:00
Steve Checkoway 373d226dd7 Partial revert. This ended up not needing to be global. 2006-03-04 11:40:41 +00:00
Steve Checkoway c23e9f2e88 Mostly functional course editor. (It's not pretty, but then I have no ability/experience with graphics/metrics.) You can create, edit, and delete courses. I'm not sure about setting mods yet. 2006-03-04 10:27:09 +00:00
Steve Checkoway 2ff53582a1 Fix crashes when using the second player.
Use the master player number for everything except setting the current trail which needs to be PLAYER_1 because there are different messages for each player's trail changing. Perhaps that should change at some point.
2006-03-04 02:34:01 +00:00
Chris Danford c8829120a9 fix VC6 compile 2006-02-21 20:30:30 +00:00
Steve Checkoway 3996629264 Set the master player number. (Maybe this should just be reverted to use PLAYER_1.) 2006-02-21 12:35:17 +00:00
Steve Checkoway d691fe9919 Working on course editor. 2006-02-20 06:18:57 +00:00
Steve Checkoway 1946083107 Don't change player one's course difficulty preferenes. Play a sound when the difficulty changes. 2006-02-20 04:25:53 +00:00
Steve Checkoway 2ec2ea1bcb Themeable. 2006-02-20 02:40:47 +00:00
Steve Checkoway 468eee4cf3 Simplify. 2006-02-19 06:12:01 +00:00
Steve Checkoway c57798bf09 Cleanup. 2006-02-19 06:00:35 +00:00
Glenn Maynard 35599d7f97 Fix incorrect behavior when START is pressed during transitions on
options screens.  (We don't ignore this at a higher level, because we
want to allow start when transitioning when it's not going to go to another
screen.)
2006-02-18 03:02:21 +00:00
Chris Danford 3c4087a187 fix ManageProfiles errors
add bThemeTitle flag to MenuRow
2006-02-13 22:45:17 +00:00
Glenn Maynard 81bcf41b7e simplify 2006-02-03 08:01:00 +00:00
Glenn Maynard 5995043bf0 Don't play the Start sound in SM_BeginFadingOut. It might
have been triggered by something that just played a sound,
or the screen might want to play a different sound.  It's
not SM_BeginFadingOut's job to play a sound.

(fixes double-start sound when "next screen" options are
selected from context menus in ScreenOptionsManage*)
2006-01-30 05:41:46 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard 8fd297bdfc phase out vDefs param 2006-01-17 21:31:50 +00:00
Glenn Maynard 3bd5beeb53 use OptionRowHandler::m_Def 2006-01-17 20:58:40 +00:00
Glenn Maynard a87993bcb1 finish ctor transition 2006-01-15 20:46:15 +00:00
Glenn Maynard 2b4c9e4516 Transition away from Screen(sName). 2006-01-15 19:49:02 +00:00
Glenn Maynard c5b71c0631 remove logs (this stuff predates the crash handler and has been copied
and pasted around since)

jesus we have a lot of screens
2006-01-15 08:54:03 +00:00
Chris Danford 44225ad379 XToThemedString -> XToLocalizedString 2006-01-07 04:11:29 +00:00