From 9f77f163f7df3aa4f445a4439c35fbc6ff2b7760 Mon Sep 17 00:00:00 2001 From: meep-eep Date: Sat, 7 Oct 2006 20:15:14 +0000 Subject: [PATCH] Remove some old 3DO and PC defines. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2449 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/graphics/drawable.h | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/sc2/src/sc2code/libs/graphics/drawable.h b/sc2/src/sc2code/libs/graphics/drawable.h index 0c8432b79..f47ca506c 100644 --- a/sc2/src/sc2code/libs/graphics/drawable.h +++ b/sc2/src/sc2code/libs/graphics/drawable.h @@ -34,30 +34,11 @@ typedef struct bresenham_line } BRESENHAM_LINE; typedef BRESENHAM_LINE *PBRESENHAM_LINE; -#define BYTE_WIDTH(w) (((w) + 7) >> 3) -#define BYTE_OFFS(x) ((BYTE)(x) & (BYTE)0x7) -#define BYTE_POS(x) ((x) >> 3) -#define WORD_WIDTH(w) (((w) + 15) >> 4) -#define WORD_OFFS(x) ((UWORD)(x) & (UWORD)0xF) -#define WORD_POS(x) ((x) >> 4) -#ifdef MSDOS -#define SCAN_WIDTH BYTE_WIDTH -#define PAD_WIDTH(w) ((w)+((sizeof (BYTE) << 3) - 1)) -#else /* !MSDOS */ -#define SCAN_WIDTH(w) ((BYTE_WIDTH(w)+1)&~1) -#define PAD_WIDTH(w) (w) -#endif /* MSDOS */ - typedef UWORD DRAWABLE_TYPE; #define ROM_DRAWABLE 0 #define RAM_DRAWABLE 1 #define SCREEN_DRAWABLE 2 -#define DATA_HARDWARE (1 << 12) -#define DATA_COPY (1 << 13) -#define DATA_PACKED (1 << 14) -#define X_FLIP (1 << 15) - typedef struct frame_desc { DRAWABLE_TYPE Type;