/* This file was generated by scramble.py. */
#line 1 "src/data.py"
#ifndef _DATA_
#define _DATA_
typedef struct Data3DMarkers Data3DMarkers;
typedef struct Data3DModel Data3DModel;
typedef struct Shadows Shadows;
typedef struct Blur Blur;
#line 1
#include "main.h"
#include "game.h"
#include "render.h"
#line 5
enum {
    DataNone,
    DataUnsheath,
    DataSword,
    DataDemon,
    DataMagicMissile,
    DataBook,
    DataFireball,
    DataHeal,
    DataTroll,
    DataRat,
    DataDragon,
    DataArrow,
    DataSqueak,
    DataSpell,
    DataNo,
    DataDeath,
    DataYell,
    DataRoar,
    DataRatGone,
    DataPotion,
    DataCoin,
    DataMusic,
    DataScroll,
    DataPay,
    DataBuild,
    DataWin,
    DataTrollDie,
    DataEvil,
    DataCount
};
#line 38
struct Data3DMarkers {
    Land4x4Matrix head;
    Land4x4Matrix main;
    Land4x4Matrix off;
    Land4x4Matrix neck;
};
struct Data3DModel {
    int kid;
    char * name;
    LandArray * frames;
    Shadows * shadows;
    LandArray * markers /* [Data3Dmarkers] */;
    Kind * hd;
    float scale;
    float height;
    bool moving;
};
extern LandFont * font_small;
extern LandFont * font_menu;
#line 58
struct Shadows {
    int submitted;
    bool needed;
    LandArray * frames;
};
struct Blur {
    Shadows * shadows;
    LandImage * image;
    int t;
    uint8_t * rgba;
};
#line 99
void queue_blur(LandImage * image, Shadows * shadows);
#line 110
void data_check_blur(void);
#line 151
void data_status(str x);
#line 164
void data_init(void);
#line 270
LandImage* data_start_shadow(void);
#line 294
void data_complete_shadow(LandImage * image);
#line 297
LandTriangles* create_shadow_mesh(LandImage * image);
#line 316
Data3DModel* add_3d_model_frames(str name, float scale, bool moving);
#line 329
Data3DModel* data_get_model(str name);
#line 335
void data_reload_fonts(void);
#line 361
void data_play(int sid);
#line 364
void data_play_vol(int sid, float vol);
#line 367
void data_playq(int sid);
#line 374
void data_playq_vol(int sid, float vol);
#line 382
void play_queued_sounds(int qt);
#endif
/* This file was generated by scramble.py. */
