Mercurial > hg > Members > e075743
view src/Martial.h @ 13:39e0c583e0a3 default tip
add GiantroboClassfile.
author | tokumoritaichirou@w-133-13-243-110.cc.u-ryukyu.ac.jp |
---|---|
date | Wed, 03 Feb 2010 18:37:01 +0900 |
parents | 5727d511a13a |
children |
line wrap: on
line source
/* * Martial.h * Martial * * Created by ryoma on 10/01/27. * Copyright 2010 琉球大学. All rights reserved. * */ /*! @header Martial @abstract debug, test用の定数を設定 */ #ifndef _MARTIAL_H_ #define _MARTIAL_H_ #include <stdio.h> #include <stdarg.h> namespace Martial { namespace CONFIG { /*! @const FRAME_RATE @abstract Frames Per Second */ const int FRAME_RATE = 60.0; /*! @const FRAME_MIN_TIME @abstract Frame毎の処理時間 */ const float FRAME_MIN_TIME = 1.0 / FRAME_RATE; /*! @const WINDOW_WIDTH @abstract Frame毎の処理時間 */ const int WINDOW_WIDTH = 1000; /*! @const WINDOW_HEIGHT @abstract Frame毎の処理時間 */ const int WINDOW_HEIGHT = 800; } namespace TEST { /*! @const SHOW_FPS fpsの表示 (-> GameManager.cpp) */ const bool SHOW_FPS = true; /*! @const SHOW_COLLISION 衝突の表示 (-> GameManager.cpp) */ const bool SHOW_COLLISION = false; /*! @const SHOW_AVATAR_INPUT Playerから見た入力の表示 */ const bool SHOW_PLAYER_INPUT = false; /*! @const SHOW_AVATAR_INPUT Avatarから見た入力の表示 */ const bool SHOW_AVATAR_INPUT = false; void print(char* format, ...); } } #endif