mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Removes bits of code and includes that are based on old 360, xbox and PS3 flags that are no longer needed.
This commit is contained in:
parent
513789c2c7
commit
26fd24fbab
43 changed files with 35 additions and 356 deletions
|
|
@ -40,7 +40,7 @@ class Path
|
|||
public:
|
||||
enum Separator
|
||||
{
|
||||
#if defined(TORQUE_OS_WIN) || defined(TORQUE_OS_XENON)
|
||||
#if defined(TORQUE_OS_WIN)
|
||||
OsSeparator = '\\'
|
||||
#else
|
||||
OsSeparator = '/'
|
||||
|
|
|
|||
|
|
@ -1427,7 +1427,7 @@ void String::copy(StringChar* dst, const StringChar *src, U32 len)
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#if defined(TORQUE_OS_WIN) || defined(TORQUE_OS_XBOX) || defined(TORQUE_OS_XENON)
|
||||
#if defined(TORQUE_OS_WIN)
|
||||
// This standard function is not defined when compiling with VC7...
|
||||
#define vsnprintf _vsnprintf
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -154,8 +154,4 @@ inline void Swizzle<T, mapLength>::InPlace( void *memory, const dsize_t size ) c
|
|||
// Template specializations for certain swizzles
|
||||
//#include "core/util/swizzleSpec.h"
|
||||
|
||||
#ifdef TORQUE_OS_XENON
|
||||
# include "platformXbox/altivecSwizzle.h"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
@ -100,17 +100,12 @@ typedef struct {
|
|||
unsigned16 cs; /* saved clock sequence */
|
||||
} uuid_state;
|
||||
|
||||
#if defined(_XBOX)
|
||||
#include <xtl.h>
|
||||
#elif defined(_WIN32)
|
||||
#if defined(_WIN32)
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#include <unistd.h>
|
||||
#ifdef XP_BEOS
|
||||
#include <be/net/netdb.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* set the following to the number of 100ns ticks of the actual resolution of
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue