From: Matthijs Kooijman Date: Mon, 11 Jun 2007 19:33:02 +0000 (+0200) Subject: * Add Tile0 sprite. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=4ffda2ad2aa90d275826e31f40233014faaa01d8;p=matthijs%2FABM2.git * Add Tile0 sprite. * Add together tile sprite ids to a single one, it contains three types. --- diff --git a/ABM2/Engine/engine.h b/ABM2/Engine/engine.h index 78a7e8b..58bb4c4 100755 --- a/ABM2/Engine/engine.h +++ b/ABM2/Engine/engine.h @@ -62,9 +62,7 @@ enum SpriteID { SPR_NONE = 0, SPR_FIELD, - SPR_SOLID, - SPR_BRICK, - SPR_BLANK, + SPR_TILE, SPR_PLAYER, }; diff --git a/ABM2/main.cpp b/ABM2/main.cpp index 40efd11..210382e 100755 --- a/ABM2/main.cpp +++ b/ABM2/main.cpp @@ -16,7 +16,7 @@ SpriteData defaultSprites[] = { {SPR_FIELD, "Data/FIELD0.png", 640, 480}, - {SPR_BLANK, "Data/FIELD0.png", 640, 480}, + {SPR_TILE, "Data/Tiles0.png", 40, 36}, {SPR_NONE, NULL, 0, 0} };