Skip to content

Commit

Permalink
Version updated to 1.0.2, fixed message in ViZDoomMismatchedVersionEx…
Browse files Browse the repository at this point in the history
…ception

Former-commit-id: 54a1091
  • Loading branch information
mwydmuch committed May 17, 2016
1 parent 8c98872 commit 376a2f1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ src/vizdoom/tools/updaterevision/x64/
src/vizdoom/tools/zipdir/x64
src/vizdoom/tools/zipdir/zipdir
src/vizdoom/wadsrc_wad
src/vizdoom/zdoom_docs
src/vizdoom/zlib/x64/

# Game wads, scenarios backups and personal configurations
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ make

###Windows

We are providing compiled runtime binaries and development libraries for Windows [here](https://github.com/Marqt/ViZDoom/releases/download/1.0.1/ViZDoom-1.0.1-Win-x86_64.zip).
We are providing compiled runtime binaries and development libraries for Windows [here](https://github.com/Marqt/ViZDoom/releases/download/1.0.1/ViZDoom-1.0.2-Win-x86_64.zip).

####Dependencies
* CMake 3.0+
Expand Down
4 changes: 2 additions & 2 deletions include/ViZDoomDefines.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@

namespace vizdoom{

#define VIZDOOM_LIB_VERSION 101
#define VIZDOOM_LIB_VERSION_STR "1.0.1"
#define VIZDOOM_LIB_VERSION 102
#define VIZDOOM_LIB_VERSION_STR "1.0.2"

typedef unsigned char uint8_t;

Expand Down
2 changes: 1 addition & 1 deletion src/lib/ViZDoomExceptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ namespace vizdoom{
ViZDoomMismatchedVersionException::~ViZDoomMismatchedVersionException() throw(){}

const char* ViZDoomMismatchedVersionException::what() const throw(){
std::string what = "Controlled ViZDoom version (" + this->vizdoomVersion + ") does not match library version (" + this->vizdoomVersion + ").";
std::string what = "Controlled ViZDoom version (" + this->vizdoomVersion + ") does not match library version (" + this->libVersion + ").";
return strdup(what.c_str());
}

Expand Down
4 changes: 2 additions & 2 deletions src/vizdoom/src/vizdoom_defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ extern bool vizdoomNextTic;
extern bool vizdoomUpdate;
extern unsigned int vizdoomLastUpdate;

#define VIZDOOM_VERSION 101
#define VIZDOOM_VERSION_STR "1.0.1"
#define VIZDOOM_VERSION 102
#define VIZDOOM_VERSION_STR "1.0.2"

#define VIZDOOM_TIME (level.starttime + level.maptime)

Expand Down

0 comments on commit 376a2f1

Please sign in to comment.