cxong / cdogs-sdl

Classic overhead run-and-gun game
https://cxong.github.io/cdogs-sdl/
GNU General Public License v2.0
868 stars 115 forks source link

Rename buttons in controls menu #789

Closed Kurtsley closed 1 year ago

Kurtsley commented 1 year ago

Addresses #725.

Renames button1 and button2 in the control menu to fire and switch/strafe for consistency. Had to rename these in the keyboard and prep files as well to resolve config errors.

Kurtsley commented 1 year ago

Good point, didn't think of that. This was much simpler in the end.

Kurtsley commented 1 year ago

Alright, I have tried this from a different angle. Each menu item in the controls menu is now getting it's name from a string that is provided instead of the string attached to the keycode.

cxong commented 1 year ago

Nice! I will test and merge afterwards