afegides paletes per al segon jugador
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
BIN
data/gfx/player2_pal1.gif
Normal file
BIN
data/gfx/player2_pal1.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 172 B |
BIN
data/gfx/player2_pal2.gif
Normal file
BIN
data/gfx/player2_pal2.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 172 B |
BIN
data/gfx/player2_pal3.gif
Normal file
BIN
data/gfx/player2_pal3.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 172 B |
@@ -367,10 +367,17 @@ bool Director::setFileList()
|
|||||||
asset->add(prefix + "/data/gfx/player1_pal1.gif", t_bitmap);
|
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_pal2.gif", t_bitmap);
|
||||||
asset->add(prefix + "/data/gfx/player1_pal3.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.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/player.ani", t_data);
|
||||||
|
|
||||||
asset->add(prefix + "/data/gfx/player1_power.gif", t_bitmap);
|
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/player2_power.gif", t_bitmap);
|
||||||
|
|
||||||
asset->add(prefix + "/data/gfx/player_power.ani", t_data);
|
asset->add(prefix + "/data/gfx/player_power.ani", t_data);
|
||||||
|
|
||||||
// Fuentes de texto
|
// Fuentes de texto
|
||||||
|
|||||||
@@ -472,6 +472,9 @@ void Game::loadMedia()
|
|||||||
|
|
||||||
// Texturas - Player2
|
// Texturas - Player2
|
||||||
Texture *player2 = new Texture(renderer, asset->get("player2.gif"));
|
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);
|
player2Textures.push_back(player2);
|
||||||
|
|
||||||
Texture *player2Power = new Texture(renderer, asset->get("player2_power.gif"));
|
Texture *player2Power = new Texture(renderer, asset->get("player2_power.gif"));
|
||||||
|
|||||||
Reference in New Issue
Block a user