Skip to content

Commit

Permalink
Update for v1.3.1, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
averne committed Jul 11, 2020
1 parent 0638c37 commit 84093ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ endif

TOPDIR ?= $(CURDIR)

VERSION = 1.5.1
VERSION = 1.5.2
COMMIT = $(shell git rev-parse --short HEAD)

# -----------------------------------------------
Expand Down
11 changes: 6 additions & 5 deletions src/parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ enum class Version: std::size_t {
V100,
V110, V111, V112, V113, V114,
V120, V121,
V130,
V130, V131,
Unknown,
Total = Unknown,
};
Expand Down Expand Up @@ -108,6 +108,7 @@ class VersionParser {
VersionInfo{ 0x20006, 0x20008, 2, 0, 2, 6 }, // 1.2.0
VersionInfo{ 0x20006, 0x20008, 2, 0, 2, 7 }, // 1.2.1
VersionInfo{ 0x40002, 0x40008, 2, 0, 2, 8 }, // 1.3.0
VersionInfo{ 0x40002, 0x40008, 2, 0, 2, 9 }, // 1.3.1
};

static_assert(versions.size() == static_cast<std::size_t>(Version::Total));
Expand Down Expand Up @@ -143,7 +144,7 @@ class TurnipParser {
0x4118C0ul, // 1.0.0
0x412060ul, 0x412060ul, 0x412060ul, 0x412060ul, 0x412060ul, // 1.1.x
0x412060ul, 0x412060ul, // 1.2.x
0x412060ul, // 1.3.0
0x412060ul, 0x412060ul, // 1.3.0
};

constexpr static std::array turnip_patterns = {
Expand Down Expand Up @@ -186,7 +187,7 @@ class VisitorParser {
0x414f8cul, // 1.0.0
0x41572cul, 0x41572cul, 0x41572cul, 0x41572cul, 0x41572cul, // 1.1.x
0x4159d8ul, 0x4159d8ul, // 1.2.x
0x4159d8ul, // 1.3.0
0x4159d8ul, 0x4159d8ul, // 1.3.0
};

constexpr static std::array visitor_names = {
Expand Down Expand Up @@ -250,7 +251,7 @@ class DateParser {
0xac0928ul, // 1.0.0
0xac27c8ul, 0xac27c8ul, 0xac27c8ul, 0xac27c8ul, 0xac27c8ul, // 1.1.x
0xace9f8ul, 0xace9f8ul, // 1.2.x
0xaceaa8ul, // 1.3.0
0xaceaa8ul, 0xaceaa8ul, // 1.3.0
};

static_assert(date_offsets.size() == static_cast<std::size_t>(Version::Total));
Expand Down Expand Up @@ -288,7 +289,7 @@ class WeatherSeedParser {
0x1d70ccul, // 1.0.0
0x1d70d4ul, 0x1d70d4ul, 0x1d70d4ul, 0x1d70d4ul, 0x1d70d4ul, // 1.1.x
0x1d70d4ul, 0x1d70d4ul, // 1.2.x
0x1d70d4ul, // 1.3.0
0x1d70d4ul, 0x1d70d4ul // 1.3.0
};

constexpr static std::uint32_t weather_seed_max = 2147483647;
Expand Down

0 comments on commit 84093ef

Please sign in to comment.