You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
537 B
20 lines
537 B
/** |
|
* @file floatingnumbers.h |
|
* |
|
* Adds floating numbers QoL feature |
|
*/ |
|
#pragma once |
|
|
|
#include "engine/point.hpp" |
|
#include "monster.h" |
|
#include "player.h" |
|
#include "tables/misdat.h" |
|
|
|
namespace devilution { |
|
|
|
void AddFloatingNumber(DamageType damageType, const Monster &monster, int damage); |
|
void AddFloatingNumber(DamageType damageType, const Player &player, int damage); |
|
void DrawFloatingNumbers(const Surface &out, Point viewPosition, Displacement offset); |
|
void ClearFloatingNumbers(); |
|
|
|
} // namespace devilution
|
|
|