Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Commit

Permalink
去除购买功能
Browse files Browse the repository at this point in the history
  • Loading branch information
MerrickZ committed Jul 7, 2016
1 parent d285ac3 commit 1c06cc7
Show file tree
Hide file tree
Showing 35 changed files with 703 additions and 290 deletions.
8 changes: 4 additions & 4 deletions X2048/.settings/com.rim.tad.tools.qml.core.prefs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
config-pri.hash=9ADC5B165E3471C398CBCD86D7356A27
config-pri.version=2.0
eclipse.preferences.version=1
suppress-dialog=always
config-pri.hash=C99E4B7C9A2AF3687EC70FB30E5AEC38
config-pri.version=2.0
eclipse.preferences.version=1
suppress-dialog=always
1 change: 1 addition & 0 deletions X2048/assets/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ Page {
]
}
onCreationCompleted: {
_app.setValue("unlocked", "true");
Application.setCover(multicover);
Application.thumbnail.connect(savestate) //保存进度
_app.timeout.connect(take_a_shot);
Expand Down
212 changes: 106 additions & 106 deletions X2048/bar-descriptor.xml
Original file line number Diff line number Diff line change
@@ -1,106 +1,106 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!--
Copyright (c) 2011-2014 BlackBerry Limited.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<qnx xmlns="http://www.qnx.com/schemas/application/1.0">

<!-- BlackBerry 10 application descriptor file.
Specifies parameters for identifying, installing, and launching native applications on BlackBerry 10.
-->

<!-- A universally unique application identifier. Must be unique across all BlackBerry 10 applications.
Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
<id>anpho.game2048</id>
<configuration name="Device-Debug">
<platformArchitecture>armle-v7</platformArchitecture>
<asset path="arm/o.le-v7-g/X2048" entry="true" type="Qnx/Elf">X2048</asset>
</configuration>
<configuration name="Device-Release">
<entryPointType>Qnx/Cascades</entryPointType>
<platformArchitecture>armle-v7</platformArchitecture>
<asset path="arm/o.le-v7/X2048.so" entry="true" type="Qnx/Elf">X2048.so</asset>
</configuration>
<configuration name="Device-Profile">
<platformArchitecture>armle-v7</platformArchitecture>
<asset path="arm-p/o.le-v7-g/X2048" entry="true" type="Qnx/Elf">X2048</asset>
</configuration>
<configuration name="Simulator-Debug">
<platformArchitecture>x86</platformArchitecture>
<asset path="x86/o-g/X2048" entry="true" type="Qnx/Elf">X2048</asset>
</configuration>

<!-- The name that is displayed in the BlackBerry 10 application installer.
May have multiple values for each language. See samples or xsd schema file. Optional. -->
<name>2048</name>

<!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.
Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
An updated version of application must have a versionNumber value higher than the previous version. Required. -->
<versionNumber>2.0.15</versionNumber>

<!-- Fourth digit segment of the package version. First three segments are taken from the
<versionNumber> element. Must be an integer from 0 to 2^16-1 -->
<buildId>803</buildId>
<packageLocale>zh-CN,zh-TW,en,fr,de,id,it,es,cs,ru,ar,nl,vi,th,eu,ca,hr,da,gl,el,he,hi,hu,ja,ko,nb,pl,pt,ro,sv,tr</packageLocale>

<!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->
<!-- <versionLabel></versionLabel> -->

<!-- Description, displayed in the BlackBerry 10 application installer.
May have multiple values for each language. See samples or xsd schema file. Optional. -->

<!-- Copyright information. Optional. -->
<!-- <copyright></copyright> -->

<!-- Name of author which is used for signing. Must match the developer name of your development certificate. -->
<description>
Join the numbers and get to the 2048 tile!
<text xml:lang="zh-CN">&#x6765;&#x73a9;2048&#x5566;~</text>
</description>
<icon>
<image>114.png</image>
</icon>
<authorId>gYAAgMy-I-SFJtVvioZxVXYQjhA</authorId>
<author>anpho</author>

<!-- Unique author ID assigned by signing authority. Required if using debug tokens. -->
<!-- <authorId>ABC1234YjsnUk235h</authorId> -->

<initialWindow>
<autoOrients>false</autoOrients>
<aspectRatio>portrait</aspectRatio>
<systemChrome>none</systemChrome>
</initialWindow>

<!-- The icon for the application, which should be 114x114. -->

<asset path="assets">assets</asset>

<!-- Locale support -->
<asset path="translations" dest="qm">
<include name="*.qm"/>
</asset>
<asset path="114.png">114.png</asset>

<!-- Request permission to execute native code. Required for native applications. -->
<permission system="true">run_native</permission>
<env var="LD_LIBRARY_PATH" value="app/native/lib:/usr/lib/qt4/lib"/>
<env var="CASCADES_THEME" value="default"/>

</qnx>
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!--
Copyright (c) 2011-2014 BlackBerry Limited.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<qnx xmlns="http://www.qnx.com/schemas/application/1.0">

<!-- BlackBerry 10 application descriptor file.
Specifies parameters for identifying, installing, and launching native applications on BlackBerry 10.
-->

<!-- A universally unique application identifier. Must be unique across all BlackBerry 10 applications.
Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
<id>anpho.game2048</id>
<configuration name="Device-Debug">
<platformArchitecture>armle-v7</platformArchitecture>
<asset path="arm/o.le-v7-g/X2048" entry="true" type="Qnx/Elf">X2048</asset>
</configuration>
<configuration name="Device-Release">
<entryPointType>Qnx/Cascades</entryPointType>
<platformArchitecture>armle-v7</platformArchitecture>
<asset path="arm/o.le-v7/X2048.so" entry="true" type="Qnx/Elf">X2048.so</asset>
</configuration>
<configuration name="Device-Profile">
<platformArchitecture>armle-v7</platformArchitecture>
<asset path="arm-p/o.le-v7-g/X2048" entry="true" type="Qnx/Elf">X2048</asset>
</configuration>
<configuration name="Simulator-Debug">
<platformArchitecture>x86</platformArchitecture>
<asset path="x86/o-g/X2048" entry="true" type="Qnx/Elf">X2048</asset>
</configuration>

<!-- The name that is displayed in the BlackBerry 10 application installer.
May have multiple values for each language. See samples or xsd schema file. Optional. -->
<name>2048</name>

<!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.
Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
An updated version of application must have a versionNumber value higher than the previous version. Required. -->
<versionNumber>2.0.16</versionNumber>

<!-- Fourth digit segment of the package version. First three segments are taken from the
<versionNumber> element. Must be an integer from 0 to 2^16-1 -->
<buildId>707</buildId>
<packageLocale>zh-CN,zh-TW,en,fr,de,id,it,es,cs,ru,ar,nl,vi,th,eu,ca,hr,da,gl,el,he,hi,hu,ja,ko,nb,pl,pt,ro,sv,tr</packageLocale>

<!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->
<!-- <versionLabel></versionLabel> -->

<!-- Description, displayed in the BlackBerry 10 application installer.
May have multiple values for each language. See samples or xsd schema file. Optional. -->

<!-- Copyright information. Optional. -->
<!-- <copyright></copyright> -->

<!-- Name of author which is used for signing. Must match the developer name of your development certificate. -->
<description>
Join the numbers and get to the 2048 tile!
<text xml:lang="zh-CN">&#x6765;&#x73a9;2048&#x5566;~</text>
</description>
<icon>
<image>114.png</image>
</icon>
<authorId>gYAAgMy-I-SFJtVvioZxVXYQjhA</authorId>
<author>anpho</author>

<!-- Unique author ID assigned by signing authority. Required if using debug tokens. -->
<!-- <authorId>ABC1234YjsnUk235h</authorId> -->

<initialWindow>
<autoOrients>false</autoOrients>
<aspectRatio>portrait</aspectRatio>
<systemChrome>none</systemChrome>
</initialWindow>

<!-- The icon for the application, which should be 114x114. -->

<asset path="assets">assets</asset>

<!-- Locale support -->
<asset path="translations" dest="qm">
<include name="*.qm"/>
</asset>
<asset path="114.png">114.png</asset>

<!-- Request permission to execute native code. Required for native applications. -->
<permission system="true">run_native</permission>
<env var="LD_LIBRARY_PATH" value="app/native/lib:/usr/lib/qt4/lib"/>
<env var="CASCADES_THEME" value="default"/>

</qnx>
2 changes: 2 additions & 0 deletions X2048/config.pri
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ config_pri_source_group1 {
$$quote($$BASEDIR/src/pgaudio_js.hpp)
}

INCLUDEPATH += $$quote($$BASEDIR/src)

CONFIG += precompile_header

PRECOMPILED_HEADER = $$quote($$BASEDIR/precompiled.h)
Expand Down
12 changes: 6 additions & 6 deletions X2048/translations/X2048_ar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,32 +88,32 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../assets/main.qml" line="270"/>
<location filename="../assets/main.qml" line="271"/>
<source>You Win</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../assets/main.qml" line="270"/>
<location filename="../assets/main.qml" line="271"/>
<source>Game Over</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../assets/main.qml" line="289"/>
<location filename="../assets/main.qml" line="290"/>
<source>Continue</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../assets/main.qml" line="301"/>
<location filename="../assets/main.qml" line="302"/>
<source>Restart</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../assets/main.qml" line="313"/>
<location filename="../assets/main.qml" line="314"/>
<source>Undo</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../assets/main.qml" line="325"/>
<location filename="../assets/main.qml" line="326"/>
<source>Share Screenshot</source>
<translation type="unfinished"></translation>
</message>
Expand Down
12 changes: 6 additions & 6 deletions X2048/translations/X2048_ca.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,32 +88,32 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../assets/main.qml" line="270"/>
<location filename="../assets/main.qml" line="271"/>
<source>You Win</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../assets/main.qml" line="270"/>
<location filename="../assets/main.qml" line="271"/>
<source>Game Over</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../assets/main.qml" line="289"/>
<location filename="../assets/main.qml" line="290"/>
<source>Continue</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../assets/main.qml" line="301"/>
<location filename="../assets/main.qml" line="302"/>
<source>Restart</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../assets/main.qml" line="313"/>
<location filename="../assets/main.qml" line="314"/>
<source>Undo</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../assets/main.qml" line="325"/>
<location filename="../assets/main.qml" line="326"/>
<source>Share Screenshot</source>
<translation type="unfinished"></translation>
</message>
Expand Down
Loading

0 comments on commit 1c06cc7

Please sign in to comment.