898 lines
72 KiB
XML
898 lines
72 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:java="http://www.yworks.com/xml/yfiles-common/1.0/java" xmlns:sys="http://www.yworks.com/xml/yfiles-common/markup/primitives/2.0" xmlns:x="http://www.yworks.com/xml/yfiles-common/markup/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:y="http://www.yworks.com/xml/graphml" xmlns:yed="http://www.yworks.com/xml/yed/3" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://www.yworks.com/xml/schema/graphml/1.1/ygraphml.xsd">
|
|
<!--Created by yEd 3.22-->
|
|
<key attr.name="Description" attr.type="string" for="graph" id="d0"/>
|
|
<key for="port" id="d1" yfiles.type="portgraphics"/>
|
|
<key for="port" id="d2" yfiles.type="portgeometry"/>
|
|
<key for="port" id="d3" yfiles.type="portuserdata"/>
|
|
<key attr.name="url" attr.type="string" for="node" id="d4"/>
|
|
<key attr.name="description" attr.type="string" for="node" id="d5"/>
|
|
<key for="node" id="d6" yfiles.type="nodegraphics"/>
|
|
<key for="graphml" id="d7" yfiles.type="resources"/>
|
|
<key attr.name="url" attr.type="string" for="edge" id="d8"/>
|
|
<key attr.name="description" attr.type="string" for="edge" id="d9"/>
|
|
<key for="edge" id="d10" yfiles.type="edgegraphics"/>
|
|
<graph edgedefault="directed" id="G">
|
|
<data key="d0" xml:space="preserve"/>
|
|
<node id="n0">
|
|
<data key="d4" xml:space="preserve"/>
|
|
<data key="d6">
|
|
<y:UMLNoteNode>
|
|
<y:Geometry height="100.0" width="294.5812615050841" x="-863.5186423143789" y="-272.9353236126077"/>
|
|
<y:Fill color="#FFCC00" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="left" autoSizePolicy="content" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="73.84375" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="tl" textColor="#000000" verticalTextPosition="bottom" visible="true" width="243.068359375" x="4.0" xml:space="preserve" y="4.0">State fields (do not delete this caption):
|
|
|
|
unsigned int CharHP;
|
|
QStateHandler StartState;
|
|
unsigned int TimerAgony;</y:NodeLabel>
|
|
</y:UMLNoteNode>
|
|
</data>
|
|
</node>
|
|
<node id="n1">
|
|
<data key="d4" xml:space="preserve"/>
|
|
<data key="d6">
|
|
<y:UMLNoteNode>
|
|
<y:Geometry height="345.5578800105054" width="294.5812615050841" x="-863.5186423143789" y="282.4018972252154"/>
|
|
<y:Fill color="#FFCC00" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="left" autoSizePolicy="content" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="339.25" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="tl" textColor="#000000" verticalTextPosition="bottom" visible="true" width="264.44921875" x="4.0" xml:space="preserve" y="4.0">Code for h-file: (do not delete this caption):
|
|
#define HEALTHY 1
|
|
#define AGONY 2
|
|
#define DEAD 0
|
|
#define GHOUL_GOOD 3
|
|
#define GHOUL_WOUNDED 4
|
|
#define GHOUL_HEALING 5
|
|
#define BLESSED 6
|
|
#define FLASH_MS 200
|
|
#define FLASH_SEC 1010
|
|
#define FLASH_1M 60100
|
|
#define TIMEOUT_AGONY_S 600
|
|
#define TIMEOUT_DEATH_S 15
|
|
#define TIMEOUT_RADX_S 900
|
|
#define LONG_BEEP_MS 15000
|
|
#define MEDIUM_BEEP_MS 3000
|
|
#define SHORT_BEEP_MS 500
|
|
#define RED 255
|
|
#define RED_MEDIUM 127
|
|
#define GREEN_MEDIUM 127
|
|
#define BLUE_MEDIUM 127
|
|
|
|
#define DEFAULT_HP 27000
|
|
#define GHOUL_HP (DEFAULT_HP/3)</y:NodeLabel>
|
|
</y:UMLNoteNode>
|
|
</data>
|
|
</node>
|
|
<node id="n2">
|
|
<data key="d4" xml:space="preserve"/>
|
|
<data key="d6">
|
|
<y:UMLNoteNode>
|
|
<y:Geometry height="100.0" width="293.6575525707892" x="-862.5949333800841" y="10.622823612607704"/>
|
|
<y:Fill color="#FFCC00" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="left" autoSizePolicy="content" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="59.875" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="tl" textColor="#000000" verticalTextPosition="bottom" visible="true" width="281.705078125" x="4.0" xml:space="preserve" y="4.0">Constructor fields (do not delete this caption):
|
|
unsigned int HP;
|
|
unsigned int State;
|
|
unsigned int TimerAgony;
|
|
</y:NodeLabel>
|
|
</y:UMLNoteNode>
|
|
</data>
|
|
</node>
|
|
<node id="n3">
|
|
<data key="d4" xml:space="preserve"/>
|
|
<data key="d6">
|
|
<y:UMLNoteNode>
|
|
<y:Geometry height="537.9258620689657" width="516.4898821947393" x="846.0579910309465" y="114.12097856140628"/>
|
|
<y:Fill color="#FFCC00" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="left" autoSizePolicy="content" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="604.65625" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="tl" textColor="#000000" verticalTextPosition="bottom" visible="true" width="417.4140625" x="4.0" xml:space="preserve" y="4.0">Constructor code: (do not delete this caption):
|
|
me->CharHP = HP;
|
|
me->TimerAgony = TimerAgony;
|
|
switch (State) {
|
|
case HEALTHY: {
|
|
me->StartState =
|
|
(QStateHandler)&OregonPlayer_healthy;
|
|
break;
|
|
}
|
|
case AGONY: {
|
|
me->StartState =
|
|
(QStateHandler)& OregonPlayer_agony;
|
|
break;
|
|
}
|
|
case DEAD: {
|
|
me->StartState =
|
|
(QStateHandler)& OregonPlayer_dead;
|
|
break;
|
|
|
|
}
|
|
case GHOUL_GOOD: {
|
|
me->StartState =
|
|
(QStateHandler)& OregonPlayer_ghoul_good;
|
|
break;
|
|
}
|
|
case GHOUL_WOUNDED: {
|
|
me->StartState =
|
|
(QStateHandler)& OregonPlayer_wounded;
|
|
break;
|
|
}
|
|
case GHOUL_HEALING: {
|
|
me->StartState =
|
|
(QStateHandler)& OregonPlayer_ghoul_healing;
|
|
break;
|
|
}
|
|
case BLESSED: {
|
|
me->StartState =
|
|
(QStateHandler)& OregonPlayer_blessed;
|
|
break;
|
|
}
|
|
default:
|
|
me->StartState =(QStateHandler)& OregonPlayer_healthy;
|
|
}
|
|
</y:NodeLabel>
|
|
</y:UMLNoteNode>
|
|
</data>
|
|
</node>
|
|
<node id="n4">
|
|
<data key="d4" xml:space="preserve"/>
|
|
<data key="d6">
|
|
<y:UMLNoteNode>
|
|
<y:Geometry height="453.7197957472877" width="554.6107145205119" x="839.167994400236" y="-369.59881718588144"/>
|
|
<y:Fill color="#FFCC00" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="left" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="423.0625" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="l" textColor="#000000" verticalTextPosition="bottom" visible="true" width="567.244140625" x="4.0" xml:space="preserve" y="15.328647873643831">Comments:
|
|
|
|
void ShowCurrentHealth (OregonPlayer* me) {
|
|
Flash(255 - me->CharHP*255/DEFAULT_HP, me>CharHP*255/DEFAULT_HP, 0, FLASH_MS);
|
|
}
|
|
|
|
void ShowCurrentHealthGhoul (OregonPlayer* me) {
|
|
Flash(255 - me->CharHP*255/DEFAULT_HP, me>CharHP*255/DEFAULT_HP, 0, FLASH_MS);
|
|
}
|
|
|
|
void UpdateHP(OregonPlayer* me, unsigned int NewHP) {
|
|
if (NewHP <= DEFAULT_HP) {
|
|
me->CharHP = NewHP;;
|
|
} else {
|
|
me->CharHP = DEFAULT_HP
|
|
SaveHP(me->CharHP);
|
|
}
|
|
|
|
void Reset(OregonPlayer* me) {
|
|
UpdateHP(me, DEFAULT_HP);
|
|
me->TimerDeath = 0;
|
|
UpdateTimerAgony(0);
|
|
return Q_TRAN(healthy);
|
|
|
|
}
|
|
|
|
void UpdateTimerAgony(PlayerOregon* me, unsigned int Timer) {
|
|
me->TimerAgony = Timer;
|
|
SaveTimerAgony(Timer);
|
|
}</y:NodeLabel>
|
|
</y:UMLNoteNode>
|
|
</data>
|
|
</node>
|
|
<node id="n5" yfiles.foldertype="group">
|
|
<data key="d6">
|
|
<y:ProxyAutoBoundsNode>
|
|
<y:Realizers active="0">
|
|
<y:GroupNode>
|
|
<y:Geometry height="974.817297454316" width="1380.0086278544618" x="-558.2255859375" y="-371.14422734213144"/>
|
|
<y:Fill color="#F5F5F5" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="center" autoSizePolicy="node_width" backgroundColor="#EBEBEB" borderDistance="0.0" fontFamily="Consolas" fontSize="15" fontStyle="plain" hasLineColor="false" height="21.4609375" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="1380.0086278544618" x="0.0" xml:space="preserve" y="0.0">active</y:NodeLabel>
|
|
<y:NodeLabel alignment="left" autoSizePolicy="node_size" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="974.817297454316" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="1380.0086278544618" x="0.0" xml:space="preserve" y="4.0">
|
|
|
|
entry/
|
|
</y:NodeLabel>
|
|
<y:Shape type="roundrectangle"/>
|
|
<y:State closed="false" closedHeight="50.0" closedWidth="50.0" innerGraphDisplayEnabled="false"/>
|
|
<y:NodeBounds considerNodeLabelSize="true"/>
|
|
<y:Insets bottom="15" bottomF="15.0" left="15" leftF="15.0" right="15" rightF="15.0" top="15" topF="15.0"/>
|
|
<y:BorderInsets bottom="4" bottomF="3.775461510203968" left="25" leftF="24.7880859375" right="15" rightF="15.0" top="0" topF="0.0"/>
|
|
</y:GroupNode>
|
|
<y:GroupNode>
|
|
<y:Geometry height="50.0" width="50.0" x="0.0" y="60.0"/>
|
|
<y:Fill color="#F5F5F5" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="dashed" width="1.0"/>
|
|
<y:NodeLabel alignment="right" autoSizePolicy="node_width" backgroundColor="#EBEBEB" borderDistance="0.0" fontFamily="Dialog" fontSize="15" fontStyle="plain" hasLineColor="false" height="21.4609375" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="65.201171875" x="-7.6005859375" xml:space="preserve" y="0.0">Folder 4</y:NodeLabel>
|
|
<y:Shape type="roundrectangle"/>
|
|
<y:State closed="true" closedHeight="50.0" closedWidth="50.0" innerGraphDisplayEnabled="false"/>
|
|
<y:Insets bottom="5" bottomF="5.0" left="5" leftF="5.0" right="5" rightF="5.0" top="5" topF="5.0"/>
|
|
<y:BorderInsets bottom="0" bottomF="0.0" left="0" leftF="0.0" right="0" rightF="0.0" top="0" topF="0.0"/>
|
|
</y:GroupNode>
|
|
</y:Realizers>
|
|
</y:ProxyAutoBoundsNode>
|
|
</data>
|
|
<graph edgedefault="directed" id="n5:">
|
|
<node id="n5::n0">
|
|
<data key="d6">
|
|
<y:GenericNode configuration="com.yworks.bpmn.Event.withShadow">
|
|
<y:Geometry height="17.0" width="8.83984375" x="-320.482421875" y="-93.81974357327374"/>
|
|
<y:Fill color="#333333" color2="#000000" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="4.0" x="12.83984375" y="4.333333333333343">
|
|
<y:LabelModel>
|
|
<y:SmartNodeLabelModel distance="4.0"/>
|
|
</y:LabelModel>
|
|
<y:ModelParameter>
|
|
<y:SmartNodeLabelModelParameter labelRatioX="-0.5" labelRatioY="-0.5" nodeRatioX="0.5" nodeRatioY="-0.24509803921568613" offsetX="4.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
|
|
</y:ModelParameter>
|
|
</y:NodeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="java.awt.Color" name="com.yworks.bpmn.icon.line.color" value="#000000"/>
|
|
<y:Property class="com.yworks.yfiles.bpmn.view.EventCharEnum" name="com.yworks.bpmn.characteristic" value="EVENT_CHARACTERISTIC_START"/>
|
|
<y:Property class="java.awt.Color" name="com.yworks.bpmn.icon.fill2" value="#d4d4d4cc"/>
|
|
<y:Property class="java.awt.Color" name="com.yworks.bpmn.icon.fill" value="#ffffffe6"/>
|
|
<y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="EVENT_TYPE_PLAIN"/>
|
|
</y:StyleProperties>
|
|
</y:GenericNode>
|
|
</data>
|
|
</node>
|
|
<node id="n5::n1" yfiles.foldertype="group">
|
|
<data key="d6">
|
|
<y:ProxyAutoBoundsNode>
|
|
<y:Realizers active="0">
|
|
<y:GroupNode>
|
|
<y:Geometry height="621.0851870673469" width="885.8365246843564" x="-442.59914466594824" y="-334.68328984213144"/>
|
|
<y:Fill color="#F5F5F5" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="center" autoSizePolicy="node_width" backgroundColor="#EBEBEB" borderDistance="0.0" fontFamily="Dialog" fontSize="15" fontStyle="plain" hasLineColor="false" height="21.4609375" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="885.8365246843564" x="0.0" xml:space="preserve" y="0.0">alive</y:NodeLabel>
|
|
<y:NodeLabel alignment="left" autoSizePolicy="node_size" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="621.0851870673469" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="tl" textColor="#000000" verticalTextPosition="bottom" visible="true" width="885.8365246843564" x="4.0" xml:space="preserve" y="4.0">
|
|
|
|
entry/
|
|
</y:NodeLabel>
|
|
<y:Shape type="roundrectangle"/>
|
|
<y:State closed="false" closedHeight="50.0" closedWidth="50.0" innerGraphDisplayEnabled="false"/>
|
|
<y:NodeBounds considerNodeLabelSize="true"/>
|
|
<y:Insets bottom="15" bottomF="15.0" left="15" leftF="15.0" right="15" rightF="15.0" top="15" topF="15.0"/>
|
|
<y:BorderInsets bottom="0" bottomF="0.0" left="53" leftF="53.293029987652346" right="0" rightF="0.0" top="113" topF="112.5901087688577"/>
|
|
</y:GroupNode>
|
|
<y:GroupNode>
|
|
<y:Geometry height="50.0" width="89.0" x="-125.8125" y="28.75"/>
|
|
<y:Fill color="#F5F5F5" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="right" autoSizePolicy="node_width" backgroundColor="#EBEBEB" borderDistance="0.0" fontFamily="Dialog" fontSize="15" fontStyle="plain" hasLineColor="false" height="21.4609375" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="89.0" x="0.0" xml:space="preserve" y="0.0">get_shot</y:NodeLabel>
|
|
<y:Shape type="roundrectangle"/>
|
|
<y:State closed="true" closedHeight="50.0" closedWidth="89.0" innerGraphDisplayEnabled="false"/>
|
|
<y:NodeBounds considerNodeLabelSize="true"/>
|
|
<y:Insets bottom="5" bottomF="5.0" left="5" leftF="5.0" right="5" rightF="5.0" top="5" topF="5.0"/>
|
|
<y:BorderInsets bottom="0" bottomF="0.0" left="0" leftF="0.0" right="0" rightF="0.0" top="0" topF="0.0"/>
|
|
</y:GroupNode>
|
|
</y:Realizers>
|
|
</y:ProxyAutoBoundsNode>
|
|
</data>
|
|
<graph edgedefault="directed" id="n5::n1:">
|
|
<node id="n5::n1::n0">
|
|
<data key="d4" xml:space="preserve"/>
|
|
<data key="d6">
|
|
<y:GenericNode configuration="com.yworks.entityRelationship.big_entity">
|
|
<y:Geometry height="174.5254733043319" width="284.189453125" x="115.7627706434082" y="-185.63224357327374"/>
|
|
<y:Fill color="#E8EEF7" color2="#B7C9E3" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="center" autoSizePolicy="node_width" backgroundColor="#B7C9E3" configuration="com.yworks.entityRelationship.label.name" fontFamily="Consolas" fontSize="12" fontStyle="bold" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="284.189453125" x="0.0" xml:space="preserve" y="4.0">agony</y:NodeLabel>
|
|
<y:NodeLabel alignment="left" autoSizePolicy="content" configuration="com.yworks.entityRelationship.label.attributes" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="199.5625" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="tl" textColor="#000000" verticalTextPosition="bottom" visible="true" width="222.66015625" x="4.0" xml:space="preserve" y="4.0">
|
|
|
|
entry/
|
|
BeepForPeriod(LONG_BEEP_MS);
|
|
SaveState(AGONY);
|
|
UpdateHP(me, 1);
|
|
me->TimerAgony = 0;
|
|
|
|
TIME_TICK_1S[else]/
|
|
me->TimerAgony++;
|
|
Flash(RED, 0, 0, FLASH_MS);
|
|
|
|
TIME_TICK_10S/
|
|
BeepForPeriod(SHORT_BEEP_MS);</y:NodeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/>
|
|
<y:Property class="java.lang.Boolean" name="doubleBorder" value="false"/>
|
|
</y:StyleProperties>
|
|
</y:GenericNode>
|
|
</data>
|
|
</node>
|
|
<node id="n5::n1::n1">
|
|
<data key="d4" xml:space="preserve"/>
|
|
<data key="d6">
|
|
<y:GenericNode configuration="com.yworks.entityRelationship.big_entity">
|
|
<y:Geometry height="185.16724137931033" width="285.9375" x="-359.3061146782959" y="-185.63224357327374"/>
|
|
<y:Fill color="#E8EEF7" color2="#B7C9E3" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="center" autoSizePolicy="node_width" backgroundColor="#B7C9E3" configuration="com.yworks.entityRelationship.label.name" fontFamily="Dialog" fontSize="12" fontStyle="bold" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="285.9375" x="0.0" xml:space="preserve" y="4.0">healthy</y:NodeLabel>
|
|
<y:NodeLabel alignment="left" autoSizePolicy="content" configuration="com.yworks.entityRelationship.label.attributes" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="199.5625" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="tl" textColor="#000000" verticalTextPosition="bottom" visible="true" width="394.796875" x="4.0" xml:space="preserve" y="4.0">
|
|
|
|
entry/
|
|
SaveState(HEALTHY);
|
|
BeepForTime(MEDIUM_BEEP_MS);
|
|
|
|
RAD_RCVD[else]/
|
|
UpdateHP(me, me->CharHP-((oregonPlayerQEvt*)e)->value);
|
|
|
|
TIME_TICK_1S/
|
|
ShowCurrentHealth(me);
|
|
|
|
HEAL/
|
|
UpdateHP(me, me->CharHP+((oregonPlayerQEvt*)e)->value);</y:NodeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/>
|
|
<y:Property class="java.lang.Boolean" name="doubleBorder" value="false"/>
|
|
</y:StyleProperties>
|
|
</y:GenericNode>
|
|
</data>
|
|
</node>
|
|
<node id="n5::n1::n2" yfiles.foldertype="group">
|
|
<data key="d6">
|
|
<y:ProxyAutoBoundsNode>
|
|
<y:Realizers active="0">
|
|
<y:GroupNode>
|
|
<y:Geometry height="251.80611345473915" width="802.5434946967041" x="-374.3061146782959" y="15.59578377047626"/>
|
|
<y:Fill color="#F5F5F5" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="center" autoSizePolicy="node_width" backgroundColor="#EBEBEB" borderDistance="0.0" fontFamily="Dialog" fontSize="15" fontStyle="plain" hasLineColor="false" height="21.4609375" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="802.5434946967041" x="0.0" xml:space="preserve" y="0.0">immune</y:NodeLabel>
|
|
<y:NodeLabel alignment="left" autoSizePolicy="node_size" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="251.80611345473915" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="802.5434946967041" x="0.0" xml:space="preserve" y="4.0">
|
|
|
|
entry/
|
|
BeepForTime(MEDIUM_BEEP_MS);
|
|
|
|
TIME_TICK_1S/
|
|
Flash(0, GREEN_MEDIUM, 0, FLASH_SEC);
|
|
|
|
HEAL/
|
|
UpdateHP(me, me->CharHP+((oregonPlayerQEvt*)e)->value);</y:NodeLabel>
|
|
<y:Shape type="roundrectangle"/>
|
|
<y:State closed="false" closedHeight="50.0" closedWidth="50.0" innerGraphDisplayEnabled="false"/>
|
|
<y:NodeBounds considerNodeLabelSize="true"/>
|
|
<y:Insets bottom="15" bottomF="15.0" left="15" leftF="15.0" right="15" rightF="15.0" top="15" topF="15.0"/>
|
|
<y:BorderInsets bottom="0" bottomF="0.0" left="0" leftF="0.0" right="3" rightF="3.4970703125" top="81" topF="81.33265026107463"/>
|
|
</y:GroupNode>
|
|
<y:GroupNode>
|
|
<y:Geometry height="50.0" width="50.0" x="0.0" y="60.0"/>
|
|
<y:Fill color="#F5F5F5" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="dashed" width="1.0"/>
|
|
<y:NodeLabel alignment="right" autoSizePolicy="node_width" backgroundColor="#EBEBEB" borderDistance="0.0" fontFamily="Dialog" fontSize="15" fontStyle="plain" hasLineColor="false" height="21.4609375" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="65.201171875" x="-7.6005859375" xml:space="preserve" y="0.0">Folder 4</y:NodeLabel>
|
|
<y:Shape type="roundrectangle"/>
|
|
<y:State closed="true" closedHeight="50.0" closedWidth="50.0" innerGraphDisplayEnabled="false"/>
|
|
<y:Insets bottom="5" bottomF="5.0" left="5" leftF="5.0" right="5" rightF="5.0" top="5" topF="5.0"/>
|
|
<y:BorderInsets bottom="0" bottomF="0.0" left="0" leftF="0.0" right="0" rightF="0.0" top="0" topF="0.0"/>
|
|
</y:GroupNode>
|
|
</y:Realizers>
|
|
</y:ProxyAutoBoundsNode>
|
|
</data>
|
|
<graph edgedefault="directed" id="n5::n1::n2:">
|
|
<node id="n5::n1::n2::n0">
|
|
<data key="d4" xml:space="preserve"/>
|
|
<data key="d6">
|
|
<y:GenericNode configuration="com.yworks.entityRelationship.big_entity">
|
|
<y:Geometry height="100.0" width="285.9375" x="-359.3061146782959" y="152.4018972252154"/>
|
|
<y:Fill color="#E8EEF7" color2="#B7C9E3" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="center" autoSizePolicy="node_width" backgroundColor="#B7C9E3" configuration="com.yworks.entityRelationship.label.name" fontFamily="Dialog" fontSize="12" fontStyle="bold" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="285.9375" x="0.0" xml:space="preserve" y="4.0">temp_immune</y:NodeLabel>
|
|
<y:NodeLabel alignment="left" autoSizePolicy="content" configuration="com.yworks.entityRelationship.label.attributes" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="73.84375" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="tl" textColor="#000000" verticalTextPosition="bottom" visible="true" width="39.771484375" x="4.0" xml:space="preserve" y="4.0">
|
|
|
|
entry/
|
|
|
|
|
|
</y:NodeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/>
|
|
<y:Property class="java.lang.Boolean" name="doubleBorder" value="false"/>
|
|
</y:StyleProperties>
|
|
</y:GenericNode>
|
|
</data>
|
|
</node>
|
|
<node id="n5::n1::n2::n1">
|
|
<data key="d4" xml:space="preserve"/>
|
|
<data key="d6">
|
|
<y:GenericNode configuration="com.yworks.entityRelationship.big_entity">
|
|
<y:Geometry height="108.85890539939834" width="284.189453125" x="125.5508565809082" y="133.3893715315509"/>
|
|
<y:Fill color="#E8EEF7" color2="#B7C9E3" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="center" autoSizePolicy="node_width" backgroundColor="#B7C9E3" configuration="com.yworks.entityRelationship.label.name" fontFamily="Dialog" fontSize="12" fontStyle="bold" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="284.189453125" x="0.0" xml:space="preserve" y="4.0">blessed</y:NodeLabel>
|
|
<y:NodeLabel alignment="left" autoSizePolicy="content" configuration="com.yworks.entityRelationship.label.attributes" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="73.84375" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="tl" textColor="#000000" verticalTextPosition="bottom" visible="true" width="148.439453125" x="4.0" xml:space="preserve" y="4.0">
|
|
|
|
entry/
|
|
SaveState(BLESSED);
|
|
</y:NodeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/>
|
|
<y:Property class="java.lang.Boolean" name="doubleBorder" value="false"/>
|
|
</y:StyleProperties>
|
|
</y:GenericNode>
|
|
</data>
|
|
</node>
|
|
</graph>
|
|
</node>
|
|
</graph>
|
|
</node>
|
|
<node id="n5::n2">
|
|
<data key="d6">
|
|
<y:GenericNode configuration="com.yworks.bpmn.Event.withShadow">
|
|
<y:Geometry height="17.0" width="8.83984375" x="-518.4375" y="-101.7662411538538"/>
|
|
<y:Fill color="#333333" color2="#000000" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="4.0" x="12.83984375" y="4.333333333333343">
|
|
<y:LabelModel>
|
|
<y:SmartNodeLabelModel distance="4.0"/>
|
|
</y:LabelModel>
|
|
<y:ModelParameter>
|
|
<y:SmartNodeLabelModelParameter labelRatioX="-0.5" labelRatioY="-0.5" nodeRatioX="0.5" nodeRatioY="-0.24509803921568613" offsetX="4.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
|
|
</y:ModelParameter>
|
|
</y:NodeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="java.awt.Color" name="com.yworks.bpmn.icon.line.color" value="#000000"/>
|
|
<y:Property class="com.yworks.yfiles.bpmn.view.EventCharEnum" name="com.yworks.bpmn.characteristic" value="EVENT_CHARACTERISTIC_START"/>
|
|
<y:Property class="java.awt.Color" name="com.yworks.bpmn.icon.fill2" value="#d4d4d4cc"/>
|
|
<y:Property class="java.awt.Color" name="com.yworks.bpmn.icon.fill" value="#ffffffe6"/>
|
|
<y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="EVENT_TYPE_PLAIN"/>
|
|
</y:StyleProperties>
|
|
</y:GenericNode>
|
|
</data>
|
|
</node>
|
|
<node id="n5::n3" yfiles.foldertype="group">
|
|
<data key="d6">
|
|
<y:ProxyAutoBoundsNode>
|
|
<y:Realizers active="0">
|
|
<y:GroupNode>
|
|
<y:Geometry height="277.7419553990961" width="1234.38218658291" x="-442.5991446659482" y="303.1556532028844"/>
|
|
<y:Fill color="#F5F5F5" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="center" autoSizePolicy="node_width" backgroundColor="#EBEBEB" borderDistance="0.0" fontFamily="Consolas" fontSize="15" fontStyle="plain" hasLineColor="false" height="21.4609375" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="1234.38218658291" x="0.0" xml:space="preserve" y="0.0">ghoul</y:NodeLabel>
|
|
<y:NodeLabel alignment="left" autoSizePolicy="node_size" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="277.7419553990961" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="1234.38218658291" x="0.0" xml:space="preserve" y="4.0">
|
|
|
|
entry/
|
|
|
|
TIME_TICK_1S/
|
|
ShowCurrentHealthGhoul(me); </y:NodeLabel>
|
|
<y:Shape type="roundrectangle"/>
|
|
<y:State closed="false" closedHeight="50.0" closedWidth="50.0" innerGraphDisplayEnabled="false"/>
|
|
<y:NodeBounds considerNodeLabelSize="true"/>
|
|
<y:Insets bottom="15" bottomF="15.0" left="15" leftF="15.0" right="15" rightF="15.0" top="15" topF="15.0"/>
|
|
<y:BorderInsets bottom="44" bottomF="44.49172059879527" left="53" leftF="53.29302998765229" right="38" rightF="37.98686734799617" top="47" topF="47.127828028557474"/>
|
|
</y:GroupNode>
|
|
<y:GroupNode>
|
|
<y:Geometry height="50.0" width="50.0" x="0.0" y="60.0"/>
|
|
<y:Fill color="#F5F5F5" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="dashed" width="1.0"/>
|
|
<y:NodeLabel alignment="right" autoSizePolicy="node_width" backgroundColor="#EBEBEB" borderDistance="0.0" fontFamily="Dialog" fontSize="15" fontStyle="plain" hasLineColor="false" height="21.4609375" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="65.201171875" x="-7.6005859375" xml:space="preserve" y="0.0">Folder 4</y:NodeLabel>
|
|
<y:Shape type="roundrectangle"/>
|
|
<y:State closed="true" closedHeight="50.0" closedWidth="50.0" innerGraphDisplayEnabled="false"/>
|
|
<y:Insets bottom="5" bottomF="5.0" left="5" leftF="5.0" right="5" rightF="5.0" top="5" topF="5.0"/>
|
|
<y:BorderInsets bottom="0" bottomF="0.0" left="0" leftF="0.0" right="0" rightF="0.0" top="0" topF="0.0"/>
|
|
</y:GroupNode>
|
|
</y:Realizers>
|
|
</y:ProxyAutoBoundsNode>
|
|
</data>
|
|
<graph edgedefault="directed" id="n5::n3:">
|
|
<node id="n5::n3::n0">
|
|
<data key="d4" xml:space="preserve"/>
|
|
<data key="d6">
|
|
<y:GenericNode configuration="com.yworks.entityRelationship.big_entity">
|
|
<y:Geometry height="116.26393545831985" width="285.9375" x="-374.3061146782959" y="392.1165907028845"/>
|
|
<y:Fill color="#E8EEF7" color2="#B7C9E3" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="center" autoSizePolicy="node_width" backgroundColor="#B7C9E3" configuration="com.yworks.entityRelationship.label.name" fontFamily="Dialog" fontSize="12" fontStyle="bold" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="285.9375" x="0.0" xml:space="preserve" y="4.0">ghoul_good</y:NodeLabel>
|
|
<y:NodeLabel alignment="left" autoSizePolicy="content" configuration="com.yworks.entityRelationship.label.attributes" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="87.8125" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="tl" textColor="#000000" verticalTextPosition="bottom" visible="true" width="230.7578125" x="4.0" xml:space="preserve" y="4.0">
|
|
|
|
entry/
|
|
SaveState(GHOUL_GOOD);
|
|
BeepForPeriod(MEDIUM_BEEP_MS);
|
|
UpdateHP(me, GHOUL_HP);
|
|
</y:NodeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/>
|
|
<y:Property class="java.lang.Boolean" name="doubleBorder" value="false"/>
|
|
</y:StyleProperties>
|
|
</y:GenericNode>
|
|
</data>
|
|
</node>
|
|
<node id="n5::n3::n1">
|
|
<data key="d4" xml:space="preserve"/>
|
|
<data key="d6">
|
|
<y:GenericNode configuration="com.yworks.entityRelationship.big_entity">
|
|
<y:Geometry height="120.69338815801899" width="220.93510536398463" x="512.1360183189655" y="387.68713800318534"/>
|
|
<y:Fill color="#E8EEF7" color2="#B7C9E3" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="center" autoSizePolicy="node_width" backgroundColor="#B7C9E3" configuration="com.yworks.entityRelationship.label.name" fontFamily="Dialog" fontSize="12" fontStyle="bold" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="220.93510536398463" x="0.0" xml:space="preserve" y="4.0">wounded</y:NodeLabel>
|
|
<y:NodeLabel alignment="left" autoSizePolicy="content" configuration="com.yworks.entityRelationship.label.attributes" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="129.71875" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="tl" textColor="#000000" verticalTextPosition="bottom" visible="true" width="222.66015625" x="4.0" xml:space="preserve" y="3.999999999999943">
|
|
|
|
entry/
|
|
SaveState(GHOUL_WOUNDED);
|
|
UpdateHP(me, 1);
|
|
BeepForPeriod(LONG_BEEP_MS);
|
|
|
|
TIME_TICK_10S/
|
|
BeepForPeriod(SHORT_BEEP_MS);</y:NodeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/>
|
|
<y:Property class="java.lang.Boolean" name="doubleBorder" value="false"/>
|
|
</y:StyleProperties>
|
|
</y:GenericNode>
|
|
</data>
|
|
</node>
|
|
<node id="n5::n3::n2">
|
|
<data key="d4" xml:space="preserve"/>
|
|
<data key="d6">
|
|
<y:GenericNode configuration="com.yworks.entityRelationship.big_entity">
|
|
<y:Geometry height="121.63610742976238" width="462.242318456657" x="30.08988914795799" y="386.7444187314419"/>
|
|
<y:Fill color="#E8EEF7" color2="#B7C9E3" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="center" autoSizePolicy="node_width" backgroundColor="#B7C9E3" configuration="com.yworks.entityRelationship.label.name" fontFamily="Dialog" fontSize="12" fontStyle="bold" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="462.242318456657" x="0.0" xml:space="preserve" y="4.0">ghoul_healing</y:NodeLabel>
|
|
<y:NodeLabel alignment="left" autoSizePolicy="content" configuration="com.yworks.entityRelationship.label.attributes" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="115.75" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="tl" textColor="#000000" verticalTextPosition="bottom" visible="true" width="402.42578125" x="4.0" xml:space="preserve" y="4.0">
|
|
|
|
entry/
|
|
SaveState(GHOUL_HEALING);
|
|
|
|
RAD_RCVD[else]/
|
|
UpdateHP(me, me->CharHP + ((oregonPlayerQEvt*)e)->value);
|
|
</y:NodeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/>
|
|
<y:Property class="java.lang.Boolean" name="doubleBorder" value="false"/>
|
|
</y:StyleProperties>
|
|
</y:GenericNode>
|
|
</data>
|
|
</node>
|
|
</graph>
|
|
</node>
|
|
<node id="n5::n4">
|
|
<data key="d4" xml:space="preserve"/>
|
|
<data key="d6">
|
|
<y:GenericNode configuration="com.yworks.entityRelationship.big_entity">
|
|
<y:Geometry height="174.5254733043319" width="220.93510536398458" x="527.1360183189655" y="-185.63224357327374"/>
|
|
<y:Fill color="#E8EEF7" color2="#B7C9E3" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="center" autoSizePolicy="node_width" backgroundColor="#B7C9E3" configuration="com.yworks.entityRelationship.label.name" fontFamily="Dialog" fontSize="12" fontStyle="bold" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="220.93510536398458" x="0.0" xml:space="preserve" y="4.0">dead</y:NodeLabel>
|
|
<y:NodeLabel alignment="left" autoSizePolicy="content" configuration="com.yworks.entityRelationship.label.attributes" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="157.65625" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="tl" textColor="#000000" verticalTextPosition="bottom" visible="true" width="222.66015625" x="4.0" xml:space="preserve" y="4.0">
|
|
|
|
entry/
|
|
SaveState(DEAD);
|
|
BeepForTime(LONG_BEEP_MS);
|
|
UpdateHP(me, 0);
|
|
Flash(RED, 0, 0, 1000);
|
|
|
|
TIME_TICK_1M/
|
|
BeepForPeriod(SHORT_BEEP_MS);
|
|
Flash(255, 0, 0, FLASH_1M);</y:NodeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/>
|
|
<y:Property class="java.lang.Boolean" name="doubleBorder" value="false"/>
|
|
</y:StyleProperties>
|
|
</y:GenericNode>
|
|
</data>
|
|
</node>
|
|
<node id="n5::n5">
|
|
<data key="d6">
|
|
<y:GenericNode configuration="com.yworks.bpmn.Gateway.withShadow">
|
|
<y:Geometry height="26.0" width="26.0" x="624.6035710009578" y="97.52444554216106"/>
|
|
<y:Fill color="#FFFFFFE6" color2="#D4D4D4CC" transparent="false"/>
|
|
<y:BorderStyle color="#E38B00" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="4.0" x="-8.0" y="0.0">
|
|
<y:LabelModel>
|
|
<y:SmartNodeLabelModel distance="4.0"/>
|
|
</y:LabelModel>
|
|
<y:ModelParameter>
|
|
<y:SmartNodeLabelModelParameter labelRatioX="0.5" labelRatioY="-0.5" nodeRatioX="-0.5" nodeRatioY="-0.5" offsetX="-4.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
|
|
</y:ModelParameter>
|
|
</y:NodeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="java.awt.Color" name="com.yworks.bpmn.icon.line.color" value="#000000"/>
|
|
<y:Property class="java.awt.Color" name="com.yworks.bpmn.icon.fill2" value="#d4d4d4"/>
|
|
<y:Property class="java.awt.Color" name="com.yworks.bpmn.icon.fill" value="#ffffff"/>
|
|
<y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="GATEWAY_TYPE_PLAIN"/>
|
|
</y:StyleProperties>
|
|
</y:GenericNode>
|
|
</data>
|
|
</node>
|
|
</graph>
|
|
</node>
|
|
<node id="n6">
|
|
<data key="d4" xml:space="preserve"/>
|
|
<data key="d6">
|
|
<y:UMLNoteNode>
|
|
<y:Geometry height="100.0" width="292.9728788494972" x="-861.910259658792" y="152.4018972252154"/>
|
|
<y:Fill color="#FFCC00" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="left" autoSizePolicy="content" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="45.90625" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="tl" textColor="#000000" verticalTextPosition="bottom" visible="true" width="245.681640625" x="4.0" xml:space="preserve" y="4.0">Event fields (do not delete this caption):
|
|
|
|
unsigned int value;</y:NodeLabel>
|
|
</y:UMLNoteNode>
|
|
</data>
|
|
</node>
|
|
<node id="n7">
|
|
<data key="d4" xml:space="preserve"/>
|
|
<data key="d6">
|
|
<y:GenericNode configuration="com.yworks.entityRelationship.big_entity">
|
|
<y:Geometry height="212.92649572649566" width="220.93510536398458" x="-326.8049173602882" y="621.0639307498625"/>
|
|
<y:Fill color="#E8EEF7" color2="#B7C9E3" transparent="false"/>
|
|
<y:BorderStyle color="#000000" type="line" width="1.0"/>
|
|
<y:NodeLabel alignment="center" autoSizePolicy="node_width" backgroundColor="#B7C9E3" configuration="com.yworks.entityRelationship.label.name" fontFamily="Dialog" fontSize="12" fontStyle="bold" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="220.93510536398458" x="0.0" xml:space="preserve" y="4.0">test</y:NodeLabel>
|
|
<y:NodeLabel alignment="left" autoSizePolicy="content" configuration="com.yworks.entityRelationship.label.attributes" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="129.71875" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="tl" textColor="#000000" verticalTextPosition="bottom" visible="true" width="215.03125" x="4.0" xml:space="preserve" y="4.0">
|
|
|
|
entry/
|
|
BeepForPeriod(SHORT_BEEP_MS);
|
|
Flash(127, 0, 0, FLASH_MS);
|
|
|
|
RAD_RCVD/
|
|
BeepForPeriod(SHORT_BEEP_MS);
|
|
Flash(127, 0, 0, FLASH_MS);</y:NodeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/>
|
|
<y:Property class="java.lang.Boolean" name="doubleBorder" value="false"/>
|
|
</y:StyleProperties>
|
|
</y:GenericNode>
|
|
</data>
|
|
</node>
|
|
<edge id="n5::n1::e0" source="n5::n1::n1" target="n5::n1::n0">
|
|
<data key="d10">
|
|
<y:PolyLineEdge>
|
|
<y:Path sx="143.0049630080373" sy="-18.016860899809846" tx="-142.09810200116686" ty="-12.695976862320634"/>
|
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
|
<y:Arrows source="none" target="standard"/>
|
|
<y:EdgeLabel alignment="center" backgroundColor="#FFFFFF" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="free" modelPosition="anywhere" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="372.712890625" x="-158.30335056699562" xml:space="preserve" y="-7.53527121708305">RAD_RCVD[((oregonPlayerQEvt*)e)->value >= me->CharHP]<y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
|
|
<y:BendStyle smoothed="false"/>
|
|
</y:PolyLineEdge>
|
|
</data>
|
|
</edge>
|
|
<edge id="n5::e0" source="n5::n1::n0" target="n5::n4">
|
|
<data key="d10">
|
|
<y:PolyLineEdge>
|
|
<y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
|
|
<y:Point x="257.8574972059082" y="-215.72805081078405"/>
|
|
<y:Point x="392.94109396914496" y="-215.72805081078405"/>
|
|
<y:Point x="637.6035710009578" y="-215.72805081078405"/>
|
|
</y:Path>
|
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
|
<y:Arrows source="none" target="standard"/>
|
|
<y:EdgeLabel alignment="center" backgroundColor="#FFFFFF" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="free" modelPosition="anywhere" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="337.462890625" x="32.8265890187231" xml:space="preserve" y="-39.030774767645426">TIME_TICK_1S[me->TimerAgony > TIMEOUT_AGONY_S]<y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
|
|
<y:BendStyle smoothed="false"/>
|
|
</y:PolyLineEdge>
|
|
</data>
|
|
</edge>
|
|
<edge id="n5::e1" source="n5::n2" target="n5::n1::n1">
|
|
<data key="d10">
|
|
<y:GenericEdge configuration="com.yworks.bpmn.Connection">
|
|
<y:Path sx="3.638671875" sy="-2.4950358072916714" tx="-142.96875" ty="-2.7126540775268873"/>
|
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
|
<y:Arrows source="none" target="standard"/>
|
|
<y:EdgeLabel alignment="center" backgroundColor="#FFFFFF" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="free" modelPosition="anywhere" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="209.078125" x="-41.078604414901974" xml:space="preserve" y="15.47269009394148">/ return Q_TRAN(me->StartState);<y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_MESSAGE_FLOW"/>
|
|
</y:StyleProperties>
|
|
</y:GenericEdge>
|
|
</data>
|
|
</edge>
|
|
<edge id="n5::n1::e1" source="n5::n1::n1" target="n5::n1::n0">
|
|
<data key="d10">
|
|
<y:GenericEdge configuration="com.yworks.bpmn.Connection">
|
|
<y:Path sx="8.06322674726141" sy="25.105783681122134" tx="70.33934187455156" ty="30.426667718611338"/>
|
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
|
<y:Arrows source="none" target="standard"/>
|
|
<y:EdgeLabel alignment="center" backgroundColor="#FFFFFF" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="free" modelPosition="anywhere" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="47.259765625" x="103.3552445836516" xml:space="preserve" y="-5.492087511317564">AGONY<y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_MESSAGE_FLOW"/>
|
|
</y:StyleProperties>
|
|
</y:GenericEdge>
|
|
</data>
|
|
</edge>
|
|
<edge id="n5::n1::e2" source="n5::n1::n1" target="n5::n1::n2::n0">
|
|
<data key="d10">
|
|
<y:GenericEdge configuration="com.yworks.bpmn.Connection">
|
|
<y:Path sx="-83.94033518145125" sy="3.8898308118111924" tx="-82.1941921239478" ty="10.348668233140245">
|
|
<y:Point x="-298.5315568022437" y="57.8695626564554"/>
|
|
</y:Path>
|
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
|
<y:Arrows source="none" target="standard"/>
|
|
<y:EdgeLabel alignment="center" backgroundColor="#FFFFFF" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="free" modelPosition="anywhere" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="53.587890625" x="-26.260210472914764" xml:space="preserve" y="15.81924486680694">IMMUNE<y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_MESSAGE_FLOW"/>
|
|
</y:StyleProperties>
|
|
</y:GenericEdge>
|
|
</data>
|
|
</edge>
|
|
<edge id="n5::e2" source="n5::n1" target="n5::n3::n0">
|
|
<data key="d10">
|
|
<y:GenericEdge configuration="com.yworks.bpmn.Connection">
|
|
<y:Path sx="-231.65648235452585" sy="-114.91804653313784" tx="0.0" ty="0.0"/>
|
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
|
<y:Arrows source="none" target="standard"/>
|
|
<y:EdgeLabel alignment="left" backgroundColor="#FFFFFF" distance="2.0" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="77.3828125" x="-38.691399102124024" xml:space="preserve" y="63.92098228913176">PILL_GHOUL<y:LabelModel><y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/></y:LabelModel><y:ModelParameter><y:SmartEdgeLabelModelParameter angle="0.0" distance="2.0" distanceToCenter="false" position="center" ratio="0.757998210010501" segment="-1"/></y:ModelParameter><y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_MESSAGE_FLOW"/>
|
|
</y:StyleProperties>
|
|
</y:GenericEdge>
|
|
</data>
|
|
</edge>
|
|
<edge id="n5::n3::e0" source="n5::n3::n0" target="n5::n3::n1">
|
|
<data key="d10">
|
|
<y:GenericEdge configuration="com.yworks.bpmn.Connection">
|
|
<y:Path sx="84.52115301724112" sy="6.546060476425686" tx="54.872493494635386" ty="6.795453937393572">
|
|
<y:Point x="-146.8162116610548" y="355.5297109035891"/>
|
|
<y:Point x="677.4760644955932" y="359.4745384897961"/>
|
|
<y:Point x="677.4760644955932" y="355.5297109035891"/>
|
|
</y:Path>
|
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
|
<y:Arrows source="none" target="standard"/>
|
|
<y:EdgeLabel alignment="center" backgroundColor="#FFFFFF" distance="2.0" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="94.896484375" x="287.53311482347175" xml:space="preserve" y="-43.92166829964924">PILL_REMOVED<y:LabelModel><y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/></y:LabelModel><y:ModelParameter><y:SmartEdgeLabelModelParameter angle="0.0" distance="2.0" distanceToCenter="true" position="center" ratio="0.4063866306599053" segment="1"/></y:ModelParameter><y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_MESSAGE_FLOW"/>
|
|
</y:StyleProperties>
|
|
</y:GenericEdge>
|
|
</data>
|
|
</edge>
|
|
<edge id="n5::n3::e1" source="n5::n3::n1" target="n5::n3::n2">
|
|
<data key="d10">
|
|
<y:GenericEdge configuration="com.yworks.bpmn.Connection">
|
|
<y:Path sx="-64.64309539288544" sy="-7.6669174252078385" tx="-37.90760010042459" ty="19.300554373600335">
|
|
<y:Point x="557.9604756080723" y="536.6206836455449"/>
|
|
<y:Point x="223.3034482758619" y="536.6206836455449"/>
|
|
<y:Point x="223.3034482758619" y="526.6525862068966"/>
|
|
</y:Path>
|
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
|
<y:Arrows source="none" target="standard"/>
|
|
<y:EdgeLabel alignment="left" backgroundColor="#FFFFFF" distance="2.0" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasLineColor="false" height="31.9375" horizontalTextPosition="center" iconTextGap="4" modelName="free" modelPosition="anywhere" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="402.42578125" x="-365.98129003532097" xml:space="preserve" y="16.162189585952547">RAD_RCVD/
|
|
UpdateHP(me, me->CharHP + ((oregonPlayerQEvt*)e)->value);<y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_MESSAGE_FLOW"/>
|
|
</y:StyleProperties>
|
|
</y:GenericEdge>
|
|
</data>
|
|
</edge>
|
|
<edge id="n5::n1::e3" source="n5::n1::n2::n0" target="n5::n1::n1">
|
|
<data key="d10">
|
|
<y:GenericEdge configuration="com.yworks.bpmn.Connection">
|
|
<y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
|
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
|
<y:Arrows source="none" target="standard"/>
|
|
<y:EdgeLabel alignment="center" backgroundColor="#FFFFFF" distance="2.0" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="85.33984375" x="-42.669914727124024" xml:space="preserve" y="-85.39465062890525">NOT_IMMUNE<y:LabelModel><y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/></y:LabelModel><y:ModelParameter><y:SmartEdgeLabelModelParameter angle="0.0" distance="2.0" distanceToCenter="false" position="center" ratio="0.5" segment="0"/></y:ModelParameter><y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_MESSAGE_FLOW"/>
|
|
</y:StyleProperties>
|
|
</y:GenericEdge>
|
|
</data>
|
|
</edge>
|
|
<edge id="n5::n1::e4" source="n5::n1::n0" target="n5::n1::n2::n1">
|
|
<data key="d10">
|
|
<y:GenericEdge configuration="com.yworks.bpmn.Connection">
|
|
<y:Path sx="9.7880859375" sy="-0.39621844596112543" tx="0.0" ty="0.0"/>
|
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
|
<y:Arrows source="none" target="standard"/>
|
|
<y:EdgeLabel alignment="center" backgroundColor="#FFFFFF" distance="2.0" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="58.556640625" x="-29.278306016748047" xml:space="preserve" y="63.28906960560872">BLESSED<y:LabelModel><y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/></y:LabelModel><y:ModelParameter><y:SmartEdgeLabelModelParameter angle="0.0" distance="2.0" distanceToCenter="false" position="center" ratio="0.5" segment="0"/></y:ModelParameter><y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_MESSAGE_FLOW"/>
|
|
</y:StyleProperties>
|
|
</y:GenericEdge>
|
|
</data>
|
|
</edge>
|
|
<edge id="n5::n1::e5" source="n5::n1::n2" target="n5::n1::n0">
|
|
<data key="d10">
|
|
<y:GenericEdge configuration="com.yworks.bpmn.Connection">
|
|
<y:Path sx="-12.886632267801007" sy="-119.29757045043678" tx="79.80284762167798" ty="75.15308934340948">
|
|
<y:Point x="14.079000402255147" y="-23.21641757769831"/>
|
|
</y:Path>
|
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
|
<y:Arrows source="none" target="standard"/>
|
|
<y:EdgeLabel alignment="center" backgroundColor="#FFFFFF" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Consolas" fontSize="12" fontStyle="plain" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="free" modelPosition="anywhere" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="47.259765625" x="23.056633955856796" xml:space="preserve" y="-44.20141926829112">AGONY<y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
|
|
<y:StyleProperties>
|
|
<y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_MESSAGE_FLOW"/>
|
|
</y:StyleProperties>
|
|
</y:GenericEdge>
|
|
</data>
|
|
</edge>
|
|
<edge id="e0" source="n5" target="n5::n1::n1">
|
|
<data key="d10">
|
|
<y:PolyLineEdge>
|
|
<y:Path sx="0.0" sy="0.0" tx="100.36505698598819" ty="-71.28727701581313">
|
|
<y:Point x="130.77400929418104" y="-397.8314809000522"/>
|
|
<y:Point x="-115.97230769230771" y="-397.8314809000522"/>
|
|
</y:Path>
|
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
|
<y:Arrows source="none" target="standard"/>
|
|
<y:EdgeLabel alignment="left" backgroundColor="#F5F5F5" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasLineColor="false" height="31.9375" horizontalTextPosition="center" iconTextGap="4" modelName="centered" modelPosition="center" preferredPlacement="center_on_edge" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="85.796875" x="-166.32378909164146" xml:space="preserve" y="-42.67135516763034">PILL_RESET/
|
|
Reset(me);<y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" placement="center" side="on_edge" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
|
|
<y:BendStyle smoothed="false"/>
|
|
</y:PolyLineEdge>
|
|
</data>
|
|
</edge>
|
|
<edge id="n5::n3::e2" source="n5::n3::n2" target="n5::n3::n0">
|
|
<data key="d10">
|
|
<y:PolyLineEdge>
|
|
<y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
|
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
|
<y:Arrows source="none" target="standard"/>
|
|
<y:EdgeLabel alignment="center" backgroundColor="#FFFFFF" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="free" modelPosition="anywhere" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="466.990234375" x="-322.50909374964004" xml:space="preserve" y="15.801642270657226">RAD_RCVD [((((oregonPlayerQEvt*)e)->value+me->CharHP )>=GHOUL_HP)]<y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
|
|
<y:BendStyle smoothed="false"/>
|
|
</y:PolyLineEdge>
|
|
</data>
|
|
</edge>
|
|
<edge id="e1" source="n7" target="n5::n3::n0">
|
|
<data key="d10">
|
|
<y:PolyLineEdge>
|
|
<y:Path sx="-15.0" sy="-106.4667731712999" tx="0.0" ty="58.118431456466"/>
|
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
|
<y:Arrows source="none" target="standard"/>
|
|
<y:EdgeLabel alignment="center" backgroundColor="#F5F5F5" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="centered" modelPosition="center" preferredPlacement="center_on_edge" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="77.3828125" x="-38.691399102124024" xml:space="preserve" y="-65.32257134915403">PILL_GHOUL<y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" placement="center" side="on_edge" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
|
|
<y:BendStyle smoothed="false"/>
|
|
</y:PolyLineEdge>
|
|
</data>
|
|
</edge>
|
|
<edge id="e2" source="n7" target="n5::n1::n1">
|
|
<data key="d10">
|
|
<y:PolyLineEdge>
|
|
<y:Path sx="-110.46755268199229" sy="0.0" tx="-142.96875" ty="52.574270320197044">
|
|
<y:Point x="-505.585469452273" y="727.5271786131103"/>
|
|
<y:Point x="-505.585469452273" y="-40.47435256342153"/>
|
|
</y:Path>
|
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
|
<y:Arrows source="none" target="standard"/>
|
|
<y:EdgeLabel alignment="center" backgroundColor="#F5F5F5" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasLineColor="false" height="31.9375" horizontalTextPosition="center" iconTextGap="4" modelName="centered" modelPosition="center" preferredPlacement="center_on_edge" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="85.796875" x="-221.6353351749292" xml:space="preserve" y="-399.9694976196869">PILL_RESET/
|
|
Reset(me);<y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" placement="center" side="on_edge" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
|
|
<y:BendStyle smoothed="false"/>
|
|
</y:PolyLineEdge>
|
|
</data>
|
|
</edge>
|
|
<edge id="e3" source="n5" target="n7">
|
|
<data key="d10">
|
|
<y:PolyLineEdge>
|
|
<y:Path sx="-291.51979088402294" sy="480.1232627280425" tx="53.733776340996144" ty="-106.46324786324783"/>
|
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
|
<y:Arrows source="none" target="standard"/>
|
|
<y:EdgeLabel alignment="center" backgroundColor="#F5F5F5" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="centered" modelPosition="center" preferredPlacement="center_on_edge" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="64.005859375" x="-33.0125382517148" xml:space="preserve" y="-0.281096736945301">PILL_TEST<y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" placement="center" side="on_edge" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
|
|
<y:BendStyle smoothed="false"/>
|
|
</y:PolyLineEdge>
|
|
</data>
|
|
</edge>
|
|
<edge id="n5::n1::e6" source="n5::n1::n0" target="n5::n1::n1">
|
|
<data key="d10">
|
|
<y:PolyLineEdge>
|
|
<y:Path sx="-53.73508341280467" sy="-64.26928618234044" tx="137.67357157484764" ty="-43.990443157326446">
|
|
<y:Point x="204.12241379310353" y="-215.66120689655168"/>
|
|
<y:Point x="-78.66379310344826" y="-215.66120689655168"/>
|
|
</y:Path>
|
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
|
<y:Arrows source="none" target="standard"/>
|
|
<y:EdgeLabel alignment="center" backgroundColor="#FFFFFF" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasLineColor="false" height="31.9375" horizontalTextPosition="center" iconTextGap="4" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="402.42578125" x="-342.6060015448208" xml:space="preserve" y="-45.97508018756736">HEAL/
|
|
UpdateHP(me, me->CharHP + ((oregonPlayerQEvt*)e)->value);<y:LabelModel><y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/></y:LabelModel><y:ModelParameter><y:SmartEdgeLabelModelParameter angle="0.0" distance="11.113102188167746" distanceToCenter="false" position="center" ratio="0.5" segment="1"/></y:ModelParameter><y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
|
|
<y:BendStyle smoothed="false"/>
|
|
</y:PolyLineEdge>
|
|
</data>
|
|
</edge>
|
|
<edge id="n5::e3" source="n5::n4" target="n5::n5">
|
|
<data key="d10">
|
|
<y:PolyLineEdge>
|
|
<y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
|
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
|
<y:Arrows source="none" target="standard"/>
|
|
<y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="93.583984375" x="-76.79199784669845" xml:space="preserve" y="45.3083249412971">TEST_TRIGGER<y:LabelModel><y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/></y:LabelModel><y:ModelParameter><y:SmartEdgeLabelModelParameter angle="0.0" distance="30.0" distanceToCenter="true" position="right" ratio="0.5" segment="0"/></y:ModelParameter><y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
|
|
<y:BendStyle smoothed="false"/>
|
|
</y:PolyLineEdge>
|
|
</data>
|
|
</edge>
|
|
<edge id="n5::e4" source="n5::n5" target="n5::n3::n1">
|
|
<data key="d10">
|
|
<y:PolyLineEdge>
|
|
<y:Path sx="0.0" sy="0.0" tx="15.0" ty="-41.17262518564314"/>
|
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
|
<y:Arrows source="none" target="standard"/>
|
|
<y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="109.041015625" x="-84.52051347169845" xml:space="preserve" y="123.11053725607167">[me->CharHP>0]<y:LabelModel><y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/></y:LabelModel><y:ModelParameter><y:SmartEdgeLabelModelParameter angle="0.0" distance="30.0" distanceToCenter="true" position="right" ratio="0.5" segment="0"/></y:ModelParameter><y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
|
|
<y:BendStyle smoothed="false"/>
|
|
</y:PolyLineEdge>
|
|
</data>
|
|
</edge>
|
|
<edge id="n5::e5" source="n5::n5" target="n5::n1::n0">
|
|
<data key="d10">
|
|
<y:PolyLineEdge>
|
|
<y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
|
|
<y:LineStyle color="#000000" type="line" width="1.0"/>
|
|
<y:Arrows source="none" target="standard"/>
|
|
<y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="37.71484375" x="-135.81591365047325" xml:space="preserve" y="-73.32188037490403">[else]<y:LabelModel><y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/></y:LabelModel><y:ModelParameter><y:SmartEdgeLabelModelParameter angle="0.0" distance="30.0" distanceToCenter="true" position="center" ratio="0.5" segment="0"/></y:ModelParameter><y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
|
|
<y:BendStyle smoothed="false"/>
|
|
</y:PolyLineEdge>
|
|
</data>
|
|
</edge>
|
|
</graph>
|
|
<data key="d7">
|
|
<y:Resources/>
|
|
</data>
|
|
</graphml>
|