shithub: cstory

ref: a394f7a6115653b70987ee7ac208ea3c2f0f8bc0
dir: /src/Caret.h/

View raw version
#pragma once

#include "WindowsWrapper.h"

struct CARET_TABLE
{
	int view_left;
	int view_top;
};

struct CARET
{
	int cond;
	int code;
	int direct;
	int x;
	int y;
	int xm;
	int ym;
	int act_no;
	int act_wait;
	int ani_no;
	int ani_wait;
	int view_left;
	int view_top;
	RECT rect;
};

void InitCaret();
void ActCaret();
void PutCaret(int fx, int fy);
void SetCaret(int x, int y, int code, int dir);