- Treballant en arreglar el ordre de dibuixat [WORKING HERE]
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
width: 2
|
width: 2
|
||||||
height: 2
|
height: 2
|
||||||
door-height-xp: 0
|
door-height-xp: 0
|
||||||
door-height-yp: 0
|
door-height-yp: 1
|
||||||
color: CYAN
|
color: CYAN
|
||||||
floor-texture: 6
|
floor-texture: 6
|
||||||
wall-texture: 3
|
wall-texture: 3
|
||||||
@@ -82,7 +82,7 @@ actor{
|
|||||||
bmp-offset: 0 32
|
bmp-offset: 0 32
|
||||||
pos: 24 16 0
|
pos: 24 16 0
|
||||||
size: 8 8 6
|
size: 8 8 6
|
||||||
flags: PUSHABLE GRAVITY
|
flags: PICKABLE PUSHABLE GRAVITY
|
||||||
movement: CW
|
movement: CW
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -463,7 +463,8 @@ bool game::loop()
|
|||||||
{
|
{
|
||||||
act = actor::getFirst();
|
act = actor::getFirst();
|
||||||
while (act) {
|
while (act) {
|
||||||
if ((act->flags&FLAG_NOEDITOR)!=FLAG_NOEDITOR && (act->flags&FLAG_HERO)!=FLAG_HERO) {
|
// [WORKING HERE]
|
||||||
|
//if ((act->flags&FLAG_NOEDITOR)!=FLAG_NOEDITOR && (act->flags&FLAG_HERO)!=FLAG_HERO) {
|
||||||
if (section==SECTION_ACTOR && act==actor::getSelected()) {
|
if (section==SECTION_ACTOR && act==actor::getSelected()) {
|
||||||
draw::color(LIGHT+BLUE);
|
draw::color(LIGHT+BLUE);
|
||||||
draw::fillrect(4, 2+line*9, 92, 9);
|
draw::fillrect(4, 2+line*9, 92, 9);
|
||||||
@@ -474,7 +475,7 @@ bool game::loop()
|
|||||||
}
|
}
|
||||||
draw::print(act->name, 14, 4+line*9, LIGHT+WHITE, BLACK);
|
draw::print(act->name, 14, 4+line*9, LIGHT+WHITE, BLACK);
|
||||||
line++;
|
line++;
|
||||||
}
|
//}
|
||||||
act = act->next;
|
act = act->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user