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.
25 lines
464 B
25 lines
464 B
/** |
|
* @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
|
|
|