00001 /******************************************************00002 gv System engine 3D/2D00003 *******************************************************/00004
00005 #pragma once00006 // The following ifdef block is the standard way of creating macros which make exporting 00007 // from a DLL simpler. All files within this DLL are compiled with the GESCRIPT_EXPORTS00008 // symbol defined on the command line. this symbol should not be defined on any project00009 // that uses this DLL. This way any other project whose source files include this file see 00010 // GESCRIPT_API functions as being imported from a DLL, wheras this DLL sees symbols00011 // defined with this macro as being exported.00012
00014 #include "lua_object_rect.h"00015 #include "lua_Script.h"00016 //00017
00018 // This class is exported from the geScript.dll00019class CGeScript00020 {
00021 public:
00022
00023 CGeScript(void);
00024 ~CGeScript(void);
00025 // TODO: add your methods here.00030 voidinit(void);
00031
00032 voidrunfile(char* filename);
00033 Script* runscript(unsignedchar* pmem, unsignedlong lsize,constchar* szTag=0x00);
00035 Script* runaddscript(unsignedchar* pmem, unsignedlong lsize);
00036 voidupdate(float fTime);
00037 voidupdateScript(float fTime);
00038 voidrender(void);
00039 voidshut(void);
00040boolm_bActive;
00041 };
00042
00043 externintnGeScript;
00044
00045 intfnGeScript(void);
00046 externgv_OBJECT_RECT* GetEntityFromLUA(constchar* szName);
00047
00048
Copyright(C) gvSystem & GamePlus All Rights Reserved.