Fixed ASCII and cli rendering

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2026-03-16 15:26:10 +01:00
parent 9410916b57
commit fdfe5d336f
4 changed files with 109 additions and 13 deletions

View File

@@ -20,8 +20,9 @@ class CliInput extends Wolf3dInput {
if (char == 'a') _pLeft = true;
if (char == 'd') _pRight = true;
if (char == 'f' || char == ' ') _pFire = true;
if (char == 'e') _pInteract = true;
// --- NEW MAPPINGS ---
if (char == 'j') _pFire = true;
if (char == ' ') _pInteract = true;
if (char == '1') _pWeapon = WeaponType.knife;
if (char == '2') _pWeapon = WeaponType.pistol;