shithub: cstory

ref: 45cde7e4a3dc80865965174f56e7e19ff73e81e8
dir: /src/Ending.h/

View raw version
#pragma once

#include <stdint.h>

struct CREDIT
{
	int size;
	char *pData;
	int offset;
	int wait;
	int mode;
	int start_x;
};

struct STRIP
{
	int flag;
	int x;
	int y;
	int cast;
	char str[0x40];
};

struct ILLUSTRATION
{
	int act_no;
	int x;
};

struct ISLAND_SPRITE
{
	int x;
	int y;
};

#define MAX_STRIP (WINDOW_HEIGHT / 16) + 1

void ActionStripper();
void PutStripper();
void SetStripper(int x, int y, char *text, int cast);
void RestoreStripper();
void ActionIllust();
void PutIllust();
void ReloadIllust(int a);
void InitCreditScript();
void ReleaseCreditScript();
bool StartCreditScript();
void ActionCredit();
void SetCreditIllust(int a);
void CutCreditIllust();
int Scene_DownIsland(int mode);