Commit Graph

273 Commits

Author SHA1 Message Date
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
Glenn Maynard 2270e62eb4 fix expressions (mysterious forces contrived to make this appear to work) 2005-02-17 08:41:13 +00:00
Chris Danford 8da09ebd6e let each file register its own constants with Lua 2005-02-17 07:32:21 +00:00
Glenn Maynard 01ae30ddd9 Add ThemeManager::GetMetric(LuaExpression) 2005-02-17 06:09:08 +00:00
Chris Danford 21e59e065e peek at the error message in the debugger 2005-02-16 23:00:09 +00:00
Chris Danford 4d31f3b4c1 evaluate TargetNumber as a Lua expression 2005-02-16 00:16:14 +00:00
Glenn Maynard 22eee805b9 show the resulting invalid color value when a color metric using a Lua
function returns garbage, not the text of the lua call
2005-02-15 01:53:30 +00:00
Chris Danford 3d72b8cc37 expose ThemeManager in Lua
add PLAYER_* constants to Lua
Change GetMetric* to allow AtExpressions
2005-02-12 22:52:24 +00:00
Chris Danford dedab65789 allow Lua expressions in command metrics 2005-02-09 09:44:16 +00:00
Glenn Maynard 965d5e663d incomplete g++ 3.4 compile fix 2005-02-05 21:40:36 +00:00
Chris Danford 9d760bbdea move common subscription code into templated class 2005-02-05 11:21:13 +00:00
Chris Danford 8555a6da45 use Lua to execute commands
(needs cleanup)
2005-01-26 11:21:43 +00:00
Chris Danford ed6aa8b02e The Lua state needs to be reset on a theme change to reload scripts 2005-01-24 03:05:37 +00:00
Chris Danford cd9c48d645 LuaHelpers -> LuaManager 2005-01-24 02:26:55 +00:00
Chris Danford f4de06361d not necessary to reInit Lua on a theme change 2005-01-24 02:14:58 +00:00
Glenn Maynard 2b73f63ea8 RetryCancel -> AbortRetry
remove Dialog::cancel
2005-01-20 19:40:24 +00:00