File: Defines.h

package info (click to toggle)
hannah 1.0-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 8,712 kB
  • ctags: 281
  • sloc: cpp: 2,210; sh: 214; makefile: 117
file content (33 lines) | stat: -rw-r--r-- 451 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef _DEFINES_
#define _DEFINES_

#include <vector>

#define TOP 50
#define BOT 550
#define LEFT 50
#define RIGHT 550

#define SIZEX 15 // Map is 15 tiles wide, by 15 down
#define SIZEY 15
#define SIZET 30 // Tile Size (they're square)

#define SPEED 15;

using namespace std;

typedef struct{
	int sx,sy,speed;
} foodinfo;

typedef struct{
	char type;
	int l,r,t,b;
} gridcell;

typedef struct{
	char name[15];
	int score;
} hiscoreentry;

#endif