1
/***************************************************************************
2
* Copyright (C) 2006 by Frederic MARTIN *
3
* martin-frederic@users.sourceforge.net *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
10
* This program is distributed in the hope that it will be useful, *
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13
* GNU General Public License for more details. *
15
* You should have received a copy of the GNU General Public License *
16
* along with this program; if not, write to the *
17
* Free Software Foundation, Inc., *
18
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19
***************************************************************************/
21
#ifndef _POUETCHESS_DATA_H__
22
#define _POUETCHESS_DATA_H__
26
* On Windows, the data directory is always in
27
* the executable directory, so it will be
28
* in the hard coded "data" directory.
30
* On Other OS the data directory is given
31
* by scons when configure.
34
#define DATA_INSTALL_PREFIX "data"
40
#define PC_DATA_GUI DATA_INSTALL_PREFIX"/gui/"
41
#define PC_DATA_GUI_TEXTURES DATA_INSTALL_PREFIX"/textures/"
43
#define PC_DATA_TEXTURE_BACKGROUND DATA_INSTALL_PREFIX"/textures/background.jpg"
44
#define PC_DATA_TEXTURE_BOARD DATA_INSTALL_PREFIX"/textures/board.jpg"
45
#define PC_DATA_TEXTURE_SKYBOX DATA_INSTALL_PREFIX"/textures/skybox/s%d.jpg"
46
#define PC_DATA_ICON_POUETCHESS DATA_INSTALL_PREFIX"/icons/pouetChess.bmp"
48
#define PC_DATA_MODEL_ROOK DATA_INSTALL_PREFIX"/3DModels/rook.lwo"
49
#define PC_DATA_MODEL_KNIGHT DATA_INSTALL_PREFIX"/3DModels/knight.lwo"
50
#define PC_DATA_MODEL_BISHOP DATA_INSTALL_PREFIX"/3DModels/bishop.lwo"
51
#define PC_DATA_MODEL_QUEEN DATA_INSTALL_PREFIX"/3DModels/queen.lwo"
52
#define PC_DATA_MODEL_KING DATA_INSTALL_PREFIX"/3DModels/king.lwo"
53
#define PC_DATA_MODEL_PAWN DATA_INSTALL_PREFIX"/3DModels/pawn.lwo"
54
#define PC_DATA_MODEL_BOARD DATA_INSTALL_PREFIX"/3DModels/board.lwo"
55
#define PC_DATA_MODEL_ARROW DATA_INSTALL_PREFIX"/3DModels/arrow.lwo"
57
#define PC_DATA_FAILE_OBK DATA_INSTALL_PREFIX"/faile.obk"