Commit Graph

288 Commits

Author SHA1 Message Date
Glenn Maynard e362389b0f prefer std::string calls over CStdString compat calls 2005-09-06 20:33:55 +00:00
Glenn Maynard f5f2f4a885 ThemeManager::EvaluateString was called here for three things:
- RunAtExpressionS.  Using @ to generate command lists is no longer allowed; it's
   too expensive and clumsy, and is no longer needed.
 - "::" for newlines.  This isn't needed, since the string is a Lua expression;
   use "\n".
 - FontCharAliases::ReplaceMarkers.  This only makes sense for settext calls.
(The latter two will still be supported by settext directly.)
2005-09-06 04:34:44 +00:00
Glenn Maynard fa2fa3d526 rename GetMetricRaw overload to GetMetricRawRecursive for clarity 2005-09-04 05:26:44 +00:00
Glenn Maynard a2740445ef fix message 2005-09-03 08:40:21 +00:00
Glenn Maynard 5e99ccfb22 remove unused 2005-09-03 02:11:05 +00:00
Glenn Maynard babaa7761e Font paths must be prefix-unique, like other assets. Remove hack. 2005-09-03 00:14:06 +00:00
Glenn Maynard 6ce7d5d8c8 cleanup 2005-09-02 22:37:19 +00:00
Glenn Maynard 4757ba604f remove hack 2005-09-02 22:28:22 +00:00
Glenn Maynard 3fae1b67cb remove Numbers 2005-09-02 22:16:39 +00:00
Glenn Maynard 99c6309d48 remove hack 2005-09-02 22:11:13 +00:00
Chris Danford 7c4f2595ab Remove support for .actor. Use .xml instead. 2005-09-02 00:09:21 +00:00
Chris Danford 907f7d3dcc remove ugly LuaElementCategory, add bindings for GetPath overloads 2005-07-30 21:12:54 +00:00
Chris Danford 7cfcce6e7d remove .sprite file support. Use .xml instead 2005-07-26 20:00:19 +00:00
Chris Danford d1ff152ee2 add Lua bindings for GetPath* so that it's not necessary to use the ugly ElementCategory constants 2005-07-26 19:39:58 +00:00
Chris Danford fd8e1e61a7 cleanup 2005-07-25 07:39:29 +00:00
Glenn Maynard d05e819187 Don't search for redirs separately; doubling the number of GetDirListing
calls is expensive.
2005-07-07 01:21:45 +00:00
Glenn Maynard 8dbff84a30 I thought we've been doing this for a long time ... 2005-06-25 04:31:28 +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 ed58ed26eb fix memory leak on change/reload theme 2005-06-23 02:11:51 +00:00
Glenn Maynard 9d7f835609 no need to template Luna specializations 2005-06-20 05:02:03 +00:00
Glenn Maynard b974b1bdd4 LuaHelpers::PrepareExpression 2005-06-16 22:22:37 +00:00
Glenn Maynard 9a50b17b9d LuaHelpers::RunAtExpressionS
LuaManager::ResetState, LuaHelpers::RunScriptFile locking
2005-06-16 22:17:45 +00:00
Glenn Maynard cb3f10aabb LuaHelpers::RunExpressionF 2005-06-16 06:30:33 +00:00
Glenn Maynard 6a8940d5a4 LuaHelpers::RunExpressionB 2005-06-16 06:23:59 +00:00
Glenn Maynard b93399da8c LuaHelpers::RunScriptFile 2005-06-16 06:10:50 +00:00
Glenn Maynard d1241420d6 clean up singleton registration: if you were given an L, use it 2005-06-15 02:21:24 +00:00
Chris Danford 98784d3fb5 Split Update into Update and UpdateInternal so that every class doesn't need to early abort in Update when hibernating 2005-06-11 10:32:58 +00:00
Chris Danford dac72665e3 move background file enumerating into BackgroundUtil.*
fix editor background change functionality
2005-05-31 01:17:37 +00:00
Chris Danford 13b9973197 ELEMENT_CATEGORY_ -> EC_ 2005-05-27 09:22:57 +00:00
Glenn Maynard ee88435ffa fix warning 2005-05-23 22:32:06 +00:00
Chris Danford 41becb56a4 GetFullDisplayTitle -> GetDisplayFullTitle 2005-05-23 00:38:09 +00:00
Chris Danford cac3d56730 GetModifierNames: use vector not set for easier interaction with Lua 2005-05-22 15:03:03 +00:00
Glenn Maynard f37a3810d6 allow reading whole files with GetFileContents 2005-05-20 00:12:43 +00:00
Glenn Maynard 140ec4fdca allow setting preferences from theme metrics. static.ini is deprecated. 2005-05-19 05:19:23 +00:00
Glenn Maynard 4e6d716027 GetRedirContents -> GetFileContents 2005-05-17 02:20:43 +00:00
Chris Danford 3db3500226 remove size on statc CString arrays so that XToString can catch size differences 2005-05-05 19:55:04 +00:00
Glenn Maynard 649d8de3d3 fix confusing error message 2005-04-14 07:23:35 +00:00
Chris Danford d0b19cf5e2 do font aliases on Lua expressions 2005-04-06 23:01:56 +00:00
Chris Danford b7b582e935 allow .actors as BGAs 2005-03-20 07:09:22 +00:00
Glenn Maynard cc34c9bd6b add ThemeManager::ClearThemePathCache 2005-03-20 05:39:32 +00:00
Glenn Maynard df896d168a tolerate Register being called before THEME is initialized (like we do
with other singletons)
2005-03-18 22:44:47 +00:00
Glenn Maynard a6c498610b Load Serialize.lua first, before calling ResetState. 2005-03-18 22:09:10 +00:00
Chris Danford 75c2199395 GetMetricsThatBeginWith: fix iterating past the end of the set 2005-03-14 00:38:51 +00:00
Chris Danford ade579667b load all commands from metrics when the On command is played. This fixes skips when playing the Off command. 2005-03-13 20:44:26 +00:00
Glenn Maynard 7c63770ec1 allow any file type in Other 2005-03-13 08:40:11 +00:00
Chris Danford ac5777b19b Allow BGAnimations to match .xml files.
Don't special-case BGAnimations to look for only exact matches.
2005-03-12 21:21:36 +00:00
Chris Danford b60d135493 don't allow StringToX for *_INVALID values 2005-03-05 21:50:33 +00:00
Chris Danford 9c3f461361 cleanup
add Lua method
2005-02-28 04:10:01 +00:00
Chris Danford ca1f7e5893 hush 2005-02-23 22:11:33 +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