return program.program_title;
}
+char *getVersionString(VersionType version)
+{
+ // this function can be called up to ten times before version string gets overwritten
+ static char version_string_array[10][32];
+ static int version_string_nr = 0;
+ char *version_string = version_string_array[version_string_nr];
+
+ version_string_nr = (version_string_nr + 1) % 10;
+
+ sprintf(version_string, "%d.%d.%d.%d",
+ VERSION_PART_1(version),
+ VERSION_PART_2(version),
+ VERSION_PART_3(version),
+ VERSION_PART_4(version));
+
+ return version_string;
+}
+
char *getProgramRealVersionString(void)
{
static char program_version_string[32];
char *getSourceDateString(void);
char *getSourceHashString(void);
char *getProgramTitleString(void);
+char *getVersionString(VersionType);
char *getProgramRealVersionString(void);
char *getProgramVersionString(void);
char *getProgramPlatformString(void);
#include "tape.h"
#include "anim.h"
#include "network.h"
+#include "config.h"
#define DEBUG_EVENTS 0
}
-// ============================================================================
-// version functions
-// ============================================================================
-
-char *getVersionString(VersionType version)
-{
- // this function can be called up to ten times before version string gets overwritten
- static char version_string_array[10][32];
- static int version_string_nr = 0;
- char *version_string = version_string_array[version_string_nr];
-
- version_string_nr = (version_string_nr + 1) % 10;
-
- sprintf(version_string, "%d.%d.%d.%d",
- VERSION_PART_1(version),
- VERSION_PART_2(version),
- VERSION_PART_3(version),
- VERSION_PART_4(version));
-
- return version_string;
-}
-
// ============================================================================
// Emscripten functions
// ============================================================================
boolean CheckJoystickOpened(int);
void ClearJoystickState(void);
-char *getVersionString(VersionType);
-
void InitEmscriptenFilesystem(void);
void SyncEmscriptenFilesystem(void);