Skip to content

Commit

Permalink
console/cmd: make /set do fuzzy matching
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- committed Sep 30, 2024
1 parent 071aff3 commit d4a3c96
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- added `/nextlevel` alias to `/endlevel` console command
- added `/quit` alias to `/exit` console command
- changed the easter egg console command to pack more punch
- changed `/set` console command to do fuzzy matching (LostArtefacts/libtrx#38)
- fixed console caret position off by a couple of pixels (regression from 3.0)
- fixed holding a key when closing the console registering as a game input (regression from 3.0)
- fixed ability to crash the game with extreme FOV values (regression from 0.9)
Expand Down
2 changes: 2 additions & 0 deletions data/ship/cfg/TR1X_gameflow.json5
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,8 @@
"MISC_EMPTY_SLOT_FMT": "- EMPTY SLOT %d -",
"MISC_OFF": "Off",
"MISC_ON": "On",
"OSD_AMBIGUOUS_INPUT_2": "Ambiguous input: %s and %s",
"OSD_AMBIGUOUS_INPUT_3": "Ambiguous input: %s, %s, ...",
"OSD_COMMAND_BAD_INVOCATION": "Invalid invocation: %s",
"OSD_COMMAND_UNAVAILABLE": "This command is not currently available",
"OSD_COMPLETE_LEVEL": "Level complete!",
Expand Down
2 changes: 2 additions & 0 deletions data/ship/cfg/TR1X_gameflow_demo_pc.json5
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@
"MISC_EMPTY_SLOT_FMT": "- EMPTY SLOT %d -",
"MISC_OFF": "Off",
"MISC_ON": "On",
"OSD_AMBIGUOUS_INPUT_2": "Ambiguous input: %s and %s",
"OSD_AMBIGUOUS_INPUT_3": "Ambiguous input: %s, %s, ...",
"OSD_COMMAND_BAD_INVOCATION": "Invalid invocation: %s",
"OSD_COMMAND_UNAVAILABLE": "This command is not currently available",
"OSD_COMPLETE_LEVEL": "Level complete!",
Expand Down
2 changes: 2 additions & 0 deletions data/ship/cfg/TR1X_gameflow_ub.json5
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@
"MISC_EMPTY_SLOT_FMT": "- EMPTY SLOT %d -",
"MISC_OFF": "Off",
"MISC_ON": "On",
"OSD_AMBIGUOUS_INPUT_2": "Ambiguous input: %s and %s",
"OSD_AMBIGUOUS_INPUT_3": "Ambiguous input: %s, %s, ...",
"OSD_COMMAND_BAD_INVOCATION": "Invalid invocation: %s",
"OSD_COMMAND_UNAVAILABLE": "This command is not currently available",
"OSD_COMPLETE_LEVEL": "Level complete!",
Expand Down
2 changes: 1 addition & 1 deletion subprojects/libtrx

0 comments on commit d4a3c96

Please sign in to comment.