Commit Graph

75 Commits

Author SHA1 Message Date
Chris Danford e841ae7e1e remove per-difficulty characters in favor of text coloring and stroke fonts. Not all themes are going to want coloring based on Difficulty (e.g. Pump) 2008-02-15 09:35:56 +00:00
Glenn Maynard 4760ad0b0c "Type" is correct here 2007-05-29 18:51:35 +00:00
Steve Checkoway 9c9565f7a3 Type -> Class. 2007-05-28 10:12:39 +00:00
Chris Danford f6afe68843 Let ActorFrame propagate the message instead of sending it to each individual child 2007-02-22 18:35:27 +00:00
Chris Danford f77647b5ad enum name cleanup: DIFFICULTY_* -> Difficulty_* 2007-02-22 07:18:05 +00:00
Chris Danford 93e93a0fa6 rename difficulty -> frame since it's treated as a generic Actor
Add pSteps and pTrail parameters to DifficultyMeter::Set*
2007-02-22 06:34:42 +00:00
Chris Danford 28ca7c6151 remove m_bAutoColorTicks. It's no longer useful now that the coloring is done with actor commands 2007-02-22 01:12:20 +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 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
Glenn Maynard e11914d4bb LoadFromNode(sDir, pNode) -> LoadFromNode(pNode) 2006-10-09 08:24:10 +00:00
Glenn Maynard b4102e79c6 phase out separate course difficulty names 2006-10-07 22:42:47 +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 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
Glenn Maynard dd45cb5387 use Difficulty binding 2006-09-27 06:12:37 +00:00
Glenn Maynard 51d22ce2f4 update binding 2006-09-27 01:48:30 +00:00
Glenn Maynard f567a0fd28 cleanup arg order 2006-09-26 08:54:54 +00:00
Glenn Maynard ba0e782d40 bind SetFromGameState 2006-08-16 22:54:06 +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
Glenn Maynard b01308783e unused headers 2005-12-19 00:42:29 +00:00
Chris Danford 65d71a4f23 expermienting with DEFINE_METHOD macro for Lua methods 2005-09-10 02:47:04 +00:00
Glenn Maynard 5cd3d22759 Don't put fonts in Graphics, even ones that don't look like them; it's brittle
(too easy to miss when changing font rules).
2005-09-03 04:12:16 +00:00
Glenn Maynard 48b75b0581 run a command to set color (etc) instead of hardcoded effects 2005-08-31 02:14:59 +00:00
Chris Danford 1fffd48c57 SetEffectNone -> StopEffect 2005-07-24 03:11:03 +00:00
Glenn Maynard 9d7f835609 no need to template Luna specializations 2005-06-20 05:02:03 +00:00
Glenn Maynard c998564adf update registration for various types 2005-06-20 04:17:02 +00:00
Glenn Maynard 1ca61fdaa8 play TextChanged 2005-05-04 19:29:09 +00:00
Chris Danford cec1abf53b fix double-loaded commands 2005-05-04 10:49:31 +00:00
Chris Danford d80e337309 fix wrong difficulty color used 2005-04-14 00:22:29 +00:00
Chris Danford c013c78577 remove EditMenu's textMeter and use the one in DifficultyMeter instead 2005-04-13 11:22:34 +00:00
Chris Danford f9220d1b2b FeetPerDifficulty -> AutoColorFeet 2005-04-13 10:49:59 +00:00
Chris Danford da13d14d51 fix DifficultyList colors not updated when selecting Random 2005-04-13 08:07:09 +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 f395d0a401 preload commands 2005-02-23 23:04:06 +00:00
Chris Danford 480088576a load metrics from m_sType, not m_sName 2005-02-23 22:14:31 +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 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 2d983d6f90 optimize 2004-10-03 13:52:07 +00:00
Chris Danford 504ba6c163 GetPath*N->GetPath*F 2004-07-25 06:29:50 +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
Glenn Maynard da275bc880 fix inconsistent course difficulty strings 2004-06-04 03:38:52 +00:00
Glenn Maynard b93d1bfd5e first pass at merging CourseDifficulty into Difficulty
CourseDifficulty names still exist, since it's useful to distinguish them
in command names
2004-06-04 02:05:56 +00:00
Glenn Maynard ffebc3125a these are no-ops: SetFromMeterAndDifficulty() resets them immediately 2004-06-04 01:20:55 +00:00
Glenn Maynard 5676372659 rerearrange 2004-06-04 01:17:46 +00:00
Glenn Maynard 33a16651d6 rearrange 2004-06-03 23:30:07 +00:00
Chris Danford 61581479d8 track the current Trail in GameState 2004-06-03 08:22:02 +00:00
Glenn Maynard f87cb30d37 add DifficultyMeter::SetFromTrail (not used yet) 2004-06-02 08:17:27 +00:00