From 923bd0d31c928851256a2dba4af6775b4db11e5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Sun, 9 Sep 2018 18:41:26 +0200 Subject: [PATCH] Update demo2 --- demo2.cpp | 200 +++++++++++++++++++++++++++--------------------------- 1 file changed, 100 insertions(+), 100 deletions(-) diff --git a/demo2.cpp b/demo2.cpp index 27e5cb6..cab238e 100644 --- a/demo2.cpp +++ b/demo2.cpp @@ -28,109 +28,109 @@ const unsigned char level[] = { /* 10 12 14 16 18 20 22 24 26 28 30 0 1 2 3 4 5 6 7 8 9 11 13 15 17 19 21 23 25 27 29 31 */ - 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,3,0,0,0,0,0,1,1,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,1,0,0,0,0,0,1,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,1,1,1,0,1,1,1,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,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, // 4 - 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, // 5 - 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, // 6 - 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, // 7 - 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, // 8 - 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, // 9 - 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, // 10 - 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, // 11 - 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, // 12 - 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, // 13 - 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, // 14 - 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 // 15 + 1,0,0,1,0,0,1,0,0,1,0,0,2,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,3,0,0,0,0,0,1,3,2,1,0,2,0,0,0,0,0,0,0,0, // 1 + 0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,1,0,0,0,0,3,0,0,0,0,0,0,0,0, // 2 + 0,0,2,0,0,0,0,0,0,0,0,0,2,1,3,0,3,1,1,0,2,1,2,3,0,0,1,0,1,0,0,2, // 3 + 0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,2, // 4 + 0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,2, // 5 + 0,0,3,1,3,1,0,2,2,2,3,2,2,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0, // 6 + 0,0,2,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, // 7 + 0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,1,0,0,1,0,0, // 8 + 0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,1,1,1,0,1,1,1,1,1,0,0,1,1,1, // 9 + 0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,3,3,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1, // 10 + 0,0,0,0,3,0,0,0,0,0,0,0,0,0,3,3,0,0,0,0,0,0,0,1,0,0,0,0,0,3,0,1, // 11 + 1,3,1,0,1,1,1,1,1,1,2,0,2,2,3,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1, // 12 + 0,0,0,0,0,0,0,0,0,1,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,1, // 13 + 0,3,0,3,0,3,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,1, // 14 + 0,0,0,0,0,0,0,0,0,1,0,0,0,0,2,0,0,0,0,0,0,0,0,1,0,3,0,3,0,3,0,1 // 15 }; 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 + ,0x01,0x01,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09 + ,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09 + ,0x09,0x09,0x09,0x09,0x12,0x09,0x09,0x01,0x01,0x01,0x12,0x09,0x09,0x09 + ,0x0a,0x0a,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x0a,0x12,0x12,0x12 + ,0x0a,0x0a,0x12,0x0a,0x09,0x12,0x09,0x09,0x09,0x09,0x09,0x12,0x09,0x09 + ,0x09,0x01,0x01,0x01,0x12,0x12,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09 + ,0x09,0x09,0x0a,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x0a,0x09,0x09,0x09 + ,0x09,0x09,0x09,0x09,0x12,0x09,0x09,0x09,0x09,0x01,0x01,0x01,0x12,0x0a + ,0x12,0x09,0x12,0x09,0x12,0x12,0x0a,0x09,0x12,0x09,0x12,0x12,0x12,0x1a + ,0x1b,0x1b,0x12,0x12,0x12,0x09,0x09,0x12,0x09,0x09,0x12,0x12,0x09,0x09 + ,0x09,0x09,0x09,0x01,0x01,0x01,0x12,0x09,0x0a,0x12,0x00,0x09,0x09,0x09 + ,0x00,0x09,0x09,0x09,0x09,0x12,0x12,0x1a,0x1b,0x1a,0x12,0x12,0x09,0x09 + ,0x08,0x09,0x01,0x09,0x09,0x09,0x09,0x0a,0x09,0x09,0x09,0x01,0x01,0x01 + ,0x12,0x09,0x09,0x09,0x00,0x00,0x00,0x00,0x00,0x00,0x09,0x09,0x09,0x1b + ,0x23,0x2c,0x7e,0x2c,0x23,0x1a,0x11,0x09,0x09,0x09,0x01,0x09,0x09,0x09 + ,0x09,0x09,0x09,0x09,0x09,0x01,0x01,0x01,0x12,0x0a,0x09,0x09,0x00,0x00 + ,0x12,0x52,0x52,0x52,0x5b,0x09,0x11,0x1b,0x24,0x34,0x7e,0x35,0x24,0x1b + ,0x12,0x09,0x09,0x09,0x00,0x09,0x09,0x09,0x0a,0x09,0x09,0x09,0x09,0x01 + ,0x01,0x01,0x12,0x0a,0x09,0x0a,0x00,0x00,0x12,0x7e,0x53,0x09,0x12,0x09 + ,0x09,0x1a,0x1b,0x23,0x64,0x63,0x1b,0x1a,0x12,0x09,0x09,0x09,0x01,0x09 + ,0x09,0x09,0x0a,0x09,0x0a,0x0a,0x09,0x01,0x01,0x01,0x12,0x09,0x09,0x09 + ,0x00,0x00,0x52,0x52,0x53,0x09,0x12,0x09,0x09,0x12,0x1b,0x63,0x64,0x63 + ,0x1b,0x12,0x11,0x09,0x09,0x09,0x01,0x09,0x09,0x09,0x09,0x09,0x09,0x09 + ,0x09,0x01,0x01,0x01,0x12,0x09,0x09,0x09,0x00,0x00,0x12,0x7e,0x53,0x09 + ,0x09,0x09,0x12,0x1b,0x2c,0x34,0x7e,0x35,0x2c,0x1b,0x12,0x09,0x09,0x00 + ,0x00,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x01,0x01,0x01,0x12,0x09 + ,0x09,0x09,0x00,0x00,0x12,0x53,0x53,0x09,0x12,0x09,0x12,0x1b,0x2c,0x35 + ,0x7e,0x35,0x2c,0x23,0x12,0x09,0x09,0x09,0x01,0x09,0x09,0x09,0x09,0x09 + ,0x09,0x09,0x09,0x01,0x01,0x01,0x12,0x0a,0x0a,0x09,0x00,0x00,0x53,0x12 + ,0x12,0x52,0x53,0x09,0x09,0x1a,0x1b,0x63,0x64,0x63,0x1b,0x12,0x12,0x09 + ,0x09,0x09,0x09,0x09,0x08,0x09,0x0a,0x0a,0x09,0x09,0x09,0x01,0x01,0x01 + ,0x12,0x0a,0x09,0x09,0x00,0x09,0x09,0x09,0x00,0x09,0x09,0x09,0x09,0x12 + ,0x1b,0x63,0x64,0x63,0x1b,0x1a,0x09,0x09,0x09,0x09,0x01,0x09,0x09,0x09 + ,0x0a,0x09,0x09,0x09,0x09,0x01,0x01,0x01,0x12,0x09,0x09,0x09,0x00,0x09 + ,0x09,0x09,0x00,0x09,0x09,0x09,0x12,0x1b,0x2c,0x35,0x7e,0x35,0x2c,0x23 + ,0x12,0x09,0x09,0x09,0x01,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x01 + ,0x01,0x01,0x12,0x09,0x0a,0x09,0x00,0x09,0x09,0x09,0x00,0x09,0x09,0x09 + ,0x12,0x1b,0x2c,0x35,0x7e,0x35,0x2c,0x23,0x12,0x09,0x09,0x09,0x00,0x09 + ,0x09,0x09,0x09,0x0a,0x09,0x0a,0x09,0x01,0x01,0x01,0x12,0x09,0x09,0x09 + ,0x00,0x09,0x09,0x09,0x01,0x09,0x09,0x09,0x12,0x1a,0x1b,0x23,0x64,0x63 + ,0x1b,0x12,0x09,0x09,0x09,0x09,0x00,0x09,0x09,0x09,0x09,0x09,0x09,0x09 + ,0x09,0x01,0x01,0x01,0x12,0x09,0x09,0x09,0x00,0x09,0x09,0x09,0x01,0x09 + ,0x09,0x09,0x09,0x12,0x1b,0x63,0x64,0x63,0x1b,0x12,0x12,0x09,0x09,0x09 + ,0x00,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x01,0x01,0x01,0x12,0x0a + ,0x0a,0x0a,0x00,0x09,0x09,0x09,0x01,0x09,0x09,0x09,0x12,0x1b,0x2c,0x35 + ,0x7e,0x35,0x2c,0x1b,0x12,0x09,0x09,0x09,0x00,0x09,0x09,0x09,0x0a,0x0a + ,0x0a,0x09,0x09,0x01,0x01,0x01,0x12,0x09,0x09,0x09,0x00,0x09,0x09,0x09 + ,0x00,0x09,0x09,0x09,0x12,0x1b,0x24,0x35,0x7e,0x35,0x2c,0x23,0x12,0x09 + ,0x09,0x09,0x00,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x01,0x01,0x01 + ,0x12,0x09,0x09,0x09,0x00,0x09,0x09,0x09,0x01,0x09,0x00,0x09,0x09,0x1a + ,0x1b,0x63,0x64,0x63,0x1b,0x12,0x09,0x09,0x09,0x09,0x00,0x09,0x09,0x09 + ,0x09,0x09,0x09,0x09,0x09,0x01,0x01,0x01,0x12,0x09,0x09,0x12,0x01,0x09 + ,0x12,0x52,0x52,0x52,0x5b,0x09,0x12,0x1a,0x1b,0x23,0x64,0x63,0x1b,0x12 + ,0x09,0x09,0x09,0x09,0x01,0x09,0x09,0x09,0x09,0x09,0x12,0x09,0x09,0x01 + ,0x01,0x01,0x12,0x0a,0x09,0x09,0x09,0x09,0x12,0x7e,0x53,0x09,0x12,0x09 + ,0x12,0x1b,0x24,0x35,0x7e,0x35,0x2c,0x23,0x12,0x09,0x09,0x09,0x01,0x09 + ,0x09,0x09,0x0a,0x09,0x09,0x09,0x09,0x01,0x01,0x01,0x12,0x0a,0x09,0x09 + ,0x01,0x09,0x52,0x52,0x53,0x09,0x12,0x09,0x12,0x23,0x2c,0x35,0x7e,0x35 + ,0x2c,0x23,0x12,0x09,0x09,0x09,0x01,0x09,0x09,0x09,0x0a,0x09,0x09,0x09 + ,0x09,0x01,0x01,0x01,0x12,0x0a,0x09,0x0a,0x01,0x09,0x12,0x7e,0x53,0x09 + ,0x09,0x09,0x11,0x1a,0x1b,0x63,0x64,0x63,0x1b,0x12,0x09,0x09,0x09,0x09 + ,0x01,0x09,0x09,0x09,0x0a,0x09,0x0a,0x09,0x09,0x01,0x01,0x01,0x12,0x12 + ,0x09,0x0a,0x01,0x09,0x12,0x53,0x53,0x09,0x12,0x09,0x11,0x12,0x1b,0x63 + ,0x64,0x63,0x1b,0x12,0x09,0x09,0x09,0x09,0x00,0x09,0x09,0x09,0x12,0x09 + ,0x0a,0x09,0x09,0x01,0x01,0x01,0x12,0x09,0x09,0x12,0x01,0x09,0x53,0x12 + ,0x12,0x52,0x53,0x09,0x12,0x1b,0x23,0x34,0x7e,0x2c,0x23,0x1b,0x12,0x09 + ,0x09,0x09,0x01,0x09,0x09,0x09,0x09,0x09,0x12,0x09,0x09,0x01,0x01,0x01 + ,0x12,0x09,0x09,0x0a,0x01,0x09,0x09,0x09,0x00,0x09,0x09,0x09,0x09,0x1a + ,0x23,0x2c,0x7e,0x2c,0x23,0x1b,0x12,0x09,0x09,0x09,0x09,0x09,0x09,0x09 + ,0x09,0x09,0x0a,0x09,0x09,0x01,0x01,0x01,0x12,0x0a,0x09,0x12,0x00,0x09 + ,0x09,0x09,0x00,0x09,0x09,0x09,0x09,0x12,0x12,0x1a,0x1b,0x1b,0x12,0x12 + ,0x09,0x09,0x09,0x09,0x01,0x09,0x09,0x09,0x0a,0x09,0x12,0x09,0x09,0x01 + ,0x01,0x01,0x12,0x09,0x12,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09 + ,0x09,0x12,0x12,0x12,0x1b,0x1b,0x12,0x12,0x12,0x09,0x0a,0x09,0x09,0x09 + ,0x09,0x12,0x09,0x09,0x09,0x09,0x09,0x01,0x01,0x01,0x12,0x12,0x09,0x09 + ,0x0a,0x09,0x09,0x09,0x0a,0x09,0x12,0x09,0x09,0x12,0x12,0x12,0x12,0x12 + ,0x12,0x12,0x12,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x12,0x09,0x09,0x09 + ,0x09,0x01,0x01,0x01,0x12,0x09,0x09,0x09,0x12,0x0a,0x0a,0x12,0x12,0x0a + ,0x12,0x0a,0x0a,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x0a,0x0a,0x12 + ,0x0a,0x0a,0x0a,0x0a,0x0a,0x12,0x09,0x09,0x09,0x01,0x01,0x01,0x09,0x09 + ,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09 + ,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09 + ,0x12,0x09,0x09,0x01 }; const unsigned char texture2[] = @@ -497,7 +497,7 @@ inline void pixelFunc(PixelInfo pixel) if (pixel.isWall) { c = sampleImage(textures[pixel.hit.type],pixel.hit.textureCoord,pixel.textureCoordY); - c = addIntensity(c,2 - pixel.depth / (UNITS_PER_SQUARE * 2) + (pixel.hit.direction % 2 == 0 ? 2 : 0)); + c = addIntensity(c, 1 - pixel.depth / (UNITS_PER_SQUARE * 2) + (pixel.hit.direction % 2 == 0 ? 2 : 0)); } else c = pixel.isFloor ? cFloor: cCeiling;