Ben Evans University Second Year Project. Game Called Defender.
Embed:
(wiki syntax)
Show/hide line numbers
Sprites.h
00001 #ifndef SPRITES_H 00002 #define SPRITES_H 00003 00004 const int arrow_up[3][5] = { 00005 { 0, 0, 1, 0, 0 }, 00006 { 0, 1, 1, 1, 0 }, 00007 { 1, 1, 1, 1, 1 }, 00008 }; 00009 00010 const int arrow_down[3][5] = { 00011 { 1, 1, 1, 1, 1 }, 00012 { 0, 1, 1, 1, 0 }, 00013 { 0, 0, 1, 0, 0 }, 00014 }; 00015 00016 const int title_screen_d[10][8] = { 00017 {1,1,1,1,1,1,0,0}, 00018 {1,1,1,1,1,1,1,0}, 00019 {1,1,0,0,0,1,1,1}, 00020 {1,1,0,0,0,0,1,1}, 00021 {1,1,0,0,0,0,1,1}, 00022 {1,1,0,0,0,0,1,1}, 00023 {1,1,0,0,0,0,1,1}, 00024 {1,1,0,0,0,1,1,1}, 00025 {1,1,1,1,1,1,1,0}, 00026 {1,1,1,1,1,1,0,0} 00027 }; 00028 00029 const int title_screen_e[10][7] = { 00030 {0,1,1,1,1,1,1}, 00031 {1,1,1,1,1,1,1}, 00032 {1,1,0,0,0,0,0}, 00033 {1,1,0,0,0,0,0}, 00034 {1,1,1,1,1,0,0}, 00035 {1,1,1,1,1,0,0}, 00036 {1,1,0,0,0,0,0}, 00037 {1,1,0,0,0,0,0}, 00038 {1,1,1,1,1,1,1}, 00039 {0,1,1,1,1,1,1} 00040 }; 00041 00042 const int title_screen_f[10][7] = { 00043 {0,1,1,1,1,1,1}, 00044 {1,1,1,1,1,1,1}, 00045 {1,1,0,0,0,0,0}, 00046 {1,1,0,0,0,0,0}, 00047 {1,1,1,1,1,1,0}, 00048 {1,1,1,1,1,1,0}, 00049 {1,1,0,0,0,0,0}, 00050 {1,1,0,0,0,0,0}, 00051 {1,1,0,0,0,0,0}, 00052 {1,1,0,0,0,0,0} 00053 }; 00054 00055 const int title_screen_n[10][7] = { 00056 {1,1,0,0,0,1,1}, 00057 {1,1,1,0,0,1,1}, 00058 {1,1,1,1,0,1,1}, 00059 {1,1,1,1,1,1,1}, 00060 {1,1,1,1,1,1,1}, 00061 {1,1,0,1,1,1,1}, 00062 {1,1,0,0,1,1,1}, 00063 {1,1,0,0,0,1,1}, 00064 {1,1,0,0,0,1,1}, 00065 {1,1,0,0,0,1,1}, 00066 }; 00067 00068 const int title_screen_r[10][8] = { 00069 {0,1,1,1,1,1,1,0}, 00070 {1,1,1,1,1,1,1,1}, 00071 {1,1,0,0,0,0,1,1}, 00072 {1,1,0,0,0,0,1,1}, 00073 {1,1,1,1,1,1,1,1}, 00074 {1,1,1,1,1,1,1,0}, 00075 {1,1,0,1,1,1,0,0}, 00076 {1,1,0,0,1,1,1,0}, 00077 {1,1,0,0,0,1,1,1}, 00078 {1,1,0,0,0,0,1,1} 00079 }; 00080 00081 #endif
Generated on Fri Aug 5 2022 06:55:07 by
1.7.2