Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Various translation improvements | Y. Wang | 12 days |
| | |||
* | Rework translation system to use PO files | ywang | 12 days |
| | | | | | | | | | | | | | | | | | The French translations are provided by Tanavit. Unfortunately I was not able to keep this addition as a separate commit as the translation file was originally added as a .tr file that I then converted to .po file in the meantime. Also note that this commit is created from squashing 20+ commits from the l10n branch that preceded the transition to PO files. In addition to changes to the locale files (which were all included in the single commit for transitioning to PO files), these commits also included code that has now become obsolete for l10n work. In particular, it included a GUI program written in Tcl to edit .tr files; this program can now be found in the following repo: https://codeberg.org/y5nw/mt_tr_editor Co-authored-by: Tanavit <tanavit@posto.ovh> | ||
* | Remove pcall wrappers completely, add command to disable advtrains mainloop | orwell96 | 2021-02-10 |
| | |||
* | Delete train if it ends up off track, show a warning | Blockhead | 2020-03-03 |
| | |||
* | Save clipboard on item metadata | Blockhead | 2020-03-03 |
| | | | | Also a minor user feedback text cleanup | ||
* | Remove debugging print statements | Blockhead | 2020-03-03 |
| | |||
* | Draft copy tool | Blockhead | 2020-03-03 |
The copy tool copies a train to a global clipboard. It copies the Line number, Routing code, inside text and outside text. It copies the kinds of wagons in the train and whether they are flipped around. Pasting with the copy tool will conditionally flip the train such that 'your front' of the train, rather than the absolute front of the train, is what is output. The new train is oriented to travel forward with the placing player's view. Conditons are: - Multi-unit/push-pull train (= has locomotives on both ends): Never flipped - Locomotive-hauled train (= has one end with a locomotive): Flipped so that the locomotive is always at the front. If the locomotive points long hood forward, it will still point long hood forward. - Rake of wagons (= has no locomotives on ends): Flipped according to which end of the train the player copies from. If the player is towards the back (wagon out of train divded by total wagons > 0.5), then the back becomes the new front. If the player is towards the front, no change. |