base init

This commit is contained in:
d1str4ught
2025-08-18 00:36:52 +02:00
parent cff3015742
commit 4e679320a3
527 changed files with 199969 additions and 0 deletions

17
src/game/version.cpp Normal file
View File

@@ -0,0 +1,17 @@
#include <stdio.h>
void WriteVersion()
{
#ifndef __WIN32__
FILE* fp = fopen("version.txt", "w");
if (fp)
{
fprintf(fp, "game revision: 40250");
//fprintf(fp, "game revision: %s\n", __SVN_VERSION__);
//fprintf(fp, "%s@%s:%s\n", __USER__, __HOSTNAME__, __PWD__);
fclose(fp);
}
#endif
}