Mirai's Miscellaneous Misadventures
M37 / include / mimimi / chapters.h
#ifndef MIMIMI_CHAPTERS_H
#define MIMIMI_CHAPTERS_H
struct mimimi_image;
struct mimimi_sprite;
struct mimimi_behavior;
struct mimimi_ground;
struct mimimi_size;
struct mimimi_allocator;
struct mimimi_engine;
struct mimimi_position;
struct mimimi_video_appearance;
struct mimimi_font;
struct mimimi_chapter
{
struct mimimi_behavior *behavior;
unsigned char left:1, right:1;
};
struct mimimi_sprite *mimimi_sprite(struct mimimi_ground *ground, int x, int y, int width, int height, struct mimimi_allocator *allocator);
struct mimimi_behavior *mimimi_display(struct mimimi_engine *engine, struct mimimi_position *camera, struct mimimi_sprite *sprite, struct mimimi_video_appearance *appearance, int *direction, int x, int y, struct mimimi_allocator *allocator);
struct mimimi_behavior *mimimi_background(struct mimimi_engine *engine, struct mimimi_position *camera, void *texture, int x, int y, int z, struct mimimi_allocator *allocator);
struct mimimi_behavior *mimimi_overlay(struct mimimi_engine *engine, void *texture, int x, int y, struct mimimi_allocator *allocator);
void mimimi_camera_stamp(struct mimimi_engine *engine, struct mimimi_position *camera, int x, int y, int z, void *texture);
#endif