diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-04-14 00:46:53 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-04-14 00:46:53 +0000 |
commit | 55707a5da749734813d03019b7f1306ddd44e872 (patch) | |
tree | 55cceef6204b31934b41b75d01a4978f562a54f0 /src/engine.cpp | |
parent | 3d69592e8e786901c0e3a3f3ad2aacad3dab1885 (diff) | |
download | mana-55707a5da749734813d03019b7f1306ddd44e872.tar.gz mana-55707a5da749734813d03019b7f1306ddd44e872.tar.bz2 mana-55707a5da749734813d03019b7f1306ddd44e872.tar.xz mana-55707a5da749734813d03019b7f1306ddd44e872.zip |
Reduced width of playerset image from 640 to 256.
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 2dca09e2..bdb2ebcd 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -329,7 +329,7 @@ void Engine::draw() std::list<FloorItem*>::iterator floorItemIterator = floorItems.begin(); while (floorItemIterator != floorItems.end()) { - FloorItem *floorItem = (*floorItemIterator); + FloorItem *floorItem = (*floorItemIterator); unsigned short x = floorItem->x; unsigned short y = floorItem->y; int sx = x - camera_x; @@ -343,8 +343,8 @@ void Engine::draw() } floorItemIterator++; - } - + } + // Draw nodes std::list<Being*>::iterator beingIterator = beings.begin(); while (beingIterator != beings.end()) @@ -383,7 +383,7 @@ void Engine::draw() } playerset->spriteset[4 * pf + dir]->draw(screen, - being->text_x - 64, being->text_y - 80); + being->text_x - 16, being->text_y - 80); if (being->weapon != 0 && being->action == ATTACK) { weaponset->spriteset[4 * being->frame + dir]->draw(screen, being->text_x - 64, being->text_y - 80); @@ -407,7 +407,7 @@ void Engine::draw() being->emotion = 0; } } - + graphics->drawText(being->name, being->text_x + 15, being->text_y + 30, gcn::Graphics::CENTER); |