- Treballant en arreglar el ordre de dibuixat [WORKING HERE]

This commit is contained in:
2024-06-18 14:29:55 +02:00
parent 5e72414642
commit f6231a6f5c
2 changed files with 5 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
width: 2
height: 2
door-height-xp: 0
door-height-yp: 0
door-height-yp: 1
color: CYAN
floor-texture: 6
wall-texture: 3
@@ -82,7 +82,7 @@ actor{
bmp-offset: 0 32
pos: 24 16 0
size: 8 8 6
flags: PUSHABLE GRAVITY
flags: PICKABLE PUSHABLE GRAVITY
movement: CW
}

View File

@@ -463,7 +463,8 @@ bool game::loop()
{
act = actor::getFirst();
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()) {
draw::color(LIGHT+BLUE);
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);
line++;
}
//}
act = act->next;
}