]> git.localhorst.tv Git - l2e.git/blobdiff - src/main.cpp
added and implemented swap heroes state
[l2e.git] / src / main.cpp
index a2672503090bbc3d5cb8d889745bbdec29236bf2..a59818a235e93e9ad1c40b4e991a69947b2f1758 100644 (file)
@@ -135,6 +135,9 @@ int main(int argc, char **argv) {
 
                battle::Resources battleRes;
 
+               SDL_Surface *swapCursorImg(IMG_Load("test-data/swap-cursor.png"));
+               Sprite swapCursorSprite(swapCursorImg, 32, 32);
+               battleRes.swapCursor = &swapCursorSprite;
                SDL_Surface *attackIconsImg(IMG_Load("test-data/attack-type-icons.png"));
                Sprite attackIconsSprite(attackIconsImg, 32, 32);
                battleRes.attackIcons = &attackIconsSprite;