summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--res/maps/hallucination_beach.tmx4
-rw-r--r--res/maps/hallucination_hot_spring.tmx4
-rw-r--r--res/maps/hallucination_interior.tmx12
-rw-r--r--res/maps/pink_shell.tmx8
-rw-r--r--res/maps/underwater_start.tmx4
-rw-r--r--src/map.h4
6 files changed, 2 insertions, 34 deletions
diff --git a/res/maps/hallucination_beach.tmx b/res/maps/hallucination_beach.tmx index 9830cf5..2c783ee 100644 --- a/res/maps/hallucination_beach.tmx +++ b/res/maps/hallucination_beach.tmx
@@ -44,10 +44,6 @@
44 <object id="3" name="flint" type="sprite" x="560.14" y="304.895"> 44 <object id="3" name="flint" type="sprite" x="560.14" y="304.895">
45 <properties> 45 <properties>
46 <property name="animation" value="flint"/> 46 <property name="animation" value="flint"/>
47 <property name="collisionHeight" type="int" value="8"/>
48 <property name="collisionOffsetX" type="int" value="-8"/>
49 <property name="collisionOffsetY" type="int" value="-8"/>
50 <property name="collisionWidth" type="int" value="12"/>
51 <property name="interactionScript" value="script0001"/> 47 <property name="interactionScript" value="script0001"/>
52 <property name="shadow" type="bool" value="true"/> 48 <property name="shadow" type="bool" value="true"/>
53 </properties> 49 </properties>
diff --git a/res/maps/hallucination_hot_spring.tmx b/res/maps/hallucination_hot_spring.tmx index 7ccc0cb..d750a2b 100644 --- a/res/maps/hallucination_hot_spring.tmx +++ b/res/maps/hallucination_hot_spring.tmx
@@ -37,10 +37,6 @@
37 <properties> 37 <properties>
38 <property name="animName" value="swim_still"/> 38 <property name="animName" value="swim_still"/>
39 <property name="animation" value="ionia"/> 39 <property name="animation" value="ionia"/>
40 <property name="collisionHeight" type="int" value="8"/>
41 <property name="collisionOffsetX" type="int" value="-8"/>
42 <property name="collisionOffsetY" type="int" value="-8"/>
43 <property name="collisionWidth" type="int" value="12"/>
44 </properties> 40 </properties>
45 <point/> 41 <point/>
46 </object> 42 </object>
diff --git a/res/maps/hallucination_interior.tmx b/res/maps/hallucination_interior.tmx index a4ff7b3..734b113 100644 --- a/res/maps/hallucination_interior.tmx +++ b/res/maps/hallucination_interior.tmx
@@ -99,10 +99,6 @@
99 <object id="7" name="doria" type="sprite" x="328" y="525"> 99 <object id="7" name="doria" type="sprite" x="328" y="525">
100 <properties> 100 <properties>
101 <property name="animation" value="doria"/> 101 <property name="animation" value="doria"/>
102 <property name="collisionHeight" type="int" value="8"/>
103 <property name="collisionOffsetX" type="int" value="-8"/>
104 <property name="collisionOffsetY" type="int" value="-8"/>
105 <property name="collisionWidth" type="int" value="12"/>
106 <property name="shadow" type="bool" value="true"/> 102 <property name="shadow" type="bool" value="true"/>
107 </properties> 103 </properties>
108 <point/> 104 <point/>
@@ -115,10 +111,6 @@
115 <object id="9" name="join_claus" type="sprite" x="640.334" y="153.667"> 111 <object id="9" name="join_claus" type="sprite" x="640.334" y="153.667">
116 <properties> 112 <properties>
117 <property name="animation" value="claus"/> 113 <property name="animation" value="claus"/>
118 <property name="collisionHeight" type="int" value="8"/>
119 <property name="collisionOffsetX" type="int" value="-8"/>
120 <property name="collisionOffsetY" type="int" value="-8"/>
121 <property name="collisionWidth" type="int" value="12"/>
122 <property name="interactionScript" value="join_claus"/> 114 <property name="interactionScript" value="join_claus"/>
123 <property name="shadow" type="bool" value="true"/> 115 <property name="shadow" type="bool" value="true"/>
124 </properties> 116 </properties>
@@ -127,10 +119,6 @@
127 <object id="10" name="ionia" type="sprite" x="821.333" y="135.333"> 119 <object id="10" name="ionia" type="sprite" x="821.333" y="135.333">
128 <properties> 120 <properties>
129 <property name="animation" value="ionia"/> 121 <property name="animation" value="ionia"/>
130 <property name="collisionHeight" type="int" value="8"/>
131 <property name="collisionOffsetX" type="int" value="-8"/>
132 <property name="collisionOffsetY" type="int" value="-8"/>
133 <property name="collisionWidth" type="int" value="12"/>
134 <property name="enclosureZone" value="ionia_enclosure"/> 122 <property name="enclosureZone" value="ionia_enclosure"/>
135 <property name="interactionScript" value="talk_to_ionia"/> 123 <property name="interactionScript" value="talk_to_ionia"/>
136 <property name="movementSpeed" type="int" value="1"/> 124 <property name="movementSpeed" type="int" value="1"/>
diff --git a/res/maps/pink_shell.tmx b/res/maps/pink_shell.tmx index 4f59461..dc0ada5 100644 --- a/res/maps/pink_shell.tmx +++ b/res/maps/pink_shell.tmx
@@ -52,10 +52,6 @@
52 <object id="3" name="ocho" type="sprite" x="280" y="222"> 52 <object id="3" name="ocho" type="sprite" x="280" y="222">
53 <properties> 53 <properties>
54 <property name="animation" value="human_ocho"/> 54 <property name="animation" value="human_ocho"/>
55 <property name="collisionHeight" type="int" value="8"/>
56 <property name="collisionOffsetX" type="int" value="-8"/>
57 <property name="collisionOffsetY" type="int" value="-8"/>
58 <property name="collisionWidth" type="int" value="12"/>
59 <property name="interactionScript" value="talk_to_ocho"/> 55 <property name="interactionScript" value="talk_to_ocho"/>
60 <property name="shadow" type="bool" value="true"/> 56 <property name="shadow" type="bool" value="true"/>
61 </properties> 57 </properties>
@@ -64,10 +60,6 @@
64 <object id="4" name="mixolydia" type="sprite" x="248" y="136"> 60 <object id="4" name="mixolydia" type="sprite" x="248" y="136">
65 <properties> 61 <properties>
66 <property name="animation" value="human_mixolydia"/> 62 <property name="animation" value="human_mixolydia"/>
67 <property name="collisionHeight" type="int" value="8"/>
68 <property name="collisionOffsetX" type="int" value="-8"/>
69 <property name="collisionOffsetY" type="int" value="-8"/>
70 <property name="collisionWidth" type="int" value="12"/>
71 <property name="direction" value="up"/> 63 <property name="direction" value="up"/>
72 <property name="interactionScript" value="talk_to_mixolydia"/> 64 <property name="interactionScript" value="talk_to_mixolydia"/>
73 <property name="shadow" type="bool" value="true"/> 65 <property name="shadow" type="bool" value="true"/>
diff --git a/res/maps/underwater_start.tmx b/res/maps/underwater_start.tmx index cd73e07..d616c27 100644 --- a/res/maps/underwater_start.tmx +++ b/res/maps/underwater_start.tmx
@@ -83,10 +83,6 @@
83 <object id="2" name="fish1" type="sprite" x="216.923" y="198.462"> 83 <object id="2" name="fish1" type="sprite" x="216.923" y="198.462">
84 <properties> 84 <properties>
85 <property name="animation" value="fish"/> 85 <property name="animation" value="fish"/>
86 <property name="collisionHeight" type="int" value="8"/>
87 <property name="collisionOffsetX" type="int" value="-8"/>
88 <property name="collisionOffsetY" type="int" value="-8"/>
89 <property name="collisionWidth" type="int" value="12"/>
90 <property name="enclosureZone" value="fish1_enclosure"/> 86 <property name="enclosureZone" value="fish1_enclosure"/>
91 <property name="interactionScript" value="talk_to_fish1"/> 87 <property name="interactionScript" value="talk_to_fish1"/>
92 <property name="movementSpeed" type="int" value="1"/> 88 <property name="movementSpeed" type="int" value="1"/>
diff --git a/src/map.h b/src/map.h index 80a79b0..a125082 100644 --- a/src/map.h +++ b/src/map.h
@@ -21,8 +21,8 @@ struct Tile {
21struct Prototype { 21struct Prototype {
22 std::string name; 22 std::string name;
23 vec2i pos; 23 vec2i pos;
24 vec2i collisionOffset; 24 vec2i collisionOffset {-8, -8};
25 vec2i collisionSize; 25 vec2i collisionSize {12, 8};
26 std::string animationFilename; 26 std::string animationFilename;
27 std::string animName; 27 std::string animName;
28 Direction dir = Direction::down; 28 Direction dir = Direction::down;