Compare commits
No commits in common. 'main' and 'NodesAndConnections' have entirely different histories.
main
...
NodesAndCo
@ -1 +0,0 @@
|
||||
NodeEditor.Core
|
||||
@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
|
||||
</project>
|
||||
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ContentModelUserStore">
|
||||
<attachedFolders />
|
||||
<explicitIncludes />
|
||||
<explicitExcludes />
|
||||
</component>
|
||||
</project>
|
||||
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="RIDER_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$/../.." />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ContentModelStore">
|
||||
<e p="C:\Users\Liam\AppData\Local\JetBrains\Rider2020.2\extResources" t="IncludeRecursive" />
|
||||
<e p="C:\Users\Liam\AppData\Local\JetBrains\Rider2020.2\resharper-host\Local\Transient\Rider\v202\SolutionCaches\_NodeEditor.-1699062794.00" t="ExcludeRecursive" />
|
||||
<e p="C:\Users\Liam\NodeEditor" t="IncludeRecursive">
|
||||
<e p=".gitignore" t="Include" />
|
||||
<e p="App.config" t="Include" />
|
||||
<e p="App.xaml" t="Include" />
|
||||
<e p="App.xaml.cs" t="Include" />
|
||||
<e p="bin" t="ExcludeRecursive" />
|
||||
<e p="Controls" t="Include">
|
||||
<e p="EditorCanvas.xaml" t="Include" />
|
||||
<e p="EditorCanvas.xaml.cs" t="Include" />
|
||||
<e p="Node.xaml" t="Include" />
|
||||
<e p="Node.xaml.cs" t="Include" />
|
||||
<e p="Path.xaml" t="Include" />
|
||||
<e p="Path.xaml.cs" t="Include" />
|
||||
</e>
|
||||
<e p="Extensions" t="Include">
|
||||
<e p="Direction.cs" t="Include" />
|
||||
<e p="MathExtensions.cs" t="Include" />
|
||||
<e p="Modes.cs" t="Include" />
|
||||
<e p="MouseExtensions.cs" t="Include" />
|
||||
<e p="ReadJSON.cs" t="Include" />
|
||||
<e p="SeaskipperCosts.cs" t="Include" />
|
||||
</e>
|
||||
<e p="main-map.png" t="Include" />
|
||||
<e p="MainWindow.xaml" t="Include" />
|
||||
<e p="MainWindow.xaml.cs" t="Include" />
|
||||
<e p="NodeEditor.csproj" t="IncludeRecursive" />
|
||||
<e p="NodeEditor.sln" t="IncludeFlat" />
|
||||
<e p="obj" t="ExcludeRecursive">
|
||||
<e p="Debug" t="Include">
|
||||
<e p="App.g.cs" t="Include" />
|
||||
<e p="Controls" t="Include">
|
||||
<e p="EditorCanvas.g.cs" t="Include" />
|
||||
<e p="Node.g.cs" t="Include" />
|
||||
<e p="Path.g.cs" t="Include" />
|
||||
</e>
|
||||
<e p="GeneratedInternalTypeHelper.g.cs" t="Include" />
|
||||
<e p="MainWindow.g.cs" t="Include" />
|
||||
</e>
|
||||
</e>
|
||||
<e p="packages" t="ExcludeRecursive" />
|
||||
<e p="Properties" t="Include">
|
||||
<e p="AssemblyInfo.cs" t="Include" />
|
||||
<e p="Resources.Designer.cs" t="Include" />
|
||||
<e p="Resources.resx" t="Include" />
|
||||
<e p="Settings.Designer.cs" t="Include" />
|
||||
<e p="Settings.settings" t="Include" />
|
||||
</e>
|
||||
<e p="Solution Items" t="Include" />
|
||||
</e>
|
||||
</component>
|
||||
</project>
|
||||
@ -0,0 +1,239 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="AutoGeneratedRunConfigurationManager">
|
||||
<projectFile>NodeEditor.csproj</projectFile>
|
||||
</component>
|
||||
<component name="BranchesTreeState">
|
||||
<expand>
|
||||
<path>
|
||||
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
||||
<item name="LOCAL_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
||||
<item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
||||
<item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
||||
<item name="GROUP_NODE:origin" type="e8cecc67:BranchNodeDescriptor" />
|
||||
</path>
|
||||
</expand>
|
||||
<select>
|
||||
<path>
|
||||
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
||||
<item name="LOCAL_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
||||
<item name="BRANCH:NodesAndConnections" type="e8cecc67:BranchNodeDescriptor" />
|
||||
</path>
|
||||
</select>
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="8d840f1a-4000-4390-ab3f-2383ed6434d5" name="Default Changelist" comment="Updated Paths with a direction enum, and added seaskipper costs enum">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/.idea.NodeEditor/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.NodeEditor/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Controls/Node.xaml" beforeDir="false" afterPath="$PROJECT_DIR$/Controls/Node.xaml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Controls/Node.xaml.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Controls/Node.xaml.cs" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||
</component>
|
||||
<component name="Git.Settings">
|
||||
<option name="RECENT_BRANCH_BY_REPOSITORY">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$" value="main" />
|
||||
</map>
|
||||
</option>
|
||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||
</component>
|
||||
<component name="HighlightingSettingsPerFile">
|
||||
<setting file="file://$PROJECT_DIR$/Controls/Node.xaml.cs" root0="FORCE_HIGHLIGHTING" />
|
||||
<setting file="file://$PROJECT_DIR$/Extensions/Modes.cs" root0="FORCE_HIGHLIGHTING" />
|
||||
</component>
|
||||
<component name="IdeDocumentHistory">
|
||||
<option name="CHANGED_PATHS">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/Controls/Path.xaml" />
|
||||
<option value="$PROJECT_DIR$/Extensions/Modes.cs" />
|
||||
<option value="$PROJECT_DIR$/Extensions/SeaskipperCosts.cs" />
|
||||
<option value="$PROJECT_DIR$/Extensions/Direction.cs" />
|
||||
<option value="$PROJECT_DIR$/Controls/Path.xaml.cs" />
|
||||
<option value="$PROJECT_DIR$/NodeEditor.csproj" />
|
||||
<option value="$PROJECT_DIR$/Controls/EditorCanvas.xaml.cs" />
|
||||
<option value="$PROJECT_DIR$/Controls/EditorCanvas.xaml" />
|
||||
<option value="$PROJECT_DIR$/Controls/Node.xaml" />
|
||||
<option value="$PROJECT_DIR$/Controls/Node.xaml.cs" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectId" id="1ltZq4ji537vQS7B5Q2SkaWibqc" />
|
||||
<component name="ProjectLevelVcsManager" settingsEditedManually="true">
|
||||
<ConfirmationsSetting value="2" id="Add" />
|
||||
</component>
|
||||
<component name="ProjectViewState">
|
||||
<option name="hideEmptyMiddlePackages" value="true" />
|
||||
<option name="showLibraryContents" value="true" />
|
||||
</component>
|
||||
<component name="PropertiesComponent">
|
||||
<property name="ASKED_SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
|
||||
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
|
||||
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
|
||||
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
|
||||
<property name="WebServerToolWindowFactoryState" value="false" />
|
||||
<property name="node.js.detected.package.eslint" value="true" />
|
||||
<property name="node.js.detected.package.tslint" value="true" />
|
||||
<property name="node.js.path.for.package.eslint" value="project" />
|
||||
<property name="node.js.path.for.package.tslint" value="project" />
|
||||
<property name="node.js.selected.package.eslint" value="(autodetect)" />
|
||||
<property name="node.js.selected.package.tslint" value="(autodetect)" />
|
||||
<property name="nodejs_package_manager_path" value="npm" />
|
||||
<property name="settings.editor.selected.configurable" value="ReSpellerSettingsId" />
|
||||
<property name="vue.rearranger.settings.migration" value="true" />
|
||||
</component>
|
||||
<component name="RunManager">
|
||||
<configuration name="NodeEditor" type="DotNetProject" factoryName=".NET Project">
|
||||
<option name="EXE_PATH" value="" />
|
||||
<option name="PROGRAM_PARAMETERS" value="" />
|
||||
<option name="WORKING_DIRECTORY" value="" />
|
||||
<option name="PASS_PARENT_ENVS" value="1" />
|
||||
<option name="USE_EXTERNAL_CONSOLE" value="0" />
|
||||
<option name="USE_MONO" value="0" />
|
||||
<option name="RUNTIME_ARGUMENTS" value="" />
|
||||
<option name="PROJECT_PATH" value="$PROJECT_DIR$/NodeEditor.csproj" />
|
||||
<option name="PROJECT_EXE_PATH_TRACKING" value="1" />
|
||||
<option name="PROJECT_ARGUMENTS_TRACKING" value="1" />
|
||||
<option name="PROJECT_WORKING_DIRECTORY_TRACKING" value="1" />
|
||||
<option name="PROJECT_KIND" value="Console" />
|
||||
<option name="PROJECT_TFM" value="" />
|
||||
<method v="2">
|
||||
<option name="Build" />
|
||||
</method>
|
||||
</configuration>
|
||||
</component>
|
||||
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
||||
<component name="TaskManager">
|
||||
<task active="true" id="Default" summary="Default task">
|
||||
<changelist id="8d840f1a-4000-4390-ab3f-2383ed6434d5" name="Default Changelist" comment="" />
|
||||
<created>1608418540783</created>
|
||||
<option name="number" value="Default" />
|
||||
<option name="presentableId" value="Default" />
|
||||
<updated>1608418540783</updated>
|
||||
<workItem from="1608418548513" duration="1911000" />
|
||||
<workItem from="1608578473230" duration="1904000" />
|
||||
<workItem from="1608581445298" duration="4238000" />
|
||||
<workItem from="1608585736986" duration="1797000" />
|
||||
</task>
|
||||
<task id="LOCAL-00001" summary="Added custom Node control">
|
||||
<created>1608580007149</created>
|
||||
<option name="number" value="00001" />
|
||||
<option name="presentableId" value="LOCAL-00001" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1608580007149</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00002" summary="Added Paths custom control and Modes enum.">
|
||||
<created>1608582666680</created>
|
||||
<option name="number" value="00002" />
|
||||
<option name="presentableId" value="LOCAL-00002" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1608582666680</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00003" summary="Updated Paths with a direction enum, and added seaskipper costs enum">
|
||||
<created>1608584795551</created>
|
||||
<option name="number" value="00003" />
|
||||
<option name="presentableId" value="LOCAL-00003" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1608584795551</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00004" summary="Hopefully fixed runtime identifiers stopping the program from running.">
|
||||
<created>1608585937903</created>
|
||||
<option name="number" value="00004" />
|
||||
<option name="presentableId" value="LOCAL-00004" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1608585937903</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="5" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
<option name="version" value="3" />
|
||||
</component>
|
||||
<component name="UnityProjectConfiguration" hasMinimizedUI="false" />
|
||||
<component name="UnityUnitTestConfiguration" currentTestLauncher="NUnit" />
|
||||
<component name="Vcs.Log.Tabs.Properties">
|
||||
<option name="TAB_STATES">
|
||||
<map>
|
||||
<entry key="MAIN">
|
||||
<value>
|
||||
<State>
|
||||
<option name="FILTERS">
|
||||
<map>
|
||||
<entry key="branch">
|
||||
<value>
|
||||
<list>
|
||||
<option value="NodesAndConnections" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
</State>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
<option name="RECENT_FILTERS">
|
||||
<map>
|
||||
<entry key="Branch">
|
||||
<value>
|
||||
<list>
|
||||
<RecentGroup>
|
||||
<option name="FILTER_VALUES">
|
||||
<option value="NodesAndConnections" />
|
||||
</option>
|
||||
</RecentGroup>
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
<option name="oldMeFiltersMigrated" value="true" />
|
||||
</component>
|
||||
<component name="VcsManagerConfiguration">
|
||||
<option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="true" />
|
||||
<MESSAGE value="Added custom Node control" />
|
||||
<MESSAGE value="Added Paths custom control and Modes enum." />
|
||||
<MESSAGE value="Updated Paths with a direction enum, and added seaskipper costs enum" />
|
||||
<MESSAGE value="Hopefully fixed runtime identifiers stopping the program from running." />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="Hopefully fixed runtime identifiers stopping the program from running." />
|
||||
</component>
|
||||
<component name="WindowStateProjectService">
|
||||
<state width="1877" height="320" key="GridCell.Tab.0.bottom" timestamp="1608598829102">
|
||||
<screen x="0" y="0" width="1920" height="1160" />
|
||||
</state>
|
||||
<state width="1877" height="320" key="GridCell.Tab.0.bottom/0.0.1920.1160@0.0.1920.1160" timestamp="1608598829102" />
|
||||
<state width="1877" height="320" key="GridCell.Tab.0.center" timestamp="1608598829102">
|
||||
<screen x="0" y="0" width="1920" height="1160" />
|
||||
</state>
|
||||
<state width="1877" height="320" key="GridCell.Tab.0.center/0.0.1920.1160@0.0.1920.1160" timestamp="1608598829102" />
|
||||
<state width="1877" height="320" key="GridCell.Tab.0.left" timestamp="1608598829102">
|
||||
<screen x="0" y="0" width="1920" height="1160" />
|
||||
</state>
|
||||
<state width="1877" height="320" key="GridCell.Tab.0.left/0.0.1920.1160@0.0.1920.1160" timestamp="1608598829102" />
|
||||
<state width="1877" height="320" key="GridCell.Tab.0.right" timestamp="1608598829102">
|
||||
<screen x="0" y="0" width="1920" height="1160" />
|
||||
</state>
|
||||
<state width="1877" height="320" key="GridCell.Tab.0.right/0.0.1920.1160@0.0.1920.1160" timestamp="1608598829102" />
|
||||
<state x="0" y="228" key="SettingsEditor" timestamp="1608586092924">
|
||||
<screen x="0" y="0" width="1920" height="1160" />
|
||||
</state>
|
||||
<state x="0" y="228" key="SettingsEditor/0.0.1920.1160@0.0.1920.1160" timestamp="1608586092924" />
|
||||
<state x="92" y="92" width="1736" height="976" key="VCS.FileHistoryDialog" timestamp="1608585366848">
|
||||
<screen x="0" y="0" width="1920" height="1160" />
|
||||
</state>
|
||||
<state x="92" y="92" width="1736" height="976" key="VCS.FileHistoryDialog/0.0.1920.1160@0.0.1920.1160" timestamp="1608585366848" />
|
||||
<state x="552" y="313" key="Vcs.Push.Dialog.v2" timestamp="1608585941128">
|
||||
<screen x="0" y="0" width="1920" height="1160" />
|
||||
</state>
|
||||
<state x="552" y="313" key="Vcs.Push.Dialog.v2/0.0.1920.1160@0.0.1920.1160" timestamp="1608585941128" />
|
||||
</component>
|
||||
</project>
|
||||
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
||||
@ -1,35 +0,0 @@
|
||||
{
|
||||
"$schema": "./data.schema.json",
|
||||
"A": {
|
||||
"name": "Nemract",
|
||||
"walk_connections": {
|
||||
"B": {
|
||||
"distance": 100,
|
||||
"terrain_level": 10,
|
||||
"weight": 1
|
||||
}
|
||||
},
|
||||
"x": 100,
|
||||
"y": 100,
|
||||
"qt_connections": {
|
||||
"C": {
|
||||
"cost": 100,
|
||||
"mode": "seaskipper",
|
||||
"unlock_lvl": 10
|
||||
}
|
||||
}
|
||||
},
|
||||
"B":{
|
||||
"name": "Llevagar",
|
||||
"description": "Description",
|
||||
"x": 10,
|
||||
"y": 111,
|
||||
"walk_connections": {
|
||||
"A": {
|
||||
"distance": 111,
|
||||
"terrain_level": 11,
|
||||
"weight": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,99 +0,0 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/map_node"
|
||||
},
|
||||
"propertyNames": {
|
||||
"$ref": "#/definitions/node_name_regex"
|
||||
},
|
||||
|
||||
"definitions": {
|
||||
"node_name_regex": {
|
||||
"type": "string",
|
||||
"pattern": "[\\w]+"
|
||||
},
|
||||
"map_node": {
|
||||
"properties": {
|
||||
"x": {
|
||||
"description": "The x coordinate.",
|
||||
"type": "integer"
|
||||
},
|
||||
"y": {
|
||||
"description": "The y coordinate.",
|
||||
"type": "integer"
|
||||
},
|
||||
"name": {
|
||||
"description": "Human-readable name.",
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"description": "Description of node, if needed.",
|
||||
"type": "string"
|
||||
},
|
||||
"qt_connections": {
|
||||
"description": "List of connected nodes",
|
||||
"additionalProperties": { "$ref": "#/definitions/qt_connection" },
|
||||
"propertyNames": {
|
||||
"$ref": "#/definitions/node_name_regex"
|
||||
}
|
||||
},
|
||||
"walk_connections": {
|
||||
"description": "List of connected nodes",
|
||||
"additionalProperties": { "$ref": "#/definitions/walk_connection" },
|
||||
"propertyNames": {
|
||||
"$ref": "#/definitions/node_name_regex"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["x", "y", "name", "walk_connections"],
|
||||
"additionalItems": false
|
||||
},
|
||||
"qt_connection": {
|
||||
"$comment": "A quick-travel conenction between nodes that should be evaluated first.",
|
||||
"properties": {
|
||||
"mode": {
|
||||
"description": "The mode of the fast travel method.",
|
||||
"enum": ["mageisland", "seaskipper", "tunnels", "skyship", "elevator"]
|
||||
},
|
||||
"cost": {
|
||||
"description": "The cost in emeralds of this route",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"unlock_lvl": {
|
||||
"description": "The level this fast travel is unlocked at",
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 110
|
||||
}
|
||||
},
|
||||
"required": ["mode", "cost", "unlock_lvl"],
|
||||
"additionalItems": false
|
||||
},
|
||||
"walk_connection": {
|
||||
"$comment": "A walking connection between two nodes",
|
||||
"properties": {
|
||||
"distance": {
|
||||
"description": "The better disnance between two nodes, not necisarily as the crow flies. Should be used in the a* calc for distance back.",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"weight": {
|
||||
"description": "Weight value used to modulate the distance based on passability",
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"default": 1
|
||||
},
|
||||
"terrain_level": {
|
||||
"description": "The highest level of the terain this connection passes through",
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 110
|
||||
}
|
||||
},
|
||||
"required": ["distance", "weight", "terrain_level"],
|
||||
"additionalItems": false
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue