|
@@ -26,12 +26,14 @@ struct SpriteResource
|
|
|
namespace sprite_resource_internal
|
|
namespace sprite_resource_internal
|
|
|
{
|
|
{
|
|
|
void compile(const char* path, CompileOptions& opts);
|
|
void compile(const char* path, CompileOptions& opts);
|
|
|
|
|
+
|
|
|
} // namespace sprite_resource_internal
|
|
} // namespace sprite_resource_internal
|
|
|
|
|
|
|
|
namespace sprite_resource
|
|
namespace sprite_resource
|
|
|
{
|
|
{
|
|
|
/// Returns the frame data for the frame @a i.
|
|
/// Returns the frame data for the frame @a i.
|
|
|
const f32* frame_data(const SpriteResource* sr, u32 i);
|
|
const f32* frame_data(const SpriteResource* sr, u32 i);
|
|
|
|
|
+
|
|
|
} // namespace sprite_resource
|
|
} // namespace sprite_resource
|
|
|
|
|
|
|
|
struct SpriteAnimationResource
|
|
struct SpriteAnimationResource
|
|
@@ -44,12 +46,14 @@ struct SpriteAnimationResource
|
|
|
namespace sprite_animation_resource_internal
|
|
namespace sprite_animation_resource_internal
|
|
|
{
|
|
{
|
|
|
void compile(const char* path, CompileOptions& opts);
|
|
void compile(const char* path, CompileOptions& opts);
|
|
|
|
|
+
|
|
|
} // namespace sprite_animation_resource_internal
|
|
} // namespace sprite_animation_resource_internal
|
|
|
|
|
|
|
|
namespace sprite_animation_resource
|
|
namespace sprite_animation_resource
|
|
|
{
|
|
{
|
|
|
/// Returns the frames of the sprite animation @a sar.
|
|
/// Returns the frames of the sprite animation @a sar.
|
|
|
const u32* frames(const SpriteAnimationResource* sar);
|
|
const u32* frames(const SpriteAnimationResource* sar);
|
|
|
|
|
+
|
|
|
} // namespace sprite_animation_resource
|
|
} // namespace sprite_animation_resource
|
|
|
|
|
|
|
|
} // namespace crown
|
|
} // namespace crown
|