GRIM: split lua_v1.cpp

This commit is contained in:
Pawel Kolodziejski 2011-05-08 12:29:41 +02:00
parent f95284a06d
commit ffbfcbefab
3 changed files with 74 additions and 2938 deletions

View File

@ -32,6 +32,7 @@ namespace Grim {
class Actor;
class Color;
class Costume;
class Font;
class ObjectState;
class PrimitiveObject;
@ -39,6 +40,26 @@ class TextObject;
struct TextObjectDefaults;
extern int refSystemTable;
extern int refTypeOverride;
extern int refOldConcatFallback;
extern int refTextObjectX;
extern int refTextObjectY;
extern int refTextObjectFont;
extern int refTextObjectWidth;
extern int refTextObjectHeight;
extern int refTextObjectFGColor;
extern int refTextObjectBGColor;
extern int refTextObjectFXColor;
extern int refTextObjectHIColor;
extern int refTextObjectDuration;
extern int refTextObjectCenter;
extern int refTextObjectLJustify;
extern int refTextObjectRJustify;
extern int refTextObjectVolume;
extern int refTextObjectBackground;
extern int refTextObjectPan;
// Helpers
bool getbool(int num);
void pushbool(bool val);
@ -51,7 +72,7 @@ Color *getcolor(lua_Object obj);
PrimitiveObject *getprimitive(lua_Object obj);
ObjectState *getobjectstate(lua_Object obj);
byte clamp_color(int c);
bool findCostume();
bool findCostume(lua_Object costumeObj, Actor *actor, Costume **costume);
void setDefaultObjectParams(TextObjectDefaults *defaults, lua_Object tableObj);
Common::String parseMsgText(const char *msg, char *msgId);

File diff suppressed because it is too large Load Diff

View File

@ -50,6 +50,10 @@ MODULE_OBJS := \
lipsync.o \
localize.o \
lua_v1.o \
lua_v1_actor.o \
lua_v1_graphics.o \
lua_v1_sound.o \
lua_v1_text.o \
lua_v2.o \
material.o \
model.o \