Minor refactor

This commit is contained in:
MihailRis
2023-11-19 23:18:26 +03:00
parent 7ab69ebc1e
commit 41f9c51a27
4 changed files with 37 additions and 26 deletions
+1 -14
View File
@@ -2,8 +2,8 @@
#define DECLARATIONS_H
#include <iostream>
#include "core_defs.h"
#define BLOCK_AIR 0
#define BLOCK_DIRT 1
#define BLOCK_GRASS_BLOCK 2
#define BLOCK_LAMP 3
@@ -21,19 +21,6 @@
#define BLOCK_METAL 15
#define BLOCK_RUST 16
#define BIND_MOVE_FORWARD "movement.forward"
#define BIND_MOVE_BACK "movement.back"
#define BIND_MOVE_LEFT "movement.left"
#define BIND_MOVE_RIGHT "movement.right"
#define BIND_MOVE_JUMP "movement.jump"
#define BIND_MOVE_SPRINT "movement.sprint"
#define BIND_MOVE_CROUCH "movement.crouch"
#define BIND_MOVE_CHEAT "movement.cheat"
#define BIND_CAM_ZOOM "camera.zoom"
#define BIND_PLAYER_NOCLIP "player.noclip"
#define BIND_PLAYER_FLIGHT "player.flight"
#define BIND_HUD_INVENTORY "hud.inventory"
extern void setup_bindings();
extern void setup_definitions();