- Llevats els colors roig i blau, queden rarunos
- Reajustat el pintat dels comptadors. - Els comptadors canvien de color segón el color de l'habitació - [FIX] print2 pintava mal el número
This commit is contained in:
@@ -372,13 +372,17 @@ bool game::loop()
|
||||
room::draw2();
|
||||
draw::swapcol(1, WHITE+LIGHT);
|
||||
actor::draw(actor::getPicked(), false);
|
||||
draw::print2("a", 4, 24, YELLOW, FONT_ZOOM_NONE);
|
||||
draw::print2("b", 7, 24, LIGHT+TEAL, FONT_ZOOM_NONE);
|
||||
draw::print2("c", 10, 24, LIGHT+PURPLE, FONT_ZOOM_NONE);
|
||||
|
||||
draw::print2(actor::hero::getBoostJump(), 2, 3, 26, LIGHT+PURPLE, FONT_ZOOM_NONE);
|
||||
draw::print2(actor::hero::getBoostGod()/2, 2, 6, 26, YELLOW, FONT_ZOOM_NONE);
|
||||
draw::print2(actor::hero::getBoostRun()/2, 2, 9, 26, LIGHT+TEAL, FONT_ZOOM_NONE);
|
||||
const int col1 = 7+(room::getColor()-6)%5;
|
||||
const int col2 = 7+(room::getColor()-5)%5;
|
||||
const int col3 = 7+(room::getColor()-4)%5;
|
||||
draw::print2("a", 4, 26, col1, FONT_ZOOM_NONE);
|
||||
draw::print2("b", 7, 26, col2, FONT_ZOOM_NONE);
|
||||
draw::print2("c", 10, 26, col3, FONT_ZOOM_NONE);
|
||||
|
||||
draw::print2(actor::hero::getBoostJump(), 2, 3, 28, col3, FONT_ZOOM_NONE);
|
||||
draw::print2(actor::hero::getBoostGod()/2, 2, 6, 28, col1, FONT_ZOOM_NONE);
|
||||
draw::print2(actor::hero::getBoostRun()/2, 2, 9, 28, col2, FONT_ZOOM_NONE);
|
||||
|
||||
//print(10, 200, actor::hero::getBoostJump());
|
||||
//print(30, 200, actor::hero::getBoostGod()/2);
|
||||
@@ -579,7 +583,7 @@ switch (section)
|
||||
|
||||
ui::label("TEXTURES", 2, line, 96, 11, GRAY); line+=10;
|
||||
|
||||
changed |= btn_opt("COLOR", 2, line, room::editor::refColor(), {5, 6, 7, 8, 9, 10, 11}, {"BLUE", "RED", "PURPLE", "GREEN", "CYAN", "YELLOW", "WHITE"}, 47); //ui::label("COLOR", 2, line, 64, 11);
|
||||
changed |= btn_opt("COLOR", 2, line, room::editor::refColor(), {7, 8, 9, 10, 11}, {"PURPLE", "GREEN", "CYAN", "YELLOW", "WHITE"}, 47); //ui::label("COLOR", 2, line, 64, 11);
|
||||
//changed |= btn_small(64, line, room::editor::refColor(), 5, 11);
|
||||
line += 10;
|
||||
ui::label("FLOOR", 2, line, 48, 11);
|
||||
|
||||
Reference in New Issue
Block a user