mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-31 01:15:48 -04:00
Added serverScript library
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
// ======================================================================
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user