devilutionX/Source/qol/common.h
Gleb Mazovetskiy 7e1fea6f76 clang-format all files in {Source,test}/
Also includes a few manual tweaks to comments and newlines for better results.

Co-authored-by: Anders Jenbo <anders@jenbo.dk>
2021-11-24 23:44:12 +01:00

25 lines
468 B
C++

/**
* @file common.h
*
* Common functions for QoL features
*/
#pragma once
#include <SDL.h>
namespace devilution {
struct Surface;
/**
* @brief Prints integer into buffer, using ',' as thousands separator.
* @param out Destination buffer
* @param n Number to print
* @return Address of first character after printed number
*/
char *PrintWithSeparator(char *out, int n);
void FreeQol();
void InitQol();
} // namespace devilution