From 26f6c93f37031261bf32b695a416b897fe21171e Mon Sep 17 00:00:00 2001 From: sparky4 Date: Thu, 10 Nov 2022 14:29:29 -0600 Subject: [PATCH] compiled on 1.9 --- 16/modex16/bitmap.h | 4 ++++ src/bcexmm.exe => bcexmm.exe | Bin src/lib/16_tdef.h | 3 +++ 3 files changed, 7 insertions(+) rename src/bcexmm.exe => bcexmm.exe (100%) diff --git a/16/modex16/bitmap.h b/16/modex16/bitmap.h index 5ba53c81..c2547493 100755 --- a/16/modex16/bitmap.h +++ b/16/modex16/bitmap.h @@ -4,6 +4,9 @@ #ifndef BITMAP_H #define BITMAP_H #include "types.h" + +#ifndef BITMAPT +#define BITMAPT typedef struct { byte *data; word width; @@ -36,6 +39,7 @@ typedef struct { byte *palette; // palette for the tile set } tileset_t; */ +#endif bitmap_t bitmapLoadPcx(char *filename); tileset_t bitmapLoadPcxTiles(char *filename, word twidth, word theight); diff --git a/src/bcexmm.exe b/bcexmm.exe similarity index 100% rename from src/bcexmm.exe rename to bcexmm.exe diff --git a/src/lib/16_tdef.h b/src/lib/16_tdef.h index fb905910..083f2fc2 100755 --- a/src/lib/16_tdef.h +++ b/src/lib/16_tdef.h @@ -54,6 +54,8 @@ typedef struct { byte *palette; } planar_buf_t; +#ifndef BITMAPT +#define BITMAPT typedef struct { byte *data; word width; @@ -69,6 +71,7 @@ typedef struct { word theight; // height of the tiles byte *palette; // palette for the tile set } tileset_t; +#endif //from 16_sprit.h #ifdef __WATCOMC__ -- 2.39.5