/* Project 16 Source Code~\r
- * Copyright (C) 2012-2022 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
+ * Copyright (C) 2012-2023 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
*\r
* This file is part of Project 16.\r
*\r
byte *palette;\r
} planar_buf_t;\r
\r
+#ifndef BITMAPT\r
+#define BITMAPT\r
typedef struct {\r
byte *data;\r
word width;\r
word theight; // height of the tiles\r
byte *palette; // palette for the tile set\r
} tileset_t;\r
+#endif\r
\r
//from 16_sprit.h\r
#ifdef __WATCOMC__\r
sword tileplayerposscreeny; /* player position on screen */ /* needed for scroll and map system to work accordingly */\r
} pagetileinfo_t;\r
\r
+#ifndef PAGET\r
+#define PAGET\r
typedef struct {\r
nibble/*word*/ id; /* the Identification number of the page~ For layering~ */\r
byte far* data; /* the data for the page */\r
//TODO: find where they are used\r
sword delta; // How much should we shift the page for smooth scrolling\r
} page_t;\r
+#endif\r
\r
//from 16_in\r
//==========================================================================\r