afegides paletes per al segon jugador
This commit is contained in:
1 parent
b29d9681f8
commit
cff1df19c2
6 files changed
+10
No files matched your search
@@ -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
|
||||
|
||||
@@ -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"));
|
||||
|
||||
Reference in new issue
Block a user