LostArtefacts / TR1X

Open source re-implementation of Tomb Raider 1 (1996), along with additional enhancements and bugfixes
https://lostartefacts.dev/
GNU General Public License v3.0
583 stars 36 forks source link

Add `/set` command #1387

Closed rr- closed 3 months ago

rr- commented 3 months ago

Checklist

Description

This PR makes some of the existing commands become redundant. For example, /vsync on is now the same /set vsync on. The first instinct is to remove these dupes, however, in most cases the usage would become more awkward: /wireframe on would have to become /set enable-wireframe on and /speed 2 would become /set turbo-speed 2. This is pretty wordy IMO. LMK your thoughts. Maybe we should introduce command aliases, but I'd make that a separate initiative.