MortenTobiasNielsen / Factorio-TAS-Generator

This is an attempt to create a helper tool for Tool Assisted Speedruns in Factorio. A guide of how to use the tool can be found here: https://www.youtube.com/watch?v=V9tuNoDqc0E&t
MIT License
13 stars 4 forks source link

Walk panel #322

Closed theis999 closed 1 year ago

theis999 commented 1 year ago

Added a panel to the control bar, which simplifies creating walking steps.

image

The code is relatively contained to just one new file "WalkPanel.cpp". With one the exception to cMain's constructor, where the unicode character is set again because wx being weird.

This works in fairly simple manner, it appends a walk step to the end the list. Except it skips a few control step types (idle, pause, stop). It scans the list for the most recent walk step and uses that as it's base for the new walk step. The number spinner can be used to control how large walking steps you want within the range of [0.001 - 9.999], i expect most of the time users will set it to 1, 2 or 3 as that fits buildings.