Monday, April 29, 2013

#2 f_tetris.h


#ifndef _TETRIS_H
#define _TETRIS_H

const   int SPACE=32; // keyboard space
 const int screenMaxX=800;
 const int screenMaxY=800;

 enum figure_type {LINE,RIGHTL,LEFTL,SQUARE,RIGHTB,LEFTB,PIRAMIDE};
 enum figure_position {VERTICAL,HORIZONTAL,V_OPOSITE,H_OPOSITE};



/*
Left: 0, 75
Right: 0, 77
Up: 0, 72
Down: 0, 80
PgUp: 0, 73
PgDn: 0, 81
Home: 0, 71
End: 0, 79
Ins: 0, 82
Del: 0, 83 */

#endif // _TETRIS_H

No comments:

Post a Comment