-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TESTS: Add tests for waypoint position and orientation
The returned angle was negative the value in the toolset. I modified the check accordingly.
- Loading branch information
Showing
2 changed files
with
147 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="yes"?> | ||
<gff3 type="GIT"> | ||
<struct id="4294967295"> | ||
<list label="Encounter List"/> | ||
<list label="PlacedFXList"/> | ||
<list label="TreeList"/> | ||
<list label="StaticCameraList"/> | ||
<struct label="AreaProperties" id="0"> | ||
<sint32 label="AmbientSndNitVol">0</sint32> | ||
<sint32 label="MusicBattle">0</sint32> | ||
<sint32 label="MusicNight">0</sint32> | ||
<sint32 label="AmbientSndNight">0</sint32> | ||
<sint32 label="MusicDelay">500</sint32> | ||
<sint32 label="EnvAudio">0</sint32> | ||
<sint32 label="AmbientSndDayVol">0</sint32> | ||
<sint32 label="AmbientSndDay">0</sint32> | ||
<sint32 label="MusicDay">0</sint32> | ||
</struct> | ||
<list label="TreasureList"/> | ||
<list label="List"/> | ||
<list label="Creature List"/> | ||
<list label="LightList"/> | ||
<list label="StoreList"/> | ||
<list label="WaypointList"> | ||
<struct id="5"> | ||
<float label="ZPosition">0.000000</float> | ||
<data label="GUID">h9aPiiOz4kWOH9yAc89+pg==</data> | ||
<exostring label="Tag">mapnote1</exostring> | ||
<locstring label="LocalizedName" strref="14814"> | ||
<string language="0">Map Note 1</string> | ||
</locstring> | ||
<resref label="TemplateResRef">nw_mapnote001</resref> | ||
<float label="XOrientation">0.522690</float> | ||
<exostring label="LinkedTo"></exostring> | ||
<exostring label="Classification">{184337}</exostring> | ||
<locstring label="Description" strref="4294967295"/> | ||
<list label="VarTable"/> | ||
<struct label="Tintable" id="0"> | ||
<struct label="Tint" id="0"> | ||
<struct label="1" id="0"> | ||
<byte label="r">255</byte> | ||
<byte label="a">255</byte> | ||
<byte label="b">255</byte> | ||
<byte label="g">255</byte> | ||
</struct> | ||
<struct label="2" id="0"> | ||
<byte label="r">255</byte> | ||
<byte label="a">255</byte> | ||
<byte label="b">255</byte> | ||
<byte label="g">255</byte> | ||
</struct> | ||
<struct label="3" id="0"> | ||
<byte label="r">255</byte> | ||
<byte label="a">255</byte> | ||
<byte label="b">255</byte> | ||
<byte label="g">255</byte> | ||
</struct> | ||
</struct> | ||
</struct> | ||
<byte label="Stackable">0</byte> | ||
<float label="XPosition">6.743330</float> | ||
<locstring label="MapNote" strref="14815"> | ||
<string language="0">My note</string> | ||
</locstring> | ||
<float label="YPosition">4.819830</float> | ||
<byte label="HeightLock">0</byte> | ||
<byte label="MapNoteEnabled">1</byte> | ||
<float label="YOrientation">0.852520</float> | ||
<byte label="Appearance">0</byte> | ||
<byte label="HasMapNote">1</byte> | ||
<byte label="PositionLock">0</byte> | ||
</struct> | ||
<struct id="5"> | ||
<float label="ZPosition">0.000000</float> | ||
<data label="GUID">vzG3flnuL0CNLwWyjSt79Q==</data> | ||
<exostring label="Tag">waypoint1</exostring> | ||
<locstring label="LocalizedName" strref="14817"> | ||
<string language="0">Waypoint 1</string> | ||
</locstring> | ||
<resref label="TemplateResRef">nw_waypoint001</resref> | ||
<float label="XOrientation">-0.556360</float> | ||
<exostring label="LinkedTo"></exostring> | ||
<exostring label="Classification">{184337}</exostring> | ||
<locstring label="Description" strref="4294967295"/> | ||
<list label="VarTable"/> | ||
<struct label="Tintable" id="0"> | ||
<struct label="Tint" id="0"> | ||
<struct label="1" id="0"> | ||
<byte label="r">0</byte> | ||
<byte label="a">255</byte> | ||
<byte label="b">255</byte> | ||
<byte label="g">0</byte> | ||
</struct> | ||
<struct label="2" id="0"> | ||
<byte label="r">0</byte> | ||
<byte label="a">255</byte> | ||
<byte label="b">255</byte> | ||
<byte label="g">0</byte> | ||
</struct> | ||
<struct label="3" id="0"> | ||
<byte label="r">0</byte> | ||
<byte label="a">255</byte> | ||
<byte label="b">255</byte> | ||
<byte label="g">0</byte> | ||
</struct> | ||
</struct> | ||
</struct> | ||
<byte label="Stackable">0</byte> | ||
<float label="XPosition">3.913530</float> | ||
<locstring label="MapNote" strref="4294967295"/> | ||
<float label="YPosition">5.699420</float> | ||
<byte label="HeightLock">0</byte> | ||
<byte label="MapNoteEnabled">0</byte> | ||
<float label="YOrientation">0.830940</float> | ||
<byte label="Appearance">0</byte> | ||
<byte label="HasMapNote">0</byte> | ||
<byte label="PositionLock">0</byte> | ||
</struct> | ||
</list> | ||
<list label="Placeable List"/> | ||
<list label="SoundList"/> | ||
<list label="TriggerList"/> | ||
<list label="EnvironmentList"/> | ||
<list label="Door List"/> | ||
<list label="VarTable"/> | ||
</struct> | ||
</gff3> |