cave-story-solaris/src/MyChar.h
Clownacy 676ee004fe Removed the dependency on stdint.h
This doesn't exist in MSVC2003, and nothing in the Linux port's debug
symbols indicate Pixel used it.
2019-05-13 15:18:33 +01:00

70 lines
1.2 KiB
C

#pragma once
#include "WindowsWrapper.h"
struct MYCHAR
{
unsigned char cond;
unsigned int flag;
int direct;
BOOL up;
BOOL down;
int unit;
int equip;
int x;
int y;
int tgt_x;
int tgt_y;
int index_x;
int index_y;
int xm;
int ym;
int ani_wait;
int ani_no;
RECT hit;
RECT view;
RECT rect;
RECT rect_arms;
int level;
int exp_wait;
int exp_count;
unsigned char shock;
unsigned char no_life;
unsigned char rensha;
unsigned char bubble;
short life;
short star;
short max_life;
short a;
int lifeBr;
int lifeBr_count;
int air;
int air_get;
signed char sprash;
signed char ques;
signed char boost_sw;
int boost_cnt;
};
extern MYCHAR gMC;
void InitMyChar();
void AnimationMyChar(BOOL bKey);
void ShowMyChar(BOOL bShow);
void PutMyChar(int fx, int fy);
void ActMyChar_Normal(BOOL bKey);
void ActMyChar(BOOL bKey);
void GetMyCharPosition(int *x, int *y);
void SetMyCharPosition(int x, int y);
void MoveMyChar(int x, int y);
void ZeroMyCharXMove();
int GetUnitMyChar();
void SetMyCharDirect(unsigned char dir);
void ChangeMyUnit(unsigned char a);
void PitMyChar();
void EquipItem(int flag, BOOL b);
void ResetCheck();
void SetNoise(int no, int freq);
void CutNoise();
void ResetNoise();
void SleepNoise();