- [NEW] Més malotes

- [FIX] Els malotes no mataven des d'agunes posicions
- Més habitacions
This commit is contained in:
2024-09-24 14:02:24 +02:00
parent 6d1734755f
commit c49684981c
14 changed files with 568 additions and 202 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@@ -4,7 +4,7 @@ door-height-xn: 1
door-height-yn: 1 door-height-yn: 1
color: CYAN color: CYAN
floor-texture: 0 floor-texture: 0
wall-texture: 0 wall-texture: 2
door-texture: 0 door-texture: 0
under-door-texture: 0 under-door-texture: 0
exit-xn: 12 exit-xn: 12
@@ -12,11 +12,33 @@ exit-yn: 14
exit-zn: 18 exit-zn: 18
actor{ actor{
name: LIFT18 name: LIFT13
bmp: caixes.gif bmp: caixes.gif
bmp-rect: 160 128 32 32 bmp-rect: 160 128 32 32
bmp-offset: 0 32 bmp-offset: 0 32
pos: 8 8 0 pos: 8 32 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: LIFT14
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 8 40 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: LIFT16
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 8 24 0
size: 8 8 4 size: 8 8 4
orient: ZP orient: ZP
movement: Z movement: Z
@@ -34,23 +56,23 @@ actor{
} }
actor{ actor{
name: LIFT19 name: LIFT18
bmp: caixes.gif bmp: caixes.gif
bmp-rect: 160 128 32 32 bmp-rect: 160 128 32 32
bmp-offset: 0 32 bmp-offset: 0 32
pos: 16 8 0 pos: 8 8 0
size: 8 8 4 size: 8 8 4
orient: ZP orient: ZP
movement: Z movement: Z
} }
actor{ actor{
name: LIFT31 name: LIFT19
bmp: caixes.gif bmp: caixes.gif
bmp-rect: 96 160 32 32 bmp-rect: 160 128 32 32
bmp-offset: 0 32 bmp-offset: 0 32
pos: 16 16 0 pos: 16 8 0
size: 8 8 8 size: 8 8 4
orient: ZP orient: ZP
movement: Z movement: Z
} }
@@ -66,17 +88,6 @@ actor{
movement: Z movement: Z
} }
actor{
name: LIFT32
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 24 16 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{ actor{
name: LIFT21 name: LIFT21
bmp: caixes.gif bmp: caixes.gif
@@ -88,17 +99,6 @@ actor{
movement: Z movement: Z
} }
actor{
name: LIFT33
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 32 16 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{ actor{
name: LIFT22 name: LIFT22
bmp: caixes.gif bmp: caixes.gif
@@ -110,17 +110,6 @@ actor{
movement: Z movement: Z
} }
actor{
name: LIFT34
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 40 16 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{ actor{
name: LIFT23 name: LIFT23
bmp: caixes.gif bmp: caixes.gif
@@ -132,72 +121,6 @@ actor{
movement: Z movement: Z
} }
actor{
name: LIFT35
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 48 16 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: LIFT16
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 8 24 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: LIFT30
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 16 24 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: LIFT13
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 8 32 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: LIFT29
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 16 32 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: LIFT14
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 8 40 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{ actor{
name: LIFT28 name: LIFT28
bmp: caixes.gif bmp: caixes.gif
@@ -210,18 +133,84 @@ actor{
} }
actor{ actor{
name: LIFT15 name: LIFT29
bmp: caixes.gif bmp: caixes.gif
bmp-rect: 160 128 32 32 bmp-rect: 96 160 32 32
bmp-offset: 0 32 bmp-offset: 0 32
pos: 8 48 0 pos: 16 32 0
size: 8 8 4 size: 8 8 8
orient: ZP orient: ZP
movement: Z movement: Z
} }
actor{ actor{
name: LIFT27 name: LIFT30
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 16 24 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: LIFT31
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 16 16 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: LIFT32
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 24 16 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: LIFT33
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 32 16 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: LIFT34
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 40 16 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: LIFT35
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 48 16 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF
bmp: caixes.gif bmp: caixes.gif
bmp-rect: 96 160 32 32 bmp-rect: 96 160 32 32
bmp-offset: 0 32 bmp-offset: 0 32
@@ -230,3 +219,14 @@ actor{
orient: ZP orient: ZP
movement: Z movement: Z
} }
actor{
name: PLATH
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 8 48 0
size: 8 8 4
orient: ZP
movement: Z
}

View File

@@ -1,5 +1,6 @@
width: 3 width: 0
height: 3 height: 3
door-height-xn: 1
door-height-yn: 0 door-height-yn: 0
color: CYAN color: CYAN
floor-texture: 0 floor-texture: 0
@@ -9,94 +10,21 @@ under-door-texture: 0
exit-yn: 9 exit-yn: 9
actor{ actor{
name: BLOCMATA name: FINESTRA-00
bmp: altres.gif bmp: altres.gif
bmp-rect: 0 133 32 27 bmp-rect: 48 76 18 32
bmp-offset: 0 27 bmp-offset: 0 39
pos: 16 16 0 pos: 23 8 4
size: 8 8 6 size: 1 1 9
flags: REACTIVE DEADLY
react-mask: XP XN YP YN ZP ZN
movement: CW movement: CW
} }
actor{ actor{
name: BUBBLE name: FINESTRA-01
bmp: altres.gif bmp: altres.gif
bmp-rect: 20 75 28 26 bmp-rect: 84 76 18 32
bmp-offset: -2 28 bmp-offset: 0 39
pos: 56 56 0 pos: 23 48 4
size: 8 8 8 size: 1 1 9
flags: PUSHABLE INERTIA
movement: CW
}
actor{
name: CONV-XP
bmp: caixes.gif
bmp-rect: 0 128 32 32
bmp-offset: 0 32
pos: 0 0 0
size: 8 8 4
orient: XP
anim-cycle: MIN
flags: REACTIVE ANIMATED ORIENTABLE
react-mask: ZN
react-push: XP
}
actor{
name: GAT-BATMAN
bmp: gat.gif
bmp-rect: 0 0 24 28
bmp-offset: -4 32
pos: 48 1 0
size: 8 8 8
orient: YN
anim-wait: 1
flags: REACTIVE MOVING ANIMATED ORIENTABLE DEADLY
react-mask: XP XN YP YN ZP ZN
movement: CW
}
actor{
name: SPECTRUM
bmp: caixes.gif
bmp-rect: 128 0 32 32
bmp-offset: -4 34
pos: 24 40 8
size: 8 6 2
flags: PUSHABLE
movement: CW
}
actor{
name: TAULA-A
bmp: caixes.gif
bmp-rect: 128 32 32 32
bmp-offset: 0 32
pos: 16 40 0
size: 8 8 8
movement: CW
}
actor{
name: TAULA-B
bmp: caixes.gif
bmp-rect: 160 32 32 32
bmp-offset: 0 32
pos: 24 40 0
size: 8 8 8
movement: CW
}
actor{
name: TV
bmp: caixes.gif
bmp-rect: 32 64 32 32
bmp-offset: -4 34
pos: 16 40 8
size: 8 6 8
flags: PUSHABLE
movement: CW movement: CW
} }

View File

@@ -1,8 +1,12 @@
width: 2 width: 2
height: 2 height: 2
color: CYAN door-height-xn: 0
floor-texture: 0 door-height-yn: 0
wall-texture: 0 color: PURPLE
door-texture: 0 floor-texture: 1
wall-texture: 13
door-texture: 7
under-door-texture: 0 under-door-texture: 0
exit-xn: 21
exit-yn: 19
exit-zp: 13 exit-zp: 13

229
data/rooms/19.txt Normal file
View File

@@ -0,0 +1,229 @@
width: 3
height: 1
door-height-yp: 0
door-height-yn: 0
color: YELLOW
floor-texture: 0
wall-texture: 0
door-texture: 0
under-door-texture: 0
exit-yp: 18
exit-yn: 20
actor{
name: BUBBLE-00
bmp: altres.gif
bmp-rect: 20 75 28 26
bmp-offset: -2 28
pos: 56 40 6
size: 8 8 8
flags: PUSHABLE INERTIA
movement: CW
}
actor{
name: BUBBLE-01
bmp: altres.gif
bmp-rect: 20 75 28 26
bmp-offset: -2 28
pos: 0 40 6
size: 8 8 8
flags: PUSHABLE INERTIA
movement: CW
}
actor{
name: CUADRO-00
bmp: altres.gif
bmp-rect: 101 108 17 24
bmp-offset: -11 29
pos: 24 24 8
size: 8 2 8
orient: ZN
flags: MOVING
movement: Z
}
actor{
name: CUADRO-01
bmp: altres.gif
bmp-rect: 101 108 17 24
bmp-offset: -11 29
pos: 16 24 10
size: 8 2 8
orient: ZN
flags: MOVING
movement: Z
}
actor{
name: CUADRO-02
bmp: altres.gif
bmp-rect: 101 108 17 24
bmp-offset: -11 29
pos: 8 24 12
size: 8 2 8
orient: ZN
flags: MOVING
movement: Z
}
actor{
name: CUADRO-03
bmp: altres.gif
bmp-rect: 101 108 17 24
bmp-offset: -11 29
pos: 0 24 14
size: 8 2 8
orient: ZN
flags: MOVING DEADLY
movement: Z
}
actor{
name: CUADRO-04
bmp: altres.gif
bmp-rect: 101 108 17 24
bmp-offset: -11 29
pos: 32 24 6
size: 8 2 8
orient: ZN
flags: MOVING
movement: Z
}
actor{
name: CUADRO-05
bmp: altres.gif
bmp-rect: 101 108 17 24
bmp-offset: -11 29
pos: 40 24 4
size: 8 2 8
orient: ZN
flags: MOVING
movement: Z
}
actor{
name: CUADRO-06
bmp: altres.gif
bmp-rect: 101 108 17 24
bmp-offset: -11 29
pos: 48 24 2
size: 8 2 8
orient: ZN
flags: MOVING
movement: Z
}
actor{
name: CUADRO-07
bmp: altres.gif
bmp-rect: 101 108 17 24
bmp-offset: -11 29
pos: 56 24 0
size: 8 2 8
orient: ZN
flags: MOVING
movement: Z
}
actor{
name: INVISI-00
bmp: caixes.gif
bmp-rect: 128 0 16 13
bmp-offset: 0 32
pos: 24 24 20
size: 8 8 8
movement: CW
}
actor{
name: INVISI-01
bmp: caixes.gif
bmp-rect: 128 0 16 13
bmp-offset: 0 32
pos: 16 24 23
size: 8 8 8
movement: CW
}
actor{
name: INVISI-02
bmp: caixes.gif
bmp-rect: 128 0 16 13
bmp-offset: 0 32
pos: 8 24 28
size: 8 8 8
movement: CW
}
actor{
name: INVISI-03
bmp: caixes.gif
bmp-rect: 128 0 16 13
bmp-offset: 0 32
pos: 0 24 24
size: 8 8 8
movement: CW
}
actor{
name: INVISI-04
bmp: caixes.gif
bmp-rect: 128 0 16 13
bmp-offset: 0 32
pos: 32 24 24
size: 8 8 8
movement: CW
}
actor{
name: INVISI-05
bmp: caixes.gif
bmp-rect: 128 0 16 13
bmp-offset: 0 32
pos: 40 24 18
size: 8 8 8
movement: CW
}
actor{
name: INVISI-06
bmp: caixes.gif
bmp-rect: 128 0 16 13
bmp-offset: 0 32
pos: 48 24 28
size: 8 8 8
movement: CW
}
actor{
name: INVISI-07
bmp: caixes.gif
bmp-rect: 128 0 16 13
bmp-offset: 0 32
pos: 56 24 22
size: 8 8 8
movement: CW
}
actor{
name: TRANSPA-00
bmp: altres.gif
bmp-rect: 0 160 32 32
bmp-offset: 0 32
pos: 56 40 0
size: 8 8 6
movement: CW
}
actor{
name: TRANSPA-01
bmp: altres.gif
bmp-rect: 0 160 32 32
bmp-offset: 0 32
pos: 0 40 0
size: 8 8 6
movement: CW
}

9
data/rooms/20.txt Normal file
View File

@@ -0,0 +1,9 @@
width: 2
height: 2
door-height-yp: 0
color: CYAN
floor-texture: 0
wall-texture: 0
door-texture: 0
under-door-texture: 0
exit-yp: 19

122
data/rooms/21.txt Normal file
View File

@@ -0,0 +1,122 @@
width: 2
height: 2
door-height-xp: 1
door-height-xn: 1
door-height-yp: 1
color: CYAN
floor-texture: 0
wall-texture: 0
door-texture: 0
under-door-texture: 0
exit-xp: 18
exit-xn: 22
exit-yp: 24
exit-zn: 25
actor{
name: PLATH-00
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 8 24 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATH-01
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 8 32 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATH-02
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 32 48 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATH-03
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 24 48 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATH-04
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 48 32 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATH-05
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 48 24 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: TRANSPA-00
bmp: altres.gif
bmp-rect: 0 160 32 32
bmp-offset: 0 32
pos: 24 8 0
size: 8 8 6
flags: DISAPPEAR
movement: CW
}
actor{
name: TRANSPA-01
bmp: altres.gif
bmp-rect: 0 160 32 32
bmp-offset: 0 32
pos: 16 8 0
size: 8 8 6
movement: CW
}
actor{
name: TRANSPA-02
bmp: altres.gif
bmp-rect: 0 160 32 32
bmp-offset: 0 32
pos: 32 8 0
size: 8 8 6
flags: DISAPPEAR
movement: CW
}
actor{
name: TRANSPA-03
bmp: altres.gif
bmp-rect: 0 160 32 32
bmp-offset: 0 32
pos: 40 8 0
size: 8 8 6
movement: CW
}

11
data/rooms/22.txt Normal file
View File

@@ -0,0 +1,11 @@
width: 2
height: 2
door-height-xp: 0
door-height-yp: 0
color: CYAN
floor-texture: 0
wall-texture: 0
door-texture: 0
under-door-texture: 0
exit-xp: 21
exit-yp: 23

9
data/rooms/23.txt Normal file
View File

@@ -0,0 +1,9 @@
width: 2
height: 2
door-height-yn: 0
color: CYAN
floor-texture: 0
wall-texture: 0
door-texture: 0
under-door-texture: 0
exit-yn: 22

13
data/rooms/24.txt Normal file
View File

@@ -0,0 +1,13 @@
width: 2
height: 2
door-height-xp: 0
door-height-yp: 0
door-height-yn: 4
color: CYAN
floor-texture: 0
wall-texture: 0
door-texture: 0
under-door-texture: 0
exit-xp: 25
exit-yp: 26
exit-yn: 21

10
data/rooms/25.txt Normal file
View File

@@ -0,0 +1,10 @@
width: 2
height: 2
door-height-xn: 4
color: CYAN
floor-texture: 0
wall-texture: 0
door-texture: 0
under-door-texture: 0
exit-xn: 24
exit-zp: 21

9
data/rooms/26.txt Normal file
View File

@@ -0,0 +1,9 @@
width: 2
height: 2
door-height-yn: 0
color: CYAN
floor-texture: 0
wall-texture: 0
door-texture: 0
under-door-texture: 0
exit-yn: 24

View File

@@ -163,6 +163,28 @@ category{
movement: CW movement: CW
} }
actor{
name: PLATH
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 8 48 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATF
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 16 48 0
size: 8 8 8
orient: ZP
movement: Z
}
} }
category{ category{

View File

@@ -531,7 +531,7 @@ namespace actor
} }
if (source->flags & FLAG_DEADLY) { if (source->flags & FLAG_DEADLY) {
result |= PUSH_KILL; act->push |= PUSH_KILL;
} }
if (source->flags&FLAG_HERO) if (source->flags&FLAG_HERO)