mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-22 10:22:52 +01:00
rwengine: iwyu: reduce warnings in dynamics subdirectory
This commit is contained in:
parent
590509037c
commit
a7203e00a0
@ -16,6 +16,13 @@
|
||||
{ "include": [ "@<boost/range/iterator_range_core\\.hpp>", "private", "<boost/range/iterator_range.hpp>", "public"] },
|
||||
# Bullet:
|
||||
{ "include": [ "@<BulletDynamics/Character/.*>", "public", "<btBulletDynamicsCommon.h>", "public"] },
|
||||
{ "include": [ "@<BulletDynamics/Dynamics/.*>", "public", "<btBulletDynamicsCommon.h>", "public"] },
|
||||
{ "include": [ "@<BulletCollision/CollisionShapes/.*>", "public", "<btBulletDynamicsCommon.h>", "public"] },
|
||||
{ "include": [ "@<BulletCollision/CollisionDispatch/.*>", "public", "<btBulletDynamicsCommon.h>", "public"] },
|
||||
{ "include": [ "@<LinearMath/btMotionState\\.h>", "public", "<btBulletDynamicsCommon.h>", "public"] },
|
||||
{ "include": [ "@<LinearMath/btQuaternion\\.h>", "public", "<btBulletDynamicsCommon.h>", "public"] },
|
||||
{ "include": [ "@<LinearMath/btTransform\\.h>", "public", "<btBulletDynamicsCommon.h>", "public"] },
|
||||
{ "include": [ "@<LinearMath/btVector3\\.h>", "public", "<btBulletDynamicsCommon.h>", "public"] },
|
||||
# libavcodec / libavutil
|
||||
{ "include": [ "@<libavcodec/version\\.h>", "public", "<libavcodec/avcodec.h>", "public"] },
|
||||
{ "include": [ "@<libavutil/version\\.h>", "public", "<libavutil/avutil.h>", "public"] },
|
||||
|
@ -1,8 +1,18 @@
|
||||
#include <dynamics/CollisionInstance.hpp>
|
||||
#include "dynamics/CollisionInstance.hpp"
|
||||
|
||||
#include <engine/GameData.hpp>
|
||||
#include <engine/GameWorld.hpp>
|
||||
#include <objects/GameObject.hpp>
|
||||
#include <algorithm>
|
||||
#include <cstddef>
|
||||
#include <limits>
|
||||
|
||||
#include <btBulletDynamicsCommon.h>
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/gtc/quaternion.hpp>
|
||||
|
||||
#include "data/CollisionModel.hpp"
|
||||
#include "data/ModelData.hpp"
|
||||
#include "engine/GameWorld.hpp"
|
||||
#include "objects/GameObject.hpp"
|
||||
#include "objects/VehicleInfo.hpp"
|
||||
|
||||
class GameObjectMotionState : public btMotionState {
|
||||
public:
|
||||
|
@ -1,10 +1,13 @@
|
||||
#ifndef RWENGINE_COLLISIONINSTANCE_HPP
|
||||
#define RWENGINE_COLLISIONINSTANCE_HPP
|
||||
#include <btBulletDynamicsCommon.h>
|
||||
#include <data/CollisionModel.hpp>
|
||||
#include <string>
|
||||
#ifndef _RWENGINE_COLLISIONINSTANCE_HPP_
|
||||
#define _RWENGINE_COLLISIONINSTANCE_HPP_
|
||||
#include <vector>
|
||||
|
||||
class btCollisionShape;
|
||||
class btMotionState;
|
||||
class btRigidBody;
|
||||
class btTriangleIndexVertexArray;
|
||||
struct CollisionModel;
|
||||
|
||||
class GameObject;
|
||||
struct DynamicObjectData;
|
||||
struct VehicleHandlingInfo;
|
||||
|
@ -1,4 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef _RWENGINE_RAYCASTCALLBACKS_HPP_
|
||||
#define _RWENGINE_RAYCASTCALLBACKS_HPP_
|
||||
|
||||
#include <btBulletDynamicsCommon.h>
|
||||
|
||||
/**
|
||||
@ -23,3 +25,5 @@ public:
|
||||
normalInWorldSpace);
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user