comparison src/Martial.h @ 10:5727d511a13a

add src in Martial Project Xcode.
author tokumoritaichirou@nw0743.st.ie.u-ryukyu.ac.jp
date Wed, 03 Feb 2010 03:39:04 +0900
parents
children
comparison
equal deleted inserted replaced
9:143f7b9f867d 10:5727d511a13a
1 /*
2 * Martial.h
3 * Martial
4 *
5 * Created by ryoma on 10/01/27.
6 * Copyright 2010 琉球大学. All rights reserved.
7 *
8 */
9
10 /*!
11 @header Martial
12 @abstract debug, test用の定数を設定
13 */
14
15 #ifndef _MARTIAL_H_
16 #define _MARTIAL_H_
17
18 #include <stdio.h>
19 #include <stdarg.h>
20
21 namespace Martial {
22
23 namespace CONFIG {
24 /*! @const FRAME_RATE @abstract Frames Per Second */
25 const int FRAME_RATE = 60.0;
26 /*! @const FRAME_MIN_TIME @abstract Frame毎の処理時間 */
27 const float FRAME_MIN_TIME = 1.0 / FRAME_RATE;
28 /*! @const WINDOW_WIDTH @abstract Frame毎の処理時間 */
29 const int WINDOW_WIDTH = 1000;
30 /*! @const WINDOW_HEIGHT @abstract Frame毎の処理時間 */
31 const int WINDOW_HEIGHT = 800;
32 }
33
34 namespace TEST {
35 /*! @const SHOW_FPS fpsの表示 (-> GameManager.cpp) */
36 const bool SHOW_FPS = true;
37 /*! @const SHOW_COLLISION 衝突の表示 (-> GameManager.cpp) */
38 const bool SHOW_COLLISION = false;
39 /*! @const SHOW_AVATAR_INPUT Playerから見た入力の表示 */
40 const bool SHOW_PLAYER_INPUT = false;
41 /*! @const SHOW_AVATAR_INPUT Avatarから見た入力の表示 */
42 const bool SHOW_AVATAR_INPUT = false;
43
44 void print(char* format, ...);
45 }
46 }
47
48 #endif