Now use CMake to build and compile/run with Allegro 4.4

This commit is contained in:
Godzil
2023-03-22 18:09:57 +00:00
parent 8999fa051f
commit 827e920909
21 changed files with 3929 additions and 3687 deletions

34
include/flags.h Normal file
View File

@@ -0,0 +1,34 @@
/*******************************************************************************
* Emu51
* flags.h:
* Created by mlt on 22/03/23.
******************************************************************************/
#ifndef EMU51_FLAGS_H
#define EMU51_FLAGS_H
#include <stdint.h>
#include <allegro.h>
class flags
{
private:
void hexoutB(int x, int y, int color, uint8_t numb);
public:
int frame;
int left;
bool changed;
uint8_t *sfr;
BITMAP *surface, *buf;
void draw();
void blit_it(int, int);
flags(BITMAP *);
~flags();
};
#endif /* EMU51_FLAGS_H */