Initial commit
This commit is contained in:
40
Torque/SDK/engine/game/gameTSCtrl.h
Normal file
40
Torque/SDK/engine/game/gameTSCtrl.h
Normal file
@@ -0,0 +1,40 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// Torque Game Engine
|
||||
// Copyright (C) GarageGames.com, Inc.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef _GAMETSCTRL_H_
|
||||
#define _GAMETSCTRL_H_
|
||||
|
||||
#ifndef _DGL_H_
|
||||
#include "dgl/dgl.h"
|
||||
#endif
|
||||
#ifndef _GAME_H_
|
||||
#include "game/game.h"
|
||||
#endif
|
||||
#ifndef _GUITSCONTROL_H_
|
||||
#include "gui/core/guiTSControl.h"
|
||||
#endif
|
||||
|
||||
class ProjectileData;
|
||||
class GameBase;
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
class GameTSCtrl : public GuiTSCtrl
|
||||
{
|
||||
private:
|
||||
typedef GuiTSCtrl Parent;
|
||||
|
||||
public:
|
||||
GameTSCtrl();
|
||||
|
||||
bool processCameraQuery(CameraQuery *query);
|
||||
void renderWorld(const RectI &updateRect);
|
||||
|
||||
void onMouseMove(const GuiEvent &evt);
|
||||
void onRender(Point2I offset, const RectI &updateRect);
|
||||
|
||||
DECLARE_CONOBJECT(GameTSCtrl);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user