Commit Graph

94 Commits

Author SHA1 Message Date
Glenn Maynard ed81222b34 ActorCommands.h -> Actor.h or ActorUtil.h 2006-09-21 02:48:15 +00:00
Glenn Maynard 3a57dca6c4 ActorCommands -> ActorUtil::ParseActorCommands 2006-09-21 02:24:22 +00:00
Glenn Maynard 8548f1cb33 simplify ActorCommands 2006-09-21 01:39:38 +00:00
Steve Checkoway b1ccf2e5ff The correct syntax for theme metrics is "class::name". 2006-09-17 05:37:42 +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
Steve Checkoway 1b35499f4e Only flush the directories of the NoteSkins in question. 2006-09-16 03:34:44 +00:00
Glenn Maynard 44b1066888 unused 2006-09-13 09:07:33 +00:00
Steve Checkoway 2d69aa95e6 Binding. Is there a reason that DEFINE_METHOD does not seem to be used much? 2006-08-19 08:59:43 +00:00
Steve Checkoway d2f3a14495 strtof -> StringToFloat. 2006-06-12 06:42:25 +00:00
Steve Checkoway df6d8cb6ba Make the default NoteSkin a theme metric. That means we can't call GetNoteSkinNames() before the theme is loaded so split out the code to get the names of the the skins for a particular game. 2006-05-20 08:58:53 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +00:00
Chris Danford 38ffd83205 detect infinite recursion in redirects 2005-12-08 08:24:30 +00:00
Glenn Maynard 4cbf9be85a Add AddCommand and THEME:GetMetricA.
This won't work with theme reloading, but that hasn't worked in a long time anyway
(recreating the Lua environment while it's actually in use is hard).
2005-10-05 07:37:26 +00:00
Glenn Maynard f723499700 make this behave consistently with THEME:GetPath when given a blank
button name
2005-10-05 06:05:53 +00:00
Glenn Maynard a5cf8c21b0 cleanup 2005-10-05 05:49:50 +00:00
Chris Danford e628f74491 do note coloring with tex coord shifting, not separate elements 2005-10-04 19:45:45 +00:00
Chris Danford 65d71a4f23 expermienting with DEFINE_METHOD macro for Lua methods 2005-09-10 02:47:04 +00:00
Glenn Maynard 3ec39c7fc2 Don't refresh note skins every time we reset. 2005-09-04 23:16:38 +00:00
Chris Danford 48ebc53549 return NULL -> return CString() for clarity and efficiency 2005-09-04 16:55:21 +00:00
Chris Danford e439ae2a96 return "" -> return NULL 2005-09-02 00:14:07 +00:00
Glenn Maynard c69c3af4b9 Due to the last change, we don't have fallback clashes anymore (fallback no
longer has both "fallback tap note" and "fallback tap note 4th", etc.), so
we don't need to do this.  Remove it; it's extremely slow.
2005-07-05 21:56:51 +00:00
Chris Danford 2a6dcba6e8 cleanup:
"GroupName" -> "SongGroup" to make room for CourseGroup
replace checks for "cvs" with a call to StripCvs()
m_Rows -> m_pRows
broadcast on preferred group changes
2005-06-23 08:05:09 +00:00
Glenn Maynard 9d7f835609 no need to template Luna specializations 2005-06-20 05:02:03 +00:00
Glenn Maynard d66f00ea23 lua cleanup 2005-06-15 02:27:16 +00:00
Charles Lohr 5b3007b21b Modification: Follow previous commit in reasoning. This is a bit more questionable. If this causes issues please discuss On-list 2005-06-01 02:48:06 +00:00
Charles Lohr 80e06f5dfa Modify: All redirects for noteskins should be named their exact name. Currently there is a fairly large problem of the noteskin manager finding many different noteskins and complaining. In reality, I think a mid-range solution would be to remove the wildcard and fix our noteskins. 2005-06-01 02:43:21 +00:00
Glenn Maynard f37a3810d6 allow reading whole files with GetFileContents 2005-05-20 00:12:43 +00:00
Glenn Maynard 4e6d716027 GetRedirContents -> GetFileContents 2005-05-17 02:20:43 +00:00
Chris Danford abac6af93b store a current NoteSkin in NoteSkinManager so that NoteSkin elements can use NOTESKIN:GetPath() 2005-04-18 01:19:56 +00:00
Ben Anderson 0db665d4d6 Thorough(!) remodeling of the arch/ directory and the contents therein; fixed link-time warnings on GCC and should make things a lot easier to manage. A pile of other random things too, mostly cleanups and getting things to work with the remodeled arch/ directory. 2005-03-14 06:44:38 +00:00
Chris Danford ea43f8ee1b support loading BGAs from XML 2005-01-07 22:01:57 +00:00
Chris Danford 981e52ec58 merge IniFile and XmlFile 2005-01-07 14:28:00 +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 6a84b15d3d const fixes 2004-11-06 21:32:28 +00:00
Glenn Maynard d6ffc80ba2 simplify NoteSkinManager::GetNoteSkinNames, add bFilterDefault 2004-09-06 03:19:15 +00:00
Glenn Maynard e717cc88f0 fix RefreshNoteSkinData looking in the wrong place 2004-09-06 02:52:10 +00:00
Glenn Maynard 3e1bc2ef26 NoteSkinManager::ColToButtonName -> Game::ColToButtonName 2004-09-06 02:49:36 +00:00
Glenn Maynard 951b2bf1be simplify, work on fixing NoteSkinManager::RefreshNoteSkinData(Game*) 2004-09-06 02:30:50 +00:00
Glenn Maynard aad73b53e9 (float) atof() -> strtof(), which computes in float instead of computing in
double and casting to float, which is silly
2004-08-10 20:57:59 +00:00
Chris Danford 7255f15f9d NoteSkins:
add arbitrary depth of fallbacks
remove unused methods
2004-07-30 06:32:24 +00:00
Chris Danford ff4c12b727 rename GameDef -> Game 2004-07-25 17:07:32 +00:00
Chris Danford 64628fac21 remove enum Game. Instead, pass around the GameDef pointer 2004-07-25 04:27:20 +00:00
Chris Danford 5544445ad0 name cleanup: StyleDef -> Style 2004-06-28 07:26:00 +00:00
Glenn Maynard 211f9b852a use Dialog 2004-06-10 22:47:51 +00:00
Glenn Maynard 733127d8ed license update 2004-06-08 01:24:17 +00:00
Glenn Maynard d79f9f0ff1 better assert output
minor optimization
2004-05-23 22:17:26 +00:00
Glenn Maynard c0adadd3a5 IniFile cleanup 2004-05-23 02:27:51 +00:00
Chris Danford 590cf4f690 Let NoteSkin manager look for BGAnimation directories 2004-03-01 05:58:19 +00:00