Skip to content

Commit

Permalink
Merge branch 'lab'
Browse files Browse the repository at this point in the history
  • Loading branch information
LMH0013 committed Jan 31, 2012
2 parents 5211406 + f675584 commit 1255374
Show file tree
Hide file tree
Showing 20 changed files with 45 additions and 0 deletions.
18 changes: 18 additions & 0 deletions data/images/worldmap/common/boat/boat.sprite
Expand Up @@ -60,4 +60,22 @@
"boat_0.png"
)
)
(action
(hitbox 6 41 0 0)
(name "ice-stop")
(fps 5)
(images
"boat_1_ice.png"
"boat_0_ice.png"
)
)
(action
(hitbox 6 41 0 0)
(name "ice-walking")
(fps 5)
(images
"boat_1_ice.png"
"boat_0_ice.png"
)
)
)
Binary file added data/images/worldmap/common/boat/boat.xcf
Binary file not shown.
Binary file modified data/images/worldmap/common/boat/boat_0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified data/images/worldmap/common/boat/boat_0_fire.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/images/worldmap/common/boat/boat_0_ice.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified data/images/worldmap/common/boat/boat_1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified data/images/worldmap/common/boat/boat_1_fire.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/images/worldmap/common/boat/boat_1_ice.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified data/images/worldmap/common/boat/boat_empty.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/images/worldmap/common/smalltux1_ice.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/images/worldmap/common/smalltux2_ice.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/images/worldmap/common/smalltux3_ice.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/images/worldmap/common/smalltux4_ice.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/images/worldmap/common/smalltux5_ice.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/images/worldmap/common/smalltux6_ice.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/images/worldmap/common/smalltux7_ice.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/images/worldmap/common/smalltux8_ice.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/images/worldmap/common/smalltux_ice.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions data/images/worldmap/common/tux.sprite
Expand Up @@ -76,5 +76,29 @@
(hitbox 0 10 0 0)
(images "smalltux_fire.png")
)
(action
(name "ice-walking")
(hitbox 0 10 0 0)
(images "smalltux_ice.png"
"smalltux2_ice.png"
"smalltux3_ice.png"
"smalltux4_ice.png"
"smalltux5_ice.png"
"smalltux6_ice.png"
"smalltux7_ice.png"
"smalltux8_ice.png"
"smalltux6_ice.png"
"smalltux5_ice.png"
"smalltux4_ice.png"
"smalltux3_ice.png"
"smalltux2_ice.png"
"smalltux1_ice.png"
"smalltux_ice.png")
)
(action
(name "ice-stop")
(hitbox 0 10 0 0)
(images "smalltux_ice.png")
)
)

3 changes: 3 additions & 0 deletions src/worldmap/tux.cpp
Expand Up @@ -66,6 +66,9 @@ Tux::draw(DrawingContext& context)
case FIRE_BONUS:
sprite->set_action(moving ? "fire-walking" : "fire-stop");
break;
case ICE_BONUS:
sprite->set_action(moving ? "ice-walking" : "ice-stop");
break;
case NO_BONUS:
sprite->set_action(moving ? "small-walking" : "small-stop");
break;
Expand Down

0 comments on commit 1255374

Please sign in to comment.