1 /* 2 XBlockOut a 3D Tetris 3 4 Copyright (C) 1992,1993,1994,2003 Thierry EXCOFFIER 5 6 This program is free software; you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 1, or (at your option) 9 any later version. 10 11 This program is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with this program; if not, write to the Free Software 18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 19 20 Contact: Thierry.EXCOFFIER@liris.univ-lyon1.fr 21 */ 22 #ifndef KEY_DOWN_LEFT 23 24 /* Place of the key in the keytable */ 25 26 #define KEY_DOWN_LEFT 0 27 #define KEY_LEFT 1 28 #define KEY_UP_LEFT 2 29 #define KEY_UP 3 30 #define KEY_UP_RIGHT 4 31 #define KEY_RIGHT 5 32 #define KEY_DOWN_RIGHT 6 33 #define KEY_DOWN 7 34 #define KEY_ROT_X_POS 8 35 #define KEY_ROT_X_NEG 9 36 #define KEY_ROT_Y_POS 10 37 #define KEY_ROT_Y_NEG 11 38 #define KEY_ROT_Z_POS 12 39 #define KEY_ROT_Z_NEG 13 40 #define KEY_DROP 14 41 #define KEY_CANCEL 15 42 #define KEY_PAUSE 16 43 #define KEY_QUIT 17 44 #define KEY_DROP_1 18 45 #define KEY_LAST 19 /* The last key + 1 */ 46 #endif 47