Header clean up
This commit is contained in:
parent
9aae773e91
commit
0aa61ec746
@ -54,6 +54,7 @@
|
|||||||
#include "karts/explosion_animation.hpp"
|
#include "karts/explosion_animation.hpp"
|
||||||
#include "karts/kart_gfx.hpp"
|
#include "karts/kart_gfx.hpp"
|
||||||
#include "karts/kart_model.hpp"
|
#include "karts/kart_model.hpp"
|
||||||
|
#include "karts/kart_properties.hpp"
|
||||||
#include "karts/kart_properties_manager.hpp"
|
#include "karts/kart_properties_manager.hpp"
|
||||||
#include "karts/kart_rewinder.hpp"
|
#include "karts/kart_rewinder.hpp"
|
||||||
#include "karts/max_speed.hpp"
|
#include "karts/max_speed.hpp"
|
||||||
@ -3019,10 +3020,15 @@ const Vec3& Kart::getNormal() const
|
|||||||
} // getNormal
|
} // getNormal
|
||||||
|
|
||||||
// ------------------------------------------------------------------------
|
// ------------------------------------------------------------------------
|
||||||
|
|
||||||
void Kart::playSound(SFXBuffer* buffer)
|
void Kart::playSound(SFXBuffer* buffer)
|
||||||
{
|
{
|
||||||
getNextEmitter()->play(getXYZ(), buffer);
|
getNextEmitter()->play(getXYZ(), buffer);
|
||||||
}
|
} // playSound
|
||||||
|
|
||||||
|
// ------------------------------------------------------------------------
|
||||||
|
const video::SColor& Kart::getColor() const
|
||||||
|
{
|
||||||
|
return m_kart_properties->getColor();
|
||||||
|
} // getColor
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
@ -30,9 +30,10 @@
|
|||||||
|
|
||||||
#include "items/powerup_manager.hpp" // For PowerupType
|
#include "items/powerup_manager.hpp" // For PowerupType
|
||||||
#include "karts/abstract_kart.hpp"
|
#include "karts/abstract_kart.hpp"
|
||||||
#include "karts/kart_properties.hpp"
|
|
||||||
#include "utils/no_copy.hpp"
|
#include "utils/no_copy.hpp"
|
||||||
|
|
||||||
|
#include <SColor.h>
|
||||||
|
|
||||||
class AbstractKartAnimation;
|
class AbstractKartAnimation;
|
||||||
class Attachment;
|
class Attachment;
|
||||||
class btKart;
|
class btKart;
|
||||||
@ -347,8 +348,7 @@ public:
|
|||||||
virtual btTransform getAlignedTransform(const float customPitch=-1);
|
virtual btTransform getAlignedTransform(const float customPitch=-1);
|
||||||
// -------------------------------------------------------------------------
|
// -------------------------------------------------------------------------
|
||||||
/** Returns the color used for this kart. */
|
/** Returns the color used for this kart. */
|
||||||
const video::SColor &getColor() const
|
const irr::video::SColor &getColor() const;
|
||||||
{return m_kart_properties->getColor();}
|
|
||||||
// ------------------------------------------------------------------------
|
// ------------------------------------------------------------------------
|
||||||
/** Returns the time till full steering is reached for this kart.
|
/** Returns the time till full steering is reached for this kart.
|
||||||
* \param steer Current steer value (must be >=0), on which the time till
|
* \param steer Current steer value (must be >=0), on which the time till
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "graphics/material.hpp"
|
#include "graphics/material.hpp"
|
||||||
#include "karts/kart.hpp"
|
#include "karts/kart.hpp"
|
||||||
#include "karts/kart_model.hpp"
|
#include "karts/kart_model.hpp"
|
||||||
|
#include "karts/kart_properties.hpp"
|
||||||
#include "physics/triangle_mesh.hpp"
|
#include "physics/triangle_mesh.hpp"
|
||||||
#include "tracks/terrain_info.hpp"
|
#include "tracks/terrain_info.hpp"
|
||||||
#include "tracks/track.hpp"
|
#include "tracks/track.hpp"
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
#include "script_kart.hpp"
|
#include "script_kart.hpp"
|
||||||
|
|
||||||
#include "karts/kart.hpp"
|
#include "karts/kart.hpp"
|
||||||
|
#include "karts/kart_properties.hpp"
|
||||||
#include "modes/world.hpp"
|
#include "modes/world.hpp"
|
||||||
#include "scriptvec3.hpp"
|
#include "scriptvec3.hpp"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user