X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmain.cpp;h=9a68807f5aeac2de0bc75d304a22a7c3b706ccce;hb=ee2e9e25571908bc840b08ab954be05f357e7f58;hp=df3def10a69daa850d8fd46b3f95755e308e686e;hpb=19e11f43c4ad3aaccce8809ba66350dd3cbeb3dd;p=l2e.git diff --git a/src/main.cpp b/src/main.cpp index df3def1..9a68807 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -182,8 +182,12 @@ int main(int argc, char **argv) { // TODO: add '.' character battleRes.disabledFont = &disabledFont; + SDL_Surface *handCursorImg(IMG_Load("test-data/cursor-hand.png")); + Sprite handCursorSprite(handCursorImg, 32, 32); + battleRes.menuCursor = &handCursorSprite; + battleRes.spellMenuHeadline = "Please choose a spell."; - battleRes.spellMenuPrototype = Menu(&normalFont, &disabledFont, 12, 6, 8, 2, 32); + battleRes.spellMenuPrototype = Menu(&normalFont, &disabledFont, &handCursorSprite, 12, 6, 8, 2, 32); BattleState *battleState(new BattleState(bg, monstersLayout, heroesLayout, &battleRes)); battleState->AddMonster(monster);