<commit_before>/* Copyright (c) 2017 Wenova - Rise of Conuerors. All rights reserved.
 *
 * This work is licensed under the terms of the MIT license.

 * For a copy, see <https://opensource.org/licenses/MIT>.
 */
/**
 * @file Blood.cpp
 * This file contains the definition of the Blood class methods.
 */

#include "Blood.h"
#include "Game.h"
#include "HealEffect.h"
#include "UltimateEffect.h"

#define CROUCH_COOLDOWN 50.0
#define BLOOD_SKIN_PATH "characters/blood/"
#define SOUND_PATH "characters/blood/sound/"
#define IDLE_IMAGE "idle.png"
#define RUNNING_IMAGE "running.png"
#define JUMPING_IMAGE "jumping.png"
#define FALLING_IMAGE "falling.png"
#define CROUCH_IMAGE "crouch.png"
#define IDLE_ATK_NEUTRAL_1_IMAGE "idle_atk_neutral_1.png"
#define IDLE_ATK_NEUTRAL_2_IMAGE "idle_atk_neutral_2.png"
#define IDLE_ATK_NEUTRAL_3_IMAGE "idle_atk_neutral_3.png"
#define IDLE_ATK_FRONT_IMAGE "idle_atk_front.png"
#define IDLE_ATK_UP_IMAGE "idle_atk_up.png"
#define IDLE_ATK_DOWN_IMAGE "idle_atk_down.png"
#define CROUCH_ATK_IMAGE "crouch_atk.png"
#define JUMP_ATK_DOWN_IMAGE "jump_atk_down.png"
#define JUMP_ATK_NEUTRAL_IMAGE "jump_atk_neutral.png"
#define JUMP_ATK_UP_IMAGE "jump_atk_up.png"
#define DEFENDING_IMAGE "defending.png"
#define STUNNED_IMAGE "stunned.png"
#define SPECIAL_1_1_IMAGE "special_1_1.png"
#define SPECIAL_1_2_IMAGE "SPECIAL_1_2.png"
#define SPECIAL_2_IMAGE "special_2.png"
#define DYING_IMAGE "dying.png"
#define HEAL_EFFECT_IMAGE_PATH "characters/blood/heal_effect.png"
#define ULTIMATE_EFFECT_IMAGE "ult_effect.png"
#define AURA_IMAGE "aura.png"

#define JUMP_SOUND "jump.ogg"
#define ATTACK_1_SOUND "attack_1.ogg"
#define ATTACK_2_SOUND "attack_2.ogg"
#define SLASH_SOUND "slash.ogg" 
#define IDLE_ATK_DOWN_SOUND "idle_atk_down.ogg" 
#define SPECIAL_1_1_SOUND "special_1_1.ogg"
#define SPECIAL_1_2_SOUND "special_1_2.ogg"
#define HEAL_SOUND "heal.ogg"
#define ULTIMATE_SOUND "ultimate.ogg"
#define LAND_SOUND "land.ogg"
#define HIT_SLASH_SOUND "hit_slash.ogg"
#define HIT_1_SOUND "hit_1.ogg"
#define HIT_2_SOUND "hit_2.ogg"
#define HIT_3_SOUND "hit_3.ogg"

#define DYING_TAG "dying"
#define STOPPED 0
#include <algorithm>

using std::min;

/**
 * The constructor.<commit_msg>Fix file name in constant declaration<commit_after>/* Copyright (c) 2017 Wenova - Rise of Conuerors. All rights reserved.
 *
 * This work is licensed under the terms of the MIT license.

 * For a copy, see <https://opensource.org/licenses/MIT>.
 */
/**
 * @file Blood.cpp
 * This file contains the definition of the Blood class methods.
 */

#include "Blood.h"
#include "Game.h"
#include "HealEffect.h"
#include "UltimateEffect.h"

#define CROUCH_COOLDOWN 50.0
#define BLOOD_SKIN_PATH "characters/blood/"
#define SOUND_PATH "characters/blood/sound/"
#define IDLE_IMAGE "idle.png"
#define RUNNING_IMAGE "running.png"
#define JUMPING_IMAGE "jumping.png"
#define FALLING_IMAGE "falling.png"
#define CROUCH_IMAGE "crouch.png"
#define IDLE_ATK_NEUTRAL_1_IMAGE "idle_atk_neutral_1.png"
#define IDLE_ATK_NEUTRAL_2_IMAGE "idle_atk_neutral_2.png"
#define IDLE_ATK_NEUTRAL_3_IMAGE "idle_atk_neutral_3.png"
#define IDLE_ATK_FRONT_IMAGE "idle_atk_front.png"
#define IDLE_ATK_UP_IMAGE "idle_atk_up.png"
#define IDLE_ATK_DOWN_IMAGE "idle_atk_down.png"
#define CROUCH_ATK_IMAGE "crouch_atk.png"
#define JUMP_ATK_DOWN_IMAGE "jump_atk_down.png"
#define JUMP_ATK_NEUTRAL_IMAGE "jump_atk_neutral.png"
#define JUMP_ATK_UP_IMAGE "jump_atk_up.png"
#define DEFENDING_IMAGE "defending.png"
#define STUNNED_IMAGE "stunned.png"
#define SPECIAL_1_1_IMAGE "special_1_1.png"
#define SPECIAL_1_2_IMAGE "special_1_2.png"
#define SPECIAL_2_IMAGE "special_2.png"
#define DYING_IMAGE "dying.png"
#define HEAL_EFFECT_IMAGE_PATH "characters/blood/heal_effect.png"
#define ULTIMATE_EFFECT_IMAGE "ult_effect.png"
#define AURA_IMAGE "aura.png"

#define JUMP_SOUND "jump.ogg"
#define ATTACK_1_SOUND "attack_1.ogg"
#define ATTACK_2_SOUND "attack_2.ogg"
#define SLASH_SOUND "slash.ogg" 
#define IDLE_ATK_DOWN_SOUND "idle_atk_down.ogg" 
#define SPECIAL_1_1_SOUND "special_1_1.ogg"
#define SPECIAL_1_2_SOUND "special_1_2.ogg"
#define HEAL_SOUND "heal.ogg"
#define ULTIMATE_SOUND "ultimate.ogg"
#define LAND_SOUND "land.ogg"
#define HIT_SLASH_SOUND "hit_slash.ogg"
#define HIT_1_SOUND "hit_1.ogg"
#define HIT_2_SOUND "hit_2.ogg"
#define HIT_3_SOUND "hit_3.ogg"

#define DYING_TAG "dying"
#define STOPPED 0
#include <algorithm>

using std::min;

/**
 * The constructor.
{'fraction_non_alphanumeric': 0.10583446404341927, 'fraction_numerical': 0.018995929443690638, 'mean_word_length': 6.898214285714285, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '565376', 'n_tokens_mistral': 1922, 'n_tokens_neox': 1839, 'n_words': 368}