More NoCopy.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5946 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
3e4cc2eab7
commit
64d3476067
@ -21,6 +21,7 @@
|
||||
#define HEADER_ATTACHMENT_HPP
|
||||
|
||||
#include "config/stk_config.hpp"
|
||||
#include "utils/no_copy.hpp"
|
||||
#include "utils/random_generator.hpp"
|
||||
|
||||
class Kart;
|
||||
@ -43,7 +44,7 @@ enum attachmentType
|
||||
/**
|
||||
* \ingroup items
|
||||
*/
|
||||
class Attachment
|
||||
class Attachment: public NoCopy
|
||||
{
|
||||
private:
|
||||
attachmentType m_type; //!< attachment type
|
||||
|
@ -21,11 +21,12 @@
|
||||
|
||||
#include "irrlicht.h"
|
||||
#include "items/attachment.hpp"
|
||||
#include "utils/no_copy.hpp"
|
||||
|
||||
/**
|
||||
* \ingroup items
|
||||
*/
|
||||
class AttachmentManager
|
||||
class AttachmentManager: public NoCopy
|
||||
{
|
||||
private:
|
||||
scene::IAnimatedMesh *m_attachments[ATTACH_MAX];
|
||||
|
@ -30,6 +30,7 @@ using namespace irr;
|
||||
#include "items/powerup_manager.hpp"
|
||||
#include "karts/moveable.hpp"
|
||||
#include "tracks/terrain_info.hpp"
|
||||
#include "utils/no_copy.hpp"
|
||||
|
||||
class FlyableInfo;
|
||||
class Kart;
|
||||
@ -39,7 +40,7 @@ class XMLNode;
|
||||
/**
|
||||
* \ingroup items
|
||||
*/
|
||||
class Flyable : public Moveable, public TerrainInfo
|
||||
class Flyable : public Moveable, public TerrainInfo, public NoCopy
|
||||
{
|
||||
public:
|
||||
private:
|
||||
|
@ -28,13 +28,14 @@
|
||||
using namespace irr;
|
||||
|
||||
#include "karts/kart.hpp"
|
||||
#include "utils/no_copy.hpp"
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* \ingroup items
|
||||
*/
|
||||
class Item
|
||||
class Item : public NoCopy
|
||||
{
|
||||
public:
|
||||
/**
|
||||
|
@ -23,14 +23,16 @@
|
||||
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
#include "items/item.hpp"
|
||||
#include "utils/no_copy.hpp"
|
||||
|
||||
class Kart;
|
||||
|
||||
/**
|
||||
* \ingroup items
|
||||
*/
|
||||
class ItemManager
|
||||
class ItemManager : public NoCopy
|
||||
{
|
||||
|
||||
private:
|
||||
|
@ -25,6 +25,7 @@
|
||||
|
||||
#include "irrlicht.h"
|
||||
using namespace irr;
|
||||
|
||||
#include "items/flyable.hpp"
|
||||
|
||||
class Kart;
|
||||
|
@ -23,6 +23,7 @@
|
||||
#define MAX_POWERUPS 5
|
||||
|
||||
#include "items/powerup_manager.hpp" // needed for powerup_type
|
||||
#include "utils/no_copy.hpp"
|
||||
#include "utils/random_generator.hpp"
|
||||
|
||||
class Kart;
|
||||
@ -32,7 +33,7 @@ class SFXBase;
|
||||
/**
|
||||
* \ingroup items
|
||||
*/
|
||||
class Powerup
|
||||
class Powerup : public NoCopy
|
||||
{
|
||||
private:
|
||||
/** A synchronised random number generator for network games. */
|
||||
|
@ -27,6 +27,8 @@
|
||||
|
||||
#include "btBulletDynamicsCommon.h"
|
||||
|
||||
#include "utils/no_copy.hpp"
|
||||
|
||||
class Material;
|
||||
class XMLNode;
|
||||
|
||||
@ -64,7 +66,7 @@ class XMLNode;
|
||||
* anvil,anvil.
|
||||
*/
|
||||
|
||||
class PowerupManager
|
||||
class PowerupManager : public NoCopy
|
||||
{
|
||||
public:
|
||||
// The anvil and parachute must be at the end of the enum, and the
|
||||
|
@ -25,6 +25,7 @@
|
||||
|
||||
#include "audio/sfx_manager.hpp"
|
||||
#include "items/powerup_manager.hpp"
|
||||
#include "utils/no_copy.hpp"
|
||||
|
||||
class Vec3;
|
||||
class Kart;
|
||||
@ -34,7 +35,7 @@ class Flyable;
|
||||
/**
|
||||
* \ingroup items
|
||||
*/
|
||||
class ProjectileManager
|
||||
class ProjectileManager : public NoCopy
|
||||
{
|
||||
private:
|
||||
typedef std::vector<Flyable*> Projectiles;
|
||||
|
@ -20,9 +20,9 @@
|
||||
#ifndef HEADER_RUBBER_BAND_HPP
|
||||
#define HEADER_RUBBER_BAND_HPP
|
||||
|
||||
|
||||
|
||||
#include "utils/no_copy.hpp"
|
||||
#include "utils/vec3.hpp"
|
||||
|
||||
class Kart;
|
||||
class Plunger;
|
||||
|
||||
@ -30,7 +30,7 @@ class Plunger;
|
||||
* the shooting kart to the plunger.
|
||||
* \ingroup items
|
||||
*/
|
||||
class RubberBand
|
||||
class RubberBand : public NoCopy
|
||||
{
|
||||
private:
|
||||
enum {RB_TO_PLUNGER, /**< Rubber band is attached to plunger. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user