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.
|
|
|
|
/**
|
|
|
|
|
* @file common.h
|
|
|
|
|
*
|
|
|
|
|
* Common functions for QoL features
|
|
|
|
|
*/
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <SDL.h>
|
|
|
|
|
|
|
|
|
|
namespace devilution {
|
|
|
|
|
|
|
|
|
|
struct CelOutputBuffer;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @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, long long n);
|
|
|
|
|
|
|
|
|
|
void FreeQol();
|
|
|
|
|
void InitQol();
|
|
|
|
|
|
|
|
|
|
} // namespace devilution
|