flags.h 598 B

12345678910111213141516171819202122232425262728293031323334
  1. /*******************************************************************************
  2. * Emu51
  3. * flags.h:
  4. * Created by mlt on 22/03/23.
  5. ******************************************************************************/
  6. #ifndef EMU51_FLAGS_H
  7. #define EMU51_FLAGS_H
  8. #include <stdint.h>
  9. #include <allegro.h>
  10. class flags
  11. {
  12. private:
  13. void hexoutB(int x, int y, int color, uint8_t numb);
  14. public:
  15. int frame;
  16. int left;
  17. bool changed;
  18. uint8_t *sfr;
  19. BITMAP *surface, *buf;
  20. void draw();
  21. void blit_it(int, int);
  22. flags(BITMAP *);
  23. ~flags();
  24. };
  25. #endif /* EMU51_FLAGS_H */