X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fbitmap.h;h=06570a9a4851cfdb6918e3b8bbe5876e89bb2ecb;hb=54e80274a159f2c8f12bbb284403927616c686c5;hp=95c6782c71de508264d72b776156428848334b69;hpb=415ffb75c84f777d2ce7e3501079823aa544d63f;p=16.git diff --git a/src/lib/bitmap.h b/src/lib/bitmap.h index 95c6782c..06570a9a 100755 --- a/src/lib/bitmap.h +++ b/src/lib/bitmap.h @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669 + * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 * * This file is part of Project 16. * @@ -25,25 +25,8 @@ #ifndef BITMAP_H #define BITMAP_H -#include "src/lib/types.h" -#include "src/lib/16_head.h" -typedef struct { - byte huge *data; - word width; - word height; - byte *palette; - word offset; -// byte far *font; -} bitmap_t; - -typedef struct { - byte **data; - word ntiles; /* the number of tiles */ - word twidth; /* width of the tiles */ - word theight; /* height of the tiles */ - byte *palette; /* palette for the tile set */ -} tileset_t; +#include "src/lib/modex16.h" bitmap_t bitmapLoadPcx(char *filename); tileset_t bitmapLoadPcxTiles(char *filename, word twidth, word theight);