mojo_client/src/Client/GUI/SceneData.h
false_genesis 76ebbe5cf3 * rewrote the SCP data storage. note that all database files must now be placed in a directory added with "AddDBPath <path>" and must contain a #dbname tag. the db now converts SCP (text) to SCC (binary) files, which increases access speed a lot. also less RAM used in most cases.
* replaced "LoadSCP" func with "LoadDB <dbname>" (different syntax!); removed all other scp db related funcs except "getscpvalue"
* the GUI can now show texts stored in databases
* added displaying status to SceneLogin
* misc fixes/cleanups
2008-04-19 23:45:37 +00:00

35 lines
828 B
C

#ifndef SCENEDATA_H
#define SCENEDATA_H
#define SCENEDATA_SIZE 255
// I: index, enums should start with 1
// D: data value
// dummy indexes are used to keep space for misc text data in an SCP file
enum SceneLoginDataIndexes
{
ISCENE_LOGIN_CONN_STATUS = 1,
ISCENE_LOGIN_MSGBOX_DUMMY = 2,
ISCENE_LOGIN_END = 3
};
enum SceneLoginConnStatus
{
DSCENE_LOGIN_NOT_CONNECTED = 0,
DSCENE_LOGIN_CONN_ATTEMPT = 1,
DSCENE_LOGIN_CONN_FAILED = 2,
DSCENE_LOGIN_ACC_NOT_FOUND = 3,
DSCENE_LOGIN_ALREADY_CONNECTED = 4,
DSCENE_LOGIN_WRONG_VERSION = 5,
DSCENE_LOGIN_LOGGING_IN = 6,
DSCENE_LOGIN_AUTHENTICATING = 7,
DSCENE_LOGIN_AUTH_FAILED = 8,
DSCENE_LOGIN_REQ_REALM = 9,
DSCENE_LOGIN_UNK_ERROR = 10,
DSCENE_LOGIN_FILE_TRANSFER = 11,
};
#endif