cs sdk v 1.14 released

Home  |  Product  |  Documents  |  Tutorials  |  FAQ |   Download  |   Forum |   Contacts  |   Link  


  Cross Suit

 Cross Suit SDK

 Documents
      classes
 Starting...
           Tutorials

 LUA tutorials

   Support

  Forum
  q&a

 Product parts

 Virtual File system

 Virtual Render
 Virtual Machine
   

  Demo Games

   

 3D Engine

  gvSystem(dx9)

 Link

 

 

geSCRIPT.h

Go to the documentation of this file.
00001 /******************************************************
00002         gv System engine 3D/2D
00003 *******************************************************/
00004 
00005 #pragma once
00006 // 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_EXPORTS
00008 // symbol defined on the command line. this symbol should not be defined on any project
00009 // 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 symbols
00011 // 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.dll
00019 class CGeScript 
00020 {
00021 public:
00022                 
00023         CGeScript(void);
00024         ~CGeScript(void);
00025         // TODO: add your methods here.
00030         void init(void);
00031 
00032         void runfile(char* filename);
00033         Script* runscript(unsigned char* pmem, unsigned long lsize,const char* szTag=0x00);
00035         Script* runaddscript(unsigned char* pmem, unsigned long lsize);
00036         void update(float fTime);
00037         void updateScript(float fTime);
00038         void render(void);
00039         void shut(void);
00040         bool m_bActive; 
00041 };
00042 
00043 extern int nGeScript;
00044 
00045 int fnGeScript(void);
00046 extern gv_OBJECT_RECT* GetEntityFromLUA(const char* szName);
00047 
00048 

Copyright(C) gvSystem & GamePlus All Rights Reserved.