1
0
mirror of https://github.com/weiju/amiga-stuff synced 2025-12-08 14:58:33 +00:00

more outfactoring of common functionality and data

This commit is contained in:
Wei-ju Wu
2016-06-14 18:39:13 -07:00
parent 53a3302492
commit ddeeb941cb
4 changed files with 30 additions and 125 deletions

View File

@ -38,4 +38,7 @@
#define PALSIZE (BLOCKSCOLORS * 2)
#define IS_BITMAP_INTERLEAVED(bitmap) ((GetBitMapAttr(bitmap, BMA_FLAGS) & BMF_INTERLEAVED) == BMF_INTERLEAVED)
#define ROUND2BLOCKWIDTH(x) ((x) & ~(BLOCKWIDTH - 1))
#endif /* __GLOBAL_DEFS_H__ */