Commit Graph

169 Commits

Author SHA1 Message Date
Chris Danford f77647b5ad enum name cleanup: DIFFICULTY_* -> Difficulty_* 2007-02-22 07:18:05 +00:00
Chris Danford 599db61b62 Always call LoadAllCommands explicitly.
The hack to LoadAllCommands when playing a command was leading to weird interactions: If a theme element contained an OnCommand, it would cause the rest of the commands defined in metrics to not be loaded.
2007-02-19 09:30:07 +00:00
John Bauer b1f3433088 Make SM go "BONG" and output an error message rather than crashing
when the user tries to delete autogen steps.
2006-11-28 19:39:00 +00:00
John Bauer f5adc9686d Reorder some includes. 2006-11-28 19:08:27 +00:00
Glenn Maynard 0db4a096e5 ScreenWithMenuElements::BeginScreen calls SortByDrawOrder 2006-11-21 04:32:59 +00:00
John Bauer e15285ab55 Fix SongManager::Invalidate. Call it from places it is needed:
ScreenEdit::RevertFromDisk, ScreenEdit's Save routine, and
ScreenEditMenu's Delete Steps routine.  This fixes the bug where
deleting a step chart sometimes causes interesting behavior
but usually just causes a CTD next time you run Oni mode.  It also makes
sure data precalculated from the songs is correctly recalculated when
ScreenEdit changes a song.
2006-11-13 17:07:42 +00:00
Glenn Maynard 0b45f5dd0a use SetCurrentStyle 2006-09-30 22:22:26 +00:00
Glenn Maynard e7fdfa2132 prefer GAMESTATE->JoinPlayer to setting GAMESTATE->m_bSideIsJoined manually 2006-09-15 05:56:43 +00:00
Glenn Maynard 3f96734e6c MenuX(PlayerNumber) -> MenuX(InputEventPlus) 2006-09-14 21:18:39 +00:00
Steve Checkoway 4a0718c4e8 Flush the directory cache so that --temp-- is removed. Is there a reason to do this rather than access(2)? (Obviously, this would need to be done in the FileManager itself.) 2006-09-12 03:24:58 +00:00
Steve Checkoway b527d4226a Not true. Song only allocates the Steps in Autogen. 2006-08-20 23:51:21 +00:00
Chris Danford 8b06ab9b27 fix stale Course pointer crash 2006-08-18 07:11:51 +00:00
Glenn Maynard f7494da13e cleanup 2006-06-24 05:52:25 +00:00
Chris Danford 193f510316 don't do song dir writable check in Home or Practice 2006-06-22 05:27:00 +00:00
Chris Danford e3627c7377 test that song dir is writable before loading it in editor 2006-06-19 00:00:47 +00:00
Glenn Maynard a1aefaa159 fix "missing a music file" prompt deletes steps 2006-03-09 22:30:43 +00:00
Glenn Maynard 45ca5f9f8e cleanup 2006-03-09 22:16:20 +00:00
Chris Danford 1860c6c674 consolidate Steps description validation 2006-03-08 04:03:39 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford cec914461e make string localizable 2006-01-18 10:03:45 +00:00
Glenn Maynard a87993bcb1 finish ctor transition 2006-01-15 20:46:15 +00:00
Glenn Maynard 470c909ec6 Transition away from Screen(sName). 2006-01-15 18:54:03 +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 fc18dbd342 make more strings localizable 2006-01-08 18:40:20 +00:00
Chris Danford 44225ad379 XToThemedString -> XToLocalizedString 2006-01-07 04:11:29 +00:00
Chris Danford 74749a19bb move localized string to separate file 2005-12-22 03:10:04 +00:00
Chris Danford c4d4f640bb localize text entry 2005-12-21 12:55:20 +00:00
Chris Danford 28959facb3 make prompt strings localizable 2005-12-21 09:56:16 +00:00
Chris Danford c9d79d3e3b localize prompts 2005-12-20 21:32:26 +00:00
Chris Danford 66c5a45117 SetLoadedFromProfile when the Steps are created, not when they are saved 2005-12-06 23:44:01 +00:00
Chris Danford 36c7d8e0ed enum name cleanup 2005-12-01 03:20:25 +00:00
Glenn Maynard dfc67cd84d ScreenWithMenuElements::StartTransitioning -> StartTransitioningScreen, to make searching
for it easier (vs. Transition::StartTransitioning).  (Trying to simplify tweening; this
may go back later.)
2005-10-13 22:17:13 +00:00
Glenn Maynard 29b2b4226b SWME plays music 2005-10-13 05:22:18 +00:00
Glenn Maynard 6ea2f37a36 Change MenuUp(pn,type) overrides to MenuUp(IEP), so info like DeviceI.ts is always accessible. 2005-09-23 00:44:52 +00:00
Glenn Maynard 1b171db459 cleanup 2005-08-14 02:04:40 +00:00
Chris Danford 359d745e67 add course edits, improved course editor 2005-07-29 02:23:02 +00:00
Glenn Maynard 1d797c7f94 fix SM_Success, SM_Failure never sent 2005-07-22 09:13:16 +00:00
Glenn Maynard cc00fbb7ef simplify 2005-07-18 02:45:40 +00:00
Glenn Maynard aa3116d783 split EDIT_MENU_ACTION_PRACTICE, so it can be themed differently 2005-07-14 07:19:15 +00:00
Glenn Maynard fab368faf0 fix load 2005-07-14 07:11:44 +00:00
Glenn Maynard d4b19938dd EDIT_MENU_TYPE 2005-07-14 05:53:46 +00:00
Glenn Maynard 760202ea92 generalize deletion 2005-07-14 04:15:57 +00:00
Glenn Maynard c9369fc984 fix backwards 2005-07-14 04:14:24 +00:00
Glenn Maynard f0e244060d generalize 2005-07-14 02:01:46 +00:00
Glenn Maynard 0fd2a733ef update: load big stuff in Load(), use given metric class 2005-07-14 01:41:17 +00:00
Glenn Maynard 66b842f342 unused 2005-07-14 01:27:59 +00:00
Glenn Maynard 6e8747d0b6 cleanup 2005-07-12 02:21:28 +00:00
Chris Danford 7c6dbc102b working on ScreenOptionsProfiles 2005-07-05 23:13:49 +00:00
Glenn Maynard 9b08148f60 ScreenTextEntry::TextEntry/ScreenTextEntry::Password 2005-07-03 04:45:34 +00:00
Glenn Maynard 2cb0658151 ScreenPrompt::Prompt update 2005-07-03 04:34:53 +00:00