Commit Graph

109 Commits

Author SHA1 Message Date
Chris Danford 3db35f3ba1 restore BitmapText backward compat hack 2005-07-26 21:12:00 +00:00
Chris Danford 67af38cd97 remove File=(songbackground|songbanner|coursebanner) hack
fix compile
2005-07-26 20:50:45 +00:00
Chris Danford 7cfcce6e7d remove .sprite file support. Use .xml instead 2005-07-26 20:00:19 +00:00
Chris Danford 79ceb5b0cf allow At expression in Condition 2005-07-25 07:41:23 +00:00
Chris Danford 32286d12e6 add <Param /> child of a node for setting Lua globals while loading a node 2005-07-22 19:57:42 +00:00
Glenn Maynard a43388d2ba remove unused random banner code 2005-07-20 10:12:47 +00:00
Glenn Maynard 25823c979b remove the .model format; it's obsoleted by .xml Type="Model" 2005-07-05 23:46:08 +00:00
Glenn Maynard 9a50b17b9d LuaHelpers::RunAtExpressionS
LuaManager::ResetState, LuaHelpers::RunScriptFile locking
2005-06-16 22:17:45 +00:00
Glenn Maynard 6a8940d5a4 LuaHelpers::RunExpressionB 2005-06-16 06:23:59 +00:00
Chris Danford 623dc2512f merge PlayCommand2 and PlayCommand so that Actor derivities only have to override one method to get the correct behavior 2005-06-12 00:35:08 +00:00
Chris Danford 33fa6acb3a warn, don't throw on an invalid Actor 2005-06-07 09:44:38 +00:00
Chris Danford b489c43a88 add color parameter to BGChanges 2005-06-05 22:21:55 +00:00
Glenn Maynard 83543232e9 remove GetID().
(Having two names for each actor is confusing and overcomplicated.)
2005-05-31 08:09:04 +00:00
Steve Checkoway 1a0b3f20f7 Function pointer. 2005-05-30 21:09:48 +00:00
Chris Danford 94a9cda191 add GetFileType to consolidate file extension parsing 2005-05-29 01:04:44 +00:00
Chris Danford 8eaf93a23d position Scroller items with a Lua function
add ActorFrame::m_bDrawByZPosition
2005-05-03 09:29:54 +00:00
Glenn Maynard d0eea6fb5c StdString::Mid is string::substr (but this is cleaner). 2005-04-23 03:54:22 +00:00
Chris Danford a0865f7e2e look for "Class" before "Type". Class = the a C++ class. Type = a section in metrics.ini. 2005-04-11 15:39:44 +00:00
Chris Danford 88baf9dbbc hack: Allow relative paths in Lua expressions 2005-04-06 12:02:49 +00:00
Chris Danford 3d92129181 revert loading of .inis. Don't encourage use of .inis when .xml will do. 2005-04-02 00:24:31 +00:00
Chris Danford 164d272b4c load .ini files as BGAnims 2005-04-01 23:45:59 +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
Chris Danford 3b0ec4950c allow AtExpression for "File" 2005-02-28 04:10:46 +00:00
Glenn Maynard b3a8e8fd4f split out ActorUtil::ResolvePath 2005-02-26 10:07:02 +00:00
Glenn Maynard b8d5a8892a better error reporting 2005-02-26 03:35:10 +00:00
Chris Danford f395d0a401 preload commands 2005-02-23 23:04:06 +00:00
Chris Danford 5ed6736eef sScreenName -> sType 2005-02-23 22:21:39 +00:00
Chris Danford bb032d6a2b improve error message 2005-02-23 19:06:31 +00:00
Chris Danford ef80deedc4 cleanup: use class registration to create actors 2005-02-23 02:14:06 +00:00
Glenn Maynard dfce58ed98 fix commands being parsed multiple times; eg. OnCommand=@'"x," .. foo()' can only run foo() once 2005-02-23 00:22:23 +00:00
Chris Danford cf698b55a0 clean up XML error handling 2005-02-18 13:05:17 +00:00
Chris Danford 6d14988b8a only override type if it wasn't specified 2005-02-15 20:51:03 +00:00
Chris Danford 07f011ef7e make BitmapText accept Font property 2005-02-15 07:57:38 +00:00
Chris Danford 6d7f4cf150 add ScoreDisplayCalories 2005-02-15 07:09:07 +00:00
Chris Danford 8c53c62f2b add Actor type registration 2005-02-09 05:31:14 +00:00
Chris Danford 1de61aa8ae split AutoActor into a separate file 2005-02-09 05:27:51 +00:00
Chris Danford 4223e09cc8 GetPathTo -> GetPath 2005-02-06 03:32:53 +00:00
Chris Danford cd9c48d645 LuaHelpers -> LuaManager 2005-01-24 02:26:55 +00:00
Glenn Maynard 91a6486f9e start changing Lua to a singleton object 2005-01-19 22:27:24 +00:00
Glenn Maynard 9344535419 fix Command/ActorUtil::Command ambiguity 2005-01-17 22:45:00 +00:00
Chris Danford 5d6eb1d236 put ActorUtil functions in a namespace 2005-01-17 05:42:52 +00:00
Chris Danford cda4c3b04a make Actor LoadFromNode signatures consistent 2005-01-17 05:28:16 +00:00
Chris Danford a5d40aad79 fix default.xml loading
add Condition check in LoadFromActorFile
2005-01-17 04:08:08 +00:00
Chris Danford d1adfc6804 load default.xml instead of BGAnimation.ini if available 2005-01-17 01:32:45 +00:00
Chris Danford 8a1fb93003 move attribute loading into the class that owns the attribute 2005-01-16 23:40:21 +00:00
Glenn Maynard b733db6152 remove SongCreditDisplay; use @GetSongCredits() instead 2005-01-16 20:53:29 +00:00
Glenn Maynard 39384227c4 allow Lua expressions in text metrics by prepending @ 2005-01-16 20:36:27 +00:00
Glenn Maynard 9ff1834076 remove LoadFromActorFile overload that's only used in one place 2005-01-16 19:52:41 +00:00
Glenn Maynard c1e3239a5f cleanup 2005-01-16 19:18:23 +00:00
Chris Danford 66c6018ed1 cleanup ugly nested conditionals 2005-01-16 08:15:20 +00:00