mirror of https://github.com/auygun/kaliber.git
Bump version to 1.0.4
This commit is contained in:
parent
00f57bab05
commit
068656ddc2
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:versionCode="19"
|
android:versionCode="22"
|
||||||
android:versionName="1.0.3">
|
android:versionName="1.0.4">
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:allowBackup="false"
|
android:allowBackup="false"
|
||||||
|
|
|
@ -179,9 +179,9 @@ void Demo::LostFocus() {}
|
||||||
void Demo::GainedFocus(bool from_interstitial_ad) {
|
void Demo::GainedFocus(bool from_interstitial_ad) {
|
||||||
DLOG << __func__ << " from_interstitial_ad: " << from_interstitial_ad;
|
DLOG << __func__ << " from_interstitial_ad: " << from_interstitial_ad;
|
||||||
if (!from_interstitial_ad) {
|
if (!from_interstitial_ad) {
|
||||||
if (saved_data_.root().get(kLaunchCount, Json::Value(0)).asInt() >
|
// if (saved_data_.root().get(kLaunchCount, Json::Value(0)).asInt() >
|
||||||
kLaunchCountBeforeAd)
|
// kLaunchCountBeforeAd)
|
||||||
Engine::Get().ShowInterstitialAd();
|
// Engine::Get().ShowInterstitialAd();
|
||||||
if (state_ == kGame)
|
if (state_ == kGame)
|
||||||
EnterMenuState();
|
EnterMenuState();
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ using namespace eng;
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
constexpr char kVersionStr[] = "Version 1.0.3";
|
constexpr char kVersionStr[] = "Version 1.0.4";
|
||||||
|
|
||||||
constexpr char kMenuOption[Menu::kOption_Max][10] = {"continue", "start",
|
constexpr char kMenuOption[Menu::kOption_Max][10] = {"continue", "start",
|
||||||
"credits", "exit"};
|
"credits", "exit"};
|
||||||
|
|
Loading…
Reference in New Issue