diff --git a/data/gfx/player2.gif b/data/gfx/player2.gif index 87930bf..3c0e049 100644 Binary files a/data/gfx/player2.gif and b/data/gfx/player2.gif differ diff --git a/data/gfx/player2_pal1.gif b/data/gfx/player2_pal1.gif new file mode 100644 index 0000000..5388d37 Binary files /dev/null and b/data/gfx/player2_pal1.gif differ diff --git a/data/gfx/player2_pal2.gif b/data/gfx/player2_pal2.gif new file mode 100644 index 0000000..abd3f88 Binary files /dev/null and b/data/gfx/player2_pal2.gif differ diff --git a/data/gfx/player2_pal3.gif b/data/gfx/player2_pal3.gif new file mode 100644 index 0000000..2b45990 Binary files /dev/null and b/data/gfx/player2_pal3.gif differ diff --git a/source/director.cpp b/source/director.cpp index f9198f3..5bda9e9 100644 --- a/source/director.cpp +++ b/source/director.cpp @@ -367,10 +367,17 @@ bool Director::setFileList() asset->add(prefix + "/data/gfx/player1_pal1.gif", t_bitmap); asset->add(prefix + "/data/gfx/player1_pal2.gif", t_bitmap); asset->add(prefix + "/data/gfx/player1_pal3.gif", t_bitmap); + asset->add(prefix + "/data/gfx/player2.gif", t_bitmap); + asset->add(prefix + "/data/gfx/player2_pal1.gif", t_bitmap); + asset->add(prefix + "/data/gfx/player2_pal2.gif", t_bitmap); + asset->add(prefix + "/data/gfx/player2_pal3.gif", t_bitmap); + asset->add(prefix + "/data/gfx/player.ani", t_data); + asset->add(prefix + "/data/gfx/player1_power.gif", t_bitmap); asset->add(prefix + "/data/gfx/player2_power.gif", t_bitmap); + asset->add(prefix + "/data/gfx/player_power.ani", t_data); // Fuentes de texto diff --git a/source/game.cpp b/source/game.cpp index 8d5a5d4..9373531 100644 --- a/source/game.cpp +++ b/source/game.cpp @@ -472,6 +472,9 @@ void Game::loadMedia() // Texturas - Player2 Texture *player2 = new Texture(renderer, asset->get("player2.gif")); + player2->addPalette(asset->get("player2_pal1.gif")); + player2->addPalette(asset->get("player2_pal2.gif")); + player2->addPalette(asset->get("player2_pal3.gif")); player2Textures.push_back(player2); Texture *player2Power = new Texture(renderer, asset->get("player2_power.gif"));