diff options
author | Vladimir Menshakov | 2009-09-15 20:21:18 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2009-09-15 20:21:18 +0000 |
commit | 6db034a1db90ed2423a4cb6cc7a7ae5d87673e77 (patch) | |
tree | 580f739bc56fb8b0ec471b9dbe95cdb432fda012 /engines/teenagent/inventory.cpp | |
parent | 76ea1fbb6493cdefcb7bdc2bf1112fc7cff6f108 (diff) | |
download | scummvm-rg350-6db034a1db90ed2423a4cb6cc7a7ae5d87673e77.tar.gz scummvm-rg350-6db034a1db90ed2423a4cb6cc7a7ae5d87673e77.tar.bz2 scummvm-rg350-6db034a1db90ed2423a4cb6cc7a7ae5d87673e77.zip |
renamed constants to comply with the code convention.
svn-id: r44109
Diffstat (limited to 'engines/teenagent/inventory.cpp')
-rw-r--r-- | engines/teenagent/inventory.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/teenagent/inventory.cpp b/engines/teenagent/inventory.cpp index 4569423603..d07ba52e6e 100644 --- a/engines/teenagent/inventory.cpp +++ b/engines/teenagent/inventory.cpp @@ -39,7 +39,7 @@ void Inventory::init(TeenAgentEngine *engine) { Common::SeekableReadStream *s = res->varia.getStream(3); assert(s != NULL); debug(0, "loading inventory background..."); - background.load(s, Surface::TypeOns); + background.load(s, Surface::kTypeOns); items = res->varia.getStream(4); assert(items != NULL); @@ -235,7 +235,7 @@ void Inventory::Item::render(Inventory *inventory, InventoryObject *obj, Graphic if (animation.empty()) { debug(0, "loading item %d from offset %x", obj->id, inventory->offset[obj->id - 1]); inventory->items->seek(inventory->offset[obj->id - 1]); - animation.load(inventory->items, Animation::TypeInventory); + animation.load(inventory->items, Animation::kTypeInventory); } if (hovered) { Surface *s = animation.currentFrame(); @@ -252,7 +252,7 @@ void Inventory::Item::render(Inventory *inventory, InventoryObject *obj, Graphic if (surface.empty()) { debug(0, "loading item %d from offset %x", obj->id, inventory->offset[obj->id - 1]); inventory->items->seek(inventory->offset[obj->id - 1]); - surface.load(inventory->items, Surface::TypeOns); + surface.load(inventory->items, Surface::kTypeOns); } surface.render(dst, rect.left + 1, rect.top + 1); } |