bomberinclude.c

来自「一个炸弹人游戏的源代码(win32 application)」· C语言 代码 · 共 76 行

C
76
字号
//BomberVarious
void StartWait ();
void StartFor (int n);
void Delay (int n);
void FadeOut ();

//BomberSounds
void LoadSounds ();

//BomberKeyboard
void InitKeyboard ();
void SaveKeys ();
void CheckKeyboard ();
void FlushKeys ();
char getch ();

//BomberSprites
void LoadSprites ();
unsigned char ReadPixel (int x, int y);
void DrawBlock (int x, int y, int x1, int y1);
void DrawTSprite (int x, int y, int x1, int y1, int xs, int ys);

//BomberMap
void CreateMap ();
void DrawMap ();
void BlowBlock (int x, int y);

//BomberPlayers
void DrawPlayers ();
void MovePlayers ();
void KillPlayer (int x, int y);

//BomberExpl
void SetupExpl (int x, int y, int r);
void DoExpl ();

//BomberBonus
void ClearBonus ();
void DrawBonus ();
void CheckBonus ();

//BomberBombs
void InitBombs ();
void DropBombs ();
void CheckBombs ();
void ShortBomb (int x, int y);
void DrawBombs ();

//BomberMidi
void PlayMidi (char *FileName);
void StopMidi ();
void UnloadMidi ();

//BomberMenu
void InitMenu ();
void DrawNumber ();
void MenuLoop ();

//BomberSetup
void InitSetup ();
void SetupDisplay ();
void SetupLoop ();

//BomberWinLose
void InitWinLose ();
void WinLoseLoop ();

//Main game
void ClearGame ();
void NewGame ();
void InitGame ();
void CloseGame ();
void GameLoop ();
void GameFrame ();

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?