mirror of https://github.com/libAthena/athena.git
* Add configuration for Sakura specific types
This commit is contained in:
parent
8b80f486ad
commit
6976eda717
|
@ -68,6 +68,7 @@ enum class Endian
|
||||||
BigEndian
|
BigEndian
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifndef ATHENA_NO_SAKURA
|
||||||
namespace Sakura
|
namespace Sakura
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -94,6 +95,7 @@ public:
|
||||||
typedef Vector2D<int> Vector2Di;
|
typedef Vector2D<int> Vector2Di;
|
||||||
typedef Vector2D<float> Vector2Df;
|
typedef Vector2D<float> Vector2Df;
|
||||||
} // Sakura
|
} // Sakura
|
||||||
|
#endif // ATHENA_NO_SAKURA
|
||||||
} // Athena
|
} // Athena
|
||||||
|
|
||||||
std::ostream& operator<<(std::ostream& os, const Athena::SeekOrigin& origin);
|
std::ostream& operator<<(std::ostream& os, const Athena::SeekOrigin& origin);
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#ifndef ATHENA_NO_SAKURA
|
||||||
// This file is part of libAthena.
|
// This file is part of libAthena.
|
||||||
//
|
//
|
||||||
// libAthena is free software: you can redistribute it and/or modify
|
// libAthena is free software: you can redistribute it and/or modify
|
||||||
|
@ -143,3 +144,4 @@ Q_DECLARE_METATYPE(Athena::Sakura::Sprite*)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SSPRITE_HPP
|
#endif // SSPRITE_HPP
|
||||||
|
#endif // ATHENA_NO_SAKURA
|
||||||
|
|
|
@ -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
|
// libAthena is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// 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*)
|
Q_DECLARE_METATYPE(Athena::Sakura::STexture*)
|
||||||
#endif
|
#endif
|
||||||
#endif // SSPRITE_HPP
|
#endif // SSPRITE_HPP
|
||||||
|
|
||||||
|
#endif // ATHENA_NO_SAKURA
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#ifndef ATHENA_NO_SAKURA
|
||||||
// This file is part of libAthena.
|
// This file is part of libAthena.
|
||||||
//
|
//
|
||||||
// libAthena is free software: you can redistribute it and/or modify
|
// libAthena is free software: you can redistribute it and/or modify
|
||||||
|
@ -42,3 +43,4 @@ public:
|
||||||
|
|
||||||
|
|
||||||
#endif // SSPRITEFILEREADER_HPP
|
#endif // SSPRITEFILEREADER_HPP
|
||||||
|
#endif // ATHENA_NO_SAKURA
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#ifndef ATHENA_NO_SAKURA
|
||||||
// This file is part of libAthena.
|
// This file is part of libAthena.
|
||||||
//
|
//
|
||||||
// libAthena is free software: you can redistribute it and/or modify
|
// libAthena is free software: you can redistribute it and/or modify
|
||||||
|
@ -42,3 +43,4 @@ public:
|
||||||
} // io
|
} // io
|
||||||
} // zelda
|
} // zelda
|
||||||
#endif // SSPRITEFILEWRITER_HPP
|
#endif // SSPRITEFILEWRITER_HPP
|
||||||
|
#endif // ATHENA_NO_SAKURA
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#ifndef ATHENA_NO_SAKURA
|
||||||
// This file is part of libAthena.
|
// This file is part of libAthena.
|
||||||
//
|
//
|
||||||
// libAthena is free software: you can redistribute it and/or modify
|
// libAthena is free software: you can redistribute it and/or modify
|
||||||
|
@ -97,3 +98,4 @@ Q_DECLARE_METATYPE(Athena::Sakura::SpriteFrame*);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SSPRITEFRAME_HPP
|
#endif // SSPRITEFRAME_HPP
|
||||||
|
#endif // ATHENA_NO_SAKURA
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#ifndef ATHENA_NO_SAKURA
|
||||||
// This file is part of libAthena.
|
// This file is part of libAthena.
|
||||||
//
|
//
|
||||||
// libAthena is free software: you can redistribute it and/or modify
|
// libAthena is free software: you can redistribute it and/or modify
|
||||||
|
@ -213,3 +214,4 @@ Q_DECLARE_METATYPE(Athena::Sakura::SpritePart*)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SSPRITEPART_HPP
|
#endif // SSPRITEPART_HPP
|
||||||
|
#endif // ATHENA_NO_SAKURA
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#ifndef ATHENA_NO_SAKURA
|
||||||
// This file is part of libAthena.
|
// This file is part of libAthena.
|
||||||
//
|
//
|
||||||
// libAthena is free software: you can redistribute it and/or modify
|
// libAthena is free software: you can redistribute it and/or modify
|
||||||
|
@ -303,3 +304,5 @@ SpriteFile* Sprite::root() const
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // ATHENA_NO_SAKURA
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#ifndef ATHENA_NO_SAKURA
|
||||||
// This file is part of libAthena.
|
// This file is part of libAthena.
|
||||||
//
|
//
|
||||||
// libAthena is free software: you can redistribute it and/or modify
|
// libAthena is free software: you can redistribute it and/or modify
|
||||||
|
@ -329,3 +330,5 @@ void SpriteFile::setTextures(QList<STexture *> textures)
|
||||||
#endif
|
#endif
|
||||||
} // Sakura
|
} // Sakura
|
||||||
} // zelda
|
} // zelda
|
||||||
|
|
||||||
|
#endif // ATHENA_NO_SAKURA
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#ifndef ATHENA_NO_SAKURA
|
||||||
// This file is part of libAthena.
|
// This file is part of libAthena.
|
||||||
//
|
//
|
||||||
// libAthena is free software: you can redistribute it and/or modify
|
// libAthena is free software: you can redistribute it and/or modify
|
||||||
|
@ -216,3 +217,4 @@ Sakura::SpriteFile* SpriteFileReader::readFile()
|
||||||
}
|
}
|
||||||
} // io
|
} // io
|
||||||
} // zelda
|
} // zelda
|
||||||
|
#endif //ATHENA_NO_SAKURA
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#ifndef ATHENA_NO_SAKURA
|
||||||
// This file is part of libAthena.
|
// This file is part of libAthena.
|
||||||
//
|
//
|
||||||
// libAthena is free software: you can redistribute it and/or modify
|
// libAthena is free software: you can redistribute it and/or modify
|
||||||
|
@ -113,3 +114,4 @@ void SpriteFileWriter::writeFile(Sakura::SpriteFile* file)
|
||||||
|
|
||||||
} // io
|
} // io
|
||||||
} // zelda
|
} // zelda
|
||||||
|
#endif // ATHENA_NO_SAKURA
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#ifndef ATHENA_NO_SAKURA
|
||||||
// This file is part of libAthena.
|
// This file is part of libAthena.
|
||||||
//
|
//
|
||||||
// libAthena is free software: you can redistribute it and/or modify
|
// libAthena is free software: you can redistribute it and/or modify
|
||||||
|
@ -80,3 +81,4 @@ Sprite* SpriteFrame::root() const
|
||||||
|
|
||||||
} // Sakura
|
} // Sakura
|
||||||
} // zelda
|
} // zelda
|
||||||
|
#endif // ATHENA_NO_SAKURA
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#ifndef ATHENA_NO_SAKURA
|
||||||
// This file is part of libAthena.
|
// This file is part of libAthena.
|
||||||
//
|
//
|
||||||
// libAthena is free software: you can redistribute it and/or modify
|
// libAthena is free software: you can redistribute it and/or modify
|
||||||
|
@ -200,3 +201,4 @@ SpriteFrame* SpritePart::root() const
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif // ATHENA_NO_SAKURA
|
||||||
|
|
Loading…
Reference in New Issue