- Comencem amb les habitacions definitives
This commit is contained in:
57
data/old_rooms/00.txt
Normal file
57
data/old_rooms/00.txt
Normal file
@@ -0,0 +1,57 @@
|
||||
width: 2
|
||||
height: 1
|
||||
door-height-xp: 1
|
||||
door-height-xn: 1
|
||||
color: CYAN
|
||||
floor-texture: 0
|
||||
wall-texture: 2
|
||||
door-texture: 0
|
||||
under-door-texture: 0
|
||||
exit-xp: 5
|
||||
exit-xn: 1
|
||||
exit-zn: 2
|
||||
|
||||
actor{
|
||||
name: PLATFORM02
|
||||
bmp: test.gif
|
||||
bmp-rect: 64 0 32 24
|
||||
bmp-offset: 0 24
|
||||
pos: 16 20 0
|
||||
size: 8 8 4
|
||||
}
|
||||
|
||||
actor{
|
||||
name: PLATFORM00
|
||||
bmp: test.gif
|
||||
bmp-rect: 64 0 32 24
|
||||
bmp-offset: 0 24
|
||||
pos: 8 28 0
|
||||
size: 8 8 4
|
||||
}
|
||||
|
||||
actor{
|
||||
name: PLATFORM01
|
||||
bmp: test.gif
|
||||
bmp-rect: 64 0 32 24
|
||||
bmp-offset: 0 24
|
||||
pos: 16 28 0
|
||||
size: 8 8 4
|
||||
}
|
||||
|
||||
actor{
|
||||
name: PLATFORM04
|
||||
bmp: test.gif
|
||||
bmp-rect: 64 0 32 24
|
||||
bmp-offset: 0 24
|
||||
pos: 40 28 0
|
||||
size: 8 8 4
|
||||
}
|
||||
|
||||
actor{
|
||||
name: PLATFORM03
|
||||
bmp: test.gif
|
||||
bmp-rect: 64 0 32 24
|
||||
bmp-offset: 0 24
|
||||
pos: 48 28 0
|
||||
size: 8 8 4
|
||||
}
|
||||
112
data/old_rooms/01.txt
Normal file
112
data/old_rooms/01.txt
Normal file
@@ -0,0 +1,112 @@
|
||||
width: 2
|
||||
height: 2
|
||||
door-height-xp: 0
|
||||
door-height-yp: 0
|
||||
color: CYAN
|
||||
floor-texture: 9
|
||||
wall-texture: 3
|
||||
door-texture: 1
|
||||
under-door-texture: 0
|
||||
exit-xp: 0
|
||||
exit-yp: 3
|
||||
|
||||
actor{
|
||||
name: ARMARI01
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 64 32 24 32
|
||||
bmp-offset: -8 36
|
||||
pos: 8 8 0
|
||||
size: 8 4 5
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: TAULETA
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 0 64 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 24 8 0
|
||||
size: 8 8 5
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: S-SHOES
|
||||
bmp: objectes.gif
|
||||
bmp-rect: 162 0 28 22
|
||||
bmp-offset: -3 24
|
||||
pos: 48 8 0
|
||||
size: 4 4 4
|
||||
anim-cycle: SEQ
|
||||
anim-wait: 2
|
||||
flags: SPECIAL
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: TAULA01
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 128 32 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 8 24 0
|
||||
size: 8 8 8
|
||||
orient: YP
|
||||
flags: ORIENTABLE
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: TAULA02
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 160 32 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 8 32 0
|
||||
size: 8 8 8
|
||||
orient: YP
|
||||
flags: ORIENTABLE
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: ARMARI02
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 96 32 24 32
|
||||
bmp-offset: -8 36
|
||||
pos: 8 8 8
|
||||
size: 8 4 8
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: TV
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 32 64 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 24 7 5
|
||||
size: 8 5 8
|
||||
orient: XP
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: NES
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 96 0 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 24 16 0
|
||||
size: 8 8 6
|
||||
flags: PICKABLE PUSHABLE GRAVITY
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: ROOMBA
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 160 0 32 32
|
||||
bmp-offset: 0 34
|
||||
pos: 40 32 0
|
||||
size: 8 8 4
|
||||
orient: YP
|
||||
flags: MOVING DEADLY
|
||||
movement: Y
|
||||
}
|
||||
@@ -1,57 +1,79 @@
|
||||
width: 2
|
||||
width: 3
|
||||
height: 1
|
||||
door-height-xp: 1
|
||||
door-height-xn: 1
|
||||
door-height-xp: 0
|
||||
color: CYAN
|
||||
floor-texture: 0
|
||||
wall-texture: 2
|
||||
door-texture: 0
|
||||
under-door-texture: 0
|
||||
exit-xp: 5
|
||||
exit-xn: 1
|
||||
exit-zn: 2
|
||||
exit-xp: 1
|
||||
|
||||
actor{
|
||||
name: PLATFORM02
|
||||
bmp: test.gif
|
||||
bmp-rect: 64 0 32 24
|
||||
bmp-offset: 0 24
|
||||
pos: 16 20 0
|
||||
name: MESITA
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 0 64 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 0 16 0
|
||||
size: 8 8 4
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: PLATFORM00
|
||||
bmp: test.gif
|
||||
bmp-rect: 64 0 32 24
|
||||
bmp-offset: 0 24
|
||||
pos: 8 28 0
|
||||
size: 8 8 4
|
||||
name: FINESTRA01
|
||||
bmp: altres.gif
|
||||
bmp-rect: 0 75 20 33
|
||||
bmp-offset: 0 39
|
||||
pos: 0 23 6
|
||||
size: 1 1 9
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: PLATFORM01
|
||||
bmp: test.gif
|
||||
bmp-rect: 64 0 32 24
|
||||
bmp-offset: 0 24
|
||||
pos: 16 28 0
|
||||
size: 8 8 4
|
||||
name: FINESTRA
|
||||
bmp: altres.gif
|
||||
bmp-rect: 0 75 20 33
|
||||
bmp-offset: 0 39
|
||||
pos: 0 30 6
|
||||
size: 1 1 9
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: PLATFORM04
|
||||
bmp: test.gif
|
||||
bmp-rect: 64 0 32 24
|
||||
bmp-offset: 0 24
|
||||
pos: 40 28 0
|
||||
size: 8 8 4
|
||||
name: LAMPARA
|
||||
bmp: altres.gif
|
||||
bmp-rect: 128 0 20 41
|
||||
bmp-offset: -6 45
|
||||
pos: 1 41 0
|
||||
size: 6 6 16
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: PLATFORM03
|
||||
bmp: test.gif
|
||||
bmp-rect: 64 0 32 24
|
||||
bmp-offset: 0 24
|
||||
pos: 48 28 0
|
||||
size: 8 8 4
|
||||
name: LLIT
|
||||
bmp: altres.gif
|
||||
bmp-rect: 48 0 57 47
|
||||
bmp-offset: 11 32
|
||||
pos: 8 16 0
|
||||
size: 16 16 4
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: MESITA01
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 0 64 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 24 16 0
|
||||
size: 8 8 4
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: MANCUERNA
|
||||
bmp: altres.gif
|
||||
bmp-rect: 106 33 17 14
|
||||
bmp-offset: -6 20
|
||||
pos: 24 25 0
|
||||
size: 6 4 2
|
||||
movement: CW
|
||||
}
|
||||
|
||||
@@ -1,112 +1,35 @@
|
||||
width: 2
|
||||
height: 2
|
||||
width: 3
|
||||
height: 0
|
||||
door-height-xp: 0
|
||||
door-height-xn: 0
|
||||
door-height-yp: 0
|
||||
color: CYAN
|
||||
floor-texture: 9
|
||||
wall-texture: 3
|
||||
door-texture: 1
|
||||
color: WHITE
|
||||
floor-texture: 0
|
||||
wall-texture: 2
|
||||
door-texture: 0
|
||||
under-door-texture: 0
|
||||
exit-xp: 0
|
||||
exit-yp: 3
|
||||
exit-xn: 0
|
||||
|
||||
actor{
|
||||
name: ARMARI01
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 64 32 24 32
|
||||
bmp-offset: -8 36
|
||||
pos: 8 8 0
|
||||
size: 8 4 5
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: TAULETA
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 0 64 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 24 8 0
|
||||
size: 8 8 5
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: S-SHOES
|
||||
bmp: objectes.gif
|
||||
bmp-rect: 162 0 28 22
|
||||
bmp-offset: -3 24
|
||||
pos: 48 8 0
|
||||
size: 4 4 4
|
||||
anim-cycle: SEQ
|
||||
anim-wait: 2
|
||||
flags: SPECIAL
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: TAULA01
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 128 32 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 8 24 0
|
||||
size: 8 8 8
|
||||
name: CUADRO
|
||||
bmp: altres.gif
|
||||
bmp-rect: 102 75 18 32
|
||||
bmp-offset: 0 39
|
||||
pos: 18 23 6
|
||||
size: 1 1 9
|
||||
orient: YP
|
||||
flags: ORIENTABLE
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: TAULA02
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 160 32 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 8 32 0
|
||||
size: 8 8 8
|
||||
name: CUADRO01
|
||||
bmp: altres.gif
|
||||
bmp-rect: 66 75 18 32
|
||||
bmp-offset: 0 39
|
||||
pos: 42 23 6
|
||||
size: 1 1 9
|
||||
orient: YP
|
||||
flags: ORIENTABLE
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: ARMARI02
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 96 32 24 32
|
||||
bmp-offset: -8 36
|
||||
pos: 8 8 8
|
||||
size: 8 4 8
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: TV
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 32 64 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 24 7 5
|
||||
size: 8 5 8
|
||||
orient: XP
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: NES
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 96 0 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 24 16 0
|
||||
size: 8 8 6
|
||||
flags: PICKABLE PUSHABLE GRAVITY
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: ROOMBA
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 160 0 32 32
|
||||
bmp-offset: 0 34
|
||||
pos: 40 32 0
|
||||
size: 8 8 4
|
||||
orient: YP
|
||||
flags: MOVING DEADLY
|
||||
movement: Y
|
||||
}
|
||||
|
||||
@@ -172,9 +172,9 @@ actor{
|
||||
name: LLIT
|
||||
bmp: altres.gif
|
||||
bmp-rect: 48 0 57 47
|
||||
bmp-offset: 12 33
|
||||
pos: 16 0 0
|
||||
size: 16 16 6
|
||||
bmp-offset: 11 32
|
||||
pos: 8 8 0
|
||||
size: 16 16 8
|
||||
movement: CW
|
||||
}
|
||||
|
||||
@@ -221,3 +221,15 @@ actor{
|
||||
flags: ANIMATED
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: CUADRO
|
||||
bmp: altres.gif
|
||||
bmp-rect: 66 75 18 32
|
||||
bmp-offset: 0 39
|
||||
pos: 14 23 6
|
||||
size: 1 1 9
|
||||
orient: YP
|
||||
flags: ORIENTABLE
|
||||
movement: CW
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
namespace room
|
||||
{
|
||||
static int current_room = 1;
|
||||
static int current_room = 0;
|
||||
|
||||
static int inner_w = 2;
|
||||
static int inner_h = 2;
|
||||
|
||||
Reference in New Issue
Block a user