|
From: <al...@us...> - 2013-10-16 07:17:20
|
Revision: 22830
http://sourceforge.net/p/bzflag/code/22830
Author: allejo
Date: 2013-10-16 07:17:18 +0000 (Wed, 16 Oct 2013)
Log Message:
-----------
Added bz_isCountDownPaused() to the BZFS API
Modified Paths:
--------------
trunk/bzflag/include/bzfsAPI.h
trunk/bzflag/src/bzfs/bzfsAPI.cxx
Modified: trunk/bzflag/include/bzfsAPI.h
===================================================================
--- trunk/bzflag/include/bzfsAPI.h 2013-08-11 23:58:03 UTC (rev 22829)
+++ trunk/bzflag/include/bzfsAPI.h 2013-10-16 07:17:18 UTC (rev 22830)
@@ -1431,6 +1431,7 @@
// countdown
BZF_API bool bz_isCountDownActive( void );
BZF_API bool bz_isCountDownInProgress( void );
+BZF_API bool bz_isCountDownPaused( void );
// polls
BZF_API bool bz_pollVeto( void );
Modified: trunk/bzflag/src/bzfs/bzfsAPI.cxx
===================================================================
--- trunk/bzflag/src/bzfs/bzfsAPI.cxx 2013-08-11 23:58:03 UTC (rev 22829)
+++ trunk/bzflag/src/bzfs/bzfsAPI.cxx 2013-10-16 07:17:18 UTC (rev 22830)
@@ -2236,6 +2236,11 @@
return countdownDelay > 0;
}
+BZF_API bool bz_isCountDownPaused( void )
+{
+ return clOptions->countdownPaused;
+}
+
BZF_API bool bz_pollVeto( void )
{
/* make sure that there is a poll arbiter */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|