~ubuntu-branches/ubuntu/edgy/pouetchess/edgy-updates

« back to all changes in this revision

Viewing changes to src/data.h

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Le Folgoc (mr_pouit)
  • Date: 2006-07-15 15:45:57 UTC
  • Revision ID: james.westby@ubuntu.com-20060715154557-3paxq02hx4od0wm4
Tags: upstream-0.2.0
ImportĀ upstreamĀ versionĀ 0.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright (C) 2006 by Frederic MARTIN                                 *
 
3
 *   martin-frederic@users.sourceforge.net                                 *
 
4
 *                                                                         *
 
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.                                   *
 
9
 *                                                                         *
 
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.                          *
 
14
 *                                                                         *
 
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
 ***************************************************************************/
 
20
 
 
21
#ifndef _POUETCHESS_DATA_H__
 
22
#define _POUETCHESS_DATA_H__
 
23
 
 
24
 
 
25
/*
 
26
 * On Windows, the data directory is always in 
 
27
 * the executable directory, so it will be
 
28
 * in the hard coded "data" directory.
 
29
 *
 
30
 * On Other OS the data directory is given
 
31
 * by scons when configure.
 
32
 */
 
33
#ifdef _WIN32
 
34
#define DATA_INSTALL_PREFIX "data"
 
35
#else
 
36
#include "config.h"
 
37
#endif
 
38
 
 
39
 
 
40
#define PC_DATA_GUI                                                     DATA_INSTALL_PREFIX"/gui/"
 
41
#define PC_DATA_GUI_TEXTURES                            DATA_INSTALL_PREFIX"/textures/"
 
42
 
 
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"
 
47
 
 
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"
 
56
 
 
57
#define PC_DATA_FAILE_OBK                                       DATA_INSTALL_PREFIX"/faile.obk"
 
58
 
 
59
 
 
60
 
 
61
#endif
 
62
 
 
63