initial commit
This commit is contained in:
57
include/consts.h
Normal file
57
include/consts.h
Normal file
@ -0,0 +1,57 @@
|
||||
#ifndef CONSTS_H
|
||||
#define CONSTS_H
|
||||
#endif
|
||||
|
||||
const int START_LENGTH = 4;
|
||||
const int START_LENGTH_HARD =2;
|
||||
const int APPLE_SCORE = 10;
|
||||
|
||||
//Screen size
|
||||
const int X_MAX = 31;
|
||||
const int Y_MAX = 23;
|
||||
|
||||
//*barf* Dont try this at home...
|
||||
|
||||
const char BITMAP_APPLE[] = {
|
||||
0,0,0,2,2,0,0,0,
|
||||
0,2,2,2,2,2,2,0,
|
||||
0,2,2,2,2,2,2,0,
|
||||
2,2,2,2,2,2,2,2,
|
||||
2,2,2,2,2,1,2,2,
|
||||
0,2,2,2,2,1,2,0,
|
||||
0,2,2,2,2,2,2,0,
|
||||
0,0,0,2,2,0,0,0
|
||||
};
|
||||
|
||||
const char BITMAP_HEAD_RIGHT[] = {
|
||||
0,3,3,3,3,3,3,0,
|
||||
3,4,4,4,4,4,4,3,
|
||||
3,4,7,4,7,4,4,3,
|
||||
3,4,4,4,4,7,4,3,
|
||||
3,4,4,4,4,7,4,3,
|
||||
3,4,7,4,7,4,4,3,
|
||||
3,4,4,4,4,4,4,3,
|
||||
0,3,3,3,3,3,3,0
|
||||
};
|
||||
|
||||
const char BITMAP_HEAD_UP[] = {
|
||||
0,3,3,3,3,3,3,0,
|
||||
3,4,4,4,4,4,4,3,
|
||||
3,4,4,7,7,4,4,3,
|
||||
3,4,7,4,4,7,4,3,
|
||||
3,4,4,4,4,4,4,3,
|
||||
3,4,7,4,4,7,4,3,
|
||||
3,4,4,4,4,4,4,3,
|
||||
0,3,3,3,3,3,3,0
|
||||
};
|
||||
|
||||
const char BITMAP_SEGMENT[] = {
|
||||
0,5,5,5,5,5,5,0,
|
||||
5,6,6,6,6,6,6,5,
|
||||
5,6,6,6,6,6,6,5,
|
||||
5,6,6,6,6,6,6,5,
|
||||
5,6,6,6,6,6,6,5,
|
||||
5,6,6,6,6,6,6,5,
|
||||
5,6,6,6,6,6,6,5,
|
||||
0,5,5,5,5,5,5,0
|
||||
};
|
Reference in New Issue
Block a user