Commit Graph

80 Commits

Author SHA1 Message Date
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
Chris Danford 34dd476d5e add pref "HideDefaultNoteSkin" 2004-03-01 02:45:29 +00:00
Glenn Maynard 3dd3da3c5f cleanup 2004-02-17 22:23:07 +00:00
Glenn Maynard 10e3dcac01 cache note skin paths
ScreenDemonstration loads went from ~2.5 to ~1.7 seconds for me
2004-02-17 22:16:22 +00:00
Glenn Maynard 63c48f5439 two botched commits in a row -> GO TO BED 2004-02-17 08:56:45 +00:00
Glenn Maynard a7d86a8e13 search redirs in note skins like we do in themes 2004-02-17 08:55:33 +00:00
Glenn Maynard 9f8139afa3 simplify 2004-02-17 08:25:32 +00:00
Glenn Maynard e6401712d4 Don't search for "fallback" button types except in the "common"
note skin.  It's a little faster, and still self-consistent.
2004-02-17 08:20:56 +00:00
Chris Danford 69769b2c74 support sharing of geometry between Models 2004-02-08 11:17:03 +00:00
Chris Danford 4cf6e96f6b support different explosion graphics per TapNoteScore 2003-12-31 21:40:38 +00:00
Chris Danford 141ba141d0 fix noteskin error if current game doesn't have a NoteSkin called "note" 2003-12-31 07:44:53 +00:00
Glenn Maynard e9ae2c0803 continue phasing out BASE_PATH and SLASH 2003-12-10 09:44:16 +00:00
Glenn Maynard 11870a6072 continue phasing out BASE_PATH and SLASH 2003-12-10 09:26:05 +00:00
Chris Danford c123681854 move IsWindowed check inside of ArchHooks_Win32 2003-11-15 06:08:13 +00:00
Sean Burke 7e8bcb35b3 Slightly more efficient commenting style. (Nerd.) 2003-11-13 08:22:05 +00:00