5 * Created by Alyssa Milburn on Tue May 25 2004.
6 * Copyright (c) 2004 Alyssa Milburn. All rights reserved.
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
23 #include "creaturesImage.h"
24 #include "mmapifstream.h"
25 #include "endianlove.h"
27 class blkImage
: public creaturesImage
{
32 unsigned int totalwidth
, totalheight
;
35 blkImage(mmapifstream
*, std::string n
);
37 void readHeader(std::istream
&in
);
38 void writeHeader(std::ostream
&s
);
39 virtual std::string
serializedName() { return name
+ ".blk"; }
40 bool transparentAt(unsigned int frame
, unsigned int x
, unsigned int y
) { (void)frame
; (void)x
; (void)y
; return false; }
42 friend class fileSwapper
;