1
0
mirror of synced 2025-02-25 22:38:07 +01:00

Fix config for camera movement

This commit is contained in:
KillzXGaming 2020-03-04 20:38:50 -05:00
parent 325a2fc548
commit a87a14d093
2 changed files with 7 additions and 1 deletions

View File

@ -128,7 +128,7 @@ In the event that the tool cannot compile, check references. All the libraries u
- Ac_K for ASTC decoder c# port from Ryujinx.
- pkNX and kwsch for Fnv hashing and useful pkmn code/structure references.
- Dragonation for useful code on the structure for some flatbuffers in pokemon switch
- mvitand Rei for help with gfpak hash strings and also research for formats.
- mvit and Rei for help with gfpak hash strings and also research for formats.
## Resources
- [TreeView Icons by icons8](https://icons8.com/)

View File

@ -303,6 +303,11 @@ namespace Toolbox.Library
Enum.TryParse(node.InnerText, out textFormat);
Runtime.ByamlEditor.TextFormat = textFormat;
break;
case "cameraMovement":
Runtime.CameraMovement cameraMovement;
Enum.TryParse(node.InnerText, out cameraMovement);
Runtime.cameraMovement = cameraMovement;
break;
}
}
@ -553,6 +558,7 @@ namespace Toolbox.Library
renderSettingsNode.AppendChild(createNode(doc, "bonePointSize", Runtime.bonePointSize.ToString()));
renderSettingsNode.AppendChild(createNode(doc, "MaxCameraSpeed", Runtime.MaxCameraSpeed.ToString()));
renderSettingsNode.AppendChild(createNode(doc, "FrameCamera", Runtime.FrameCamera.ToString()));
renderSettingsNode.AppendChild(createNode(doc, "cameraMovement", Runtime.cameraMovement.ToString()));
}
private static void AppendResourceTableSettings(XmlDocument doc, XmlNode parentNode)