mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 04:04:53 +01:00
Support achievements that are triggered automatically with stats.
The achievements config MUST be generated with the achievements_gen.py script.
This commit is contained in:
parent
3f8ce69b6d
commit
8695ea2dce
5 changed files with 151 additions and 76 deletions
|
|
@ -165,6 +165,12 @@ inline std::wstring utf8_decode(const std::string &str)
|
|||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
inline std::string ascii_to_lowercase(std::string data) {
|
||||
std::transform(data.begin(), data.end(), data.begin(),
|
||||
[](unsigned char c){ return std::tolower(c); });
|
||||
return data;
|
||||
}
|
||||
|
||||
// Other libs includes
|
||||
#include "../json/json.hpp"
|
||||
#include "../controller/gamepad.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue