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

 

 

gv.h

Go to the documentation of this file.
00001 /******************************************************
00002         gv System engine 3D/2D
00003 *******************************************************/
00004 
00005 #pragma once
00006 #ifndef __GV_H__
00007 #define __GV_H__
00008 
00009 #ifdef _WIN32
00010 #pragma warning( push )
00011 #pragma warning( disable:4100 ) // 'variable' : pointer truncation from 'type' to 'type'
00012 #pragma warning( disable:4514 ) // 'variable' : pointer truncation from 'type' to 'type'
00013 #pragma warning( disable:4786 ) // 'variable' : pointer truncation from 'type' to 'type'
00014 #endif
00015 
00016 
00017 //
00018 #ifndef __GSYSTEM_H__
00019 #include "GV_SYSTEM.H"
00020 #endif
00021 #include "gv_timer.h"
00022 
00023 #include "gv_util_win32_windows.h"
00024 
00025 #include "gv_var_global.h"
00026 
00027 #include "gm_texture.h"
00028 
00029 #include "gm_rand.h"
00030 
00031 
00032 //
00034 class GV_SYSTEM
00035 {
00036 public:
00046         static void SET_SHA256(bool bFlag);
00047 
00051         static bool GET_SHA256(void);
00052 
00053         static void TIMERUPDATE();
00054 
00055         static void INPUTUPDATE();
00056         static void CONSOLEUPDATE();
00061         static void init_linux(void);
00062         static void SHUT();
00063         static void ReCalcWindow(int dx, int dy);
00064         static void CONSOLE_HEIGHT_UPDATE();
00065         static Error*                   err;
00066         static IOutputDevice*   out;
00067         static vars*                    cvars;
00068         static gv_iTimer*               timer;
00070         static bool IsInit;
00071         static bool IsConsoleActivate;
00072         static bool IsInputActive;
00073         static bool IsSha256; // sha256
00082         static bool ADD_BASE_PATH(const char* szPath);
00083 
00084         static void REGISTERVAR();
00085         static void UNREGISTERVAR();
00086         
00087 };
00088 //
00089 
00090 
00094 #define GV_FRAMETIME  (float)Import.timer->frametime
00095 
00096 #endif
00097 
00098 
00099 
00100 

Copyright(C) gvSystem & GamePlus All Rights Reserved.