Subversion Repositories Code-Repo

Rev

Rev 240 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 240 Rev 242
Line 1... Line 1...
1
#ifndef SNAKE_H
1
#ifndef SNAKE_H
2
#define	SNAKE_H
2
#define	SNAKE_H
3
 
3
 
4
#include "CUBE.h"
4
#include "CUBE.h"
5
 
5
 
6
#define SNAKE_BODY_COLOR    BLUE
6
#define SNAKE_BODY_COLOR        BLUE
7
#define SNAKE_HEAD_COLOR    RED
7
#define SNAKE_HEAD_COLOR        RED
8
#define SNAKE_CANDY_COLOR   GREEN
8
#define SNAKE_CANDY_COLOR       GREEN
-
 
9
#define SNAKE_COLLISION_COLOR   ORANGE
9
 
10
 
10
#define SNAKE_LEVEL_STEP    10
11
#define SNAKE_LEVEL_STEP    10
11
 
12
 
12
typedef struct {
13
typedef struct {
13
    unsigned x  :8;
14
    unsigned x  :8;