Batch #1610 by eAthena: 0 byte-identical, 2 confirmed by peer review. - fn_17845 CWorld::Quit: logic confirmed by peer review - fn_17851 CWorld::Switch: logic confirmed by peer review Reviewed-by: ragnarok-clanker Adds to the build: Source/Client/ModeTransitions.cpp
21 lines
469 B
C
21 lines
469 B
C
#ifndef RAGNAROK_SOURCE_CLIENT_MODE_ACTIVEGAMEMODE_H
|
|
#define RAGNAROK_SOURCE_CLIENT_MODE_ACTIVEGAMEMODE_H
|
|
|
|
#include "Client/Mode/CMode.h"
|
|
|
|
struct CWorld {
|
|
/* 0000 */ int running;
|
|
/* 0004 */ CMode* gameMode;
|
|
/* 0008 */ unsigned char unknown_0008[0x28];
|
|
/* 0030 */ char nextModeName[0x28];
|
|
/* 0058 */ int state;
|
|
/* 005C */ int nextState;
|
|
|
|
CMode* ActiveGameMode();
|
|
void Quit();
|
|
void Switch(int mode, const char* name);
|
|
};
|
|
|
|
extern CWorld g_world;
|
|
|
|
#endif
|