forked from chenzhi/CameraGame
/
Config.h
59 lines (31 loc) · 1.05 KB
/
Config.h
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//
// Config.h
// ogreApp
//
// Created by thcz on 11-7-7.
// Copyright 2011年 __MyCompanyName__. All rights reserved.
//
/**************************
游戏常量宏和全局变量定义在此处
*************************/
#pragma once
#include "UserInformation.h"
///ui overlay 界面定义所有路径
#if OGRE_PLATFORM ==OGRE_PLATFORM_IPHONE
const static std::string g_UIPath="Media/CameraGame/UI/";
const static std::string g_UserFacePath="/UserFace";
const static std::string g_EnemyFormat="Media/EnemyFormat.cfg";///敌人阵型文件
#else
#ifdef _DEBUG
const static std::string g_UserFacePath="../../../Media/CameraGame/UserFace";
#else
const static std::string g_UserFacePath= "Media/CameraGame/UserFace";
#endif
#endif
///用户照片保存的格式
static const std::string g_UserFaceFormt=".png";
///用户选择信息
static UserInformation g_userInformation;
///不能被击打目标的脸型
static const Ogre::String m_FriendFaceImage="";
static const Ogre::String g_idleAni="daiji";//所有人物待机动作