1
0
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:
Anonymous Maarten 2017-10-31 02:28:19 +01:00 committed by Daniel Evans
parent 590509037c
commit a7203e00a0
4 changed files with 34 additions and 10 deletions

View File

@ -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"] },

View File

@ -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:

View File

@ -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;

View File

@ -1,4 +1,6 @@
#pragma once
#ifndef _RWENGINE_RAYCASTCALLBACKS_HPP_
#define _RWENGINE_RAYCASTCALLBACKS_HPP_
#include <btBulletDynamicsCommon.h>
/**
@ -23,3 +25,5 @@ public:
normalInWorldSpace);
}
};
#endif