Commit Graph
82 Commits
Author SHA1 Message Date
Chris Danford df9ed04fd3 CustomDifficulty fixup
fix stats.xml not saving
experimental recentscores.xml saving
2009-08-09 20:11:23 +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
Steve Checkoway 95645cdafb Optimize. The Unset() call was actually rather expensive. This speeds up SSMusic by a few frames per second for me in optimized builds. 2009-03-26 11:30:45 +00:00
Chris Danford 91fe895bc1 DifficultyDisplay -> StepsDisplay (reduce confusion with DifficultyDisplayType) 2008-08-17 00:11:20 +00:00
Chris Danford 025ef16269 remove LoadFromNode, add PlayerState param 2008-03-27 10:11:07 +00:00
Chris Danford 779b23e565 DifficultyListRow -> DifficultyDisplayListRow to make inheritance clear 2008-03-24 04:37:49 +00:00
Chris Danford 7f5657901c better name: DifficultyMeter -> DifficultyDisplay 2008-03-11 10:41:11 +00:00
Glenn Maynard 3e36a05c5f fix song.h!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 2008-03-09 01:51:34 +00:00
Chris Danford 58cae9f108 subscrube to required messages in C++ code rather than requiring theme to receive messages and funnel them through 2008-02-15 09:34:12 +00:00
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