- [NEW] Ara la llista de gifs a usar en el editor per als actors es carreguen des d'un arxiu

- [NEW] Gràfics de la piscina (sorpresa! hi ha una piscina!
- Treballant en la zona 5
This commit is contained in:
2024-09-27 13:37:43 +02:00
parent ade6efdf6d
commit 70cb65237a
18 changed files with 1663 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@@ -12,6 +12,7 @@ jailgames.gif
mapa.gif
objectes.gif
obrer.gif
piscina.gif
roomaux.gif
test.gif
walls.gif

10
data/gifs_editor.txt Normal file
View File

@@ -0,0 +1,10 @@
abad.gif
batman.gif
altres.gif
caixes.gif
gat.gif
gat2.gif
objectes.gif
obrer.gif
piscina.gif
doors.gif

BIN
data/piscina.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -1,9 +1,395 @@
width: 2
height: 2
door-height-yn: 0
color: CYAN
floor-texture: 0
wall-texture: 0
door-texture: 0
height: 3
door-height-yp: 0
door-height-yn: 2
color: GREEN
floor-texture: 7
wall-texture: 5
door-texture: 6
under-door-texture: 0
exit-yp: 36
exit-yn: 33
actor{
name: BARANA
bmp: altres.gif
bmp-rect: 160 94 16 36
bmp-offset: -15 43
pos: 48 16 9
size: 8 1 10
orient: YP
movement: CW
}
actor{
name: BOX-A-00
bmp: doors.gif
bmp-rect: 160 7 16 40
bmp-offset: -8 47
pos: 9 17 0
size: 6 6 14
movement: CW
}
actor{
name: BOX-A-01
bmp: doors.gif
bmp-rect: 160 7 16 40
bmp-offset: -8 47
pos: 8 24 0
size: 6 6 14
movement: CW
}
actor{
name: BOX-A-02
bmp: doors.gif
bmp-rect: 160 7 16 40
bmp-offset: -8 47
pos: 8 32 0
size: 6 6 14
movement: CW
}
actor{
name: BOX-A-03
bmp: doors.gif
bmp-rect: 160 7 16 40
bmp-offset: -8 47
pos: 8 40 0
size: 6 6 14
movement: CW
}
actor{
name: BOX-A-04
bmp: doors.gif
bmp-rect: 160 7 16 40
bmp-offset: -8 47
pos: 8 48 0
size: 6 6 14
movement: CW
}
actor{
name: BOX-A-05
bmp: doors.gif
bmp-rect: 160 7 16 40
bmp-offset: -8 47
pos: 8 56 0
size: 6 6 14
movement: CW
}
actor{
name: BOX-A-06
bmp: doors.gif
bmp-rect: 160 7 16 40
bmp-offset: -8 47
pos: 48 17 0
size: 6 6 14
movement: CW
}
actor{
name: BOX-A-07
bmp: doors.gif
bmp-rect: 160 7 16 40
bmp-offset: -8 47
pos: 48 24 0
size: 6 6 14
movement: CW
}
actor{
name: BOX-A-08
bmp: doors.gif
bmp-rect: 160 7 16 40
bmp-offset: -8 47
pos: 48 32 0
size: 6 6 14
movement: CW
}
actor{
name: BOX-A-09
bmp: doors.gif
bmp-rect: 160 7 16 40
bmp-offset: -8 47
pos: 48 40 0
size: 6 6 14
movement: CW
}
actor{
name: BOX-A-10
bmp: doors.gif
bmp-rect: 160 7 16 40
bmp-offset: -8 47
pos: 48 48 0
size: 6 6 14
movement: CW
}
actor{
name: BOX-A-11
bmp: doors.gif
bmp-rect: 160 7 16 40
bmp-offset: -8 47
pos: 48 56 0
size: 6 6 14
movement: CW
}
actor{
name: CUADRO-00
bmp: altres.gif
bmp-rect: 160 94 16 36
bmp-offset: -15 43
pos: 40 16 9
size: 8 1 10
orient: YP
movement: CW
}
actor{
name: CUADRO-02
bmp: altres.gif
bmp-rect: 160 94 16 36
bmp-offset: -15 43
pos: 16 16 9
size: 8 1 10
orient: YP
movement: CW
}
actor{
name: CUADRO-03
bmp: altres.gif
bmp-rect: 160 94 16 36
bmp-offset: -15 43
pos: 8 16 9
size: 8 1 10
orient: YP
movement: CW
}
actor{
name: CUADRO-04
bmp: altres.gif
bmp-rect: 176 94 16 40
bmp-offset: -3 40
pos: 40 17 9
size: 1 8 10
orient: YP
movement: CW
}
actor{
name: CUADRO-06
bmp: altres.gif
bmp-rect: 80 133 16 47
bmp-offset: 0 45
pos: 48 -8 9
size: 8 1 10
orient: YP
movement: CW
}
actor{
name: CUADRO-07
bmp: altres.gif
bmp-rect: 80 133 16 47
bmp-offset: 0 45
pos: 40 -8 9
size: 8 1 10
orient: YP
movement: CW
}
actor{
name: CUADRO-08
bmp: altres.gif
bmp-rect: 80 133 16 47
bmp-offset: 0 45
pos: 16 -8 9
size: 8 1 10
orient: YP
movement: CW
}
actor{
name: CUADRO-09
bmp: altres.gif
bmp-rect: 80 133 16 47
bmp-offset: 0 45
pos: 8 -8 9
size: 8 1 10
orient: YP
movement: CW
}
actor{
name: PASAMANS
bmp: altres.gif
bmp-rect: 176 94 16 40
bmp-offset: -3 38
pos: 23 17 9
size: 1 8 10
orient: YP
movement: CW
}
actor{
name: PLATF-00
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 8 0 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-01
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 16 0 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-02
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 24 0 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-03
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 32 0 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-04
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 40 0 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-05
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 48 0 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-06
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 8 8 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-07
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 16 8 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-08
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 24 8 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-09
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 32 8 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-10
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 40 8 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-11
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 48 8 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATH-00
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 24 16 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: 32 16 0
size: 8 8 4
orient: ZP
movement: Z
}

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

@@ -0,0 +1,25 @@
width: 2
height: 2
door-height-xp: 0
door-height-yn: 0
color: YELLOW
floor-texture: 7
wall-texture: 5
door-texture: 4
under-door-texture: 0
exit-xp: 37
exit-yn: 34
actor{
name: GAT-ROBIN
bmp: gat2.gif
bmp-rect: 0 0 24 28
bmp-offset: -4 32
pos: 24 32 0
size: 8 8 8
orient: XP
anim-wait: 1
flags: REACTIVE MOVING ANIMATED ORIENTABLE DEADLY
react-mask: XP XN YP YN ZP ZN
movement: RAND
}

43
data/rooms/37.txt Normal file
View File

@@ -0,0 +1,43 @@
width: 3
height: 0
door-height-xn: 0
door-height-yp: 0
door-height-yn: 0
color: CYAN
floor-texture: 7
wall-texture: 5
door-texture: 4
under-door-texture: 0
exit-xn: 36
exit-yp: 38
exit-yn: 39
actor{
name: COFFEE-00
bmp: altres.gif
bmp-rect: 32 133 21 21
bmp-offset: -6 26
pos: 48 24 0
size: 8 8 2
orient: YN
anim-cycle: DUO
anim-wait: 3
flags: REACTIVE MOVING ANIMATED DEADLY
react-mask: XP XN YP YN ZP ZN
movement: RANDJ
}
actor{
name: COFFEE-01
bmp: altres.gif
bmp-rect: 32 133 21 21
bmp-offset: -6 26
pos: 8 32 0
size: 8 8 2
orient: YP
anim-cycle: DUO
anim-wait: 3
flags: REACTIVE MOVING ANIMATED DEADLY
react-mask: XP XN YP YN ZP ZN
movement: RANDJ
}

290
data/rooms/38.txt Normal file
View File

@@ -0,0 +1,290 @@
width: 3
height: 3
door-height-yn: 0
color: PURPLE
floor-texture: 7
wall-texture: 4
door-texture: 4
under-door-texture: 0
exit-yn: 37
actor{
name: BLOCMATA-00
bmp: altres.gif
bmp-rect: 0 133 32 27
bmp-offset: 0 27
pos: 8 56 24
size: 8 8 6
flags: REACTIVE DEADLY
react-mask: XP XN YP YN ZP ZN
movement: CW
}
actor{
name: BLOCMATA-01
bmp: altres.gif
bmp-rect: 0 133 32 27
bmp-offset: 0 27
pos: 16 56 24
size: 8 8 6
flags: REACTIVE DEADLY
react-mask: XP XN YP YN ZP ZN
movement: CW
}
actor{
name: BLOCMATA-02
bmp: altres.gif
bmp-rect: 0 133 32 27
bmp-offset: 0 27
pos: 24 56 24
size: 8 8 6
flags: REACTIVE DEADLY
react-mask: XP XN YP YN ZP ZN
movement: CW
}
actor{
name: BLOCMATA-03
bmp: altres.gif
bmp-rect: 0 133 32 27
bmp-offset: 0 27
pos: 32 56 24
size: 8 8 6
flags: REACTIVE DEADLY
react-mask: XP XN YP YN ZP ZN
movement: CW
}
actor{
name: BOX-A
bmp: caixes.gif
bmp-rect: 0 0 32 32
bmp-offset: 0 32
pos: 8 56 30
size: 8 8 8
flags: PICKABLE PUSHABLE GRAVITY
movement: CW
}
actor{
name: BOX-B
bmp: caixes.gif
bmp-rect: 32 0 32 32
bmp-offset: 0 32
pos: 48 24 0
size: 8 8 8
flags: PICKABLE PUSHABLE GRAVITY
movement: CW
}
actor{
name: P-SALT
bmp: objectes.gif
bmp-rect: 86 32 20 32
bmp-offset: -7 35
pos: 56 56 32
size: 4 4 4
anim-cycle: SEQ
anim-wait: 2
flags: SPECIAL
movement: CW
}
actor{
name: PLATF-00
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 56 56 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-01
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 56 56 8
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-02
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 56 56 16
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-03
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 56 56 24
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-04
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 0 40 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-05
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 0 48 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-06
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 0 56 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-07
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 0 40 8
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-08
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 0 56 8
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-09
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 0 56 16
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-10
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 0 32 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-10
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 0 48 8
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-11
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 0 48 16
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-12
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 0 56 24
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATH-00
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 8 56 20
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: 16 56 20
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: 24 56 20
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: 32 56 20
size: 8 8 4
orient: ZP
movement: Z
}

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

@@ -0,0 +1,11 @@
width: 2
height: 2
door-height-xp: 0
door-height-yp: 0
color: WHITE
floor-texture: 0
wall-texture: 0
door-texture: 0
under-door-texture: 0
exit-xp: 40
exit-yp: 37

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

@@ -0,0 +1,13 @@
width: 2
height: 2
door-height-xn: 0
door-height-yp: 0
door-height-yn: 0
color: YELLOW
floor-texture: 0
wall-texture: 0
door-texture: 0
under-door-texture: 0
exit-xn: 39
exit-yp: 44
exit-yn: 41

11
data/rooms/41.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: 42
exit-yp: 40

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

@@ -0,0 +1,11 @@
width: 2
height: 2
door-height-xn: 0
door-height-yp: 0
color: GREEN
floor-texture: 0
wall-texture: 0
door-texture: 0
under-door-texture: 0
exit-xn: 41
exit-yp: 43

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

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

584
data/rooms/44.txt Normal file
View File

@@ -0,0 +1,584 @@
width: 3
height: 3
door-height-xp: 1
door-height-yn: 3
color: GREEN
floor-texture: 0
wall-texture: 4
door-texture: 5
under-door-texture: 0
exit-xp: 45
exit-yn: 40
exit-zn: 46
actor{
name: BOX-A
bmp: piscina.gif
bmp-rect: 56 34 24 42
bmp-offset: 2 45
pos: 8 8 0
size: 2 8 8
flags: PUSHABLE
movement: CW
}
actor{
name: PLATF
bmp: caixes.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 56 0 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-15
bmp: doors.gif
bmp-rect: 96 160 32 32
bmp-offset: 0 32
pos: 0 40 0
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-16
bmp: piscina.gif
bmp-rect: 0 0 32 32
bmp-offset: 0 32
pos: 0 32 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-17
bmp: piscina.gif
bmp-rect: 0 0 32 32
bmp-offset: 0 32
pos: 0 24 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-18
bmp: piscina.gif
bmp-rect: 0 0 32 32
bmp-offset: 0 32
pos: 0 16 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-19
bmp: piscina.gif
bmp-rect: 0 0 32 32
bmp-offset: 0 32
pos: 0 8 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-20
bmp: piscina.gif
bmp-rect: 32 0 32 32
bmp-offset: 0 32
pos: 0 0 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-20
bmp: piscina.gif
bmp-rect: 0 0 32 32
bmp-offset: 0 32
pos: 0 40 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-21
bmp: piscina.gif
bmp-rect: 64 0 32 32
bmp-offset: 0 32
pos: 8 0 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-22
bmp: piscina.gif
bmp-rect: 64 0 32 32
bmp-offset: 0 32
pos: 16 0 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-23
bmp: piscina.gif
bmp-rect: 64 0 32 32
bmp-offset: 0 32
pos: 24 0 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-24
bmp: piscina.gif
bmp-rect: 64 0 32 32
bmp-offset: 0 32
pos: 32 0 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-25
bmp: piscina.gif
bmp-rect: 64 0 32 32
bmp-offset: 0 32
pos: 40 0 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-26
bmp: piscina.gif
bmp-rect: 0 0 32 32
bmp-offset: 0 32
pos: 0 48 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-27
bmp: piscina.gif
bmp-rect: 0 32 32 23
bmp-offset: 0 23
pos: 0 16 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATF-28
bmp: piscina.gif
bmp-rect: 0 32 32 23
bmp-offset: 0 23
pos: 0 8 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATF-29
bmp: piscina.gif
bmp-rect: 0 32 32 23
bmp-offset: 0 23
pos: 0 24 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATF-30
bmp: piscina.gif
bmp-rect: 0 32 32 23
bmp-offset: 0 23
pos: 0 32 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATF-31
bmp: piscina.gif
bmp-rect: 0 32 32 23
bmp-offset: 0 23
pos: 0 40 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATF-32
bmp: piscina.gif
bmp-rect: 0 32 32 23
bmp-offset: 0 23
pos: 8 0 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATF-32
bmp: piscina.gif
bmp-rect: 128 0 32 32
bmp-offset: 0 32
pos: 0 56 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-33
bmp: piscina.gif
bmp-rect: 0 32 32 23
bmp-offset: 0 23
pos: 16 0 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATF-34
bmp: piscina.gif
bmp-rect: 0 32 32 23
bmp-offset: 0 23
pos: 24 0 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATF-35
bmp: piscina.gif
bmp-rect: 0 32 32 23
bmp-offset: 0 23
pos: 32 0 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATF-36
bmp: piscina.gif
bmp-rect: 96 0 32 32
bmp-offset: 0 32
pos: 8 56 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-37
bmp: piscina.gif
bmp-rect: 96 0 32 32
bmp-offset: 0 32
pos: 16 56 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-38
bmp: piscina.gif
bmp-rect: 96 0 32 32
bmp-offset: 0 32
pos: 24 56 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-39
bmp: piscina.gif
bmp-rect: 96 0 32 32
bmp-offset: 0 32
pos: 32 56 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-40
bmp: piscina.gif
bmp-rect: 96 0 32 32
bmp-offset: 0 32
pos: 40 56 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-41
bmp: piscina.gif
bmp-rect: 160 0 32 32
bmp-offset: 0 32
pos: 48 56 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-42
bmp: piscina.gif
bmp-rect: 128 32 32 32
bmp-offset: 0 32
pos: 48 48 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-43
bmp: piscina.gif
bmp-rect: 128 32 32 32
bmp-offset: 0 32
pos: 48 40 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-44
bmp: piscina.gif
bmp-rect: 128 32 32 32
bmp-offset: 0 32
pos: 48 32 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-45
bmp: piscina.gif
bmp-rect: 128 32 32 32
bmp-offset: 0 32
pos: 48 16 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-46
bmp: piscina.gif
bmp-rect: 128 32 32 32
bmp-offset: 0 32
pos: 48 24 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-47
bmp: piscina.gif
bmp-rect: 128 32 32 32
bmp-offset: 0 32
pos: 48 8 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATF-48
bmp: piscina.gif
bmp-rect: 160 32 32 32
bmp-offset: 0 32
pos: 48 0 4
size: 8 8 8
orient: ZP
movement: Z
}
actor{
name: PLATH-00
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 56 48 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: 56 56 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: 56 40 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: 56 32 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: 56 24 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: 56 16 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATH-06
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 56 8 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATH-25
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 0 56 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATH-26
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 40 56 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATH-27
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 48 56 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATH-35
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 8 56 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATH-36
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 16 56 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATH-37
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 24 56 0
size: 8 8 4
orient: ZP
movement: Z
}
actor{
name: PLATH-38
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 32 56 0
size: 8 8 4
orient: ZP
movement: Z
}

217
data/rooms/45.txt Normal file
View File

@@ -0,0 +1,217 @@
width: 3
height: 2
door-height-xn: 5
color: PURPLE
floor-texture: 0
wall-texture: 13
door-texture: 5
under-door-texture: 13
exit-xn: 44
actor{
name: BARANA-00
bmp: altres.gif
bmp-rect: 160 94 16 36
bmp-offset: -15 43
pos: 0 23 19
size: 8 1 10
orient: YP
movement: CW
}
actor{
name: BARANA-01
bmp: altres.gif
bmp-rect: 160 94 16 36
bmp-offset: -15 43
pos: 8 30 23
size: 1 8 10
orient: YP
flags: ORIENTABLE
movement: CW
}
actor{
name: BARANA-02
bmp: altres.gif
bmp-rect: 160 94 16 36
bmp-offset: -15 43
pos: 8 38 23
size: 1 8 10
orient: YP
flags: ORIENTABLE
movement: CW
}
actor{
name: G-ELBOW
bmp: objectes.gif
bmp-rect: 0 32 22 32
bmp-offset: -2 35
pos: 24 8 0
size: 4 4 4
anim-wait: 2
flags: ANIMATED
movement: CW
}
actor{
name: G-FILTER
bmp: objectes.gif
bmp-rect: 0 0 24 32
bmp-offset: -4 34
pos: 24 8 8
size: 4 4 4
anim-wait: 2
flags: ANIMATED
movement: CW
}
actor{
name: G-PIPE
bmp: objectes.gif
bmp-rect: 0 64 16 32
bmp-offset: -8 36
pos: 16 8 0
size: 4 4 4
anim-wait: 2
flags: ANIMATED
movement: CW
}
actor{
name: G-PUMP
bmp: objectes.gif
bmp-rect: 48 64 22 32
bmp-offset: -5 35
pos: 16 8 11
size: 4 4 4
anim-wait: 2
flags: ANIMATED
movement: CW
}
actor{
name: G-SALT
bmp: objectes.gif
bmp-rect: 66 32 20 32
bmp-offset: -7 35
pos: 32 8 0
size: 4 4 4
anim-wait: 2
flags: ANIMATED
movement: CW
}
actor{
name: G-TIMER
bmp: objectes.gif
bmp-rect: 72 0 24 32
bmp-offset: -4 34
pos: 32 8 8
size: 4 4 4
anim-wait: 2
flags: ANIMATED
movement: CW
}
actor{
name: PASAMANS
bmp: altres.gif
bmp-rect: 176 94 16 40
bmp-offset: -3 38
pos: 8 40 18
size: 1 8 10
orient: YP
movement: CW
}
actor{
name: PASAMANS-00
bmp: altres.gif
bmp-rect: 176 94 16 40
bmp-offset: -15 48
pos: 17 47 1
size: 8 1 10
orient: YP
flags: ORIENTABLE
movement: CW
}
actor{
name: PASAMANS-01
bmp: altres.gif
bmp-rect: 176 94 16 40
bmp-offset: -15 48
pos: 9 47 5
size: 8 1 14
orient: YP
flags: ORIENTABLE
movement: CW
}
actor{
name: PLATH-00
bmp: caixes.gif
bmp-rect: 160 128 32 32
bmp-offset: 0 32
pos: 0 24 15
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: 0 32 15
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: 0 40 11
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: 0 48 7
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: 8 48 3
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: 16 48 0
size: 8 8 4
orient: ZP
movement: Z
}

8
data/rooms/46.txt Normal file
View File

@@ -0,0 +1,8 @@
width: 2
height: 2
color: CYAN
floor-texture: 0
wall-texture: 0
door-texture: 0
under-door-texture: 0
exit-zp: 44

View File

@@ -185,6 +185,28 @@ category{
movement: Z
}
actor{
name: PASAMANS
bmp: altres.gif
bmp-rect: 176 94 16 40
bmp-offset: -3 38
pos: 23 17 9
size: 1 8 10
orient: YP
movement: CW
}
actor{
name: BARANA
bmp: altres.gif
bmp-rect: 160 94 16 36
bmp-offset: -15 43
pos: 48 16 9
size: 8 1 10
orient: YP
movement: CW
}
}
category{
@@ -492,10 +514,10 @@ category{
name: COFFEE
bmp: altres.gif
bmp-rect: 32 133 21 21
bmp-offset: 0 34
pos: 32 16 0
bmp-offset: -6 26
pos: 48 24 0
size: 8 8 2
orient: XP
orient: YN
anim-cycle: DUO
anim-wait: 3
flags: REACTIVE MOVING ANIMATED DEADLY

View File

@@ -1,6 +1,7 @@
#include "m_editor_bitmap_file.h"
#include "jdraw.h"
#include "jinput.h"
#include "jfile.h"
#include <SDL2/SDL.h>
#include "room.h"
#include "actor.h"
@@ -10,12 +11,23 @@ namespace modules
{
namespace editor_bitmap_file
{
std::vector<std::string> gifs = { "abad.gif", "batman.gif", "altres.gif", "caixes.gif", "gat.gif", "gat2.gif", "objectes.gif", "obrer.gif" };
std::vector<std::string> gifs; // = { "abad.gif", "batman.gif", "altres.gif", "caixes.gif", "gat.gif", "gat2.gif", "objectes.gif", "obrer.gif", "doors.gif" };
void init()
{
draw::resetViewport();
//gifs = game::getGifs();
gifs.clear();
int size;
char *buffer = file::getFileBuffer("gifs_editor.txt", size, true);
char *p = buffer;
char *n = buffer;
while (*n!=0) {
while (*n!='\n') n++; *n=0;
gifs.push_back(p);
p=++n;
}
free(buffer);
}
bool loop()