-
Notifications
You must be signed in to change notification settings - Fork 0
/
player_life.h
48 lines (38 loc) · 1.49 KB
/
player_life.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
//******************************************************************************
//
// タイトル: プレイヤーのライフ表示処理
// プログラム名: player_life.h
// 作成者: HAL東京ゲーム学科 劉南宏
//
//******************************************************************************
#ifndef _PLAYER_LIFE_H_
#define _PLAYER_LIFE_H_
/*******************************************************************************
* インクルードファイル
*******************************************************************************/
#include "main.h"
/*******************************************************************************
* ライブラリのリンク
*******************************************************************************/
/*******************************************************************************
* マクロ定義
*******************************************************************************/
/*******************************************************************************
* 構造体定義
*******************************************************************************/
typedef struct
{
D3DXVECTOR3 pos;
D3DXVECTOR3 size;
D3DCOLOR col;
int score;
}LIFE;
/*******************************************************************************
* プロトタイプ宣言
*******************************************************************************/
HRESULT InitPlayerLife();
void DrawPlayerLife(void);
void UninitPlayerLife(void);
void UpdatePlayerLife(void);
void ChangePlayerLife(int nPlayerIdx, int value);
#endif