Skip to content

Commit

Permalink
fix #4
Browse files Browse the repository at this point in the history
  • Loading branch information
qnnnnez committed Jun 4, 2017
1 parent 1c2f50a commit 7557ef5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion binaryio.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ namespace scpak
virtual void writeByte(byte value) = 0;
void writeBytes(int size, const byte value[]);
void writeInt(int value);
void writeFloat(float value);
void writeFloat(std::float_t value);
int write7BitEncodedInt(int value);
int writeUtf8Char(int value);
void writeBoolean(bool value);
Expand Down
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ void printUsage(int argc, char *argv[])

void printVersion()
{
cout << "scpak version " << scpak::version << endl;
cout << "scpak version " << scpak::Version << endl;
cout << "scpak is a tool for pack/unpack Survivalcraft pak format" << endl;
cout << "visit https://github.com/qnnnnez/scpak for more information" << endl;
}
Expand Down
3 changes: 2 additions & 1 deletion scpak.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
namespace scpak
{
const char *PakInfoFileName = "scpak.meta";
}
const char *Version = "0.3.1";
}
5 changes: 2 additions & 3 deletions scpak.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

namespace scpak
{
const char *version = "0.3.1";
extern const char *Version;
extern const char *PakInfoFileName;

typedef std::uint8_t byte;

Expand All @@ -29,8 +30,6 @@ namespace scpak
std::float_t width;
};

extern const char *PakInfoFileName;

class BaseException
{
public:
Expand Down

0 comments on commit 7557ef5

Please sign in to comment.