Add textures
This commit is contained in:
parent
6d58efd7a4
commit
c957d0b35f
1 changed files with 293 additions and 274 deletions
567
demo2.cpp
567
demo2.cpp
|
@ -7,6 +7,11 @@
|
||||||
license: CC0 1.0
|
license: CC0 1.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define FPS 60
|
||||||
|
#define PLAYER_SPEED (UNITS_PER_SQUARE * 3)
|
||||||
|
|
||||||
|
#define SUBSAMPLE 1
|
||||||
|
|
||||||
#include "general.hpp"
|
#include "general.hpp"
|
||||||
|
|
||||||
#define LEVEL_X_RES 32
|
#define LEVEL_X_RES 32
|
||||||
|
@ -23,256 +28,283 @@ Sprite sprites[SPRITES];
|
||||||
|
|
||||||
const unsigned char level[] =
|
const unsigned char level[] =
|
||||||
{
|
{
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,0,1,1,1,1,0,1,1,1,3,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
1,3,1,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsigned char texture1[] =
|
||||||
|
{ 32, 36 // width, height
|
||||||
|
,0x08,0x08,0x11,0x11,0x11,0x12,0x12,0x11,0x12,0x11,0x11,0x11,0x09,0x09
|
||||||
|
,0x11,0x09,0x09,0x09,0x09,0x09,0x12,0x09,0x11,0x11,0x11,0x11,0x12,0x09
|
||||||
|
,0x11,0x09,0x09,0x09,0x12,0x09,0x09,0x08,0x08,0x08,0x52,0x11,0x12,0x12
|
||||||
|
,0x12,0x12,0x11,0x11,0x11,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12
|
||||||
|
,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x11,0x12
|
||||||
|
,0x09,0x08,0x08,0x08,0x52,0x12,0x09,0x11,0x11,0x11,0x11,0x11,0x11,0x11
|
||||||
|
,0x11,0x11,0x12,0x12,0x12,0x5a,0x5a,0x5a,0x52,0x11,0x12,0x12,0x12,0x12
|
||||||
|
,0x12,0x12,0x11,0x11,0x12,0x09,0x11,0x09,0x09,0x08,0x08,0x09,0x12,0x12
|
||||||
|
,0x12,0x11,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x5a,0x5a,0x5a
|
||||||
|
,0x5b,0x5b,0x5a,0x52,0x5a,0x09,0x11,0x12,0x12,0x11,0x12,0x12,0x11,0x11
|
||||||
|
,0x12,0x09,0x11,0x08,0x08,0x08,0x52,0x12,0x12,0x12,0x08,0x09,0x09,0x09
|
||||||
|
,0x08,0x09,0x09,0x09,0x09,0x52,0x5a,0x5a,0x5a,0x5a,0x5a,0x51,0x09,0x09
|
||||||
|
,0x08,0x09,0x09,0x09,0x09,0x09,0x12,0x12,0x11,0x11,0x09,0x08,0x08,0x08
|
||||||
|
,0x52,0x12,0x11,0x12,0x09,0x08,0x08,0x08,0x08,0x08,0x09,0x09,0x11,0x5a
|
||||||
|
,0x62,0xab,0xfd,0xab,0x63,0x5a,0x11,0x11,0x09,0x09,0x09,0x09,0x09,0x09
|
||||||
|
,0x12,0x11,0x12,0x11,0x09,0x08,0x08,0x08,0x52,0x12,0x09,0x11,0x08,0x08
|
||||||
|
,0x5b,0x5b,0x5b,0x5b,0x5b,0x09,0x11,0x62,0xab,0xb3,0xfd,0xb3,0xab,0x62
|
||||||
|
,0x51,0x09,0x09,0x09,0x08,0x09,0x09,0x09,0x12,0x09,0x11,0x09,0x09,0x08
|
||||||
|
,0x08,0x08,0x12,0x12,0x12,0x12,0x00,0x08,0x5b,0xfd,0x5b,0x09,0x5b,0x09
|
||||||
|
,0x11,0x5a,0x62,0x63,0xab,0x63,0x62,0x5a,0x11,0x09,0x09,0x09,0x09,0x09
|
||||||
|
,0x09,0x09,0x12,0x12,0x12,0x12,0x09,0x08,0x08,0x08,0x52,0x12,0x12,0x12
|
||||||
|
,0x08,0x08,0x5b,0x5b,0x5b,0x09,0x5b,0x09,0x11,0x5a,0x62,0x63,0x6b,0x63
|
||||||
|
,0x5a,0x5a,0x11,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x12,0x12,0x12,0x11
|
||||||
|
,0x09,0x08,0x08,0x09,0x12,0x12,0x09,0x11,0x08,0x08,0x5b,0xfd,0x5b,0x09
|
||||||
|
,0x09,0x09,0x11,0x62,0xab,0xb3,0xfd,0xb3,0xab,0x62,0x51,0x09,0x09,0x08
|
||||||
|
,0x08,0x09,0x09,0x09,0x12,0x09,0x11,0x12,0x11,0x08,0x08,0x08,0x12,0x12
|
||||||
|
,0x12,0x12,0x08,0x08,0x5b,0x5b,0x5b,0x09,0x5b,0x09,0x11,0x62,0xab,0xb3
|
||||||
|
,0xfd,0xb4,0xab,0x62,0x59,0x11,0x09,0x09,0x09,0x09,0x09,0x09,0x12,0x12
|
||||||
|
,0x12,0x11,0x09,0x08,0x08,0x09,0x52,0x12,0x12,0x11,0x08,0x08,0x5b,0x5b
|
||||||
|
,0x5b,0x5b,0x5b,0x09,0x11,0x5a,0x62,0x63,0xab,0x63,0x62,0x5a,0x11,0x09
|
||||||
|
,0x09,0x09,0x09,0x09,0x08,0x09,0x12,0x12,0x11,0x12,0x09,0x08,0x08,0x08
|
||||||
|
,0x12,0x12,0x09,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x11,0x5a
|
||||||
|
,0x62,0x63,0x6b,0x63,0x62,0x5a,0x11,0x09,0x09,0x09,0x09,0x09,0x09,0x09
|
||||||
|
,0x12,0x09,0x09,0x09,0x09,0x08,0x08,0x08,0x52,0x12,0x11,0x12,0x09,0x09
|
||||||
|
,0x09,0x09,0x09,0x09,0x09,0x09,0x11,0x62,0xab,0xb3,0xfd,0xb4,0xab,0x62
|
||||||
|
,0x51,0x11,0x09,0x09,0x09,0x09,0x09,0x09,0x12,0x11,0x12,0x09,0x11,0x08
|
||||||
|
,0x08,0x08,0x12,0x12,0x12,0x12,0x08,0x09,0x09,0x09,0x08,0x09,0x09,0x09
|
||||||
|
,0x11,0x62,0xab,0xb3,0xfd,0xb4,0xab,0x62,0x59,0x09,0x09,0x09,0x08,0x09
|
||||||
|
,0x09,0x09,0x12,0x12,0x12,0x12,0x09,0x08,0x08,0x08,0x52,0x12,0x09,0x11
|
||||||
|
,0x00,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x11,0x5a,0x62,0x63,0xab,0x63
|
||||||
|
,0x62,0x5a,0x11,0x09,0x09,0x09,0x08,0x09,0x09,0x09,0x12,0x09,0x11,0x09
|
||||||
|
,0x09,0x08,0x08,0x08,0x52,0x12,0x11,0x12,0x08,0x09,0x09,0x09,0x09,0x09
|
||||||
|
,0x09,0x09,0x11,0x5a,0x5a,0x63,0x6b,0x63,0x62,0x5a,0x11,0x09,0x09,0x09
|
||||||
|
,0x00,0x09,0x09,0x09,0x12,0x11,0x12,0x09,0x09,0x08,0x08,0x08,0x52,0x12
|
||||||
|
,0x12,0x12,0x08,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x5a,0x62,0xab,0xb3
|
||||||
|
,0xfd,0xb4,0xab,0x62,0x51,0x09,0x09,0x09,0x08,0x09,0x09,0x09,0x12,0x12
|
||||||
|
,0x12,0x09,0x09,0x08,0x08,0x09,0x52,0x12,0x11,0x12,0x08,0x09,0x09,0x09
|
||||||
|
,0x09,0x09,0x09,0x09,0x51,0x62,0xab,0xb3,0xfd,0xb4,0xab,0x62,0x5a,0x09
|
||||||
|
,0x09,0x09,0x00,0x09,0x09,0x09,0x12,0x11,0x12,0x11,0x09,0x08,0x08,0x08
|
||||||
|
,0x12,0x12,0x11,0x12,0x08,0x09,0x09,0x09,0x09,0x09,0x08,0x08,0x11,0x5a
|
||||||
|
,0x62,0x63,0xab,0x63,0x62,0x5a,0x11,0x09,0x09,0x09,0x08,0x09,0x09,0x09
|
||||||
|
,0x12,0x11,0x12,0x09,0x11,0x08,0x08,0x08,0x12,0x12,0x12,0x12,0x09,0x09
|
||||||
|
,0x5b,0x5b,0x5b,0x5b,0x5b,0x09,0x11,0x5a,0x62,0x63,0xab,0x63,0x5a,0x5a
|
||||||
|
,0x11,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x12,0x12,0x12,0x11,0x09,0x08
|
||||||
|
,0x08,0x08,0x12,0x12,0x11,0x12,0x09,0x09,0x5b,0xfd,0x5b,0x09,0x5b,0x09
|
||||||
|
,0x11,0x62,0xab,0xb4,0xfd,0xb4,0xab,0x62,0x51,0x09,0x09,0x09,0x09,0x09
|
||||||
|
,0x09,0x09,0x12,0x11,0x12,0x11,0x09,0x08,0x08,0x08,0x12,0x12,0x09,0x12
|
||||||
|
,0x09,0x09,0x5b,0x5b,0x5b,0x09,0x5b,0x09,0x51,0x62,0xab,0xb3,0xfd,0xb4
|
||||||
|
,0xab,0x62,0x51,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x12,0x09,0x12,0x11
|
||||||
|
,0x09,0x08,0x08,0x08,0x12,0x12,0x12,0x12,0x09,0x09,0x5b,0xfd,0x5b,0x09
|
||||||
|
,0x09,0x09,0x11,0x5a,0x62,0x63,0xab,0x63,0x62,0x5a,0x11,0x09,0x09,0x09
|
||||||
|
,0x09,0x09,0x09,0x09,0x12,0x12,0x12,0x12,0x09,0x08,0x08,0x09,0x12,0x12
|
||||||
|
,0x12,0x12,0x09,0x09,0x5b,0x5b,0x5b,0x09,0x5b,0x09,0x11,0x5a,0x62,0x63
|
||||||
|
,0x6b,0x63,0x62,0x5a,0x11,0x09,0x09,0x09,0x08,0x09,0x09,0x09,0x12,0x12
|
||||||
|
,0x12,0x11,0x09,0x08,0x08,0x08,0x12,0x12,0x09,0x12,0x09,0x09,0x5b,0x5b
|
||||||
|
,0x5b,0x5b,0x5b,0x09,0x11,0x62,0x6b,0xb3,0xfd,0xb3,0x62,0x62,0x51,0x09
|
||||||
|
,0x09,0x09,0x09,0x09,0x09,0x09,0x12,0x09,0x12,0x11,0x11,0x08,0x08,0x09
|
||||||
|
,0x52,0x12,0x12,0x12,0x09,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x11,0x5a
|
||||||
|
,0x62,0xab,0xfd,0xab,0x63,0x62,0x51,0x09,0x09,0x09,0x09,0x09,0x09,0x09
|
||||||
|
,0x12,0x12,0x12,0x09,0x09,0x08,0x08,0x08,0x12,0x12,0x12,0x12,0x08,0x09
|
||||||
|
,0x09,0x09,0x08,0x09,0x09,0x09,0x09,0x52,0x5a,0x5a,0x5a,0x5a,0x5a,0x51
|
||||||
|
,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x12,0x12,0x12,0x09,0x09,0x08
|
||||||
|
,0x08,0x08,0x12,0x12,0x12,0x09,0x12,0x11,0x12,0x09,0x11,0x09,0x11,0x09
|
||||||
|
,0x12,0x12,0x5a,0x5a,0x5a,0x5a,0x5a,0x5a,0x12,0x11,0x12,0x12,0x12,0x12
|
||||||
|
,0x11,0x12,0x09,0x11,0x11,0x11,0x09,0x08,0x08,0x08,0x12,0x12,0x09,0x12
|
||||||
|
,0x12,0x12,0x11,0x12,0x12,0x11,0x12,0x11,0x12,0x12,0x52,0x5a,0x5a,0x52
|
||||||
|
,0x52,0x12,0x12,0x11,0x11,0x12,0x11,0x11,0x11,0x12,0x12,0x09,0x12,0x09
|
||||||
|
,0x09,0x08,0x08,0x08,0x52,0x11,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12
|
||||||
|
,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12
|
||||||
|
,0x12,0x12,0x12,0x12,0x12,0x12,0x11,0x11,0x09,0x08,0x08,0x08,0x11,0x09
|
||||||
|
,0x09,0x09,0x11,0x11,0x12,0x12,0x11,0x11,0x11,0x11,0x11,0x09,0x09,0x09
|
||||||
|
,0x09,0x09,0x11,0x09,0x11,0x09,0x09,0x11,0x09,0x11,0x11,0x11,0x09,0x11
|
||||||
|
,0x12,0x09,0x11,0x08
|
||||||
};
|
};
|
||||||
|
|
||||||
const unsigned char texture2[] =
|
const unsigned char texture2[] =
|
||||||
{ 32, 32 // width, height
|
{ 32, 36 // width, height
|
||||||
,0x65,0x1d,0x01,0x1c,0x12,0x0a,0x01,0x13,0x14,0x6e,0x2e,0x0b,0x1c,0x1d
|
,0x00,0x09,0x08,0x00,0x00,0x09,0x09,0x09,0x09,0x09,0x11,0x09,0x11,0x11
|
||||||
,0x2e,0x1d,0x13,0x0b,0x13,0x65,0x1d,0x1d,0x13,0x66,0x6f,0x6e,0x65,0x6f
|
,0x11,0x11,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09
|
||||||
,0x77,0x7f,0x6f,0x6f,0x1d,0x14,0x13,0x6e,0x6e,0x66,0x6f,0x77,0x77,0x6f
|
,0x09,0x09,0x09,0x09,0x09,0x59,0x09,0x09,0x00,0x09,0x08,0x00,0x00,0x09
|
||||||
,0x66,0x66,0x13,0x25,0x0a,0x01,0x6e,0x66,0x01,0x12,0x02,0x01,0x1b,0x6e
|
,0x09,0x09,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x51,0x51,0x59,0x51
|
||||||
,0x77,0x77,0x77,0x77,0x77,0x6f,0x6f,0x6e,0x1c,0x1d,0x1c,0x77,0x67,0x6f
|
,0x19,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x09,0x09,0x59
|
||||||
,0x6f,0x77,0x67,0x77,0x77,0x66,0x13,0x0a,0x14,0x77,0x66,0x6f,0x77,0x66
|
,0x09,0x09,0x00,0x09,0x08,0x00,0x00,0x09,0x09,0x11,0x11,0x11,0x11,0x11
|
||||||
,0x1b,0x13,0x66,0x77,0x6f,0x77,0x6f,0x6f,0x6f,0x26,0x6e,0x1d,0x25,0x14
|
,0x11,0x11,0x11,0x11,0xb2,0x09,0x09,0x09,0x09,0x11,0x11,0x11,0x11,0x11
|
||||||
,0x13,0x6e,0x6f,0x6f,0x77,0x6f,0x77,0x77,0x77,0x1d,0x1d,0x01,0x25,0x67
|
,0x11,0x11,0x11,0x11,0x11,0x11,0x09,0x59,0x09,0x09,0x00,0x09,0x08,0x00
|
||||||
,0x7f,0x6f,0x6f,0x66,0x66,0x14,0x66,0x6f,0x7f,0x6f,0x77,0x6f,0x1d,0x25
|
,0x00,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0xb3,0x19
|
||||||
,0x1d,0x66,0x1d,0x65,0x14,0x2e,0x26,0x77,0x6d,0x67,0x6f,0x25,0x6f,0x5e
|
,0x19,0x11,0x11,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09
|
||||||
,0x5d,0x0b,0x5d,0x6f,0x6f,0x26,0x1d,0x77,0x66,0x1c,0x13,0x6f,0x6f,0x6f
|
,0x09,0xb3,0x09,0x09,0x00,0x09,0x08,0x08,0x00,0x09,0x09,0x11,0x11,0x59
|
||||||
,0x66,0x67,0x66,0x65,0x6e,0x1c,0x1b,0x0a,0x01,0x1d,0x65,0x1e,0x6f,0x6e
|
,0x59,0x59,0x59,0x59,0x59,0x11,0xb3,0x29,0x28,0x11,0x11,0x11,0x11,0x11
|
||||||
,0x67,0x66,0x66,0x65,0x14,0x1c,0x25,0x65,0x6e,0x66,0x66,0x6e,0x66,0x1c
|
,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x09,0x09,0x59,0x09,0x09,0x00,0x09
|
||||||
,0x02,0x1d,0x77,0x6e,0x77,0x66,0x25,0x13,0x5c,0x1d,0x0a,0x14,0x0b,0x14
|
,0x08,0x08,0x00,0x09,0x09,0x11,0x11,0x59,0x59,0x59,0x59,0x59,0x09,0x11
|
||||||
,0x6e,0x65,0x1d,0x66,0x1d,0x66,0x1d,0x66,0x14,0x25,0x14,0x6e,0x66,0x25
|
,0xb2,0x09,0x09,0x09,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11
|
||||||
,0x66,0x5d,0x66,0x25,0x0a,0x6e,0x6f,0x6f,0x6e,0x1d,0x13,0x65,0x5c,0x01
|
,0x11,0x11,0x09,0x59,0x09,0x09,0x08,0x09,0x08,0x08,0x00,0x09,0x09,0x11
|
||||||
,0x0a,0x15,0x1d,0x0a,0x01,0x5d,0x6e,0x5c,0x25,0x1d,0x1e,0x26,0x1d,0x1b
|
,0x59,0x59,0x59,0x59,0x59,0x59,0x11,0x11,0x61,0x61,0x59,0x59,0x59,0x59
|
||||||
,0x14,0x25,0x25,0x1d,0x14,0x1d,0x14,0x13,0x01,0x25,0x6e,0x25,0x25,0x25
|
,0x19,0x11,0x11,0x09,0x11,0x11,0x11,0x11,0x11,0x09,0x09,0x59,0x09,0x09
|
||||||
,0x1d,0x1c,0x01,0x0a,0x14,0x14,0x5d,0x14,0x14,0x0a,0x1d,0x5d,0x1c,0x6e
|
,0x00,0x09,0x08,0x08,0x00,0x09,0x09,0x11,0x11,0x09,0x09,0x09,0x09,0x11
|
||||||
,0x1d,0x65,0x5d,0x1d,0x0a,0x01,0x14,0x1c,0x25,0x0a,0x01,0x12,0x1c,0x0b
|
,0x11,0x11,0x09,0x09,0x51,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x09
|
||||||
,0x01,0x1c,0x14,0x25,0x0b,0x1b,0x25,0x14,0x25,0x02,0x1d,0x25,0x1d,0x09
|
,0x09,0x00,0x00,0x00,0x00,0xb3,0x09,0x09,0x08,0x09,0x08,0x09,0x00,0x09
|
||||||
,0x13,0x1c,0x1d,0x66,0x1d,0x1c,0x0b,0x14,0x0b,0x65,0x2d,0x09,0x0a,0x09
|
,0x09,0x09,0x09,0x59,0x59,0x11,0x11,0x11,0x11,0x11,0x09,0x09,0x09,0x09
|
||||||
,0x14,0x66,0x6f,0x66,0x66,0x1c,0x0a,0x01,0x0b,0x14,0x66,0x1c,0x1d,0x1c
|
,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x11
|
||||||
,0x66,0x66,0x65,0x6e,0x1c,0x09,0x1c,0x1d,0x14,0x1c,0x0b,0x01,0x1d,0x6e
|
,0x09,0x09,0x09,0x09,0x08,0x09,0x08,0x09,0x11,0x59,0x09,0x08,0x08,0x08
|
||||||
,0x77,0x66,0x1c,0x1c,0x6e,0x6f,0x6f,0x77,0x7f,0x77,0x5e,0x6e,0x6f,0x67
|
,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08
|
||||||
,0x6f,0x6f,0x0a,0x0a,0x66,0x67,0x66,0x25,0x13,0x1c,0x24,0x14,0x25,0x1c
|
,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x59,0x09,0x09,0x09,0x09,0x08,0x09
|
||||||
,0x0b,0x1d,0x6e,0x77,0x7f,0x77,0x5e,0x1c,0x65,0x6f,0x7f,0x6e,0x6f,0x77
|
,0x09,0x11,0x51,0xad,0x09,0xb2,0xac,0x72,0x72,0x71,0x69,0x61,0x61,0x59
|
||||||
,0x6f,0x67,0x6f,0x6f,0x66,0x25,0x14,0x6f,0x6f,0x77,0x6f,0x67,0x6e,0x13
|
,0x19,0x19,0x19,0x19,0x19,0x19,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11
|
||||||
,0x0a,0x09,0x13,0x12,0x1d,0x66,0x6f,0x66,0x5e,0x6e,0x66,0x25,0x14,0x25
|
,0x09,0x59,0x09,0x09,0x09,0x09,0x08,0x09,0x09,0x51,0x59,0xa5,0xa0,0x72
|
||||||
,0x26,0x25,0x6f,0x1d,0x77,0x6f,0x66,0x6e,0x66,0x1c,0x12,0x6f,0x6f,0x67
|
,0xb4,0xb4,0xb3,0x71,0x69,0x61,0x61,0x59,0x59,0x59,0x19,0x19,0x19,0x19
|
||||||
,0x77,0x1d,0x77,0x13,0x66,0x77,0x6f,0x6f,0x6f,0x77,0x6f,0x66,0x77,0x77
|
,0x11,0x19,0x11,0x11,0x11,0x11,0x11,0x11,0x09,0x59,0x09,0x09,0x09,0x09
|
||||||
,0x6f,0x6e,0x13,0x25,0x26,0x25,0x66,0x65,0x66,0x66,0x6e,0x66,0x6e,0x14
|
,0x08,0x09,0x09,0x51,0x59,0xad,0x60,0x71,0xb4,0xb4,0xab,0x72,0x69,0x61
|
||||||
,0x09,0x66,0x6f,0x6e,0x2f,0x6e,0x26,0x1c,0x6f,0x66,0x6f,0x7f,0x6f,0x7f
|
,0x61,0x59,0x59,0x59,0x19,0x19,0x19,0x19,0x19,0x19,0x11,0x11,0x11,0x11
|
||||||
,0x6f,0x6f,0x6e,0x6e,0x66,0x6f,0x13,0x13,0x1d,0x66,0x1d,0x25,0x66,0x65
|
,0x11,0x11,0x09,0x59,0x09,0x09,0x09,0x09,0x08,0x09,0x09,0x51,0x59,0xae
|
||||||
,0x6e,0x1d,0x1d,0x0a,0x14,0x6f,0x77,0x77,0x2e,0x25,0x1c,0x0a,0x65,0x6f
|
,0xa9,0xb3,0xad,0xb4,0xab,0x72,0x69,0x69,0x61,0x59,0x59,0x59,0x19,0x19
|
||||||
,0x6f,0x6f,0x7f,0x6f,0x77,0x77,0x66,0x6f,0x6e,0x6e,0x25,0x14,0x01,0x0a
|
,0x19,0x19,0x19,0x19,0x11,0x11,0x11,0x11,0x11,0x11,0x09,0x59,0x09,0x09
|
||||||
,0x09,0x0a,0x0b,0x14,0x1d,0x0a,0x14,0x13,0x66,0x6f,0x6f,0x25,0x1c,0x5d
|
,0x09,0x09,0x08,0x09,0x09,0x51,0x61,0xae,0xa9,0xb4,0xad,0xb4,0xab,0x72
|
||||||
,0x65,0x01,0x66,0x1e,0x6f,0x6f,0x6f,0x77,0x6f,0x6f,0x6e,0x6f,0x66,0x1d
|
,0x69,0x09,0x09,0x09,0x09,0x09,0x19,0x19,0x19,0x09,0x09,0x09,0x09,0x09
|
||||||
,0x1d,0x0a,0x66,0x6f,0x66,0x2e,0x6e,0x6e,0x14,0x13,0x12,0x14,0x6f,0x6f
|
,0x09,0x09,0x11,0x11,0x09,0x59,0x09,0x09,0x09,0x09,0x08,0x09,0x09,0x51
|
||||||
,0x6e,0x6e,0x25,0x0a,0x13,0x12,0x6e,0x6f,0x66,0x6f,0x66,0x65,0x66,0x6f
|
,0x61,0xae,0xa9,0xb4,0xad,0xb4,0xac,0x72,0x69,0x11,0x61,0x59,0x59,0x09
|
||||||
,0x66,0x25,0x66,0x25,0x0a,0x01,0x6e,0x77,0x77,0x6f,0x6f,0x6e,0x6e,0x14
|
,0x19,0x19,0x19,0x09,0x11,0x11,0x11,0x11,0x11,0x09,0x11,0x11,0x09,0x59
|
||||||
,0x1d,0x6e,0x1b,0x25,0x1d,0x1c,0x1d,0x14,0x01,0x25,0x25,0x66,0x6e,0x6f
|
,0x09,0x09,0x09,0x09,0x08,0x09,0x09,0x51,0x61,0xae,0xa9,0x72,0x72,0x72
|
||||||
,0x1d,0x6f,0x66,0x1d,0x1d,0x1d,0x6e,0x1d,0x0b,0x6e,0x6f,0x77,0x7f,0x6f
|
,0x69,0x69,0x61,0x11,0x61,0x59,0x59,0x09,0x09,0x09,0x09,0x09,0x19,0x19
|
||||||
,0x77,0x77,0x66,0x66,0x13,0x5d,0x13,0x0a,0x01,0x1c,0x13,0x0a,0x6e,0x09
|
,0x11,0x11,0x11,0x09,0x09,0x09,0x09,0x59,0x09,0x09,0x09,0x09,0x08,0x09
|
||||||
,0x1d,0x65,0x25,0x66,0x66,0x6e,0x65,0x25,0x65,0x6e,0x1d,0x65,0x13,0x65
|
,0x09,0x51,0x59,0xae,0xa9,0xb4,0xac,0xb4,0xab,0x72,0x69,0x69,0x61,0x59
|
||||||
,0x6f,0x77,0x67,0x7f,0x6f,0x77,0x6f,0x6e,0x14,0x1c,0x1c,0x6e,0x77,0x6e
|
,0x11,0x19,0x28,0x11,0x11,0x19,0x19,0x19,0x11,0x11,0x11,0x11,0x11,0x11
|
||||||
,0x77,0x6f,0x25,0x0a,0x1c,0x1d,0x1d,0x66,0x1d,0x6e,0x15,0x26,0x25,0x5e
|
,0x09,0x59,0x09,0x09,0x09,0x09,0x08,0x09,0x09,0x51,0x59,0xad,0xa9,0xab
|
||||||
,0x25,0x13,0x1d,0x77,0x77,0x66,0x66,0x6e,0x6f,0x77,0x7f,0x6e,0x12,0x13
|
,0xac,0xab,0xab,0x72,0x69,0x69,0x61,0x59,0x11,0x19,0x28,0x11,0x11,0x19
|
||||||
,0x66,0x77,0x6f,0x77,0x6f,0x77,0x26,0x6f,0x0b,0x25,0x1c,0x25,0x25,0x25
|
,0x19,0x19,0x11,0x11,0x11,0x11,0x11,0x11,0x09,0x59,0x09,0x09,0x09,0x09
|
||||||
,0x66,0x1d,0x1b,0x25,0x0a,0x1d,0x6e,0x67,0x67,0x6f,0x66,0x1d,0x65,0x6e
|
,0x08,0x09,0x09,0x11,0x59,0xad,0xa0,0xb1,0xb4,0xb4,0x72,0x69,0x69,0x61
|
||||||
,0x67,0x6f,0x6e,0x13,0x77,0x7f,0x67,0x77,0x77,0x77,0x6f,0x6e,0x5d,0x13
|
,0x61,0x19,0x19,0x61,0x59,0x59,0x11,0x19,0x11,0x11,0x11,0x11,0x11,0x11
|
||||||
,0x14,0x1d,0x1c,0x1d,0x1d,0x14,0x1d,0x0a,0x09,0x1c,0x66,0x77,0x66,0x67
|
,0x11,0x11,0x09,0x59,0x09,0x09,0x09,0x09,0x08,0x09,0x09,0x11,0x59,0xa5
|
||||||
,0x6e,0x1c,0x65,0x66,0x66,0x6d,0x1c,0x09,0x6e,0x67,0x6f,0x7f,0x6f,0x77
|
,0x60,0x71,0xb4,0xab,0x72,0x69,0x69,0x61,0x59,0x19,0x19,0x19,0x19,0x19
|
||||||
,0x6f,0x6e,0x66,0x0a,0x01,0x13,0x1d,0x14,0x65,0x14,0x02,0x01,0x1d,0x1c
|
,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x09,0x59,0x09,0x09
|
||||||
,0x13,0x66,0x2e,0x66,0x77,0x6e,0x1e,0x25,0x25,0x6e,0x0a,0x13,0x6e,0x67
|
,0x09,0x09,0x08,0x09,0x09,0x11,0x51,0xad,0x09,0xb2,0xb4,0xab,0x71,0x71
|
||||||
,0x26,0x67,0x6f,0x77,0x67,0x6f,0x1d,0x6e,0x14,0x0a,0x01,0x13,0x01,0x25
|
,0x69,0x61,0x59,0x19,0x19,0x19,0x19,0x19,0x11,0x11,0x19,0x11,0x11,0x11
|
||||||
,0x66,0x77,0x66,0x65,0x1c,0x0b,0x66,0x25,0x66,0x66,0x25,0x6e,0x66,0x1d
|
,0x11,0x11,0x11,0x11,0x09,0x59,0x09,0x09,0x08,0x09,0x08,0x09,0x08,0x09
|
||||||
,0x14,0x0a,0x1d,0x66,0x66,0x66,0x6f,0x6e,0x6f,0x6f,0x5d,0x1d,0x0a,0x25
|
,0x11,0x51,0x09,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08
|
||||||
,0x26,0x6f,0x6f,0x6f,0x7f,0x6f,0x6f,0x6f,0x77,0x0a,0x09,0x1d,0x6f,0x6e
|
,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x59
|
||||||
,0x15,0x25,0x1c,0x1d,0x1d,0x13,0x25,0x66,0x1c,0x6e,0x66,0x26,0x66,0x66
|
,0x09,0x09,0x08,0x09,0x08,0x09,0x00,0x09,0x09,0x11,0x09,0x09,0x09,0x09
|
||||||
,0x25,0x1c,0x0a,0x66,0x6f,0x7f,0x6f,0x6f,0x6f,0x66,0x6f,0x77,0x6e,0x66
|
,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09
|
||||||
,0x0a,0x1b,0x26,0x1d,0x5e,0x1d,0x65,0x13,0x0a,0x1d,0x66,0x6e,0x25,0x6e
|
,0x09,0x09,0x09,0x08,0x08,0x08,0x00,0x59,0x09,0x09,0x08,0x09,0x08,0x08
|
||||||
,0x1d,0x1d,0x6e,0x25,0x13,0x1d,0x14,0x5e,0x77,0x27,0x7f,0x77,0x7f,0x67
|
,0x00,0x09,0x09,0x11,0x59,0x59,0x59,0x59,0x19,0x59,0x59,0x59,0x49,0x49
|
||||||
,0x66,0x67,0x1d,0x1d,0x13,0x09,0x76,0x66,0x24,0x1c,0x1b,0x13,0x13,0x1d
|
,0x51,0x51,0x19,0x19,0x59,0x59,0x11,0x11,0x11,0x11,0x09,0x09,0x09,0x09
|
||||||
,0x25,0x25,0x5e,0x1d,0x6e,0x25,0x1c,0x25,0x66,0x1d,0x09,0x1d,0x77,0x6f
|
,0x09,0x59,0x09,0x09,0x00,0x09,0x08,0x08,0x00,0x09,0x09,0x11,0x11,0x11
|
||||||
,0x66,0x6f,0x66,0x66,0x66,0x6e,0x65,0x66,0x65,0x1c,0x1d,0x1d,0x65,0x14
|
,0x59,0x59,0x59,0x59,0x59,0x59,0x09,0x09,0x51,0x51,0x19,0x11,0x19,0x11
|
||||||
,0x1c,0x25,0x0a,0x0a,0x0a,0x25,0x1d,0x66,0x14,0x25,0x66,0x6e,0x1d,0x25
|
,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x09,0x09,0x59,0x09,0x09,0x00,0x09
|
||||||
,0x09,0x1c,0x66,0x77,0x6f,0x66,0x7f,0x77,0x1d,0x6e,0x1c,0x1d,0x1d,0x0a
|
,0x08,0x00,0x00,0x09,0x09,0x11,0x11,0x11,0x59,0x59,0x59,0x59,0x59,0x59
|
||||||
,0x25,0x66,0x1d,0x25,0x13,0x0a,0x1d,0x14,0x1e,0x13,0x1d,0x14,0x65,0x66
|
,0x09,0x09,0x51,0x09,0x11,0x11,0x19,0x11,0x11,0x11,0x11,0x11,0x11,0x11
|
||||||
,0x66,0x25,0x1d,0x14,0x0a,0x14,0x15,0x65,0x7f,0x77,0x66,0x25,0x1d,0x1d
|
,0x11,0x09,0x09,0x59,0x09,0x09,0x00,0x09,0x08,0x00,0x00,0x09,0x09,0x11
|
||||||
,0x1d,0x6e,0x1c,0x14,0x13,0x65,0x1d,0x1c,0x0a,0x0a,0x65,0x1d,0x25,0x0a
|
,0x11,0x59,0x59,0x59,0x59,0x59,0x59,0x59,0x09,0x09,0x11,0x09,0x19,0x11
|
||||||
,0x1c,0x1d,0x1c,0x25,0x1d,0x1c,0x14,0x01,0x1b,0x0a,0x1d,0x65,0x6f,0x1d
|
,0x19,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x09,0x59,0x09,0x09
|
||||||
,0x66,0x65,0x6e,0x66,0x1d,0x14,0x0a,0x0a,0x1b,0x12,0x1c,0x0a,0x14,0x6e
|
,0x00,0x09,0x08,0x00,0x00,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09
|
||||||
,0x66,0x25
|
,0x09,0x09,0x00,0x00,0x00,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09
|
||||||
|
,0x09,0x09,0x09,0x09,0x09,0xb3,0x09,0x09,0x00,0x09,0x08,0x00,0x00,0x09
|
||||||
|
,0x09,0x11,0x11,0x11,0x19,0x19,0x19,0x11,0x59,0x11,0x09,0x09,0x11,0x09
|
||||||
|
,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x09,0x09,0x59
|
||||||
|
,0x09,0x09,0x00,0x09,0x08,0x00,0x00,0x09,0x09,0x11,0x11,0x11,0x11,0x11
|
||||||
|
,0x11,0x11,0x11,0x11,0x09,0x09,0x11,0x09,0x11,0x11,0x11,0x11,0x11,0x11
|
||||||
|
,0x11,0x11,0x11,0x11,0x11,0x09,0x09,0x59,0x09,0x09,0x00,0x09,0x08,0x00
|
||||||
|
,0x00,0x09,0x09,0x09,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x09,0x09
|
||||||
|
,0x09,0x09,0x11,0x11,0x11,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09
|
||||||
|
,0x09,0x59,0x09,0x09
|
||||||
};
|
};
|
||||||
|
|
||||||
const unsigned char texture3[] =
|
const unsigned char texture3[] =
|
||||||
{ 32, 32 // width, height
|
{ 32, 36 // width, height
|
||||||
,0xb6,0x3d,0x33,0x33,0x3e,0x33,0x2a,0x29,0x2a,0x29,0x2a,0x20,0x29,0x29
|
,0x08,0x08,0x64,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad
|
||||||
,0x2a,0x29,0x10,0x10,0x10,0x49,0x58,0x99,0x50,0x50,0x10,0x4b,0x54,0x54
|
,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0x6d,0x6d,0x64,0x64,0x64
|
||||||
,0x55,0x55,0x4a,0x49,0x29,0x3d,0x3d,0x7c,0x3d,0x33,0x34,0x3d,0x33,0x33
|
,0x64,0x5b,0x09,0x09,0x09,0x09,0x09,0x08,0x08,0x08,0x64,0xad,0xad,0xad
|
||||||
,0x33,0x20,0x20,0x29,0x10,0x20,0x10,0x50,0x10,0x49,0x10,0x99,0x51,0x51
|
,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad
|
||||||
,0x33,0x10,0x53,0x66,0x67,0x15,0x54,0x4b,0x7f,0x33,0x7f,0x3d,0x3e,0x3d
|
,0xad,0xad,0xad,0x6d,0x64,0x64,0x64,0x64,0x5b,0x5b,0x09,0x09,0x09,0x09
|
||||||
,0x33,0x3d,0x29,0x29,0x2a,0x20,0x20,0x2a,0x10,0x20,0x10,0x51,0x50,0x50
|
,0x09,0x08,0x08,0x08,0x64,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad
|
||||||
,0x58,0x51,0x51,0x51,0x33,0x33,0x10,0x55,0x5e,0x67,0x26,0x66,0x29,0x7f
|
,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0x6d,0x64,0x64
|
||||||
,0x3e,0x3d,0x3d,0x33,0x3d,0x33,0x29,0x10,0x10,0x20,0x33,0x10,0x10,0x2a
|
,0x64,0x64,0x5b,0x5b,0x09,0x09,0x09,0x09,0x09,0x08,0x08,0x09,0x64,0xad
|
||||||
,0x58,0x59,0x50,0x10,0x51,0x51,0x10,0x51,0x52,0x37,0x37,0x10,0x10,0x5d
|
,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad
|
||||||
,0x53,0x55,0x6c,0x3e,0x3d,0x33,0x33,0x3d,0x33,0x29,0x10,0x2a,0x20,0x20
|
,0xad,0xad,0xad,0xad,0xad,0x6d,0x64,0x64,0x64,0x64,0x64,0x5b,0x00,0x09
|
||||||
,0x29,0x20,0x10,0x10,0x58,0x10,0x10,0x10,0x58,0x49,0x51,0x99,0x49,0x37
|
,0x00,0x09,0x11,0x08,0x08,0x08,0x64,0xad,0xad,0xad,0xad,0xad,0xad,0xad
|
||||||
,0x37,0x33,0x33,0x10,0x10,0x49,0x7f,0x7f,0x33,0x3d,0x3d,0x7f,0x33,0x3e
|
,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0x6d
|
||||||
,0x29,0x2a,0x29,0x2a,0x29,0x2a,0x20,0x20,0x20,0x50,0x51,0x10,0x58,0x51
|
,0x6d,0x64,0x64,0x64,0x64,0x5b,0x00,0x00,0x00,0x09,0x09,0x08,0x08,0x08
|
||||||
,0x51,0x99,0x49,0x00,0x33,0x10,0x10,0x10,0x10,0x10,0x3d,0x7f,0x3d,0x33
|
,0x64,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0xad,0xad
|
||||||
,0x3d,0x3d,0x33,0x2a,0x2a,0x20,0x29,0x29,0x29,0x10,0x20,0x19,0x10,0x19
|
,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0x6d,0x64,0x64,0x64,0x64,0x5b
|
||||||
,0x51,0x50,0x58,0x51,0x49,0x99,0x00,0x00,0x10,0x10,0x33,0x33,0x33,0x10
|
,0x00,0x09,0x00,0x09,0x09,0x08,0x08,0x08,0x64,0x09,0x09,0x12,0x12,0x12
|
||||||
,0x3d,0x7f,0x7f,0x33,0x3e,0x33,0x33,0x33,0x29,0x20,0x33,0x2a,0x20,0x58
|
,0x12,0x12,0x12,0x12,0x12,0x12,0xb6,0xb6,0xad,0xad,0xad,0xad,0xad,0xad
|
||||||
,0x58,0x19,0x19,0x51,0x10,0x51,0x59,0x51,0x51,0x51,0x00,0x10,0x10,0x00
|
,0xad,0xad,0x6d,0x64,0x64,0x64,0x64,0x5b,0x00,0x09,0x00,0x09,0x09,0x08
|
||||||
,0x00,0x10,0x10,0x10,0x3d,0xb6,0x2a,0x3e,0x33,0x3d,0x33,0x3d,0x2a,0x10
|
,0x08,0x08,0x64,0x64,0x64,0x12,0x12,0x12,0x12,0x52,0x52,0x52,0x12,0xb6
|
||||||
,0x20,0x2a,0x10,0x58,0x58,0x19,0x50,0x19,0x58,0x10,0x58,0x99,0x51,0x49
|
,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0x6d,0x64,0x64,0x64
|
||||||
,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x3d,0x2a,0x6c,0x3d,0x3e,0x33
|
,0x64,0x5b,0x00,0x09,0x00,0x09,0x09,0x08,0x08,0x08,0x64,0x09,0x52,0x64
|
||||||
,0x33,0x29,0x33,0x29,0x10,0x29,0x20,0x69,0x58,0x10,0x19,0x10,0x99,0x10
|
,0x64,0x5b,0x5b,0x5b,0x52,0x5b,0xb6,0xad,0xad,0xad,0xad,0xad,0xad,0xad
|
||||||
,0x58,0x99,0x49,0x99,0x51,0x00,0x00,0x00,0x10,0x10,0x10,0x53,0xb6,0x3d
|
,0xad,0xad,0xad,0xad,0x6d,0x6d,0x64,0x64,0x64,0x5b,0x00,0x00,0x00,0x09
|
||||||
,0x6c,0x33,0x33,0x33,0x3d,0x29,0x20,0x33,0x20,0x20,0x29,0x20,0x51,0x51
|
,0x09,0x08,0x08,0x09,0x64,0x09,0x12,0x64,0x12,0x12,0x52,0x5b,0x12,0x52
|
||||||
,0x51,0x50,0x99,0x58,0x99,0x49,0x99,0x49,0x00,0x00,0x00,0x10,0x10,0x00
|
,0xb6,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0x6d,0x6d
|
||||||
,0x00,0x53,0x29,0x3e,0x7f,0x29,0x33,0x2a,0x33,0x29,0x29,0x33,0x20,0x29
|
,0x64,0x64,0x64,0x5b,0x00,0x09,0x09,0x09,0x11,0x08,0x08,0x08,0x64,0x64
|
||||||
,0x10,0x58,0x10,0x49,0x51,0x58,0x99,0x49,0x49,0x51,0x51,0x00,0x00,0x00
|
,0x64,0x64,0x64,0x12,0x12,0x12,0x5b,0x52,0xb6,0xad,0xad,0xad,0xad,0xad
|
||||||
,0x00,0x00,0x00,0x00,0x53,0x33,0x29,0x33,0x7e,0x33,0xb6,0x2a,0x33,0x29
|
,0xad,0xad,0xad,0xad,0xad,0xad,0x6d,0x6d,0x64,0x64,0x64,0x5b,0x09,0x09
|
||||||
,0x20,0x10,0x29,0x20,0x10,0x58,0x59,0x10,0x50,0x99,0x49,0x49,0x49,0x49
|
,0x09,0x09,0x09,0x08,0x08,0x09,0x64,0x09,0x5b,0x5b,0x5b,0x5b,0x5b,0x5b
|
||||||
,0x51,0x9a,0x4b,0x53,0x53,0x4a,0x4a,0x15,0x37,0x37,0x2d,0x7c,0x3e,0x3d
|
,0x52,0x12,0xb6,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad
|
||||||
,0x7f,0x29,0x2a,0x10,0x29,0x10,0x10,0x20,0x29,0x58,0x51,0x51,0x99,0x51
|
,0x6d,0x6d,0x64,0x64,0x64,0x5b,0x09,0x09,0x09,0x09,0x09,0x08,0x08,0x08
|
||||||
,0x49,0x49,0x99,0x10,0x49,0x49,0x4a,0x4b,0x53,0x56,0x56,0x33,0x37,0x37
|
,0x64,0x09,0x12,0x52,0x12,0x52,0x52,0x5b,0x12,0x5b,0x12,0xb6,0xad,0xad
|
||||||
,0x6c,0x33,0x3d,0x3d,0x3d,0x7f,0x20,0x10,0x29,0x10,0x10,0x99,0x10,0x58
|
,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0x6d,0x6d,0x64,0x64,0x64,0x5b
|
||||||
,0x51,0x49,0x49,0x49,0x49,0x58,0x49,0x51,0x4a,0x4b,0x4b,0x54,0x66,0x67
|
,0x09,0x09,0x09,0x09,0x09,0x08,0x08,0x08,0x64,0x09,0x64,0x5b,0x5b,0x12
|
||||||
,0x67,0x33,0x10,0x10,0xb6,0x3d,0x33,0x7f,0x29,0x3d,0x33,0x33,0x29,0x29
|
,0x52,0x64,0x12,0x12,0x12,0x12,0xb6,0xad,0xad,0xad,0xad,0xad,0xad,0xad
|
||||||
,0xac,0x58,0x10,0x49,0x49,0x49,0x49,0x49,0x49,0x50,0x59,0x51,0x51,0x51
|
,0xad,0xad,0xad,0x6d,0x64,0x64,0x64,0x5b,0x09,0x09,0x09,0x09,0x11,0x08
|
||||||
,0x54,0x15,0x66,0x5e,0x33,0x10,0x56,0x54,0xb6,0x3d,0x33,0x33,0x3e,0x33
|
,0x08,0x08,0x64,0x09,0x12,0x52,0x5b,0x12,0x12,0x64,0x12,0x12,0x12,0x12
|
||||||
,0x29,0x33,0x33,0x33,0x10,0x10,0x10,0x51,0x49,0x49,0x49,0x49,0x49,0x49
|
,0xb6,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0x6d,0x64,0x64
|
||||||
,0x58,0x50,0x50,0x49,0x4b,0x54,0x54,0x55,0x55,0x55,0x4a,0x49,0x29,0x3d
|
,0x64,0x5b,0x09,0x09,0x09,0x09,0x09,0x08,0x08,0x08,0x64,0x09,0x12,0x12
|
||||||
,0x3d,0x7c,0x7f,0x6c,0x2a,0x29,0x10,0x10,0x10,0x19,0x20,0x10,0x99,0x51
|
,0x5b,0x64,0x12,0x52,0x5b,0x5b,0x5b,0x12,0xb6,0xad,0xad,0xad,0xad,0xad
|
||||||
,0x51,0x49,0x49,0x49,0x10,0x51,0x51,0x51,0x52,0x53,0x66,0x67,0x67,0x15
|
,0xad,0xad,0xad,0xad,0x6d,0x6d,0x64,0x64,0x64,0x5b,0x09,0x09,0x09,0x09
|
||||||
,0x54,0x4b,0x29,0x33,0x7f,0x3d,0x6c,0x29,0x33,0x20,0x29,0x10,0x20,0x20
|
,0x09,0x08,0x08,0x08,0x64,0x09,0x12,0x12,0x12,0x64,0x12,0x52,0x52,0x12
|
||||||
,0x99,0x10,0x99,0x51,0x58,0x99,0x49,0x49,0x49,0x51,0x51,0x4b,0x4b,0x53
|
,0x12,0x12,0xb6,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0x6d,0x6d
|
||||||
,0x55,0x5e,0x5e,0x67,0x26,0x66,0x29,0x7f,0x3e,0x3d,0x29,0x29,0x33,0x2a
|
,0x64,0x64,0x64,0x5b,0x09,0x09,0x09,0x09,0x09,0x08,0x08,0x08,0x64,0x09
|
||||||
,0x2a,0x20,0x33,0x20,0x61,0x20,0x58,0x10,0x10,0x99,0x99,0x49,0x49,0x10
|
,0x5b,0x5b,0x5b,0x64,0x12,0x52,0x12,0x12,0x12,0x12,0xb6,0xad,0xad,0xad
|
||||||
,0x51,0x52,0x4a,0x4b,0x53,0x54,0x54,0x5d,0x53,0x55,0x6c,0x7f,0x6c,0x29
|
,0xad,0xad,0xad,0xad,0xad,0xad,0x6d,0x6d,0x64,0x64,0x64,0x5b,0x09,0x09
|
||||||
,0x33,0x3d,0x2a,0x20,0x29,0x2a,0x10,0x2a,0x20,0x20,0x58,0x10,0x10,0x58
|
,0x09,0x09,0x09,0x08,0x08,0x09,0x64,0x09,0x5a,0x62,0x5a,0x64,0x52,0x52
|
||||||
,0x99,0x51,0x51,0x49,0x99,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x54,0x54
|
,0x5b,0x12,0x12,0x12,0xb6,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad
|
||||||
,0xb6,0xb6,0x33,0x3d,0x3e,0x3e,0x2a,0x33,0x20,0x2a,0x20,0x33,0x2a,0x58
|
,0xad,0x6d,0x6d,0x64,0x64,0x52,0x09,0x09,0x09,0x09,0x09,0x08,0x08,0x08
|
||||||
,0x58,0x50,0x10,0x58,0x10,0x10,0x58,0x99,0x00,0x99,0x00,0x00,0x00,0x00
|
,0x64,0x09,0x62,0xb3,0x63,0x52,0x64,0x5b,0x5b,0x12,0x12,0x12,0xb6,0xad
|
||||||
,0x33,0x10,0x00,0x49,0xb6,0x29,0x3f,0x33,0x33,0x33,0x3d,0x33,0x20,0x2a
|
,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0x6d,0x6d,0x6d,0x64,0x5b,0x09
|
||||||
,0x33,0x2a,0x29,0x58,0x99,0x10,0x50,0x10,0x10,0x10,0x10,0x99,0x51,0x00
|
,0x09,0x09,0x09,0x09,0x11,0x08,0x08,0x08,0x64,0x09,0x5a,0x63,0x63,0x5b
|
||||||
,0x51,0x00,0x10,0x10,0x33,0x33,0x10,0x00,0x3d,0x6c,0x3d,0x33,0x3e,0x33
|
,0x64,0x52,0x52,0x52,0x12,0x12,0xb6,0xad,0xad,0xad,0xad,0xad,0xad,0xad
|
||||||
,0x33,0x2a,0x2a,0x2a,0x33,0x29,0x10,0x58,0x58,0x10,0x10,0x10,0x51,0x10
|
,0xad,0xad,0x6d,0x6d,0x6d,0x64,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x08
|
||||||
,0x50,0x99,0x51,0x51,0x00,0x00,0x00,0x10,0x10,0x37,0x37,0x10,0x7f,0xb6
|
,0x08,0x08,0x64,0x09,0x12,0x09,0x09,0x5b,0x64,0x09,0x12,0x5b,0x12,0x12
|
||||||
,0x33,0x3d,0x33,0x3f,0x2a,0x33,0x2a,0x33,0x29,0x10,0x10,0x29,0x10,0x33
|
,0xb6,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0x6d,0x6d,0x64,0x64
|
||||||
,0x10,0x50,0x49,0x10,0x51,0x51,0x51,0x51,0x51,0x00,0x00,0x00,0x00,0x33
|
,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x08,0x08,0x08,0x64,0x09,0x12,0x09
|
||||||
,0x37,0x33,0x3d,0x2a,0x3d,0x3d,0x3e,0x33,0x33,0x2a,0x2a,0x33,0x33,0x10
|
,0x00,0x64,0x09,0x00,0x12,0x52,0x12,0x12,0xb6,0xad,0xad,0xad,0xad,0xad
|
||||||
,0x2a,0x20,0x10,0x10,0x10,0x50,0x49,0x58,0x51,0x51,0x58,0x99,0x00,0x00
|
,0xad,0xad,0xad,0xad,0x6d,0x6d,0x64,0x64,0x09,0x09,0x09,0x09,0x09,0x09
|
||||||
,0x00,0x00,0x00,0x10,0x33,0x33,0x7f,0x3d,0x33,0x7f,0x3d,0x3d,0x33,0x3d
|
,0x09,0x08,0x08,0x08,0x64,0x09,0x12,0x00,0x00,0x52,0x00,0x00,0x12,0x12
|
||||||
,0x20,0x29,0x20,0x33,0x2a,0x10,0x10,0x2a,0x10,0x10,0x10,0x58,0x99,0x51
|
,0x12,0x12,0xb6,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0x6d,0x6d
|
||||||
,0x59,0x99,0x00,0x00,0x00,0x00,0x10,0x10,0x10,0x33,0x29,0x3e,0x3d,0x3d
|
,0x64,0x64,0x09,0x12,0x09,0x09,0x09,0x09,0x09,0x08,0x08,0x09,0x64,0x09
|
||||||
,0x7c,0x3e,0x2a,0x3d,0x2c,0x2a,0x20,0x33,0x29,0x20,0x10,0x2a,0x10,0x10
|
,0x52,0x52,0x52,0x52,0x52,0x52,0x52,0x12,0x12,0x12,0xb6,0xad,0xad,0xad
|
||||||
,0x49,0x10,0x99,0x49,0x51,0x51,0x49,0x00,0x10,0x10,0x10,0x10,0x53,0x14
|
,0xad,0xad,0xad,0xad,0xad,0xad,0x6d,0x6d,0x64,0x64,0x09,0x09,0x09,0x09
|
||||||
,0x29,0x33,0x7e,0x33,0x3d,0x3d,0x33,0x33,0x29,0x20,0x20,0x33,0x20,0x20
|
,0x09,0x09,0x09,0x08,0x08,0x08,0x64,0x09,0x12,0x12,0x52,0x52,0x52,0x52
|
||||||
,0x20,0x20,0x10,0x51,0x50,0x10,0x99,0x49,0x49,0x51,0x9a,0x4b,0x53,0x53
|
,0x52,0x12,0x12,0x12,0xb6,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad
|
||||||
,0x4a,0x15,0x56,0x54,0x2d,0x7c,0x3e,0x3d,0x3d,0x7e,0x3d,0x3d,0x2a,0x33
|
,0x6d,0x6d,0x64,0x64,0x09,0x12,0x09,0x09,0x09,0x09,0x11,0x08,0x08,0x09
|
||||||
,0x10,0x29,0x2a,0x29,0x10,0x20,0x10,0x58,0x58,0x58,0x99,0x51,0x10,0x49
|
,0x64,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0xb6,0xad
|
||||||
,0x49,0x4a,0x4b,0x53,0x56,0x54,0x4b,0x54,0x6c,0x33,0x3d,0x3d,0x3d,0x33
|
,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0x6d,0x6d,0x6d,0x64,0x09,0x12
|
||||||
,0x3d,0x33,0x29,0x33,0x20,0x20,0x20,0x10,0x2a,0x10,0x50,0x99,0x58,0x58
|
,0x09,0x09,0x09,0x09,0x09,0x08,0x08,0x08,0x64,0xb6,0xb6,0xb6,0xb6,0xb6
|
||||||
,0x51,0x51,0x51,0x4a,0x4b,0x4b,0x54,0x66,0x67,0x56,0x2e,0x5e,0xb6,0x3d
|
,0xb6,0xb6,0xb6,0xb6,0xb6,0xb6,0xb6,0xb6,0xad,0xad,0xad,0xad,0xad,0xad
|
||||||
,0x33,0x7f,0x29,0x3d,0x2a,0x29,0x33,0x29,0x20,0x2a,0x10,0x10,0x2a,0x10
|
,0xad,0xad,0x6d,0x6d,0x6d,0x64,0x09,0x12,0x09,0x09,0x09,0x09,0x09,0x08
|
||||||
,0x10,0x50,0x10,0x50,0x59,0x51,0x51,0x51,0x51,0x54,0x15,0x66,0x5e,0x15
|
,0x08,0x08,0x64,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad
|
||||||
,0x56,0x54
|
,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0x6d,0x6d,0x64,0x64
|
||||||
};
|
,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x08,0x08,0x08,0x64,0xad,0xad,0xad
|
||||||
|
,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad
|
||||||
const unsigned char texture4[] =
|
,0xad,0xad,0xad,0xad,0x6d,0x6d,0x64,0x64,0x09,0x09,0x09,0x09,0x09,0x09
|
||||||
{ 32, 32 // width, height
|
,0x09,0x08,0x08,0x08,0x64,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad
|
||||||
,0x12,0x1c,0x65,0x65,0x65,0x65,0x1c,0x1c,0x1c,0x1c,0x1c,0x1b,0x1b,0x1b
|
,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0x6d,0x6d
|
||||||
,0x13,0x00,0x5b,0x5b,0xad,0xad,0xad,0xad,0x5b,0x00,0x64,0xad,0xad,0x64
|
,0x64,0x64,0x5b,0x09,0x09,0x09,0x09,0x09,0x09,0x08,0x08,0x08,0x64,0xad
|
||||||
,0x64,0x64,0x5b,0x00,0x1c,0x1b,0x1b,0x1b,0x13,0x13,0x12,0x13,0x12,0x12
|
,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad
|
||||||
,0x12,0x12,0x0a,0x0a,0x09,0x00,0x5b,0x5b,0xad,0xad,0xad,0x64,0x5b,0x00
|
,0xad,0xad,0xad,0xad,0xad,0x6d,0x6d,0x6d,0x64,0x64,0x64,0x5b,0x09,0x09
|
||||||
,0xad,0x64,0x64,0x64,0x64,0x64,0x5b,0x00,0x65,0x1b,0x1b,0x13,0x13,0x12
|
,0x09,0x09,0x11,0x08
|
||||||
,0x0a,0x0a,0x12,0x0a,0x0a,0x0a,0x0a,0x09,0x09,0x00,0x5b,0x5b,0xad,0xad
|
|
||||||
,0xad,0x64,0x5b,0x00,0xad,0x64,0x64,0x64,0x64,0x64,0x5b,0x00,0x65,0x1b
|
|
||||||
,0x13,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x09,0x0a,0x09,0x00
|
|
||||||
,0x5b,0x5b,0xad,0xad,0x64,0x64,0x5b,0x00,0x64,0x64,0x64,0x64,0x64,0x64
|
|
||||||
,0x12,0x00,0x65,0x13,0x12,0x00,0x09,0x09,0x0a,0x09,0x09,0x09,0x09,0x09
|
|
||||||
,0x13,0x0a,0x09,0x00,0x5b,0x5b,0xad,0x64,0x64,0x5b,0x5b,0x00,0x64,0x64
|
|
||||||
,0x64,0x64,0x64,0x64,0x5b,0x00,0x65,0x13,0x12,0x00,0x09,0x0a,0x12,0x12
|
|
||||||
,0x0a,0x12,0x12,0x0a,0x1b,0x0a,0x09,0x00,0x5b,0x5b,0x64,0x64,0x5b,0x64
|
|
||||||
,0x5b,0x00,0x64,0x64,0x64,0x64,0x64,0x64,0x5b,0x00,0x65,0x12,0x13,0x00
|
|
||||||
,0x09,0x12,0x0a,0x0a,0x12,0x0a,0x0a,0x0a,0x1c,0x09,0x0a,0x00,0x5b,0x5b
|
|
||||||
,0x64,0x64,0x64,0x64,0x5b,0x00,0x5b,0x5b,0x5b,0x12,0x5b,0x12,0x5b,0x00
|
|
||||||
,0x65,0x13,0x12,0x00,0x09,0x12,0x0a,0x0a,0x0a,0x09,0x0a,0x09,0x1c,0x0a
|
|
||||||
,0x0a,0x00,0x5b,0x5b,0xad,0x64,0x5b,0x64,0x5b,0x00,0x00,0x00,0x00,0x00
|
|
||||||
,0x00,0x00,0x00,0x00,0x1c,0x12,0x0a,0x00,0x09,0x12,0x0a,0x0a,0x09,0x0a
|
|
||||||
,0x09,0x09,0x1c,0x0a,0x0a,0x00,0x52,0x52,0x64,0x64,0x64,0x5b,0x5b,0x00
|
|
||||||
,0xad,0xad,0xad,0xad,0xad,0xad,0x5b,0x00,0x1c,0x12,0x0a,0x00,0x09,0x0a
|
|
||||||
,0x0a,0x0a,0x09,0x09,0x09,0x09,0x65,0x0a,0x09,0x00,0x5b,0x52,0x64,0x64
|
|
||||||
,0x5b,0x64,0x5b,0x00,0xad,0xad,0xad,0xad,0xad,0x64,0x5b,0x00,0x1b,0x0a
|
|
||||||
,0x12,0x00,0x09,0x0a,0x09,0x09,0x0a,0x0a,0x09,0x09,0x65,0x09,0x09,0x00
|
|
||||||
,0x5b,0x5b,0x5b,0x64,0x5b,0x5b,0x5b,0x00,0xad,0xad,0xad,0xad,0xad,0x64
|
|
||||||
,0x5b,0x00,0x1b,0x12,0x0a,0x00,0x09,0x0a,0x0a,0x09,0x0a,0x09,0x09,0x0a
|
|
||||||
,0x1c,0x09,0x09,0x00,0x52,0x12,0x64,0x64,0x64,0x5b,0x5b,0x00,0xad,0xad
|
|
||||||
,0xad,0xad,0x64,0x64,0x5b,0x00,0x1b,0x0a,0x09,0x09,0x13,0x1b,0x1c,0x1c
|
|
||||||
,0x65,0x65,0x1c,0x1c,0x1b,0x09,0x09,0x00,0x5b,0x52,0x64,0x64,0x64,0x5b
|
|
||||||
,0x12,0x00,0xad,0xad,0xad,0x64,0x64,0x5b,0x5b,0x00,0x1b,0x0a,0x09,0x0a
|
|
||||||
,0x09,0x09,0x09,0x0a,0x09,0x0a,0x09,0x09,0x09,0x09,0x09,0x00,0x12,0x12
|
|
||||||
,0x5b,0x5b,0x5b,0x5b,0x5b,0x00,0xad,0xad,0x64,0x64,0x5b,0x5b,0x12,0x00
|
|
||||||
,0x13,0x09,0x09,0x09,0x09,0x09,0x0a,0x0a,0x09,0x09,0x09,0x09,0x09,0x09
|
|
||||||
,0x09,0x00,0x09,0x09,0x5b,0x12,0x12,0x12,0x12,0x00,0xad,0xad,0x64,0x64
|
|
||||||
,0x64,0x64,0x5b,0x00,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
|
|
||||||
,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
|
|
||||||
,0xad,0x64,0x64,0x5b,0x5b,0x5b,0x12,0x00,0x12,0x1c,0x65,0x65,0x65,0x65
|
|
||||||
,0x1c,0x1c,0x1c,0x1c,0x1c,0x1b,0x1b,0x1b,0x13,0x00,0x5b,0x5b,0xad,0x64
|
|
||||||
,0xad,0xad,0x5b,0x00,0x64,0x64,0x64,0x5b,0x5b,0x64,0x5b,0x00,0x1c,0x1b
|
|
||||||
,0x1b,0x1b,0x1b,0x13,0x12,0x13,0x12,0x12,0x12,0x12,0x0a,0x0a,0x09,0x00
|
|
||||||
,0x5b,0x5b,0xad,0xad,0xad,0x64,0x5b,0x00,0xad,0x64,0x5b,0x5b,0x5b,0x5b
|
|
||||||
,0x5b,0x00,0x65,0x1b,0x1b,0x13,0x13,0x12,0x0a,0x0a,0x12,0x0a,0x0a,0x0a
|
|
||||||
,0x0a,0x09,0x09,0x00,0x5b,0x5b,0xad,0x64,0x64,0x64,0x5b,0x00,0x64,0x64
|
|
||||||
,0x64,0x64,0x5b,0x5b,0x5b,0x00,0x65,0x13,0x1b,0x00,0x00,0x00,0x00,0x00
|
|
||||||
,0x00,0x00,0x00,0x00,0x09,0x0a,0x09,0x00,0x5b,0x5b,0x64,0x64,0x64,0x64
|
|
||||||
,0x5b,0x00,0x64,0x64,0x64,0x64,0x5b,0x64,0x5b,0x00,0x65,0x1b,0x13,0x00
|
|
||||||
,0x09,0x09,0x0a,0x09,0x09,0x09,0x09,0x09,0x1b,0x0a,0x09,0x00,0x5b,0x5b
|
|
||||||
,0xad,0x64,0x5b,0x64,0x5b,0x00,0x64,0x64,0x64,0x64,0x5b,0x5b,0x5b,0x00
|
|
||||||
,0x65,0x13,0x12,0x00,0x09,0x0a,0x12,0x12,0x0a,0x12,0x12,0x12,0x1b,0x0a
|
|
||||||
,0x09,0x00,0x5b,0x52,0x64,0x64,0x5b,0x5b,0x5b,0x00,0x64,0x64,0x64,0x64
|
|
||||||
,0x5b,0x5b,0x12,0x00,0x65,0x12,0x13,0x00,0x09,0x12,0x0a,0x0a,0x0a,0x0a
|
|
||||||
,0x0a,0x0a,0x1c,0x09,0x0a,0x00,0x5b,0x5b,0x64,0x64,0x5b,0x64,0x5b,0x00
|
|
||||||
,0x5b,0x5b,0x5b,0x5b,0x5b,0x12,0x5b,0x00,0x65,0x13,0x12,0x00,0x09,0x12
|
|
||||||
,0x0a,0x0a,0x0a,0x09,0x0a,0x09,0x1c,0x0a,0x0a,0x00,0x5b,0x52,0x64,0x5b
|
|
||||||
,0x64,0x5b,0x5b,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1c,0x12
|
|
||||||
,0x0a,0x00,0x09,0x12,0x0a,0x0a,0x09,0x0a,0x09,0x09,0x1c,0x0a,0x0a,0x00
|
|
||||||
,0x52,0x5b,0x64,0x64,0x5b,0x5b,0x5b,0x00,0xad,0xad,0xad,0xad,0xad,0xad
|
|
||||||
,0x5b,0x00,0x1c,0x12,0x0a,0x00,0x09,0x0a,0x0a,0x0a,0x09,0x09,0x09,0x09
|
|
||||||
,0x65,0x0a,0x09,0x00,0x5b,0x52,0x64,0x64,0x5b,0x5b,0x5b,0x00,0xad,0xad
|
|
||||||
,0xad,0xad,0xad,0x64,0x5b,0x00,0x1b,0x0a,0x12,0x00,0x09,0x0a,0x09,0x09
|
|
||||||
,0x0a,0x0a,0x09,0x09,0x65,0x09,0x09,0x00,0x52,0x12,0x64,0x5b,0x5b,0x5b
|
|
||||||
,0x5b,0x00,0xad,0xad,0xad,0xad,0xad,0x64,0x5b,0x00,0x1b,0x12,0x0a,0x00
|
|
||||||
,0x09,0x0a,0x0a,0x09,0x0a,0x09,0x09,0x0a,0x1c,0x09,0x09,0x00,0x52,0x52
|
|
||||||
,0x5b,0x5b,0x5b,0x64,0x5b,0x00,0xad,0xad,0xad,0xad,0x64,0x64,0x5b,0x00
|
|
||||||
,0x1b,0x0a,0x09,0x09,0x13,0x1b,0x1c,0x1c,0x65,0x65,0x1c,0x1c,0x1b,0x09
|
|
||||||
,0x09,0x00,0x12,0x12,0x5b,0x5b,0x5b,0x5b,0x5b,0x00,0xad,0xad,0xad,0xad
|
|
||||||
,0xad,0x64,0x5b,0x00,0x1b,0x0a,0x09,0x0a,0x0a,0x09,0x09,0x09,0x09,0x09
|
|
||||||
,0x09,0x09,0x09,0x09,0x09,0x00,0x12,0x12,0x5b,0x5b,0x5b,0x5b,0x12,0x00
|
|
||||||
,0xad,0xad,0xad,0x64,0xad,0x64,0x5b,0x00,0x13,0x09,0x0a,0x09,0x09,0x09
|
|
||||||
,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x00,0x09,0x12,0x5b,0x5b
|
|
||||||
,0x5b,0x12,0x5b,0x00,0xad,0xad,0x64,0x64,0xad,0x64,0x5b,0x00,0x0a,0x00
|
|
||||||
,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
|
|
||||||
,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xad,0x64,0xad,0x64,0xad,0x64
|
|
||||||
,0x12,0x00
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const unsigned char sprite1[] =
|
const unsigned char sprite1[] =
|
||||||
|
@ -431,19 +463,22 @@ const unsigned char sprite2[] =
|
||||||
,0x07,0x07
|
,0x07,0x07
|
||||||
};
|
};
|
||||||
|
|
||||||
const unsigned char *textures[] = {texture2, texture3, texture4};
|
const unsigned char *textures[] = {texture1, texture2, texture3};
|
||||||
|
|
||||||
Unit floorHeightAt(int16_t x, int16_t y)
|
Unit floorHeightAt(int16_t x, int16_t y)
|
||||||
{
|
{
|
||||||
if (x >= 0 && x < LEVEL_X_RES && y >= 0 && y < LEVEL_Y_RES)
|
if (x >= 0 && x < LEVEL_X_RES && y >= 0 && y < LEVEL_Y_RES)
|
||||||
return level[(LEVEL_Y_RES - y -1) * LEVEL_X_RES + x] == 0 ?
|
return level[(LEVEL_Y_RES - y -1) * LEVEL_X_RES + x] == 0 ?
|
||||||
0 : UNITS_PER_SQUARE;
|
0 : UNITS_PER_SQUARE * 2;
|
||||||
|
|
||||||
return UNITS_PER_SQUARE;
|
return UNITS_PER_SQUARE * 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
Unit textureAt(int16_t x, int16_t y)
|
Unit textureAt(int16_t x, int16_t y)
|
||||||
{
|
{
|
||||||
|
if (x >= 0 && x < LEVEL_X_RES && y >= 0 && y < LEVEL_Y_RES)
|
||||||
|
return max(level[(LEVEL_Y_RES - y -1) * LEVEL_X_RES + x] - 1,0);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -455,32 +490,15 @@ inline void pixelFunc(PixelInfo pixel)
|
||||||
if (pixel.position.y == MIDDLE_ROW)
|
if (pixel.position.y == MIDDLE_ROW)
|
||||||
zBuffer[pixel.position.x] = pixel.depth;
|
zBuffer[pixel.position.x] = pixel.depth;
|
||||||
|
|
||||||
uint8_t c;
|
uint8_t c = 0;
|
||||||
|
|
||||||
Unit depth = pixel.depth - UNITS_PER_SQUARE * 3;
|
|
||||||
depth = depth > 0 ? depth : 1;
|
|
||||||
|
|
||||||
int intensity = 7 - (depth * 7) / (UNITS_PER_SQUARE * 5);
|
|
||||||
|
|
||||||
if (intensity < 0)
|
|
||||||
intensity = 0;
|
|
||||||
|
|
||||||
if (pixel.isWall)
|
if (pixel.isWall)
|
||||||
{
|
{
|
||||||
if ((pixel.hit.direction == 0 || pixel.hit.direction == 2))
|
|
||||||
intensity -= 2;
|
|
||||||
|
|
||||||
if (intensity < 0)
|
|
||||||
intensity = 0;
|
|
||||||
|
|
||||||
c = sampleImage(textures[pixel.hit.type],pixel.hit.textureCoord,pixel.textureCoordY);
|
c = sampleImage(textures[pixel.hit.type],pixel.hit.textureCoord,pixel.textureCoordY);
|
||||||
c = addIntensity(c,intensity - 3);
|
c = addIntensity(c,pixel.hit.direction % 2 == 0 ? 2 : 0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
c = pixel.isFloor ?
|
c = pixel.isFloor ? 100 : 50;
|
||||||
rgbToIndex(intensity/2,intensity,intensity/3) :
|
|
||||||
rgbToIndex(intensity,intensity/2,0);
|
|
||||||
|
|
||||||
|
|
||||||
uint8_t *buf = pokitto.display.screenbuffer;
|
uint8_t *buf = pokitto.display.screenbuffer;
|
||||||
|
|
||||||
|
@ -497,15 +515,15 @@ void draw()
|
||||||
{
|
{
|
||||||
RayConstraints c;
|
RayConstraints c;
|
||||||
|
|
||||||
c.maxHits = 8;
|
c.maxHits = 1;
|
||||||
c.maxSteps = 10;
|
c.maxSteps = 20;
|
||||||
c.computeTextureCoords = 1;
|
c.computeTextureCoords = 1;
|
||||||
|
|
||||||
render(player.mCamera,floorHeightAt,0,
|
render(player.mCamera,floorHeightAt,0,textureAt,pixelFunc,c);
|
||||||
textureAt,pixelFunc,c);
|
|
||||||
|
|
||||||
Unit previousDepth;
|
Unit previousDepth;
|
||||||
|
|
||||||
|
/*
|
||||||
// draw sprites
|
// draw sprites
|
||||||
|
|
||||||
for (uint8_t i = 0; i < SPRITES; ++i)
|
for (uint8_t i = 0; i < SPRITES; ++i)
|
||||||
|
@ -528,7 +546,8 @@ textureAt,pixelFunc,c);
|
||||||
|
|
||||||
previousDepth = pos.depth;
|
previousDepth = pos.depth;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
/*
|
||||||
pokitto.display.setColor(rgbToIndex(7,7,3));
|
pokitto.display.setColor(rgbToIndex(7,7,3));
|
||||||
pokitto.display.setCursor(1,1);
|
pokitto.display.setCursor(1,1);
|
||||||
pokitto.display.print(player.mCamera.position.x);
|
pokitto.display.print(player.mCamera.position.x);
|
||||||
|
@ -536,7 +555,7 @@ pokitto.display.print(" ");
|
||||||
pokitto.display.print(player.mCamera.position.y);
|
pokitto.display.print(player.mCamera.position.y);
|
||||||
pokitto.display.print(" ");
|
pokitto.display.print(" ");
|
||||||
pokitto.display.print(player.mCamera.direction);
|
pokitto.display.print(player.mCamera.direction);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
|
@ -544,7 +563,7 @@ int main()
|
||||||
pokitto.begin();
|
pokitto.begin();
|
||||||
initPalette();
|
initPalette();
|
||||||
|
|
||||||
player.setPositionSquare(4,5);
|
player.setPositionSquare(6,5);
|
||||||
player.mCamera.height = CAMERA_COLL_HEIGHT_BELOW;
|
player.mCamera.height = CAMERA_COLL_HEIGHT_BELOW;
|
||||||
|
|
||||||
sprites[0] = Sprite(sprite1,10,5,1,100);
|
sprites[0] = Sprite(sprite1,10,5,1,100);
|
||||||
|
|
Loading…
Reference in a new issue