mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-31 01:15:48 -04:00
49 lines
1.0 KiB
C++
Executable File
49 lines
1.0 KiB
C++
Executable File
// ======================================================================
|
|
//
|
|
// SetupScript.h
|
|
// copyright 1998 Bootprint Entertainment
|
|
//
|
|
// ======================================================================
|
|
|
|
#ifndef INCLUDED_SETUPSCRIPT_H
|
|
#define INCLUDED_SETUPSCRIPT_H
|
|
|
|
// ======================================================================
|
|
|
|
class SetupScript
|
|
{
|
|
private:
|
|
|
|
// **** INCREMENT THIS VERSION NUMBER WHENEVER THIS STRUCT CHANAGES ****
|
|
|
|
// This enum is private so that a game can't use it directly. If the
|
|
// struct changes, the game programmers should be forced to look at the
|
|
// changes and update their data and version number manually.
|
|
|
|
enum
|
|
{
|
|
DATA_VERSION = 0
|
|
};
|
|
|
|
public:
|
|
|
|
struct Data
|
|
{
|
|
int version;
|
|
|
|
// script data
|
|
bool useRemoteDebugJava; // flag to use the jvm for remote debugging
|
|
};
|
|
|
|
public:
|
|
|
|
static void setupDefaultGameData(Data &data);
|
|
|
|
static void install();
|
|
static void remove(void);
|
|
};
|
|
|
|
// ======================================================================
|
|
|
|
#endif
|