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.
21 lines
530 B
21 lines
530 B
|
3 years ago
|
/**
|
||
|
|
* @file floatingnumbers.h
|
||
|
|
*
|
||
|
|
* Adds floating numbers QoL feature
|
||
|
|
*/
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "engine/point.hpp"
|
||
|
|
#include "misdat.h"
|
||
|
|
#include "monster.h"
|
||
|
|
#include "player.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
|