Support for SDK2.0

Improved logic to test if the player has lost
New victory screen
This commit is contained in:
2014-01-27 19:29:25 +00:00
parent 4d8fe48bb5
commit dc2b6a6771
45 changed files with 1065 additions and 730 deletions

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

Before

Width:  |  Height:  |  Size: 970 B

After

Width:  |  Height:  |  Size: 970 B

View File

Before

Width:  |  Height:  |  Size: 981 B

After

Width:  |  Height:  |  Size: 981 B

View File

Before

Width:  |  Height:  |  Size: 988 B

After

Width:  |  Height:  |  Size: 988 B

View File

Before

Width:  |  Height:  |  Size: 977 B

After

Width:  |  Height:  |  Size: 977 B

View File

Before

Width:  |  Height:  |  Size: 989 B

After

Width:  |  Height:  |  Size: 989 B

View File

Before

Width:  |  Height:  |  Size: 980 B

After

Width:  |  Height:  |  Size: 980 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 973 B

View File

Before

Width:  |  Height:  |  Size: 159 B

After

Width:  |  Height:  |  Size: 159 B

BIN
resources/images/moon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 B

View File

Before

Width:  |  Height:  |  Size: 232 B

After

Width:  |  Height:  |  Size: 232 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 969 B

After

Width:  |  Height:  |  Size: 969 B

View File

@@ -1,18 +0,0 @@
Copyright (C) 2008 The Android Open Source Project
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.
##########
This directory contains the fonts for the platform. They are licensed
under the Apache 2 license.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 939 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 B

View File

@@ -1,81 +0,0 @@
{"friendlyVersion": "0.1",
"versionDefName": "APP_RESOURCES",
"media": [
{
"type":"png",
"defName":"MENU_ICON",
"file":"images/menu_icon.png"
},
{
"type":"png",
"defName":"SPLASH",
"file":"images/splash.png"
},
{
"type":"png",
"defName":"BOX_BACKGROUND",
"file":"images/box_background.png"
},
{
"type":"png",
"defName":"TAB_CLOSED",
"file":"images/tab_closed.png"
},
{
"type":"png",
"defName":"TAB_OPEN",
"file":"images/tab_open.png"
},
{
"type":"png",
"defName":"TAB_OPEN_SELECTED",
"file":"images/tab_open_selected.png"
},
{
"type":"png",
"defName":"DICE_1",
"file":"images/dice_1.png"
},
{
"type":"png",
"defName":"DICE_2",
"file":"images/dice_2.png"
},
{
"type":"png",
"defName":"DICE_3",
"file":"images/dice_3.png"
},
{
"type":"png",
"defName":"DICE_4",
"file":"images/dice_4.png"
},
{
"type":"png",
"defName":"DICE_5",
"file":"images/dice_5.png"
},
{
"type":"png",
"defName":"DICE_6",
"file":"images/dice_6.png"
},
{
"type":"png",
"defName":"ME",
"file":"images/me.png"
},
{
"type": "font",
"defName": "FONT_ROBOTO_BOLD_22",
"file": "fonts/Roboto-Bold.ttf"
},
{
"type": "font",
"defName": "FONT_ROBOTO_BOLD_28",
"file": "fonts/Roboto-Bold.ttf"
}
]
}

View File

@@ -1,12 +0,0 @@
import waftools.process_resources as res
def build(bld):
res.gen_resource_deps(bld,
map_node=bld.path.find_node('src/resource_map.json'),
pack_node=bld.path.parent.get_bld().make_node('app_resources.pbpack'),
id_header_node=bld.path.parent.get_bld().make_node('src/resource_ids.auto.h'),
resource_header_path="pebble_os.h")