[
板情報
|
カテゴリランキング
]
したらばTOP
■掲示板に戻る■
全部
1-100
最新50
| |
C言語
18
:
AF
:2013/05/02(木) 14:31:41
chap4のmain.hの完成版ソース その2
--------------------------------------------------
//関数プロトタイプ宣言
void MyMain();
int LoadFiles();
void InitStage();
void GoGameTitle();
void DrawGameTitle();
void GoGameMain();
void DrawGameMain();
void GoGameClear();
void DrawGameClear();
void GoGameOver();
void DrawGameOver();
b2Body* CreateDynamicBall(float x, float y, float radius);
b2Body* CreateBox(float x, float y, float w, float h, bool dynamic);
void Collision();
//ユーティリティ関数
bool IsAKeyTrigger(int key);
bool IsBKeyTrigger(int key);
bool IsCKeyTrigger(int key);
void DeleteAllBody();
int VIWX(float v);
int VIWY(float v);
float PHS(float v);
bool IsOutScreen(float x, float y);
//グローバル変数のエクスターン宣言
extern int g_lasttime;
extern float g_frametime;
extern bool g_exitflag;
extern b2World g_world;
#ifdef B2D_DEBUG_DRAW
extern DxDebugDraw g_debugdraw;
#endif
extern int g_middlefont;
extern StageInfo g_stage;
新着レスの表示
名前:
E-mail
(省略可)
:
※書き込む際の注意事項は
こちら
※画像アップローダーは
こちら
(画像を表示できるのは「画像リンクのサムネイル表示」がオンの掲示板に限ります)
スマートフォン版
掲示板管理者へ連絡
無料レンタル掲示板