- Changed state label storage so that each actor owns all the state labels itself

and doesn't have to traverse parent lists to find them. This is required for
  Dehacked actors that inherit states (e.g. NonsolidMeat and Spectre) but it also
  makes the data much easier to handle.


SVN r413 (trunk)
This commit is contained in:
Christoph Oelckers 2006-12-16 12:50:36 +00:00
commit 979dfdf4cf
6 changed files with 92 additions and 131 deletions

View file

@ -357,7 +357,7 @@ static void ParseDecorate (void (*process)(FState *, int))
info = type->ActorInfo;
info->GameFilter = 0x80;
Decorations.Push (info);
ClearStateLabels();
MakeStateDefines(parent->ActorInfo->StateList);
SC_MustGetString ();
while (!SC_Compare ("{"))