diff options
Diffstat (limited to 'src/input_common/drivers/tas_input.h')
| -rw-r--r-- | src/input_common/drivers/tas_input.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/input_common/drivers/tas_input.h b/src/input_common/drivers/tas_input.h index 82dc9d616..bfb37a638 100644 --- a/src/input_common/drivers/tas_input.h +++ b/src/input_common/drivers/tas_input.h | |||
| @@ -138,21 +138,16 @@ private: | |||
| 138 | void LoadTasFiles(); | 138 | void LoadTasFiles(); |
| 139 | 139 | ||
| 140 | /** Loads TAS file from the specified player | 140 | /** Loads TAS file from the specified player |
| 141 | * @param player_index: player number where data is going to be stored | 141 | * @param player_index: player number to save the script |
| 142 | * @param file_index: script number of the file | ||
| 142 | */ | 143 | */ |
| 143 | void LoadTasFile(size_t player_index); | 144 | void LoadTasFile(size_t player_index, size_t file_index); |
| 144 | 145 | ||
| 145 | /** Writes a TAS file from the recorded commands | 146 | /** Writes a TAS file from the recorded commands |
| 146 | * @param file_name: name of the file to be written | 147 | * @param file_name: name of the file to be written |
| 147 | */ | 148 | */ |
| 148 | void WriteTasFile(std::u8string file_name); | 149 | void WriteTasFile(std::u8string file_name); |
| 149 | 150 | ||
| 150 | /** Inverts the Y axis polarity | ||
| 151 | * @param old: value of the axis | ||
| 152 | * @return new value of the axis | ||
| 153 | */ | ||
| 154 | TasAnalog FlipAxisY(TasAnalog old); | ||
| 155 | |||
| 156 | /** | 151 | /** |
| 157 | * Parses a string containing the axis values. X and Y have a range from -32767 to 32767 | 152 | * Parses a string containing the axis values. X and Y have a range from -32767 to 32767 |
| 158 | * @param line: string containing axis values with the following format "x;y" | 153 | * @param line: string containing axis values with the following format "x;y" |