#ifndef _ALLEGRO_4_API_H
#define _ALLEGRO_4_API_H

#include "include/fix.h"
#include "include/matrix.h"
#include "include/palette.h"
#include "include/text.h"
#include "include/keyboard.h"
#include "include/3dmaths.h"
#include "include/3d.h"

#ifdef __cplusplus
   extern "C" {
#endif

typedef struct BITMAP BITMAP;
extern int * palette_color;
extern int SCREEN_W;
extern int SCREEN_H;
extern BITMAP* screen;

enum GraphicsModes{
    GFX_AUTODETECT,
    GFX_SAFE,
    GFX_TEXT
};

extern int allegro_error;

#define END_OF_MAIN()

#ifdef __cplusplus
    }
#endif

#endif
