2021-10-12 17:12:47 +03:00
|
|
|
//
|
|
|
|
// Created by Иван Ильин on 10.10.2021.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef SHOOTER_SHOOTERCONSTS_H
|
|
|
|
#define SHOOTER_SHOOTERCONSTS_H
|
|
|
|
|
|
|
|
namespace ShooterConsts {
|
|
|
|
const double GRAVITY = 35;
|
2021-10-16 20:22:55 +03:00
|
|
|
const double HEALTH_MAX = 100;
|
|
|
|
const double ABILITY_MAX = 10;
|
|
|
|
const double JUMP_HEIGHT = 3;
|
|
|
|
const double WALK_SPEED = 10;
|
|
|
|
const double MOUSE_SENSITIVITY = 1.0 / 1000.0;
|
|
|
|
const double SLOW_MO_COEFFICIENT = 5;
|
|
|
|
const double FIRE_DISTANCE = 1000;
|
2021-10-26 09:40:35 +03:00
|
|
|
const double BONUS_RECHARGE_TIME = 30;
|
2021-10-12 17:12:47 +03:00
|
|
|
|
2021-10-26 09:40:35 +03:00
|
|
|
const std::string PLAYER_NAME = "Player";
|
2021-10-16 20:22:55 +03:00
|
|
|
const std::string PROJECT_NAME = "Shooter";
|
|
|
|
|
2022-07-19 12:57:09 +03:00
|
|
|
const std::string ABILITY_OBJ = "obj/items/ability.obj";
|
|
|
|
const std::string HILL_OBJ = "obj/items/hill.obj";
|
|
|
|
const std::string GUN_OBJ = "obj/items/gun.obj";
|
2021-10-16 20:22:55 +03:00
|
|
|
const std::string GUN_FIRE_SOUND = "sound/weapons/gun.ogg";
|
|
|
|
const std::string GUN_RELOAD_SOUND = "sound/weapons/reload_gun.ogg";
|
2022-07-19 12:57:09 +03:00
|
|
|
const std::string AK47_OBJ = "obj/items/ak47.obj";
|
2021-10-16 20:22:55 +03:00
|
|
|
const std::string AK47_FIRE_SOUND = "sound/weapons/ak47.ogg";
|
|
|
|
const std::string AK47_RELOAD_SOUND = "sound/weapons/reload_ak47.ogg";
|
2022-07-19 12:57:09 +03:00
|
|
|
const std::string GOLD_AK47_OBJ = "obj/items/gold_ak47.obj";
|
2021-10-16 20:22:55 +03:00
|
|
|
const std::string GOLD_AK47_FIRE_SOUND = "sound/weapons/ak47.ogg";
|
|
|
|
const std::string GOLD_AK47_RELOAD_SOUND = "sound/weapons/reload_ak47.ogg";
|
2022-07-19 12:57:09 +03:00
|
|
|
const std::string RIFLE_OBJ = "obj/items/rifle.obj";
|
2021-10-16 20:22:55 +03:00
|
|
|
const std::string RIFLE_FIRE_SOUND = "sound/weapons/shotgun.ogg";
|
|
|
|
const std::string RIFLE_RELOAD_SOUND = "sound/weapons/reload_ak47.ogg";
|
2022-07-19 12:57:09 +03:00
|
|
|
const std::string SHOTGUN_OBJ = "obj/items/shotgun.obj";
|
2021-10-16 20:22:55 +03:00
|
|
|
const std::string SHOTGUN_FIRE_SOUND = "sound/weapons/shotgun.ogg";
|
|
|
|
const std::string SHOTGUN_RELOAD_SOUND = "sound/weapons/reload_shotgun.ogg";
|
|
|
|
|
2022-07-19 12:57:09 +03:00
|
|
|
const std::string CUBE_OBJ = "obj/other/cube.obj";
|
|
|
|
const std::string MAP_OBJ = "obj/maps/map1.obj";
|
|
|
|
const std::string BIG_MAP_OBJ = "obj/maps/map2.obj";
|
|
|
|
const std::string SIMPLE_MAP_OBJ = "obj/maps/map_simple.obj";
|
|
|
|
const std::string PLANE_MAP_OBJ = "obj/maps/plane.obj";
|
2021-10-16 20:22:55 +03:00
|
|
|
const std::string MAIN_MENU_BACK = "textures/back.png";
|
|
|
|
const std::string MAIN_MENU_GUI = "textures/gui.png";
|
|
|
|
|
2021-11-06 22:11:06 +03:00
|
|
|
const std::string HEAD_OBJ = "obj/man/head.obj";
|
|
|
|
const std::string BODY_OBJ = "obj/man/body.obj";
|
|
|
|
const std::string FOOT_OBJ = "obj/man/foot.obj";
|
|
|
|
|
2021-10-16 20:22:55 +03:00
|
|
|
const std::string CLICK_SOUND = "sound/click.ogg";
|
|
|
|
const std::string BACK_NOISE = "sound/backNoise.ogg";
|
|
|
|
const std::string CHANGE_WEAPON_SOUND = "sound/weapons/change_weapon.ogg";
|
|
|
|
const std::string RESTORE_HEALTH_SOUND = "sound/fullHealth.ogg";
|
|
|
|
const std::string RESTORE_ABILITY_SOUND = "sound/fullAbility.ogg";
|
|
|
|
const std::string KILL_SOUND = "sound/kill.ogg";
|
|
|
|
const std::string DEATH_SOUND = "sound/classic_hurt.ogg";
|
|
|
|
const std::string SLOW_MO_SOUND = "sound/slow_mo.ogg";
|
|
|
|
const std::string UN_SLOW_MO_SOUND = "sound/unslow_mo.ogg";
|
|
|
|
const std::string NO_AMMO_SOUND = "sound/weapons/no_ammo.ogg";
|
2021-10-12 17:12:47 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif //SHOOTER_SHOOTERCONSTS_H
|