- Started adding action function declarations to objects.

- Added integer constant declarations to objects.
- Added some new token-based functions to sc_man.cpp that know about keywords
  and record proper type information, so parsers don't need to treat
  everything as strings.
- Added a simple symbol table to PClass.


SVN r394 (trunk)
This commit is contained in:
Randy Heit 2006-11-29 04:51:16 +00:00
commit 4467cd6563
18 changed files with 5541 additions and 744 deletions

View file

@ -664,7 +664,7 @@ static void ParseInsideDecoration (FActorInfo *info, AActor *defaults,
else if (SC_Compare ("Alpha"))
{
SC_MustGetFloat ();
defaults->alpha = int(clamp (sc_Float, 0.f, 1.f) * OPAQUE);
defaults->alpha = int(clamp (sc_Float, 0.0, 1.0) * OPAQUE);
}
else if (SC_Compare ("Scale"))
{