#ifndef HOLESOME_CONFIG_H #define HOLESOME_CONFIG_H #include #include #include "game/input/input_device_group.h" #define DEVELOPER_MODE true // FPS #define FRAME_RATE 60 #define FRAME_TIME sf::Time(sf::seconds(1.0f / FRAME_RATE)) // Window settings #define ANTIALIASINGLEVEL 8 #define KEY_REPEAT_ENABLED false // Graphic settings #define ISOMETRIC_SKEW 0.3f #define WORLD_TO_ISO_SCALE 10.0f #define VIEW_DYNAMIC_FOLLOW_SPEED 2.f // Inputs #define JOYSTICK_DEADZONE 0.1f // Key groups const std::map> KEY_GROUPS = { {InputDeviceGroup::KEYBOARD_WASD, { sf::Keyboard::W, sf::Keyboard::A, sf::Keyboard::S, sf::Keyboard::D, sf::Keyboard::Q, sf::Keyboard::E } }, {InputDeviceGroup::KEYBOARD_ARROWS, { sf::Keyboard::Up, sf::Keyboard::Left, sf::Keyboard::Down, sf::Keyboard::Right, sf::Keyboard::RShift, sf::Keyboard::PageDown, sf::Keyboard::PageUp, sf::Keyboard::RControl, } }, {InputDeviceGroup::KEYBOARD_IJKL, { sf::Keyboard::I, sf::Keyboard::J, sf::Keyboard::K, sf::Keyboard::L, sf::Keyboard::U, sf::Keyboard::O } } }; // Directions #define DIRECTION_HARD_ACTIVATION_THRESHOLD 0.1f // DEBUG #define DB_ISOPLANE_CORNER_RADIUS 2 #endif //HOLESOME_CONFIG_H