SPEC-7531 Change Code/CryEngine to Code/Legacy (#1634)
* git mv Code\CryEngine Code\Legacy * redirecting CMakeLists.txt * fixing uic warning * Some more CryEngine mentions * validation scripts Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
// Description : iOS specific declarations
|
||||
|
||||
|
||||
#ifndef CRYINCLUDE_CRYCOMMON_IOSSPECIFIC_H
|
||||
#define CRYINCLUDE_CRYCOMMON_IOSSPECIFIC_H
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "AppleSpecific.h"
|
||||
#include <float.h>
|
||||
#include <TargetConditionals.h>
|
||||
|
||||
#if TARGET_IPHONE_SIMULATOR
|
||||
#define IOS_SIMULATOR
|
||||
#include <xmmintrin.h>
|
||||
#define _CPU_AMD64
|
||||
#define _CPU_SSE
|
||||
#else
|
||||
#define _CPU_ARM
|
||||
#define _CPU_NEON
|
||||
#endif
|
||||
|
||||
// detect 64bit iOS
|
||||
#if defined(__LP64__)
|
||||
#define PLATFORM_64BIT
|
||||
#endif
|
||||
|
||||
#if defined(_CPU_ARM) && defined(PLATFORM_64BIT)
|
||||
# define INTERLOCKED_COMPARE_EXCHANGE_128_NOT_SUPPORTED
|
||||
#endif // defined(_CPU_ARM) && defined(PLATFORM_64BIT)
|
||||
|
||||
#ifndef MOBILE
|
||||
#define MOBILE
|
||||
#endif
|
||||
|
||||
// stubs for virtual keys, isn't used on iOS
|
||||
#define VK_UP 0
|
||||
#define VK_DOWN 0
|
||||
#define VK_RIGHT 0
|
||||
#define VK_LEFT 0
|
||||
#define VK_CONTROL 0
|
||||
#define VK_SCROLL 0
|
||||
|
||||
|
||||
//#define USE_CRT 1
|
||||
#if !defined(PLATFORM_64BIT)
|
||||
#error "IOS build only supports the 64bit architecture"
|
||||
#else
|
||||
#define SIZEOF_PTR 8
|
||||
typedef uint64_t threadID;
|
||||
#endif
|
||||
|
||||
#endif // CRYINCLUDE_CRYCOMMON_IOSSPECIFIC_H
|
||||
Reference in New Issue
Block a user