fixed warning C4099:

type name first seen using 'class' now seen using 'struct'
celladd
dteviot 10 years ago
parent 3c190e5fa4
commit 407cd50890

@ -20,7 +20,7 @@ namespace MWWorld
namespace MWSound namespace MWSound
{ {
class Sound; class Sound;
class Sound_Decoder; struct Sound_Decoder;
typedef boost::shared_ptr<Sound_Decoder> DecoderPtr; typedef boost::shared_ptr<Sound_Decoder> DecoderPtr;
} }

@ -49,7 +49,7 @@ namespace MWRender
namespace MWMechanics namespace MWMechanics
{ {
class Movement; struct Movement;
} }
namespace MWWorld namespace MWWorld

@ -5,7 +5,7 @@
namespace ESM namespace ESM
{ {
class GameSetting; struct GameSetting;
} }
namespace MWClass namespace MWClass

@ -16,8 +16,8 @@
namespace MWGui namespace MWGui
{ {
struct TypesetBookImpl; struct TypesetBookImpl;
struct PageDisplay; class PageDisplay;
struct BookPageImpl; class BookPageImpl;
static bool ucsSpace (int codePoint); static bool ucsSpace (int codePoint);
static bool ucsLineBreak (int codePoint); static bool ucsLineBreak (int codePoint);

@ -6,7 +6,7 @@
namespace MWState namespace MWState
{ {
class Character; class Character;
class Slot; struct Slot;
} }
namespace MWGui namespace MWGui

@ -9,7 +9,7 @@
namespace ESM namespace ESM
{ {
class Class; struct Class;
struct Race; struct Race;
} }

@ -65,7 +65,7 @@ namespace MWGui
class MainMenu; class MainMenu;
class StatsWindow; class StatsWindow;
class InventoryWindow; class InventoryWindow;
class JournalWindow; struct JournalWindow;
class CharacterCreation; class CharacterCreation;
class DragAndDrop; class DragAndDrop;
class ToolTips; class ToolTips;

@ -39,7 +39,7 @@ namespace ICS
namespace MyGUI namespace MyGUI
{ {
class MouseButton; struct MouseButton;
} }
namespace Files namespace Files

@ -16,7 +16,7 @@ namespace ESM
{ {
namespace AiSequence namespace AiSequence
{ {
class AiSequence; struct AiSequence;
} }
} }

@ -15,7 +15,7 @@ namespace ESM
{ {
namespace AiSequence namespace AiSequence
{ {
class AiSequence; struct AiSequence;
} }
} }

@ -17,7 +17,7 @@
namespace ESM namespace ESM
{ {
class Cell; struct Cell;
namespace AiSequence namespace AiSequence
{ {
struct AiWander; struct AiWander;

@ -21,7 +21,7 @@ namespace MWRender
namespace MWMechanics namespace MWMechanics
{ {
class Movement; struct Movement;
class CreatureStats; class CreatureStats;
enum Priority { enum Priority {

@ -6,7 +6,7 @@
namespace ESM namespace ESM
{ {
class Cell; struct Cell;
} }
namespace MWWorld namespace MWWorld

@ -17,7 +17,7 @@ namespace ESM
namespace MWMechanics namespace MWMechanics
{ {
class EffectKey; struct EffectKey;
class MagicEffects; class MagicEffects;
ESM::Skill::SkillEnum spellSchoolToSkill(int school); ESM::Skill::SkillEnum spellSchoolToSkill(int school);

@ -12,7 +12,7 @@ namespace Loading
namespace ESM namespace ESM
{ {
class GlobalMap; struct GlobalMap;
} }
namespace MWRender namespace MWRender

@ -14,7 +14,7 @@ namespace MWWorld
namespace ESM namespace ESM
{ {
class FogTexture; struct FogTexture;
} }
namespace MWRender namespace MWRender

@ -21,7 +21,7 @@ namespace Loading
namespace MWWorld namespace MWWorld
{ {
struct ESMStore; class ESMStore;
} }
namespace MWScript namespace MWScript

@ -20,7 +20,7 @@ namespace MWInput
namespace MWScript namespace MWScript
{ {
struct Locals; class Locals;
class InterpreterContext : public Interpreter::Context class InterpreterContext : public Interpreter::Context
{ {

@ -7,7 +7,7 @@
namespace ESM namespace ESM
{ {
struct Script; class Script;
struct Locals; struct Locals;
} }

@ -16,7 +16,7 @@
namespace MWWorld namespace MWWorld
{ {
struct ESMStore; class ESMStore;
} }
namespace Compiler namespace Compiler

@ -69,7 +69,7 @@ namespace MWSound
OpenAL_Output(SoundManager &mgr); OpenAL_Output(SoundManager &mgr);
virtual ~OpenAL_Output(); virtual ~OpenAL_Output();
class StreamThread; struct StreamThread;
std::auto_ptr<StreamThread> mStreamThread; std::auto_ptr<StreamThread> mStreamThread;
friend class OpenAL_Sound; friend class OpenAL_Sound;

@ -13,7 +13,7 @@
namespace MWSound namespace MWSound
{ {
class SoundManager; class SoundManager;
class Sound_Decoder; struct Sound_Decoder;
class Sound; class Sound;
class Sound_Output class Sound_Output

@ -8,7 +8,7 @@
namespace MWWorld namespace MWWorld
{ {
struct ESMStore; class ESMStore;
class CellStore; class CellStore;
class RefData; class RefData;

@ -12,7 +12,7 @@ namespace MWWorld
{ {
class ContainerStore; class ContainerStore;
class CellStore; class CellStore;
class LiveCellRefBase; struct LiveCellRefBase;
/// \brief Pointer to a LiveCellRef /// \brief Pointer to a LiveCellRef

@ -3,7 +3,7 @@
namespace ESM namespace ESM
{ {
class TimeStamp; struct TimeStamp;
} }
namespace MWWorld namespace MWWorld

@ -14,7 +14,7 @@
namespace Nif namespace Nif
{ {
class NiNode; struct NiNode;
/** A Node is an object that's part of the main NIF tree. It has /** A Node is an object that's part of the main NIF tree. It has
parent node (unless it's the root), and transformation (location parent node (unless it's the root), and transformation (location

@ -122,10 +122,10 @@ class Controller;
class Controlled; class Controlled;
class NiSkinData; class NiSkinData;
class NiFloatData; class NiFloatData;
class NiMorphData; struct NiMorphData;
class NiPixelData; class NiPixelData;
class NiColorData; class NiColorData;
class NiKeyframeData; struct NiKeyframeData;
class NiTriShapeData; class NiTriShapeData;
class NiSkinInstance; class NiSkinInstance;
class NiSourceTexture; class NiSourceTexture;

@ -38,8 +38,8 @@
namespace Nif namespace Nif
{ {
class Node; class Node;
class Transformation; struct Transformation;
class NiTriShape; struct NiTriShape;
} }
namespace NifBullet namespace NifBullet

@ -10,7 +10,7 @@
namespace Nif namespace Nif
{ {
class NiTriShape; struct NiTriShape;
} }
namespace NifOgre namespace NifOgre

Loading…
Cancel
Save