mirror of
https://github.com/weiju/amiga-stuff
synced 2025-12-08 14:58:33 +00:00
moved the map reading function to common
This commit is contained in:
@ -18,7 +18,26 @@ struct FetchInfo
|
||||
WORD scrollpixels;
|
||||
};
|
||||
|
||||
struct RawMap
|
||||
{
|
||||
WORD mapwidth;
|
||||
WORD mapheight;
|
||||
WORD maplayers;
|
||||
WORD blockwidth;
|
||||
WORD blockheight;
|
||||
BYTE bytesperblock;
|
||||
BYTE transparentblock;
|
||||
UBYTE data[1];
|
||||
};
|
||||
|
||||
struct LevelMap {
|
||||
LONG width, height;
|
||||
UBYTE *data;
|
||||
struct RawMap *raw_map;
|
||||
};
|
||||
|
||||
extern ULONG get_mode_id(BOOL option_how, BOOL option_ntsc);
|
||||
extern BOOL get_arguments(struct PrgOptions *options, char *s);
|
||||
extern BOOL read_level_map(struct LevelMap *level_map, char *s);
|
||||
|
||||
#endif /* __COMMON_H__ */
|
||||
|
||||
Reference in New Issue
Block a user