Remove irrlicht.h in tracks code
This commit is contained in:
parent
ec76b29633
commit
6b9a34b767
@ -33,6 +33,7 @@
|
||||
|
||||
#include <limits>
|
||||
#include <ICameraSceneNode.h>
|
||||
#include <ISceneManager.h>
|
||||
#include <SViewFrustum.h>
|
||||
|
||||
#define MAX2(a, b) ((a) > (b) ? (a) : (b))
|
||||
|
@ -36,6 +36,8 @@
|
||||
#include "utils/constants.hpp"
|
||||
#include "utils/string_utils.hpp"
|
||||
|
||||
#include <ISceneNode.h>
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
Plunger::Plunger(AbstractKart *kart)
|
||||
: Flyable(kart, PowerupManager::POWERUP_PLUNGER)
|
||||
|
@ -41,6 +41,8 @@
|
||||
|
||||
#include "utils/log.hpp" //TODO: remove after debugging is done
|
||||
|
||||
#include <ISceneNode.h>
|
||||
|
||||
float RubberBall::m_st_interval;
|
||||
float RubberBall::m_st_min_interpolation_distance;
|
||||
float RubberBall::m_st_squash_duration;
|
||||
|
@ -47,6 +47,8 @@
|
||||
#include "utils/log.hpp"
|
||||
#include "utils/vs.hpp"
|
||||
|
||||
#include <line2d.h>
|
||||
|
||||
#ifdef AI_DEBUG
|
||||
# include "irrlicht.h"
|
||||
using namespace irr;
|
||||
|
@ -47,6 +47,8 @@
|
||||
#include "utils/log.hpp"
|
||||
#include "utils/vs.hpp"
|
||||
|
||||
#include <line2d.h>
|
||||
|
||||
#ifdef AI_DEBUG
|
||||
# include "irrlicht.h"
|
||||
using namespace irr;
|
||||
|
@ -39,6 +39,7 @@
|
||||
#include "utils/string_utils.hpp"
|
||||
|
||||
#include <ISceneManager.h>
|
||||
#include <IMeshManipulator.h>
|
||||
#include <IMeshSceneNode.h>
|
||||
#include <ITexture.h>
|
||||
using namespace irr;
|
||||
|
@ -37,6 +37,7 @@
|
||||
#include "utils/translation.hpp"
|
||||
|
||||
#include <IGUIEnvironment.h>
|
||||
#include <IGUIScrollBar.h>
|
||||
|
||||
using namespace GUIEngine;
|
||||
using namespace irr;
|
||||
|
@ -58,6 +58,8 @@
|
||||
#include "utils/string_utils.hpp"
|
||||
#include "utils/translation.hpp"
|
||||
|
||||
#include <IGUIEnvironment.h>
|
||||
|
||||
using namespace Online;
|
||||
using namespace GUIEngine;
|
||||
|
||||
|
@ -32,8 +32,6 @@
|
||||
#include "tracks/graph.hpp"
|
||||
#include "tracks/quad.hpp"
|
||||
|
||||
#include "irrlicht.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
@ -33,6 +33,9 @@
|
||||
#include "tracks/track.hpp"
|
||||
#include "utils/log.hpp"
|
||||
|
||||
#include <ICameraSceneNode.h>
|
||||
#include <ISceneManager.h>
|
||||
|
||||
#ifndef SERVER_ONLY
|
||||
#include <ge_main.hpp>
|
||||
#endif
|
||||
|
@ -26,6 +26,7 @@ using namespace irr;
|
||||
#include "modes/world.hpp"
|
||||
#include "tracks/track.hpp"
|
||||
|
||||
#include <IAnimatedMeshSceneNode.h>
|
||||
#include <IMeshSceneNode.h>
|
||||
#include <ISceneManager.h>
|
||||
#include <IMeshManipulator.h>
|
||||
|
@ -29,7 +29,6 @@ class Track;
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
#include <irrlicht.h>
|
||||
#include "io/xml_node.hpp"
|
||||
|
||||
namespace irr
|
||||
|
@ -32,7 +32,21 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <irrlicht.h>
|
||||
#include <irrString.h>
|
||||
#include <rect.h>
|
||||
#include <SColor.h>
|
||||
|
||||
namespace irr
|
||||
{
|
||||
namespace scene
|
||||
{
|
||||
class IMesh; class ISceneNode;
|
||||
}
|
||||
namespace video
|
||||
{
|
||||
class IImage; class ITexture;
|
||||
}
|
||||
}
|
||||
|
||||
using namespace irr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user