#include <algorithm>
#include <cassert>
#include <cstdio>
#include <filesystem>
#include <fstream>
#include <iostream>
#include <map>
#include <sstream>
#include <string>
#include <unordered_map>
#include <vector>
|
#define | BSWAP32(x) ((((x) >> 24) & 0xff) | (((x) >> 8) & 0xff00) | (((x) << 8) & 0xff0000) | (((x) << 24) & 0xff000000U)) |
|
#define | BSWAP16(x) ((((x) >> 8) & 0xff) | (((x) << 8) & 0xff00)) |
|
◆ BSWAP16
#define BSWAP16 |
( |
|
x | ) |
((((x) >> 8) & 0xff) | (((x) << 8) & 0xff00)) |
◆ BSWAP32
#define BSWAP32 |
( |
|
x | ) |
((((x) >> 24) & 0xff) | (((x) >> 8) & 0xff00) | (((x) << 8) & 0xff0000) | (((x) << 24) & 0xff000000U)) |
◆ u64
◆ u8
◆ compileAsset()
string compileAsset |
( |
const string & |
fname | ) |
|
◆ compileSoundData()
tuple<string, string, vector<string> > compileSoundData |
( |
const string & |
lang | ) |
|
◆ exec()
string exec |
( |
const string & |
cmd | ) |
|
◆ findCutPos()
◆ getPngSize()
◆ hashString()
◆ main()
◆ mio0_decompress()
string mio0_decompress |
( |
uint32_t * |
src | ) |
|
◆ readFile()
string readFile |
( |
const string & |
p, |
|
|
bool |
allowMissing = false |
|
) |
| |
◆ rollingHashes()
◆ stringMatches()
◆ CHUNK_SIZE
◆ LANGS
const vector<string> LANGS = {"jp", "us", "eu"} |
◆ OUTPUT_FILE