1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Add pragma once where missing

This commit is contained in:
Mathieu Schroeter 2017-01-21 23:44:30 +01:00
parent 9c0996b329
commit ec64153d42
9 changed files with 14 additions and 4 deletions

View File

@ -1,6 +1,8 @@
// Action.h // Action.h
// //
#pragma once
extern extern
BOOL Action(short action, short direct, BOOL Action(short action, short direct,
short &phase, short &step, short &phase, short &step,

View File

@ -1,6 +1,6 @@
// Button.h // Button.h
#pragma once
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////

View File

@ -7,6 +7,8 @@
* *
***************************************************************************/ ***************************************************************************/
#pragma once
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { /* Assume C declarations for C++ */ extern "C" { /* Assume C declarations for C++ */
#endif /* __cplusplus */ #endif /* __cplusplus */

View File

@ -1,6 +1,6 @@
// Event.h // Event.h
#pragma once
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////

View File

@ -1,6 +1,6 @@
// Jauge.h // Jauge.h
#pragma once
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////

2
menu.h
View File

@ -1,6 +1,6 @@
// Menu.h // Menu.h
#pragma once
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////

2
misc.h
View File

@ -1,6 +1,8 @@
// misc.h // misc.h
// //
#pragma once
extern void InitHInstance(HINSTANCE hInstance); extern void InitHInstance(HINSTANCE hInstance);
extern void OutputDebug(char *pMessage); extern void OutputDebug(char *pMessage);
extern void LoadString(UINT nID, char *pBuffer, int lgBuffer); extern void LoadString(UINT nID, char *pBuffer, int lgBuffer);

View File

@ -1,6 +1,8 @@
// movie.h // movie.h
// //
#pragma once
class CMovie class CMovie
{ {
public: public:

2
wave.h
View File

@ -7,6 +7,8 @@
* *
***************************************************************************/ ***************************************************************************/
#pragma once
#include <dsound.h> #include <dsound.h>
void LoadWave(HINSTANCE hinst, int ResourceID, void LoadWave(HINSTANCE hinst, int ResourceID,