]> git.localhorst.tv Git - l2e.git/blobdiff - src/main.cpp
changed gauge level interpretation
[l2e.git] / src / main.cpp
index e2304337f11b3147340eed50338c0d71a718f892..ab02016cff4d67511af6f986f595067c58dfd875 100644 (file)
@@ -55,10 +55,10 @@ int main(int argc, char **argv) {
                // temporary test data
                SDL_Surface *bg(IMG_Load("test-data/battle-bg.png"));
                PartyLayout monstersLayout;
-               monstersLayout.AddPosition(Point<Uint8>(50, 100));
-               monstersLayout.AddPosition(Point<Uint8>(100, 108));
-               monstersLayout.AddPosition(Point<Uint8>(150, 100));
-               monstersLayout.AddPosition(Point<Uint8>(200, 108));
+               monstersLayout.AddPosition(Point<Uint8>(104, 109));
+               monstersLayout.AddPosition(Point<Uint8>(140, 118));
+               monstersLayout.AddPosition(Point<Uint8>(176, 109));
+               monstersLayout.AddPosition(Point<Uint8>(212, 118));
                PartyLayout heroesLayout;
                heroesLayout.AddPosition(Point<Uint8>(27, 219));
                heroesLayout.AddPosition(Point<Uint8>(104, 227));
@@ -66,7 +66,7 @@ int main(int argc, char **argv) {
                heroesLayout.AddPosition(Point<Uint8>(143, 246));
 
                SDL_Surface *monsterImg(IMG_Load("test-data/monster.png"));
-               Sprite dummySprite(monsterImg, 96, 96);
+               Sprite dummySprite(monsterImg, 64, 64);
                Monster monster;
                monster.SetSprite(&dummySprite);
 
@@ -79,7 +79,7 @@ int main(int argc, char **argv) {
                hero.SetMaxHealth(100);
                hero.SetHealth(50);
                hero.SetMaxMana(100);
-               hero.SetMana(0);
+               hero.SetMana(100);
                hero.SetIP(255);
 
                SDL_Surface *attackIcons(IMG_Load("test-data/attack-type-icons.png"));