Lib for the game characters of robozoec era
gameCharacters.h@3:704821ea028f, 2016-05-05 (annotated)
- Committer:
- robinmc
- Date:
- Thu May 05 14:57:41 2016 +0000
- Revision:
- 3:704821ea028f
- Parent:
- 2:d9440b3314bb
Fun game!
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
robinmc | 3:704821ea028f | 1 | /** |
robinmc | 3:704821ea028f | 2 | @file gameCharacters.h |
robinmc | 3:704821ea028f | 3 | @brief Revision 1.0. |
robinmc | 3:704821ea028f | 4 | @author Robin Milward Cooney |
robinmc | 3:704821ea028f | 5 | @date May 2015 |
robinmc | 0:fa4a8b6195c8 | 6 | */ |
robinmc | 0:fa4a8b6195c8 | 7 | |
robinmc | 3:704821ea028f | 8 | //Library referencing all the arrays needed in the game |
robinmc | 0:fa4a8b6195c8 | 9 | |
robinmc | 3:704821ea028f | 10 | |
robinmc | 3:704821ea028f | 11 | const int g_recks_still_gun[10][10]= { |
robinmc | 0:fa4a8b6195c8 | 12 | {0,0,0,1,1,1,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 13 | {0,0,0,1,1,1,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 14 | {0,0,0,1,1,1,0,0,0,0}, |
robinmc | 3:704821ea028f | 15 | {0,0,0,0,1,0,1,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 16 | {0,0,0,0,1,1,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 17 | {0,0,0,0,1,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 18 | {0,0,0,0,1,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 19 | {0,0,0,0,1,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 20 | {0,0,0,0,1,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 21 | {0,0,0,0,1,0,0,0,0,0} |
robinmc | 3:704821ea028f | 22 | }; /*!<Global array for the main charachter (recks) when he is still*/ |
robinmc | 0:fa4a8b6195c8 | 23 | |
robinmc | 3:704821ea028f | 24 | const int g_recks_moving_gun[10][10]= { |
robinmc | 0:fa4a8b6195c8 | 25 | {0,0,0,1,1,1,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 26 | {0,0,0,1,1,1,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 27 | {0,0,0,1,1,1,0,0,0,0}, |
robinmc | 3:704821ea028f | 28 | {0,0,0,0,1,0,1,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 29 | {0,0,0,0,1,1,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 30 | {0,0,0,0,1,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 31 | {0,0,0,0,1,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 32 | {0,0,0,1,0,1,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 33 | {0,0,1,0,0,0,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 34 | {0,1,0,0,0,0,0,1,0,0} |
robinmc | 3:704821ea028f | 35 | }; /*!<Global array for the main charachter (recks) when he is moving*/ |
robinmc | 0:fa4a8b6195c8 | 36 | |
robinmc | 3:704821ea028f | 37 | const int g_recks_crouch_gun[10][10]= { |
robinmc | 0:fa4a8b6195c8 | 38 | {0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 39 | {0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 40 | {0,0,0,1,1,1,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 41 | {0,0,0,1,1,1,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 42 | {0,0,0,1,1,1,0,0,0,0}, |
robinmc | 3:704821ea028f | 43 | {0,0,0,0,1,0,1,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 44 | {0,0,0,0,1,1,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 45 | {0,0,0,0,1,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 46 | {0,0,0,0,0,1,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 47 | {0,0,0,0,1,0,0,0,0,0} |
robinmc | 3:704821ea028f | 48 | }; /*!<Global array for the main charachter (recks) when he is crouching*/ |
robinmc | 0:fa4a8b6195c8 | 49 | |
robinmc | 3:704821ea028f | 50 | const int g_recks_jump_gun[10][10]= { |
robinmc | 0:fa4a8b6195c8 | 51 | {0,0,1,1,1,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 52 | {0,0,1,1,1,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 53 | {0,0,1,1,1,0,0,0,0,0}, |
robinmc | 3:704821ea028f | 54 | {0,0,0,1,0,1,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 55 | {0,0,0,1,1,1,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 56 | {0,0,0,1,0,0,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 57 | {0,0,0,1,0,1,0,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 58 | {0,0,0,0,1,0,0,0,1,0}, |
robinmc | 0:fa4a8b6195c8 | 59 | {0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 60 | {0,0,0,0,0,0,0,0,0,0} |
robinmc | 3:704821ea028f | 61 | }; /*!<Global array for the main charachter (recks) when he is in the jumping position*/ |
robinmc | 0:fa4a8b6195c8 | 62 | |
robinmc | 2:d9440b3314bb | 63 | const int g_recks_shield[15][15]= { |
robinmc | 2:d9440b3314bb | 64 | {0,0,0,0,1,1,1,1,1,1,1,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 65 | {0,0,0,1,0,0,0,0,0,0,0,1,0,0,0}, |
robinmc | 2:d9440b3314bb | 66 | {0,0,1,0,0,0,0,0,0,0,0,0,1,0,0}, |
robinmc | 2:d9440b3314bb | 67 | {0,1,0,0,1,0,0,0,0,0,0,0,0,1,0}, |
robinmc | 2:d9440b3314bb | 68 | {1,0,0,1,0,0,1,1,1,0,0,0,0,0,1}, |
robinmc | 2:d9440b3314bb | 69 | {1,0,0,0,0,0,1,1,1,0,0,0,0,0,1}, |
robinmc | 2:d9440b3314bb | 70 | {1,0,0,0,1,0,1,1,1,0,1,0,0,0,1}, |
robinmc | 2:d9440b3314bb | 71 | {1,0,0,0,0,1,0,1,0,1,0,0,0,0,1}, |
robinmc | 2:d9440b3314bb | 72 | {1,0,0,0,0,0,1,1,1,0,0,0,0,0,1}, |
robinmc | 2:d9440b3314bb | 73 | {1,0,0,0,0,0,0,1,0,0,0,0,0,0,1}, |
robinmc | 2:d9440b3314bb | 74 | {1,0,0,0,0,0,0,1,0,0,0,0,0,0,1}, |
robinmc | 2:d9440b3314bb | 75 | {0,1,0,0,0,0,1,0,1,0,0,0,0,1,0}, |
robinmc | 2:d9440b3314bb | 76 | {0,0,1,0,0,1,0,0,0,1,0,0,1,0,0}, |
robinmc | 2:d9440b3314bb | 77 | {0,0,0,1,1,0,0,0,0,0,1,1,0,0,0}, |
robinmc | 2:d9440b3314bb | 78 | {0,0,0,1,0,0,0,0,0,0,0,1,0,0,0} |
robinmc | 0:fa4a8b6195c8 | 79 | }; |
robinmc | 0:fa4a8b6195c8 | 80 | |
robinmc | 3:704821ea028f | 81 | const int g_mob_rat_p1[3][8]= { |
robinmc | 0:fa4a8b6195c8 | 82 | {0,0,0,0,0,0,0,1}, |
robinmc | 0:fa4a8b6195c8 | 83 | {0,1,1,1,0,0,1,0}, |
robinmc | 0:fa4a8b6195c8 | 84 | {1,1,1,1,1,1,0,0} |
robinmc | 3:704821ea028f | 85 | }; /*!<Global array for a rat (position 1)*/ |
robinmc | 0:fa4a8b6195c8 | 86 | |
robinmc | 3:704821ea028f | 87 | const int g_mob_rat_p2[3][8]= { |
robinmc | 0:fa4a8b6195c8 | 88 | {0,0,0,0,0,0,1,0}, |
robinmc | 0:fa4a8b6195c8 | 89 | {0,1,1,1,0,0,1,0}, |
robinmc | 0:fa4a8b6195c8 | 90 | {1,1,1,1,1,1,0,0} |
robinmc | 3:704821ea028f | 91 | }; /*!<Global array for a rat (position 2)*/ |
robinmc | 0:fa4a8b6195c8 | 92 | |
robinmc | 3:704821ea028f | 93 | const int g_mob_hound_p1[8][13]= { |
robinmc | 0:fa4a8b6195c8 | 94 | {0,0,0,1,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 95 | {0,1,1,1,0,0,0,0,0,0,0,1,0}, |
robinmc | 0:fa4a8b6195c8 | 96 | {1,1,1,1,0,0,0,0,0,0,0,1,0}, |
robinmc | 0:fa4a8b6195c8 | 97 | {1,1,1,1,1,1,1,1,1,1,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 98 | {0,0,0,1,1,1,1,1,1,1,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 99 | {0,0,0,1,0,0,0,0,0,0,1,0,0}, |
robinmc | 1:14e5288790f4 | 100 | {0,0,0,1,0,0,0,0,0,0,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 101 | {0,0,0,1,0,0,0,0,0,0,1,0,0} |
robinmc | 3:704821ea028f | 102 | }; /*!<Global array for a still hound*/ |
robinmc | 0:fa4a8b6195c8 | 103 | |
robinmc | 3:704821ea028f | 104 | const int g_mob_hound_p2[8][13]= { |
robinmc | 0:fa4a8b6195c8 | 105 | {0,0,0,1,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 106 | {0,1,1,1,0,0,0,0,0,0,0,0,1}, |
robinmc | 0:fa4a8b6195c8 | 107 | {1,1,1,1,0,0,0,0,0,0,0,1,0}, |
robinmc | 0:fa4a8b6195c8 | 108 | {1,1,1,1,1,1,1,1,1,1,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 109 | {0,0,0,1,1,1,1,1,1,1,1,0,0}, |
robinmc | 1:14e5288790f4 | 110 | {0,0,1,0,0,0,0,0,0,0,0,1,0}, |
robinmc | 1:14e5288790f4 | 111 | {0,1,0,0,0,0,0,0,0,0,0,0,1}, |
robinmc | 1:14e5288790f4 | 112 | {1,0,0,0,0,0,0,0,0,0,0,0,1} |
robinmc | 3:704821ea028f | 113 | }; /*!<Global array for a moving hound*/ |
robinmc | 1:14e5288790f4 | 114 | |
robinmc | 3:704821ea028f | 115 | const int g_mob_hound_dead[8][13]= { |
robinmc | 1:14e5288790f4 | 116 | {0,0,0,0,0,0,0,0,0,0,1,0,1}, |
robinmc | 1:14e5288790f4 | 117 | {0,0,1,0,0,1,0,1,0,1,0,0,1}, |
robinmc | 1:14e5288790f4 | 118 | {0,1,0,1,0,0,0,0,0,0,0,1,0}, |
robinmc | 1:14e5288790f4 | 119 | {0,0,0,0,1,1,0,1,0,1,0,0,0}, |
robinmc | 1:14e5288790f4 | 120 | {0,0,0,0,1,0,1,0,0,1,0,0,0}, |
robinmc | 1:14e5288790f4 | 121 | {0,0,0,0,0,1,0,0,0,0,0,0,0}, |
robinmc | 1:14e5288790f4 | 122 | {0,1,0,0,0,0,1,0,0,0,0,0,0}, |
robinmc | 1:14e5288790f4 | 123 | {0,0,0,0,1,0,0,0,0,0,0,0,0} |
robinmc | 3:704821ea028f | 124 | }; /*!<Global array for a destroyed hound*/ |
robinmc | 0:fa4a8b6195c8 | 125 | |
robinmc | 3:704821ea028f | 126 | const int g_mob_bear_p1[10][19]= { |
robinmc | 0:fa4a8b6195c8 | 127 | {0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 128 | {0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0}, |
robinmc | 0:fa4a8b6195c8 | 129 | {0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 130 | {0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 131 | {0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 132 | {0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 133 | {0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 134 | {0,0,0,1,1,1,0,0,0,0,0,0,0,0,1,1,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 135 | {0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 136 | {0,0,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,0,0} |
robinmc | 3:704821ea028f | 137 | }; /*!<Global array for a still bear*/ |
robinmc | 0:fa4a8b6195c8 | 138 | |
robinmc | 3:704821ea028f | 139 | const int g_mob_bear_p2[10][19]= { |
robinmc | 0:fa4a8b6195c8 | 140 | {0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 141 | {0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0}, |
robinmc | 0:fa4a8b6195c8 | 142 | {0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 143 | {0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 144 | {0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 145 | {0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 146 | {0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 147 | {0,0,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 148 | {0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0}, |
robinmc | 0:fa4a8b6195c8 | 149 | {1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1} |
robinmc | 3:704821ea028f | 150 | }; /*!<Global array for a moveing bear*/ |
robinmc | 0:fa4a8b6195c8 | 151 | |
robinmc | 3:704821ea028f | 152 | const int g_mob_bear_dead[10][19]= { |
robinmc | 0:fa4a8b6195c8 | 153 | {0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 154 | {0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,1,0}, |
robinmc | 0:fa4a8b6195c8 | 155 | {0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 156 | {0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,0,1,0}, |
robinmc | 0:fa4a8b6195c8 | 157 | {0,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 158 | {0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 159 | {0,0,0,1,1,0,1,0,0,0,1,1,0,0,0,0,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 160 | {0,0,0,1,1,0,0,0,0,1,0,0,0,0,1,1,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 161 | {0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 162 | {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0} |
robinmc | 3:704821ea028f | 163 | }; /*!<Global array for a destroyed bear*/ |
robinmc | 0:fa4a8b6195c8 | 164 | |
robinmc | 0:fa4a8b6195c8 | 165 | |
robinmc | 2:d9440b3314bb | 166 | const int g_mob_bird_p1 [10][10]= { |
robinmc | 0:fa4a8b6195c8 | 167 | {0,0,0,0,1,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 168 | {0,0,0,0,1,1,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 169 | {0,0,0,0,1,1,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 170 | {0,0,0,0,1,1,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 171 | {0,1,1,0,1,1,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 172 | {1,1,1,1,1,1,1,1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 173 | {0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 174 | {0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 175 | {0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 176 | {0,0,0,0,0,0,0,0,0,0} |
robinmc | 3:704821ea028f | 177 | }; /*!<Global array for a bird (position 1)*/ |
robinmc | 0:fa4a8b6195c8 | 178 | |
robinmc | 2:d9440b3314bb | 179 | const int g_mob_bird_p2 [10][10]= { |
robinmc | 0:fa4a8b6195c8 | 180 | {0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 181 | {0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 182 | {0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 183 | {0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 184 | {0,1,1,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 185 | {1,1,1,1,1,1,1,1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 186 | {0,0,0,0,1,1,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 187 | {0,0,0,0,1,1,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 188 | {0,0,0,0,1,1,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 189 | {0,0,0,0,1,0,0,0,0,0} |
robinmc | 3:704821ea028f | 190 | }; /*!<Global array for a bird (position 2)*/ |
robinmc | 0:fa4a8b6195c8 | 191 | |
robinmc | 2:d9440b3314bb | 192 | const int g_mob_bird_dead [10][10]= { |
robinmc | 0:fa4a8b6195c8 | 193 | {0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 194 | {0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 195 | {0,0,0,0,1,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 196 | {0,0,0,0,1,0,1,0,1,0}, |
robinmc | 0:fa4a8b6195c8 | 197 | {0,1,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 198 | {1,0,0,0,1,1,1,1,1,0}, |
robinmc | 0:fa4a8b6195c8 | 199 | {0,0,1,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 200 | {0,1,0,0,0,1,0,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 201 | {0,0,0,1,0,0,0,0,0,1}, |
robinmc | 0:fa4a8b6195c8 | 202 | {0,0,0,0,0,0,0,0,0,0} |
robinmc | 3:704821ea028f | 203 | }; /*!<Global array for a destroyed bird*/ |
robinmc | 0:fa4a8b6195c8 | 204 | |
robinmc | 3:704821ea028f | 205 | const int g_cactus[12][5]= { |
robinmc | 0:fa4a8b6195c8 | 206 | {0,0,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 207 | {0,0,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 208 | {0,0,1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 209 | {1,0,1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 210 | {1,0,1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 211 | {1,0,1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 212 | {1,1,1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 213 | {0,0,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 214 | {0,0,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 215 | {0,0,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 216 | {0,0,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 217 | {0,0,1,0,0} |
robinmc | 3:704821ea028f | 218 | }; /*!<Global array for a cactus*/ |
robinmc | 0:fa4a8b6195c8 | 219 | |
robinmc | 2:d9440b3314bb | 220 | const int g_t_rex[28][25]= { |
robinmc | 2:d9440b3314bb | 221 | {0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 222 | {1,1,1,1,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 223 | {1,1,1,1,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 224 | {1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 225 | {1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 226 | {1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 227 | {0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1}, |
robinmc | 2:d9440b3314bb | 228 | {1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1}, |
robinmc | 2:d9440b3314bb | 229 | {0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1}, |
robinmc | 2:d9440b3314bb | 230 | {0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1}, |
robinmc | 2:d9440b3314bb | 231 | {0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1}, |
robinmc | 2:d9440b3314bb | 232 | {0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, |
robinmc | 2:d9440b3314bb | 233 | {0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0}, |
robinmc | 2:d9440b3314bb | 234 | {0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0}, |
robinmc | 2:d9440b3314bb | 235 | {0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0}, |
robinmc | 2:d9440b3314bb | 236 | {0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0}, |
robinmc | 2:d9440b3314bb | 237 | {0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 238 | {0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 239 | {0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 240 | {0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 241 | {0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 242 | {0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 243 | {0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 244 | {0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 245 | {0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 246 | {0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 247 | {0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 248 | {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} |
robinmc | 3:704821ea028f | 249 | }; /*!<Global array for a still T Rex*/ |
robinmc | 3:704821ea028f | 250 | |
robinmc | 2:d9440b3314bb | 251 | const int g_t_rex_moving[28][25]= { |
robinmc | 0:fa4a8b6195c8 | 252 | {0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 253 | {1,1,1,1,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 254 | {1,1,1,1,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 255 | {1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 256 | {1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 257 | {1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 258 | {0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1}, |
robinmc | 0:fa4a8b6195c8 | 259 | {1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1}, |
robinmc | 0:fa4a8b6195c8 | 260 | {0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1}, |
robinmc | 0:fa4a8b6195c8 | 261 | {0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 262 | {0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 263 | {0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 264 | {0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0}, |
robinmc | 0:fa4a8b6195c8 | 265 | {0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0}, |
robinmc | 0:fa4a8b6195c8 | 266 | {0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 267 | {0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 268 | {0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 269 | {0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 270 | {0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 271 | {0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 272 | {0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 273 | {0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 274 | {0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,0,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 275 | {0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 276 | {0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 277 | {0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 278 | {0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0}, |
robinmc | 1:14e5288790f4 | 279 | {0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0} |
robinmc | 3:704821ea028f | 280 | }; /*!<Global array for a moving T Rex*/ |
robinmc | 0:fa4a8b6195c8 | 281 | |
robinmc | 2:d9440b3314bb | 282 | const int g_t_rex_attack[28][25]= { |
robinmc | 0:fa4a8b6195c8 | 283 | {0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 284 | {1,1,1,1,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 285 | {1,1,1,1,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 286 | {1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 287 | {1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 288 | {1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 289 | {0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1}, |
robinmc | 0:fa4a8b6195c8 | 290 | {0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1}, |
robinmc | 0:fa4a8b6195c8 | 291 | {0,0,0,1,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1}, |
robinmc | 0:fa4a8b6195c8 | 292 | {1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 293 | {0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 294 | {0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 295 | {0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0}, |
robinmc | 0:fa4a8b6195c8 | 296 | {0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0}, |
robinmc | 0:fa4a8b6195c8 | 297 | {0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 298 | {0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 299 | {0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 300 | {0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 301 | {0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 302 | {0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 303 | {0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 304 | {0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 305 | {0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 306 | {0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 307 | {0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 308 | {0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 309 | {0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0}, |
robinmc | 2:d9440b3314bb | 310 | {0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0} |
robinmc | 3:704821ea028f | 311 | }; /*!<Global array for an attacking T Rex*/ |
robinmc | 0:fa4a8b6195c8 | 312 | |
robinmc | 2:d9440b3314bb | 313 | const int g_fire_ball_p1[9][9]= { |
robinmc | 0:fa4a8b6195c8 | 314 | {0,0,0,1,0,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 315 | {0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 316 | {0,1,0,0,1,0,0,1,0}, |
robinmc | 0:fa4a8b6195c8 | 317 | {0,0,0,1,1,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 318 | {1,0,1,1,1,1,1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 319 | {0,0,0,1,1,1,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 320 | {0,1,0,0,1,0,0,1,0}, |
robinmc | 0:fa4a8b6195c8 | 321 | {0,0,0,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 322 | {0,0,0,1,0,1,0,0,0} |
robinmc | 3:704821ea028f | 323 | }; /*!<Global array for a fire ball (position 1)*/ |
robinmc | 1:14e5288790f4 | 324 | |
robinmc | 2:d9440b3314bb | 325 | const int g_fire_ball_p2[9][9]= { |
robinmc | 0:fa4a8b6195c8 | 326 | {0,0,0,0,1,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 327 | {0,0,1,0,0,0,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 328 | {0,0,0,0,1,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 329 | {1,0,0,1,1,1,0,0,1}, |
robinmc | 0:fa4a8b6195c8 | 330 | {0,0,1,1,1,1,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 331 | {1,0,0,1,1,1,0,0,1}, |
robinmc | 0:fa4a8b6195c8 | 332 | {0,0,0,0,1,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 333 | {0,0,1,0,0,0,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 334 | {0,0,0,0,1,0,0,0,0} |
robinmc | 3:704821ea028f | 335 | }; /*!<Global array for a fire ball (position 2)*/ |
robinmc | 0:fa4a8b6195c8 | 336 | |
robinmc | 2:d9440b3314bb | 337 | const int g_clouds[3][342]= { |
robinmc | 0:fa4a8b6195c8 | 338 | {0,0,0,0,0,0,0,0,0,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,1,1,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,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,0,1,1,1,1,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,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,1,1,0,0,0,0,0,0,0,0,0,1,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,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,1,1,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}, |
robinmc | 0:fa4a8b6195c8 | 339 | {0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,0,0,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0, 0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,0,0,0,0,1,1,1,1,1,1,0,0,0,0,1,1,1,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1, 0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,0,0,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0, 0,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,0,0,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0}, |
robinmc | 0:fa4a8b6195c8 | 340 | {0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,1,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,0,1,0,0,0,0,1,1,1,1,0,0,0,0,0, 1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,1,1,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,1,1,0,0,0,0,0,0,0,1,1,0,1,1,1,1,0,0, 0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,1,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,0,1,0,0,0,0,1,1,1,1,0,0,1, 1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,1,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,0,1,0,0,0,0,1,1,1,1,0,0,0,0,0} |
robinmc | 3:704821ea028f | 341 | }; /*!<Global array for clouds, they loop round when it reaches the end*/ |
robinmc | 0:fa4a8b6195c8 | 342 | |
robinmc | 2:d9440b3314bb | 343 | const int g_score[5][19]= { |
robinmc | 0:fa4a8b6195c8 | 344 | {1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 345 | {1,0,0,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 346 | {1,1,1,0,1,0,0,0,1,0,1,0,1,1,0,0,1,1,0}, |
robinmc | 0:fa4a8b6195c8 | 347 | {0,0,1,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 348 | {1,1,1,0,1,1,1,0,1,1,1,0,1,0,1,0,1,1,1} |
robinmc | 3:704821ea028f | 349 | }; /*!<Global array for the word "SCORE" in a smaller font than the deffault 6x6*/ |
robinmc | 3:704821ea028f | 350 | |
robinmc | 2:d9440b3314bb | 351 | const int g_ammo[5][15]= { |
robinmc | 0:fa4a8b6195c8 | 352 | {1,1,1,0,1,0,1,0,1,0,1,0,1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 353 | {1,0,1,0,1,1,1,0,1,1,1,0,1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 354 | {1,1,1,0,1,0,1,0,1,0,1,0,1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 355 | {1,0,1,0,1,0,1,0,1,0,1,0,1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 356 | {1,0,1,0,1,0,1,0,1,0,1,0,1,1,1} |
robinmc | 3:704821ea028f | 357 | }; /*!<Global array for the word "AMMO" in a smaller font than the deffault 6x6*/ |
robinmc | 0:fa4a8b6195c8 | 358 | |
robinmc | 2:d9440b3314bb | 359 | const int g_speed_boost[7][14]= { |
robinmc | 2:d9440b3314bb | 360 | {1,0,0,0,0,1,0,0,0,0,1,0,0,0}, |
robinmc | 2:d9440b3314bb | 361 | {0,1,0,0,0,0,1,0,0,0,0,1,0,0}, |
robinmc | 2:d9440b3314bb | 362 | {0,0,1,0,0,0,0,1,0,0,0,0,1,0}, |
robinmc | 2:d9440b3314bb | 363 | {0,0,0,1,0,0,0,0,1,0,0,0,0,1}, |
robinmc | 2:d9440b3314bb | 364 | {0,0,1,0,0,0,0,1,0,0,0,0,1,0}, |
robinmc | 2:d9440b3314bb | 365 | {0,1,0,0,0,0,1,0,0,0,0,1,0,0}, |
robinmc | 2:d9440b3314bb | 366 | {1,0,0,0,0,1,0,0,0,0,1,0,0,0} |
robinmc | 3:704821ea028f | 367 | }; /*!<Global array for the speed boost pickup*/ |
robinmc | 2:d9440b3314bb | 368 | |
robinmc | 2:d9440b3314bb | 369 | const int g_heart[5][5]= { |
robinmc | 0:fa4a8b6195c8 | 370 | {0,1,0,1,0}, |
robinmc | 0:fa4a8b6195c8 | 371 | {1,1,1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 372 | {1,1,1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 373 | {0,1,1,1,0}, |
robinmc | 0:fa4a8b6195c8 | 374 | {0,0,1,0,0} |
robinmc | 3:704821ea028f | 375 | }; /*!<Global array for the heart pickup*/ |
robinmc | 0:fa4a8b6195c8 | 376 | |
robinmc | 2:d9440b3314bb | 377 | const int g_ammo_pickUp[8][7]= { |
robinmc | 0:fa4a8b6195c8 | 378 | {1,1,1,1,1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 379 | {1,0,0,0,0,0,1}, |
robinmc | 0:fa4a8b6195c8 | 380 | {1,0,1,1,1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 381 | {1,0,1,0,1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 382 | {1,0,1,1,1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 383 | {1,0,1,0,1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 384 | {1,0,0,0,0,0,1}, |
robinmc | 1:14e5288790f4 | 385 | {1,1,1,1,1,1,1} |
robinmc | 3:704821ea028f | 386 | }; /*!<Global array for the ammo pickup*/ |
robinmc | 0:fa4a8b6195c8 | 387 | |
robinmc | 2:d9440b3314bb | 388 | const int g_padlock_p1[6][4]= { |
robinmc | 1:14e5288790f4 | 389 | {0,1,1,0}, |
robinmc | 1:14e5288790f4 | 390 | {1,0,0,1}, |
robinmc | 1:14e5288790f4 | 391 | {1,0,0,1}, |
robinmc | 1:14e5288790f4 | 392 | {1,1,1,1}, |
robinmc | 1:14e5288790f4 | 393 | {1,1,1,1}, |
robinmc | 1:14e5288790f4 | 394 | {1,1,1,1} |
robinmc | 3:704821ea028f | 395 | }; /*!<Global array for a closed padlock. To use as a locked icon for story mode*/ |
robinmc | 1:14e5288790f4 | 396 | |
robinmc | 2:d9440b3314bb | 397 | const int g_padlock_p2[6][4]= { |
robinmc | 1:14e5288790f4 | 398 | {0,1,1,0}, |
robinmc | 1:14e5288790f4 | 399 | {1,0,0,1}, |
robinmc | 1:14e5288790f4 | 400 | {1,0,0,0}, |
robinmc | 1:14e5288790f4 | 401 | {1,1,1,1}, |
robinmc | 1:14e5288790f4 | 402 | {1,1,1,1}, |
robinmc | 1:14e5288790f4 | 403 | {1,1,1,1} |
robinmc | 3:704821ea028f | 404 | }; /*!<Global array for a open padlock. To use as a unlocked icon for story mode*/ |
robinmc | 0:fa4a8b6195c8 | 405 | |
robinmc | 2:d9440b3314bb | 406 | const int zero[5][3]= { |
robinmc | 0:fa4a8b6195c8 | 407 | {1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 408 | {1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 409 | {1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 410 | {1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 411 | {1,1,1} |
robinmc | 3:704821ea028f | 412 | }; /*!<Global array for the number 0 in a smaller font than the standard 6x6*/ |
robinmc | 0:fa4a8b6195c8 | 413 | |
robinmc | 2:d9440b3314bb | 414 | const int one [5][3]= { |
robinmc | 0:fa4a8b6195c8 | 415 | {0,1,0}, |
robinmc | 0:fa4a8b6195c8 | 416 | {1,1,0}, |
robinmc | 0:fa4a8b6195c8 | 417 | {0,1,0}, |
robinmc | 0:fa4a8b6195c8 | 418 | {0,1,0}, |
robinmc | 0:fa4a8b6195c8 | 419 | {1,1,1} |
robinmc | 3:704821ea028f | 420 | }; /*!<Global array for the number 1 in a smaller font than the standard 6x6*/ |
robinmc | 0:fa4a8b6195c8 | 421 | |
robinmc | 2:d9440b3314bb | 422 | const int two [5][3]= { |
robinmc | 0:fa4a8b6195c8 | 423 | {1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 424 | {0,0,1}, |
robinmc | 0:fa4a8b6195c8 | 425 | {1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 426 | {1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 427 | {1,1,1} |
robinmc | 3:704821ea028f | 428 | }; /*!<Global array for the number 2 in a smaller font than the standard 6x6*/ |
robinmc | 0:fa4a8b6195c8 | 429 | |
robinmc | 2:d9440b3314bb | 430 | const int three [5][3]= { |
robinmc | 0:fa4a8b6195c8 | 431 | {1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 432 | {0,0,1}, |
robinmc | 0:fa4a8b6195c8 | 433 | {0,1,1}, |
robinmc | 0:fa4a8b6195c8 | 434 | {0,0,1}, |
robinmc | 0:fa4a8b6195c8 | 435 | {1,1,1} |
robinmc | 3:704821ea028f | 436 | }; /*!<Global array for the number 3 in a smaller font than the standard 6x6*/ |
robinmc | 0:fa4a8b6195c8 | 437 | |
robinmc | 2:d9440b3314bb | 438 | const int four [5][3]= { |
robinmc | 0:fa4a8b6195c8 | 439 | {1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 440 | {1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 441 | {1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 442 | {0,0,1}, |
robinmc | 0:fa4a8b6195c8 | 443 | {0,0,1} |
robinmc | 3:704821ea028f | 444 | }; /*!<Global array for the number 4 in a smaller font than the standard 6x6*/ |
robinmc | 0:fa4a8b6195c8 | 445 | |
robinmc | 2:d9440b3314bb | 446 | const int five [5][3]= { |
robinmc | 0:fa4a8b6195c8 | 447 | {1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 448 | {1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 449 | {1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 450 | {0,0,1}, |
robinmc | 0:fa4a8b6195c8 | 451 | {1,1,1} |
robinmc | 3:704821ea028f | 452 | }; /*!<Global array for the number 5 in a smaller font than the standard 6x6*/ |
robinmc | 0:fa4a8b6195c8 | 453 | |
robinmc | 2:d9440b3314bb | 454 | const int six [5][3]= { |
robinmc | 0:fa4a8b6195c8 | 455 | {1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 456 | {1,0,0}, |
robinmc | 0:fa4a8b6195c8 | 457 | {1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 458 | {1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 459 | {1,1,1} |
robinmc | 3:704821ea028f | 460 | }; /*!<Global array for the number 6 in a smaller font than the standard 6x6*/ |
robinmc | 0:fa4a8b6195c8 | 461 | |
robinmc | 2:d9440b3314bb | 462 | const int seven [5][3]= { |
robinmc | 0:fa4a8b6195c8 | 463 | {1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 464 | {0,0,1}, |
robinmc | 0:fa4a8b6195c8 | 465 | {0,0,1}, |
robinmc | 0:fa4a8b6195c8 | 466 | {0,0,1}, |
robinmc | 0:fa4a8b6195c8 | 467 | {0,0,1} |
robinmc | 3:704821ea028f | 468 | };/*!<Global array for the number 7 in a smaller font than the standard 6x6*/ |
robinmc | 0:fa4a8b6195c8 | 469 | |
robinmc | 2:d9440b3314bb | 470 | const int eight [5][3]= { |
robinmc | 0:fa4a8b6195c8 | 471 | {1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 472 | {1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 473 | {1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 474 | {1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 475 | {1,1,1} |
robinmc | 3:704821ea028f | 476 | }; /*!<Global array for the number 8 in a smaller font than the standard 6x6*/ |
robinmc | 0:fa4a8b6195c8 | 477 | |
robinmc | 2:d9440b3314bb | 478 | const int nine [5][3]= { |
robinmc | 0:fa4a8b6195c8 | 479 | {1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 480 | {1,0,1}, |
robinmc | 0:fa4a8b6195c8 | 481 | {1,1,1}, |
robinmc | 0:fa4a8b6195c8 | 482 | {0,0,1}, |
robinmc | 0:fa4a8b6195c8 | 483 | {0,0,1} |
robinmc | 3:704821ea028f | 484 | }; /*!<Global array for the number 9 in a smaller font than the standard 6x6*/ |
robinmc | 0:fa4a8b6195c8 | 485 | |
robinmc | 2:d9440b3314bb | 486 | const float song1[]= { |
robinmc | 2:d9440b3314bb | 487 | 0.108, |
robinmc | 2:d9440b3314bb | 488 | 880,0,0,0,0,0,0,0,0,0,880,0,880,0,1568,0, |
robinmc | 2:d9440b3314bb | 489 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
robinmc | 2:d9440b3314bb | 490 | 698,0,0,0,0,0,0,0,0,0,698,0,698,0,1568,0, |
robinmc | 2:d9440b3314bb | 491 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,1568,0, |
robinmc | 2:d9440b3314bb | 492 | 880,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
robinmc | 2:d9440b3314bb | 493 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
robinmc | 2:d9440b3314bb | 494 | 880,0,0,0,0,0,0,0,988,0,0,0, |
robinmc | 2:d9440b3314bb | 495 | 1047,0,0,0,1047,0,0,0,988,0,880,0,0,0,0,0, |
robinmc | 2:d9440b3314bb | 496 | 880,0,0,0,1568,0,0,0,0,0,880,0,0,0, |
robinmc | 2:d9440b3314bb | 497 | 880,0,1568,0,0,0,0,0,1047,0,0,0,988,0,0,0, |
robinmc | 2:d9440b3314bb | 498 | 880,0,0,0,0,0,0,0,988,0,0,0, |
robinmc | 2:d9440b3314bb | 499 | 1047,0,0,0,1047,0,0,0,988,0,1047,0,0,0,0,0, |
robinmc | 2:d9440b3314bb | 500 | 1319,0,0,0,1175,0,0,0,0,0,1319,0,0,0, |
robinmc | 2:d9440b3314bb | 501 | 1319,0,1175,0,0,0,0,0,1319,0,1175,0,1319,0,1175,0, |
robinmc | 2:d9440b3314bb | 502 | 880,0,0,0,0,0,0,0,1047,0,1319,0, |
robinmc | 2:d9440b3314bb | 503 | 0,0,1760,0,0,0,2093,0,0,0,1976,0,0,0,1568,0, |
robinmc | 2:d9440b3314bb | 504 | 1568,0,0,0,0,0,0,0,0,0,0,0,1760,0,1976,0, |
robinmc | 2:d9440b3314bb | 505 | 0,0,2093,0,0,0,1760,0,0,0,2093,0,1568,0,0,0, |
robinmc | 2:d9440b3314bb | 506 | 698,0,0,0,0,0,0,0,1568,0,1760,0, |
robinmc | 2:d9440b3314bb | 507 | 0,0,1760,0,0,0,1760,0,2093,0,1976,0,0,0,0,0, |
robinmc | 2:d9440b3314bb | 508 | 1319,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
robinmc | 2:d9440b3314bb | 509 | 1319,1319,0,1319,0,1319,1175,1047,988,1319,0,0,0,0,0,0 |
robinmc | 3:704821ea028f | 510 | }; /*!<Global 1D array representing the notes in the song that is played during the game |
robinmc | 3:704821ea028f | 511 | the first element of the array is the quater beats per second all the other elements |
robinmc | 3:704821ea028f | 512 | represent the frequancies of the notes needed for the song*/ |
robinmc | 2:d9440b3314bb | 513 | |
robinmc | 0:fa4a8b6195c8 | 514 | |
robinmc | 0:fa4a8b6195c8 | 515 | |
robinmc | 0:fa4a8b6195c8 | 516 | |
robinmc | 0:fa4a8b6195c8 | 517 | |
robinmc | 0:fa4a8b6195c8 | 518 | |
robinmc | 0:fa4a8b6195c8 | 519 | |
robinmc | 0:fa4a8b6195c8 | 520 | |
robinmc | 3:704821ea028f | 521 | |
robinmc | 3:704821ea028f | 522 |