Torque3D Documentation / _generateds / c_controlInterface.h

c_controlInterface.h

Engine/source/cinterface/c_controlInterface.h

More...

Public Functions

TORQUE_API bool
torque_engineinit(S32 argc, const char ** argv)
TORQUE_API S32
TORQUE_API const char *
TORQUE_API bool
TORQUE_API void
TORQUE_API void
torque_resizewindow(S32 width, S32 height)

Detailed Description

Public Functions

torque_engineinit(S32 argc, const char ** argv)

torque_engineshutdown()

torque_enginesignalshutdown()

torque_enginetick()

torque_getexecutablepath()

torque_getreturnstatus()

torque_isdebugbuild()

torque_reset()

torque_resizewindow(S32 width, S32 height)

torque_setwebdeployment()

 1
 2//-----------------------------------------------------------------------------
 3// Copyright (c) 2012 GarageGames, LLC
 4//
 5// Permission is hereby granted, free of charge, to any person obtaining a copy
 6// of this software and associated documentation files (the "Software"), to
 7// deal in the Software without restriction, including without limitation the
 8// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 9// sell copies of the Software, and to permit persons to whom the Software is
10// furnished to do so, subject to the following conditions:
11//
12// The above copyright notice and this permission notice shall be included in
13// all copies or substantial portions of the Software.
14//
15// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21// IN THE SOFTWARE.
22//-----------------------------------------------------------------------------
23
24#ifndef C_CONTROLINTERFACE_H
25#define C_CONTROLINTERFACE_H
26#include "platform/platformDlibrary.h"
27#include "console/engineFunctions.h"
28
29TORQUE_API void torque_reset();
30TORQUE_API bool torque_engineinit(S32 argc, const char **argv);
31TORQUE_API S32 torque_enginetick();
32TORQUE_API S32 torque_getreturnstatus();
33TORQUE_API void torque_enginesignalshutdown();
34TORQUE_API S32 torque_engineshutdown();
35TORQUE_API bool torque_isdebugbuild();
36TORQUE_API void torque_setwebdeployment();
37TORQUE_API void torque_resizewindow(S32 width, S32 height);
38
39#if defined(TORQUE_OS_WIN) && !defined(TORQUE_SDL)
40TORQUE_API void* torque_gethwnd();
41TORQUE_API void torque_directmessage(U32 message, U32 wparam, U32 lparam);
42#endif
43#ifdef TORQUE_OS_WIN
44TORQUE_API void torque_inputevent(S32 type, S32 value1, S32 value2);
45#endif
46
47TORQUE_API const char* torque_getexecutablepath();
48
49#endif // C_CONTROLINTERFACE_H
50