Program Enums

From sc2k-reverse
Jump to navigationJump to search

This page will list various enums that are either contained within the current fix library or will assist during the RE process (upon the sections in question being encountered).

OnIdle / GameDoIdleUpkeep

Main:

enum {
	ONIDLE_STATE_INGAME = -1,
	ONIDLE_STATE_NONE,
	ONIDLE_STATE_DISPLAYMAXIS,
	ONIDLE_STATE_WAITMAXIS,
	ONIDLE_STATE_DISPLAYTITLE,
	ONIDLE_STATE_DIALOGFINISH,
	ONIDLE_STATE_DISPLAYREGISTRATION,
	ONIDLE_STATE_CLOSEREGISTRATION,
	ONIDLE_STATE_MAINMENU,
	ONIDLE_STATE_NONE_8,
	ONIDLE_STATE_NONE_9,
	ONIDLE_STATE_NONE_10,
	ONIDLE_STATE_RETURN_11,
	ONIDLE_STATE_RETURN_12,
	ONIDLE_STATE_RETURN_13,
	ONIDLE_STATE_MENUDIALOG,
	ONIDLE_STATE_UNKNOWN_15,
	ONIDLE_STATE_INTROVIDEO,
	ONIDLE_STATE_DISPLAYINFLIGHT,
	ONIDLE_STATE_CLOSEINFLIGHT
};

InitialDialog:

enum {
	ONIDLE_INITIALDIALOG_FINISH,
	ONIDLE_INITIALDIALOG_LOADCITY,
	ONIDLE_INITIALDIALOG_NEWCITY,
	ONIDLE_INITIALDIALOG_EDITNEWMAP,
	ONIDLE_INITIALDIALOG_LOADSCENARIO,
	ONIDLE_INITIALDIALOG_ONQUIT,
	ONIDLE_INITIALDIALOG_LOADTILESET,
	ONIDLE_INITIALDIALOG_MOVIES
};