Commit Graph

64 Commits

Author SHA1 Message Date
Glenn Maynard e11914d4bb LoadFromNode(sDir, pNode) -> LoadFromNode(pNode) 2006-10-09 08:24:10 +00:00
Glenn Maynard f1ca420069 use ActorUtil::GetWhere 2006-10-09 08:08:59 +00:00
Glenn Maynard c690fdcfe4 unify registration 2006-09-29 00:01:32 +00:00
Glenn Maynard 153bcedd40 simpler Lua boilerplate 2006-09-27 20:03:31 +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
Glenn Maynard 2e9376d574 assert 2006-08-31 19:30:14 +00:00
Glenn Maynard 7b995b8487 remove unused 2006-08-20 20:01:53 +00:00
Glenn Maynard bcae91dca4 bind DifficultyList. Remove it from SSM; do it in XML instead. 2006-08-10 17:44:11 +00:00
Chris Danford af3e1c571c move Steps searching out of song into SongUtil so that it can be shared with CourseEntry 2006-06-13 01:10:37 +00:00
Glenn Maynard 6faf9b9b69 fix selecting an edit and moving to chance results in weird difficulty
selection behavior
2006-03-29 02:54:11 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford 44225ad379 XToThemedString -> XToLocalizedString 2006-01-07 04:11:29 +00:00
Chris Danford 8b8fa8aad3 move CommonMetrics into a namespace so that it's clear where they're coming from when used. 2005-10-27 05:16:19 +00:00
Glenn Maynard abad7e9d1c OnCommand in DifficultyList::TweenOnScreen 2005-07-22 22:40:36 +00:00
Chris Danford 623dc2512f merge PlayCommand2 and PlayCommand so that Actor derivities only have to override one method to get the correct behavior 2005-06-12 00:35:08 +00:00
Glenn Maynard d59d1c5d4c remove m_sID 2005-05-31 08:03:18 +00:00
Chris Danford c6040055eb hide locked steps 2005-04-24 20:32:03 +00:00
Chris Danford 04eb5056f3 use the Meter and Description text in DifficultyMeter instead of duplicating them in DifficultyList 2005-04-11 15:42:39 +00:00
Chris Danford e3785ab35d don't show meters in random 2005-04-03 09:48:50 +00:00
Chris Danford d0ee7921ed don't compile ActorCommands on the fly. 2005-03-29 19:01:52 +00:00
Chris Danford 5d8456e3ea metrics cleaup: Remove duplicated "ToShow" and "ToHide" parsing logic
don't show hidden StepsTypes in EditMenu
2005-03-24 21:44:03 +00:00
Chris Danford 35590596d3 optimize difficulty change 2005-03-13 06:41:42 +00:00
Chris Danford 8b32383969 move DifficultiesToShow into CommonMetrics
re-cache on theme reload, not on timer expired
2005-03-10 19:57:43 +00:00
Chris Danford 071f02a862 allow access to individual BroadcastOnChangePtrs within BroadcastOnChangePtr1D 2005-02-25 18:17:26 +00:00
Chris Danford 555d5aa2fe don't use Name/ID to load DifficultyMeter. We only need the Name at load time, so pass it into Load and don't save it in the Actor. 2005-02-23 20:40:46 +00:00
Chris Danford 42c5e2b3f9 allow specifying a Lua function for a command with "%funciton(self) self:blah end" 2005-02-23 19:15:24 +00:00
Chris Danford 40c9e8fbe7 cache common metrics 2005-02-12 21:03:39 +00:00
Chris Danford 4223e09cc8 GetPathTo -> GetPath 2005-02-06 03:32:53 +00:00
Glenn Maynard 41169362a3 cache 2005-02-02 05:07:49 +00:00
Chris Danford 8555a6da45 use Lua to execute commands
(needs cleanup)
2005-01-26 11:21:43 +00:00
Chris Danford 83d89decb2 remove hard-coded zooms 2005-01-08 12:15:07 +00:00
Chris Danford 7b8138ebab don't read the metric before the Actor is given a name 2005-01-07 02:36:05 +00:00
Chris Danford ed19821e09 rename: ActorCommand -> Command
Make Command smaller and more generic.
Parse arguments on use, not in Command::Load.
2004-12-03 05:19:46 +00:00
Chris Danford bcbe615c0d Pass ActorCommand structures to Actor instead of unparsed command strings.
This way, we can potentially do the parsing early and not parse inside of Actor as the command is executing.
2004-11-06 23:13:47 +00:00
Chris Danford 5127ceef4d remove CachedThemeMetrics in favor of ThemeMetric<T>
fix "CachedThemeMetrics don't read HTML colors and don't evaluate Lua expressions"
2004-11-06 20:36:04 +00:00
Glenn Maynard d19c0bbe0a optimize 2004-10-02 16:24:10 +00:00
Chris Danford da775dbd3e move all metrics in the "Common" group into one header file 2004-07-17 22:15:39 +00:00
Chris Danford 5544445ad0 name cleanup: StyleDef -> Style 2004-06-28 07:26:00 +00:00
Glenn Maynard 3798245ce6 license update 2004-06-07 21:14:03 +00:00
Chris Danford fa114e148a use PlayerNumber macros 2004-06-06 20:57:13 +00:00
Chris Danford 2fab068fe4 fix DifficultyList colors not properly set when scrolling over Roulette 2004-05-29 04:55:00 +00:00
Chris Danford 6ad780417e "SetFromNotes" -> "SetFromSteps" 2004-05-29 04:50:47 +00:00
Chris Danford b05d25ab24 "m_pCurNotes" -> "m_pCurSteps" 2004-05-24 06:12:17 +00:00
Chris Danford 2b7c8a8d5e add metric to capitalize difficulty names 2004-05-08 08:09:47 +00:00
Chris Danford e0872bbce1 fix "only difficulties from last song show when move to Random/Roulette" 2004-05-07 23:33:15 +00:00
Chris Danford af65f9640c remove unused variables 2004-05-07 07:22:16 +00:00
Steve Checkoway 922d9624f2 quiet warnings. 2004-05-07 04:34:55 +00:00
Chris Danford d18dd8f200 allow switching difficulties while on roulette, random, leap
tween off DifficultyList and CourseContents when in the sort and mode menus
2004-05-07 02:53:07 +00:00
Chris Danford cca71d1d3f edits cleanup:
- only allow reasonable file sizes
 - only allow one Steps per edit file
 - only allow 5 edits per-song, per-profile
2004-04-23 00:26:51 +00:00
Chris Danford d3f3db2751 edits cleanup:
- only allow reasonable file sizes
 - only allow one Steps per edit file
 - only allow 5 edits per-song, per-profile
2004-04-23 00:25:42 +00:00