From 7fd25e98f1a689733b6bad449618ebe8f3c91546 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 30 Jul 2016 01:43:55 +0300 Subject: DIRECTOR: Lingo: Added basic support for points --- engines/director/lingo/lingo.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines/director/lingo/lingo.h') diff --git a/engines/director/lingo/lingo.h b/engines/director/lingo/lingo.h index 1859c31473..fe9d4a59dc 100644 --- a/engines/director/lingo/lingo.h +++ b/engines/director/lingo/lingo.h @@ -76,6 +76,7 @@ typedef void (*inst)(void); #define STOP (inst)0 typedef Common::Array ScriptData; +typedef Common::Array FloatArray; struct Symbol { /* symbol table entry */ char *name; @@ -85,6 +86,7 @@ struct Symbol { /* symbol table entry */ double f; /* FLOAT */ ScriptData *defn; /* FUNCTION, PROCEDURE */ Common::String *s; /* STRING */ + FloatArray *arr; /* ARRAY, POINT, RECT */ } u; int nargs; bool global; @@ -100,6 +102,7 @@ struct Datum { /* interpreter stack type */ double f; Common::String *s; Symbol *sym; + FloatArray *arr; /* ARRAY, POINT, RECT */ } u; Datum() { u.sym = NULL; type = VOID; } @@ -258,6 +261,8 @@ public: static void b_dontpassevent(); + static void b_point(); + void func_mci(Common::String &s); void func_mciwait(Common::String &s); void func_goto(Common::String &frame, Common::String &movie); -- cgit v1.2.3