Commit Graph

97 Commits

Author SHA1 Message Date
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
Chris Danford 86d66c6e23 fix Type= specification in BGALayer 2005-01-08 02:05:31 +00:00
Chris Danford ea43f8ee1b support loading BGAs from XML 2005-01-07 22:01:57 +00:00
Glenn Maynard 964ceb6e0e handle &aliases; in .actor text 2005-01-07 21:27:30 +00:00
Chris Danford 981e52ec58 merge IniFile and XmlFile 2005-01-07 14:28:00 +00:00
Glenn Maynard 95408c9689 Can't find any reason why I didn't do it this way to begin with; seems to work
fine ...
2005-01-04 22:50:27 +00:00
Chris Danford 78db0513dc sClassName -> sScreenName
load commands from .actor files
2005-01-04 10:42:59 +00:00
Chris Danford a675190a55 Don't re-parse the ini file multiple times per BGALayer. Yuck. 2004-12-27 10:24:54 +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 7f336c2ce6 self-registering screen classes 2004-11-26 17:28:47 +00:00
Charles Lohr 70ea342ac1 Move: Utility from ActorUtil to ScreenNetBase 2004-11-24 00:00:56 +00:00
Charles Lohr b43d281b78 Cleanup; Get rid of nasty repetitive code. 2004-11-23 22:06:27 +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