Add C++ header guards

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11153 4a71c877-e1ca-e34f-864e-861f7616d084
master
Buginator 2010-07-11 18:52:56 +00:00 committed by Git SVN Gateway
parent e272388ab1
commit 208ba52334
1 changed files with 9 additions and 0 deletions

View File

@ -36,6 +36,10 @@
* changed to /6 by ajl. if this needs to go back to ticks/10 then tell me. */
#define GTIME_MAXFRAME (GAME_TICKS_PER_SEC/6)
#ifdef __cplusplus
extern "C"
{
#endif //__cplusplus
/// The current time in the game world.
/// Changes in GAME_UNITS_PER_TICK increments.
extern UDWORD gameTime;
@ -164,4 +168,9 @@ static inline float timeAdjustedIncrement(float value, BOOL pauseTime)
return (pauseTime ? gameTimeAdjustedIncrement : realTimeAdjustedIncrement)(value);
}
#ifdef __cplusplus
}
#endif //__cplusplus
#endif