22 #ifndef IMMORTAL_UTIL_H 23 #define IMMORTAL_UTIL_H 25 #include "common/system.h" 41 enum BitMask16 : uint16 {
51 enum BitMask8 : uint8 {
57 enum ColourBitMask : uint16 {
63 enum ChrMask : uint16 {
75 kViewPortCW = 256 / 64,
76 kViewPortCH = 128 / kMaxSprites,
77 kMaxDrawItems = kViewPortCH + 1 + kMaxSprites,
90 bool inside(uint8 dist, uint8 centX, uint8 centY, uint8 pointX, uint8 pointY);
91 bool insideRect(uint8 rectX, uint8 rectY, uint8 w, uint8 h, uint8 pointX, uint8 pointY);
Definition: definitions.h:25
Definition: atari-screen.h:60