first commit - a kind of working thingy
This commit is contained in:
65
res/map.c
Normal file
65
res/map.c
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
|
||||
MAP.C
|
||||
|
||||
Map Source File.
|
||||
|
||||
Info:
|
||||
Section :
|
||||
Bank : 0
|
||||
Map size : 20 x 18
|
||||
Tile set : Z:\home\alvie\d\p\wordboy\res\tiles.gbr
|
||||
Plane count : 1 plane (8 bits)
|
||||
Plane order : Tiles are continues
|
||||
Tile offset : 0
|
||||
Split data : No
|
||||
|
||||
This file was generated by GBMB v1.8
|
||||
|
||||
*/
|
||||
|
||||
#define mapWidth 20
|
||||
#define mapHeight 18
|
||||
#define mapBank 0
|
||||
|
||||
unsigned char map[] =
|
||||
{
|
||||
0x09,0x02,0x02,0x02,0x02,0x02,0x02,0x08,0x00,0x00,
|
||||
0x00,0x07,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x0A,
|
||||
0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,
|
||||
0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,
|
||||
0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,
|
||||
0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,
|
||||
0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,
|
||||
0x04,0x00,0x00,0x0D,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,
|
||||
0x04,0x00,0x00,0x11,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,
|
||||
0x04,0x00,0x00,0x03,0x0F,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,
|
||||
0x04,0x00,0x00,0x11,0x00,0x00,0x0E,0x12,0x12,0x12,
|
||||
0x12,0x12,0x0F,0x00,0x00,0x00,0x00,0x00,0x00,0x03,
|
||||
0x04,0x00,0x00,0x11,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,
|
||||
0x04,0x00,0x00,0x11,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x0E,0x12,0x12,0x0F,0x00,0x00,0x00,0x03,
|
||||
0x04,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,
|
||||
0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x01,0x0B,
|
||||
0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x13,0x13,
|
||||
0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x0B,0x13,0x13,
|
||||
0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x05,0x0B,0x13,0x13,0x13,
|
||||
0x0C,0x01,0x01,0x01,0x01,0x01,0x01,0x06,0x00,0x00,
|
||||
0x00,0x05,0x01,0x01,0x01,0x0B,0x13,0x13,0x13,0x13
|
||||
};
|
||||
|
||||
/* End of MAP.C */
|
27
res/map.h
Normal file
27
res/map.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
|
||||
MAP.H
|
||||
|
||||
Map Include File.
|
||||
|
||||
Info:
|
||||
Section :
|
||||
Bank : 0
|
||||
Map size : 20 x 18
|
||||
Tile set : Z:\home\alvie\d\p\wordboy\res\tiles.gbr
|
||||
Plane count : 1 plane (8 bits)
|
||||
Plane order : Tiles are continues
|
||||
Tile offset : 0
|
||||
Split data : No
|
||||
|
||||
This file was generated by GBMB v1.8
|
||||
|
||||
*/
|
||||
|
||||
#define mapWidth 20
|
||||
#define mapHeight 18
|
||||
#define mapBank 0
|
||||
|
||||
extern unsigned char map[];
|
||||
|
||||
/* End of MAP.H */
|
52
res/sprites.c
Normal file
52
res/sprites.c
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
|
||||
SPRITES.C
|
||||
|
||||
Tile Source File.
|
||||
|
||||
Info:
|
||||
Form : All tiles as one unit.
|
||||
Format : Gameboy 4 color.
|
||||
Compression : None.
|
||||
Counter : None.
|
||||
Tile size : 8 x 8
|
||||
Tiles : 0 to 10
|
||||
|
||||
Palette colors : None.
|
||||
SGB Palette : None.
|
||||
CGB Palette : None.
|
||||
|
||||
Convert to metatiles : No.
|
||||
|
||||
This file was generated by GBTD v2.2
|
||||
|
||||
*/
|
||||
|
||||
/* Start of tile array. */
|
||||
unsigned char sprites[] =
|
||||
{
|
||||
0xF7,0x08,0xED,0x12,0xFE,0x11,0xFF,0x38,
|
||||
0xFE,0x39,0xFE,0x39,0xFF,0x7E,0xFF,0x6E,
|
||||
0xFF,0x00,0xC3,0x42,0x81,0x00,0x81,0x00,
|
||||
0x81,0x00,0x81,0x00,0xC3,0x42,0xFF,0x00,
|
||||
0xC3,0xC3,0xDB,0xDB,0x3C,0x3C,0x7E,0x7E,
|
||||
0x7E,0x7E,0x3C,0x3C,0xDB,0xDB,0xC3,0xC3,
|
||||
0x43,0xC3,0xDB,0xDB,0x3C,0x3C,0x7E,0x7E,
|
||||
0x7E,0x7E,0x3C,0x3C,0xDB,0xDB,0xC3,0xC3,
|
||||
0xC2,0xC3,0xDB,0xDB,0x3C,0x3C,0x7E,0x7E,
|
||||
0x7E,0x7E,0x3C,0x3C,0xDB,0xDB,0xC3,0xC3,
|
||||
0xC3,0xC3,0xDB,0xDB,0x3C,0x3C,0x7E,0x7E,
|
||||
0x7E,0x7E,0x3C,0x3C,0xDB,0xDB,0x43,0xC3,
|
||||
0xC3,0xC3,0xDB,0xDB,0x3C,0x3C,0x7E,0x7E,
|
||||
0x7E,0x7E,0x3C,0x3C,0xDB,0xDB,0xC2,0xC3,
|
||||
0x42,0xC3,0xDB,0xDB,0x3C,0x3C,0x7E,0x7E,
|
||||
0x7E,0x7E,0x3C,0x3C,0xDB,0xDB,0xC3,0xC3,
|
||||
0xC2,0xC3,0xDB,0xDB,0x3C,0x3C,0x7E,0x7E,
|
||||
0x7E,0x7E,0x3C,0x3C,0xDB,0xDB,0xC2,0xC3,
|
||||
0xC3,0xC3,0xDB,0xDB,0x3C,0x3C,0x7E,0x7E,
|
||||
0x7E,0x7E,0x3C,0x3C,0xDB,0xDB,0x42,0xC3,
|
||||
0x43,0xC3,0xDB,0xDB,0x3C,0x3C,0x7E,0x7E,
|
||||
0x7E,0x7E,0x3C,0x3C,0xDB,0xDB,0x43,0xC3
|
||||
};
|
||||
|
||||
/* End of SPRITES.C */
|
BIN
res/sprites.gbr
Normal file
BIN
res/sprites.gbr
Normal file
Binary file not shown.
31
res/sprites.h
Normal file
31
res/sprites.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
|
||||
SPRITES.H
|
||||
|
||||
Include File.
|
||||
|
||||
Info:
|
||||
Form : All tiles as one unit.
|
||||
Format : Gameboy 4 color.
|
||||
Compression : None.
|
||||
Counter : None.
|
||||
Tile size : 8 x 8
|
||||
Tiles : 0 to 10
|
||||
|
||||
Palette colors : None.
|
||||
SGB Palette : None.
|
||||
CGB Palette : None.
|
||||
|
||||
Convert to metatiles : No.
|
||||
|
||||
This file was generated by GBTD v2.2
|
||||
|
||||
*/
|
||||
|
||||
|
||||
/* Bank of tiles. */
|
||||
#define spritesBank 0
|
||||
/* Start of tile array. */
|
||||
extern unsigned char sprites[];
|
||||
|
||||
/* End of SPRITES.H */
|
BIN
res/test.gbm
Normal file
BIN
res/test.gbm
Normal file
Binary file not shown.
BIN
res/tilemap.gbm
Normal file
BIN
res/tilemap.gbm
Normal file
Binary file not shown.
76
res/tiles.c
Normal file
76
res/tiles.c
Normal file
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
|
||||
TILES.C
|
||||
|
||||
Tile Source File.
|
||||
|
||||
Info:
|
||||
Form : All tiles as one unit.
|
||||
Format : Gameboy 4 color.
|
||||
Compression : None.
|
||||
Counter : None.
|
||||
Tile size : 8 x 8
|
||||
Tiles : 0 to 22
|
||||
|
||||
Palette colors : None.
|
||||
SGB Palette : None.
|
||||
CGB Palette : None.
|
||||
|
||||
Convert to metatiles : No.
|
||||
|
||||
This file was generated by GBTD v2.2
|
||||
|
||||
*/
|
||||
|
||||
/* Start of tile array. */
|
||||
unsigned char tiles[] =
|
||||
{
|
||||
0x10,0x00,0x00,0x00,0x08,0x00,0x10,0x00,
|
||||
0x30,0x00,0x20,0x00,0x60,0x00,0x50,0x20,
|
||||
0xFF,0xFF,0xFF,0xFF,0x00,0xFF,0x00,0xFF,
|
||||
0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,
|
||||
0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,
|
||||
0x00,0xFF,0x00,0xFF,0xFF,0xFF,0xFF,0xFF,
|
||||
0xC0,0xFF,0xC0,0xFF,0xC0,0xFF,0xC0,0xFF,
|
||||
0xC0,0xFF,0xC0,0xFF,0xC0,0xFF,0xC0,0xFF,
|
||||
0x03,0xFF,0x03,0xFF,0x03,0xFF,0x03,0xFF,
|
||||
0x03,0xFF,0x03,0xFF,0x03,0xFF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
|
||||
0xC3,0xFF,0xE7,0xFF,0xFF,0xFF,0x7E,0x7E,
|
||||
0xC3,0xFF,0xC3,0xFF,0xC3,0xFF,0xC3,0xFF,
|
||||
0xC3,0xFF,0xC3,0xFF,0xC3,0xFF,0xC3,0xFF,
|
||||
0xFF,0xFF,0xFF,0xFF,0x00,0xFF,0x00,0xFF,
|
||||
0x00,0xFF,0x00,0xFF,0xFF,0xFF,0xFF,0xFF,
|
||||
0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,
|
||||
0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
|
||||
};
|
||||
|
||||
/* End of TILES.C */
|
BIN
res/tiles.gbr
Normal file
BIN
res/tiles.gbr
Normal file
Binary file not shown.
31
res/tiles.h
Normal file
31
res/tiles.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
|
||||
TILES.H
|
||||
|
||||
Include File.
|
||||
|
||||
Info:
|
||||
Form : All tiles as one unit.
|
||||
Format : Gameboy 4 color.
|
||||
Compression : None.
|
||||
Counter : None.
|
||||
Tile size : 8 x 8
|
||||
Tiles : 0 to 22
|
||||
|
||||
Palette colors : None.
|
||||
SGB Palette : None.
|
||||
CGB Palette : None.
|
||||
|
||||
Convert to metatiles : No.
|
||||
|
||||
This file was generated by GBTD v2.2
|
||||
|
||||
*/
|
||||
|
||||
|
||||
/* Bank of tiles. */
|
||||
#define tilesBank 0
|
||||
/* Start of tile array. */
|
||||
extern unsigned char tiles[];
|
||||
|
||||
/* End of TILES.H */
|
Reference in New Issue
Block a user