Converted const.txt to YAML (#6187)

* Converts the Constant Tables file into YAML.
* Includes CSV2YAML converter.

Co-authored-by: Aleos <aleos89@users.noreply.github.com>
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
This commit is contained in:
Atemo
2021-08-27 23:54:31 +02:00
committed by GitHub
parent 72aafdadea
commit fe7cb5a33f
16 changed files with 186 additions and 86 deletions

View File

@@ -2674,7 +2674,7 @@ static void npc_parsename(struct npc_data* nd, const char* name, const char* sta
*/
int npc_parseview(const char* w4, const char* start, const char* buffer, const char* filepath) {
int i = 0;
char viewid[1024]; // Max size of name from const.txt, see read_constdb.
char viewid[1024]; // Max size of name from const.yml, see ConstantDatabase::parseBodyNode.
// Extract view ID / constant
while (w4[i] != '\0') {