rodecomp/Source/Client/Mode/ActiveGameMode.h
ragnarok-clanker 4f48baf914 Decompile 2 functions in Source/Client/ModeTransitions.cpp, Source/Client/Mode/ActiveGameMode.h
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
2026-10-28 19:44:21 +00:00

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