* Add configuration for Sakura specific types

This commit is contained in:
Phillip Stephens 2014-09-28 19:32:31 -07:00
parent 8b80f486ad
commit 6976eda717
13 changed files with 31 additions and 1 deletions

View File

@ -68,6 +68,7 @@ enum class Endian
BigEndian
};
#ifndef ATHENA_NO_SAKURA
namespace Sakura
{
@ -94,6 +95,7 @@ public:
typedef Vector2D<int> Vector2Di;
typedef Vector2D<float> Vector2Df;
} // Sakura
#endif // ATHENA_NO_SAKURA
} // Athena
std::ostream& operator<<(std::ostream& os, const Athena::SeekOrigin& origin);

View File

@ -1,3 +1,4 @@
#ifndef ATHENA_NO_SAKURA
// This file is part of libAthena.
//
// libAthena is free software: you can redistribute it and/or modify
@ -143,3 +144,4 @@ Q_DECLARE_METATYPE(Athena::Sakura::Sprite*)
#endif
#endif // SSPRITE_HPP
#endif // ATHENA_NO_SAKURA

View File

@ -1,4 +1,5 @@
// This file is part of libAthena.
#ifndef ATHENA_NO_SAKURA
// This file is part of libAthena.
//
// libAthena is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@ -278,3 +279,6 @@ Q_DECLARE_METATYPE(Athena::Sakura::SpriteFile*)
Q_DECLARE_METATYPE(Athena::Sakura::STexture*)
#endif
#endif // SSPRITE_HPP
#endif // ATHENA_NO_SAKURA

View File

@ -1,3 +1,4 @@
#ifndef ATHENA_NO_SAKURA
// This file is part of libAthena.
//
// libAthena is free software: you can redistribute it and/or modify
@ -42,3 +43,4 @@ public:
#endif // SSPRITEFILEREADER_HPP
#endif // ATHENA_NO_SAKURA

View File

@ -1,3 +1,4 @@
#ifndef ATHENA_NO_SAKURA
// This file is part of libAthena.
//
// libAthena is free software: you can redistribute it and/or modify
@ -42,3 +43,4 @@ public:
} // io
} // zelda
#endif // SSPRITEFILEWRITER_HPP
#endif // ATHENA_NO_SAKURA

View File

@ -1,3 +1,4 @@
#ifndef ATHENA_NO_SAKURA
// This file is part of libAthena.
//
// libAthena is free software: you can redistribute it and/or modify
@ -97,3 +98,4 @@ Q_DECLARE_METATYPE(Athena::Sakura::SpriteFrame*);
#endif
#endif // SSPRITEFRAME_HPP
#endif // ATHENA_NO_SAKURA

View File

@ -1,3 +1,4 @@
#ifndef ATHENA_NO_SAKURA
// This file is part of libAthena.
//
// libAthena is free software: you can redistribute it and/or modify
@ -213,3 +214,4 @@ Q_DECLARE_METATYPE(Athena::Sakura::SpritePart*)
#endif
#endif // SSPRITEPART_HPP
#endif // ATHENA_NO_SAKURA

View File

@ -1,3 +1,4 @@
#ifndef ATHENA_NO_SAKURA
// This file is part of libAthena.
//
// libAthena is free software: you can redistribute it and/or modify
@ -303,3 +304,5 @@ SpriteFile* Sprite::root() const
}
}
}
#endif // ATHENA_NO_SAKURA

View File

@ -1,3 +1,4 @@
#ifndef ATHENA_NO_SAKURA
// This file is part of libAthena.
//
// libAthena is free software: you can redistribute it and/or modify
@ -329,3 +330,5 @@ void SpriteFile::setTextures(QList<STexture *> textures)
#endif
} // Sakura
} // zelda
#endif // ATHENA_NO_SAKURA

View File

@ -1,3 +1,4 @@
#ifndef ATHENA_NO_SAKURA
// This file is part of libAthena.
//
// libAthena is free software: you can redistribute it and/or modify
@ -216,3 +217,4 @@ Sakura::SpriteFile* SpriteFileReader::readFile()
}
} // io
} // zelda
#endif //ATHENA_NO_SAKURA

View File

@ -1,3 +1,4 @@
#ifndef ATHENA_NO_SAKURA
// This file is part of libAthena.
//
// libAthena is free software: you can redistribute it and/or modify
@ -113,3 +114,4 @@ void SpriteFileWriter::writeFile(Sakura::SpriteFile* file)
} // io
} // zelda
#endif // ATHENA_NO_SAKURA

View File

@ -1,3 +1,4 @@
#ifndef ATHENA_NO_SAKURA
// This file is part of libAthena.
//
// libAthena is free software: you can redistribute it and/or modify
@ -80,3 +81,4 @@ Sprite* SpriteFrame::root() const
} // Sakura
} // zelda
#endif // ATHENA_NO_SAKURA

View File

@ -1,3 +1,4 @@
#ifndef ATHENA_NO_SAKURA
// This file is part of libAthena.
//
// libAthena is free software: you can redistribute it and/or modify
@ -200,3 +201,4 @@ SpriteFrame* SpritePart::root() const
}
}
}
#endif // ATHENA_NO_SAKURA