[prev in list] [next in list] [prev in thread] [next in thread]
List: bzflag-commits
Subject: SF.net SVN: bzflag:[18483] trunk/bzflag
From: JeffM2501 () users ! sourceforge ! net
Date: 2008-08-30 18:20:28
Message-ID: E1KZV3k-0002x0-Kj () 3kljzd1 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Revision: 18483
http://bzflag.svn.sourceforge.net/bzflag/?rev=18483&view=rev
Author: JeffM2501
Date: 2008-08-30 18:20:28 +0000 (Sat, 30 Aug 2008)
Log Message:
-----------
revert 18482 since we have that as bz_getTeamPlayerLimit already
Modified Paths:
--------------
trunk/bzflag/include/bzfsAPI.h
trunk/bzflag/src/bzfs/bzfsAPI.cxx
Modified: trunk/bzflag/include/bzfsAPI.h
===================================================================
--- trunk/bzflag/include/bzfsAPI.h 2008-08-30 18:06:25 UTC (rev 18482)
+++ trunk/bzflag/include/bzfsAPI.h 2008-08-30 18:20:28 UTC (rev 18483)
@@ -1795,7 +1795,6 @@
// team info
BZF_API int bz_getTeamCount(bz_eTeamType team);
-BZF_API int bz_getTeamMaxPlayers (bz_eTeamType team);
BZF_API int bz_getTeamScore(bz_eTeamType team);
BZF_API int bz_getTeamWins(bz_eTeamType team);
BZF_API int bz_getTeamLosses(bz_eTeamType team);
Modified: trunk/bzflag/src/bzfs/bzfsAPI.cxx
===================================================================
--- trunk/bzflag/src/bzfs/bzfsAPI.cxx 2008-08-30 18:06:25 UTC (rev 18482)
+++ trunk/bzflag/src/bzfs/bzfsAPI.cxx 2008-08-30 18:20:28 UTC (rev 18483)
@@ -3267,17 +3267,6 @@
return count;
}
-BZF_API int bz_getTeamMaxPlayers (bz_eTeamType _team)
-{
- int teamIndex=(int)convertTeam(_team);
-
- int count=0;
- if(teamIndex < 0 || teamIndex >= NumTeams)
- return 0;
-
- return clOptions->maxTeam[teamIndex];
-}
-
//-------------------------------------------------------------------------
BZF_API int bz_getTeamScore(bz_eTeamType _team)
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BZFlag-commits mailing list
BZFlag-commits@lists.SourceForge.net
https://lists.SourceForge.net/lists/listinfo/bzflag-commits
irc: #BZFlag @ irc.freenode.net
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic