Skip to content

Commit

Permalink
Updated version number to 4.1.2.
Browse files Browse the repository at this point in the history
Removed dead links from README.md.
BWAPI now prioritizes advertising its version number (4.1.2) over the revision number.
Plugin name was changed to reflect BWAPI version number over Starcraft version number (since there are more BWAPI versions than Starcraft versions).
  • Loading branch information
heinermann committed Jul 15, 2015
1 parent ed6c4a9 commit 1e6f11f
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Documentation/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = BWAPI
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 4.1.1
PROJECT_NUMBER = 4.1.2

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
2 changes: 1 addition & 1 deletion Installer/Installer.iss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
;This is an INNO Setup script
;You should download INNO Setup and INNO Script Studio v2 to modify and compile it

#define BWAPI_VERSION "4.1.1"
#define BWAPI_VERSION "4.1.2"

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
[TOC]
# Project Information {#project}

* [Project website] (http://bwapi.github.io)
* [Go to the build pipeline](http://ec2-54-68-169-224.us-west-2.compute.amazonaws.com:8080/)
* [Go to the releases](https://github.com/bwapi/bwapi/releases)

Expand Down Expand Up @@ -41,7 +42,6 @@ AI tournaments). Changed defaults will be advertised when the match begins.
* **Repository:** https://github.com/bwapi/bwapi
* **Issue Tracker:** https://github.com/bwapi/bwapi/issues
* **IRC Channel:** http://webchat.freenode.net/?channels=BWAPI
* **Forums:** http://www.broodwarai.com/forums/
* **Facebook:** https://www.facebook.com/groups/bwapi/
* **Links to competitions, bots, etc. :** https://github.com/bwapi/bwapi/wiki/Useful-Links

Expand All @@ -51,7 +51,6 @@ Various venues host remote competitive AI competitions that allow developers fro
* [AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment (AIIDE)](http://www.starcraftaicompetition.com)
* [IEEE Conference on Computational Intelligence and Games (CIG)](http://cilab.sejong.ac.kr/sc_competition/)
* [Student StarCraft AI (SSCAI) Tournament](http://sscaitournament.com/)
* [StarCraft Micro AI (SMAI) Tournament](http://scmai.hackcraft.sk/)
* [BWAPI Bots Ladder](http://bots-stats.krasi0.com)


Expand Down
4 changes: 2 additions & 2 deletions bwapi/BWAPI/Source/GameUpdate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ std::string GameImpl::getTournamentString()
if ( sMemo.empty() )
{
std::stringstream ss;
ss << "BWAPI r" << SVN_REV << " Tournament Mode Engaged!";
ss << "BWAPI " BWAPI_VER "." << SVN_REV << " Tournament Mode Engaged!";
sMemo = ss.str();
}
return sMemo;
Expand Down Expand Up @@ -433,6 +433,6 @@ void GameImpl::initializeAIModule()
}

if ( !hTournamentModule ) // If tournament mode wasn't initialized
sendText("BWAPI r%d %s is now live using \"%s\".", SVN_REV, BUILD_STR, moduleName.c_str() );
sendText("BWAPI %s.%d %s is now live using \"%s\".", BWAPI_VER, SVN_REV, BUILD_STR, moduleName.c_str() );
}

6 changes: 3 additions & 3 deletions bwapi/BWAPI_PluginInjector/chaoslauncher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ extern "C" __declspec(dllexport) void GetPluginAPI(ExchangeData& Data)
extern "C" __declspec(dllexport) void GetData(char* name, char* description, char* updateurl)
{
std::stringstream ss_desc;
ss_desc << "Injects " << MODULE << " into the Broodwar process.\r\n\r\n"
<< "Revision " << SVN_REV << ".\r\n"
ss_desc << "Injects " << MODULE << " (" << BUILD_STR << ") into the Broodwar process.\r\n\r\n"
<< "Version " << BWAPI_VER << " for Starcraft " << STARCRAFT_VER << ".\r\n"
<< "Check for updates at " << BWAPI_HOME_URL << " \r\n\r\n"
<< "Created by the BWAPI Project Team";
<< "Created by the BWAPI Project Team.";

strcpy(name, GetPluginName().substr(0, 64).c_str());
strcpy(description, ss_desc.str().substr(0, 512).c_str());
Expand Down
2 changes: 1 addition & 1 deletion bwapi/BWAPI_PluginInjector/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
std::string GetPluginName()
{
std::stringstream ss_name;
ss_name << "BWAPI Injector (" << STARCRAFT_VER << ") " << BUILD_STR;
ss_name << "BWAPI " << BWAPI_VER << " Injector [" << BUILD_STR << "]";
return ss_name.str();
}

Expand Down
3 changes: 3 additions & 0 deletions bwapi/starcraftver.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#define SC_VER_3 1
#define SC_VER_4 1

// NOTE: SC_VER_4 is variable, depending on where the user obtained Starcraft (i.e. digital download vs CD)

#ifdef _DEBUG
#define BUILD_STR "DEBUG"
#define BUILD_DEBUG 1
Expand All @@ -14,5 +16,6 @@
#define BUILD_DEBUG 0
#endif

#define BWAPI_VER "4.1.2"
#define BWAPI_HOME_URL "http://bwapi.github.io/"
#endif

0 comments on commit 1e6f11f

Please sign in to comment.