mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Merge remote-tracking branch 'smally/platform_type_consistency' into platform-type-consistency
Conflicts: Engine/source/platform/platformCPUCount.cpp
This commit is contained in:
commit
87d9e245b7
210 changed files with 896 additions and 896 deletions
|
|
@ -43,7 +43,7 @@ extern "C" {
|
|||
return so->getClassName();
|
||||
}
|
||||
|
||||
void *SimObject_GetFieldList(SimObject *so, int &outNumFields)
|
||||
void *SimObject_GetFieldList(SimObject *so, S32 &outNumFields)
|
||||
{
|
||||
const AbstractClassRep::FieldList &fl = so->getFieldList();
|
||||
outNumFields = fl.size();
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ extern "C" {
|
|||
return false;
|
||||
}
|
||||
|
||||
void script_simobject_setfield_int(U32 objectId, const char* fieldName, int v)
|
||||
void script_simobject_setfield_int(U32 objectId, const char* fieldName, S32 v)
|
||||
{
|
||||
SimObject *object = Sim::findObject( objectId );
|
||||
if( object )
|
||||
|
|
@ -291,12 +291,12 @@ extern "C" {
|
|||
entry->cb.mVoidCallbackFunc(o, argc, argv);
|
||||
}
|
||||
|
||||
int script_simobject_get_id(SimObject* so)
|
||||
S32 script_simobject_get_id(SimObject* so)
|
||||
{
|
||||
return so->getId();
|
||||
}
|
||||
|
||||
int script_simobject_find(const char* classname, const char* name)
|
||||
S32 script_simobject_find(const char* classname, const char* name)
|
||||
{
|
||||
SimObject *object;
|
||||
if( Sim::findObject( name, object ) )
|
||||
|
|
@ -385,7 +385,7 @@ extern "C" {
|
|||
|
||||
#ifdef TORQUE_OS_WIN
|
||||
|
||||
void script_input_event(int type, int value1, int value2)
|
||||
void script_input_event(S32 type, S32 value1, S32 value2)
|
||||
{
|
||||
if (PlatformWindowManager::get() && PlatformWindowManager::get()->getFirstWindow())
|
||||
{
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ extern void createFontShutdown(void);
|
|||
#endif
|
||||
|
||||
#if defined( TORQUE_MINIDUMP ) && defined( TORQUE_RELEASE )
|
||||
extern INT CreateMiniDump(LPEXCEPTION_POINTERS ExceptionInfo);
|
||||
extern S32 CreateMiniDump(LPEXCEPTION_POINTERS ExceptionInfo);
|
||||
#endif
|
||||
|
||||
static HashTable<StringTableEntry,StringTableEntry> gSecureScript;
|
||||
|
|
@ -47,7 +47,7 @@ static HashTable<StringTableEntry,StringTableEntry> gSecureScript;
|
|||
// ObjC hooks for shared library support
|
||||
// See: macMain.mm
|
||||
|
||||
void torque_mac_engineinit(int argc, const char **argv);
|
||||
void torque_mac_engineinit(S32 argc, const char **argv);
|
||||
void torque_mac_enginetick();
|
||||
void torque_mac_engineshutdown();
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ extern "C" {
|
|||
}
|
||||
|
||||
// initialize Torque 3D including argument handling
|
||||
int torque_engineinit(S32 argc, const char **argv)
|
||||
S32 torque_engineinit(S32 argc, const char **argv)
|
||||
{
|
||||
|
||||
#if defined( TORQUE_MINIDUMP ) && defined( TORQUE_RELEASE )
|
||||
|
|
@ -105,7 +105,7 @@ extern "C" {
|
|||
}
|
||||
|
||||
// tick Torque 3D's main loop
|
||||
int torque_enginetick()
|
||||
S32 torque_enginetick()
|
||||
{
|
||||
|
||||
#if defined( TORQUE_MINIDUMP ) && defined( TORQUE_RELEASE )
|
||||
|
|
@ -139,7 +139,7 @@ extern "C" {
|
|||
}
|
||||
|
||||
// shutdown the engine
|
||||
int torque_engineshutdown()
|
||||
S32 torque_engineshutdown()
|
||||
{
|
||||
|
||||
#if defined( TORQUE_MINIDUMP ) && defined( TORQUE_RELEASE )
|
||||
|
|
@ -181,7 +181,7 @@ extern "C" {
|
|||
|
||||
}
|
||||
|
||||
int torque_getconsolebool(const char* name)
|
||||
S32 torque_getconsolebool(const char* name)
|
||||
{
|
||||
return Con::getBoolVariable(name);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue