Commit Graph

73 Commits

Author SHA1 Message Date
Glenn Maynard fe69cba5ad avoid assert if loaded before any palyers are joined 2007-06-08 06:52:05 +00:00
Steve Checkoway 3f6b99b589 Unneeded headers. 2007-05-30 16:07:17 +00:00
Glenn Maynard 0272681a01 unused 2007-04-08 17:37:01 +00:00
Chris Danford 490a8dd437 always load both cursors for late join 2007-03-06 09:39:33 +00:00
Chris Danford 8cbbc48523 when a 2nd player joins, remove double steps from the list. They're no longer playable with 2 players joined. 2007-03-06 08:06:26 +00:00
Chris Danford 9061e2c1c1 move stage logic out of SongManager
allow selecting between multiple StepsTypes on ScreenSelectMusic (ala Pump's combined single/double list)
2007-02-23 21:13:45 +00:00
Chris Danford 2b65bb5066 Add StepsType parameter to Set*
name cleanup: bar|feet -> ticks
2007-02-22 00:39:52 +00:00
Chris Danford f7fc9ceaa5 remove Set/GetHidden, leave *Visible
remove hidden from ActorCommands eventually
2007-02-13 06:32:26 +00:00
Glenn Maynard b3b435ae5b LoadFromNode -> LoadActorFromNode. This isn't a normal
LoadFromNode, which just loads state for an existing object.

pass parent
2006-10-14 04:44:15 +00:00
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