/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or the license accompanying this file. Do not * remove or modify any license notices. This file is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * */ // Original file Copyright Crytek GMBH or its affiliates, used under license. #ifndef CRYINCLUDE_CRYCOMMON_IPHYSICS_H #define CRYINCLUDE_CRYCOMMON_IPHYSICS_H #pragma once // #ifdef PHYSICS_EXPORTS #define CRYPHYSICS_API DLL_EXPORT #else #define CRYPHYSICS_API DLL_IMPORT #endif #define vector_class Vec3_tpl #include ////////////////////////////////////////////////////////////////////////// // IDs that can be used for foreign id. ////////////////////////////////////////////////////////////////////////// enum EPhysicsForeignIds { PHYS_FOREIGN_ID_TERRAIN = 0, PHYS_FOREIGN_ID_STATIC = 1, PHYS_FOREIGN_ID_ENTITY = 2, PHYS_FOREIGN_ID_FOLIAGE = 3, PHYS_FOREIGN_ID_ROPE = 4, PHYS_FOREIGN_ID_SOUND_OBSTRUCTION = 5, PHYS_FOREIGN_ID_SOUND_PROXY_OBSTRUCTION = 6, PHYS_FOREIGN_ID_SOUND_REVERB_OBSTRUCTION = 7, PHYS_FOREIGN_ID_WATERVOLUME = 8, PHYS_FOREIGN_ID_BREAKABLE_GLASS = 9, PHYS_FOREIGN_ID_BREAKABLE_GLASS_FRAGMENT = 10, PHYS_FOREIGN_ID_RIGID_PARTICLE = 11, PHYS_FOREIGN_ID_RESERVED1 = 12, PHYS_FOREIGN_ID_RAGDOLL = 13, PHYS_FOREIGN_ID_COMPONENT_ENTITY = 14, PHYS_FOREIGN_ID_USER = 100, // All user defined foreign ids should start from this enum. }; //#include "utils.h" #include "Cry_Math.h" #include "primitives.h" #include // <> required for Interfuscator #if ENABLE_CRY_PHYSICS extern "C" CRYPHYSICS_API IPhysicalWorld * CreatePhysicalWorld(struct ISystem* pLog); #endif // ENABLE_CRY_PHYSICS #endif // CRYINCLUDE_CRYCOMMON_IPHYSICS_H