Glenn Maynard
c6fbf980af
remove old ini/xml hacks
2007-05-27 07:34:57 +00:00
Glenn Maynard
2531642710
remove old ini/xml hack
2007-05-27 07:29:33 +00:00
Glenn Maynard
e6f0667494
flip error case
2007-05-27 07:28:18 +00:00
Glenn Maynard
8f82df585e
old comment
2007-05-27 07:26:41 +00:00
Glenn Maynard
6b1bb11770
cleanup
2007-05-27 07:26:22 +00:00
Glenn Maynard
95e7657039
unused param and code path
2007-05-27 07:25:33 +00:00
Glenn Maynard
db940c7d4d
whoops
2007-05-27 07:20:41 +00:00
Glenn Maynard
3ff91647d4
lua always specifies the class
2007-05-27 07:20:08 +00:00
Glenn Maynard
ea6821cc60
remove obsolete .XML actor support
2007-05-27 06:24:16 +00:00
Chris Danford
599db61b62
Always call LoadAllCommands explicitly.
...
The hack to LoadAllCommands when playing a command was leading to weird interactions: If a theme element contained an OnCommand, it would cause the rest of the commands defined in metrics to not be loaded.
2007-02-19 09:30:07 +00:00
Chris Danford
b53362bc95
add !sType.empty() assert
2007-02-16 07:07:40 +00:00
Glenn Maynard
cefa128034
change XNode children to a vector.
...
This means the order of children is preserved.
It also means the name of each node isn't duplicated. This was
an opportunity for an inconsistent XNode tree. Nodes can now be
renamed after being inserted into a tree.
Searching for children by name isn't efficient. Use attributes for that.
2007-02-12 01:52:18 +00:00
Glenn Maynard
a76708dd9f
refactor NoteSkins
2007-02-06 08:03:34 +00:00
Glenn Maynard
6fb3238f6e
split out ActorUtil::LoadXNodeFromStackShowErrors
2007-02-04 08:16:46 +00:00
Glenn Maynard
fc9d79d7b2
remove old actor parameters; obsoleted by LuaThreadVariable
2007-02-03 11:02:45 +00:00
Glenn Maynard
13238ee22e
FT_Sound
2006-12-04 22:32:53 +00:00
Glenn Maynard
d1759bb123
Resolve directory names to embedded default.xml/default.lua files
...
at the pathname resolution stage (THEME:GetPath, ResolvePath),
not at loading. This means that pathnames to Lua files are actually
paths to Lua files, without any extra processing, and we always
load actual files (except for BGAnimation compatibility), not
directories.
(fixes Lua LoadActor() on a directory loading as a BGA and not
as Lua)
2006-11-22 01:51:31 +00:00
Glenn Maynard
e3f3adc963
cleanup
2006-10-15 07:37:50 +00:00
Glenn Maynard
cb26942e45
no backslashes in XML/Lua
2006-10-15 06:46:15 +00:00
Glenn Maynard
70cebc91e1
IsRegisteredType -> IsRegisteredClass
2006-10-15 05:58:27 +00:00
Glenn Maynard
61e58cd51f
bind IsRegisteredType
2006-10-15 05:54:50 +00:00
Glenn Maynard
68db5dff42
proper error messages, and return nil on error
2006-10-15 04:59:48 +00:00
Glenn Maynard
01d6504058
on GetAttrPath where the file doesn't exist and we ignore the error, return false as if the attribute didn't exist
2006-10-15 04:01:12 +00:00
Glenn Maynard
f0227238a5
instead of assuming png, and returning a bad filename, return false
2006-10-15 03:59:24 +00:00
Glenn Maynard
7962c4c739
maybe not, but it doesn't matter
2006-10-15 03:56:46 +00:00
Glenn Maynard
f3ad2fc57c
remove unused
2006-10-15 03:54:53 +00:00
Glenn Maynard
9e89f2acdb
ActorUtil::GetAttrPath does this
2006-10-15 03:44:11 +00:00
Glenn Maynard
2af845a248
ActorUtil::ResolvePath
2006-10-15 02:42:33 +00:00
Glenn Maynard
4ebd0192db
ActorUtil::ResolvePath in ActorUtil::GetAttrPath
2006-10-15 01:45:33 +00:00
Glenn Maynard
6a0d5b1f73
wasn't ready for that transition yet ...
2006-10-15 01:31:15 +00:00
Glenn Maynard
ac22c5015f
XToString -> XToString2
2006-10-15 01:26:52 +00:00
Glenn Maynard
6f93fca60b
no params
2006-10-15 01:23:00 +00:00
Glenn Maynard
72b59c1405
pass pParentActor
2006-10-15 01:21:54 +00:00
Glenn Maynard
f4dc9ddf25
sName is a file now, not a dir
2006-10-15 01:20:33 +00:00
Steve Checkoway
e87789da7c
Rename XToString2 to XToString.
2006-10-15 00:09:18 +00:00
Steve Checkoway
04bff6bc1d
Use XToString2.
2006-10-15 00:00:22 +00:00
Glenn Maynard
5c88094731
bind FileType
2006-10-14 23:35:31 +00:00
Glenn Maynard
d639ff3388
bind ActorUtil::GetFileType
2006-10-14 23:34:41 +00:00
Glenn Maynard
36813781f0
flip arg order
2006-10-14 04:48:19 +00:00
Glenn Maynard
5f7ae39e0a
unused
2006-10-14 04:07:46 +00:00
Glenn Maynard
52f5c12896
also for consistency (eg. so pParentActor is always applied)
2006-10-14 04:06:49 +00:00
Glenn Maynard
a48f7f39f6
for consistency
2006-10-14 04:04:48 +00:00
Glenn Maynard
df0e709c77
AtCommands not used here anymore
2006-10-14 04:02:53 +00:00
Glenn Maynard
35ca5329ec
this doesn't need to be fatal
2006-10-14 03:55:54 +00:00
Glenn Maynard
c435cdd305
not used (directly)
2006-10-14 03:52:40 +00:00
Glenn Maynard
33d0eeff0c
same style code path for BGAnimation as sprite and model
2006-10-14 03:52:11 +00:00
Glenn Maynard
394950b1eb
FileType_Invalid
2006-10-14 02:59:24 +00:00
Glenn Maynard
633adf30b7
if a path ends in a slash, it's always a directory
2006-10-14 02:57:24 +00:00
Glenn Maynard
98a752669f
remove ActorParam
2006-10-14 02:39:52 +00:00
Glenn Maynard
28ff9ee684
simplify
2006-10-13 21:59:19 +00:00