shithub: cstory

ref: 268d68b0783581e50ab7d7eb3d6ed5667271735d
dir: /src/SelStage.h/

View raw version
#pragma once

#include "WindowsWrapper.h"

#define STAGE_MAX 8 // Note that Cave Story only has 5 stages

typedef struct PERMIT_STAGE
{
	int index;
	int event;
} PERMIT_STAGE;

extern PERMIT_STAGE gPermitStage[STAGE_MAX];

extern int gSelectedStage;
extern int gStageSelectTitleY;

void ClearPermitStage(void);
BOOL AddPermitStage(int index, int event);
BOOL SubPermitStage(int index);
void MoveStageSelectCursor(void);
void PutStageSelectObject(void);
int StageSelectLoop(int *p_event);