Also includes a few manual tweaks to comments and newlines for better results. Co-authored-by: Anders Jenbo <anders@jenbo.dk>
25 lines
468 B
C++
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
|