Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Update bwapilib to bwapi 4.4 #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions 3rdparty/bwapilib/BWAPI.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#include <BWAPI.h>
#include <svnrev.h>

#include <Debug.h>

int BWAPI::BWAPI_getRevision()
{
return SVN_REV;
}
bool BWAPI::BWAPI_isDebug()
{
return BUILD_DEBUG == 1;
}

2 changes: 1 addition & 1 deletion 3rdparty/bwapilib/BWAPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ namespace BWAPI
///
/// @note This value is purposely high to avoid collisions with revision values.
/// @since 4.2.0
const int CLIENT_VERSION = 10002;
const int CLIENT_VERSION = 10003;
}

#endif
2 changes: 1 addition & 1 deletion 3rdparty/bwapilib/BWAPI/Bullet.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,4 @@ namespace BWAPI
/// @retval false If the Bullet is not visible to the specified player.
virtual bool isVisible(Player player = nullptr) const = 0;
};
}
}
Loading