2019-08-26 03:59:14 +00:00
|
|
|
|
|
|
|
#ifndef __view_h__
|
|
|
|
#define __view_h__
|
|
|
|
|
|
|
|
extern short bSubTitles;
|
|
|
|
extern short nViewTop;
|
|
|
|
extern short bClip;
|
|
|
|
extern short nViewBottom;
|
|
|
|
extern short nViewRight;
|
|
|
|
extern short nViewLeft;
|
|
|
|
extern short besttarget;
|
|
|
|
extern short bCamera;
|
|
|
|
|
|
|
|
void InitView();
|
|
|
|
void SetView1();
|
|
|
|
void RefreshBackground();
|
2019-11-03 17:20:05 +00:00
|
|
|
void DrawView(int smoothRatio);
|
2019-08-26 03:59:14 +00:00
|
|
|
void MySetView(int x1, int y1, int x2, int y2);
|
|
|
|
void ResetView();
|
|
|
|
void NoClip();
|
|
|
|
void Clip();
|
|
|
|
|
2019-11-03 17:20:05 +00:00
|
|
|
int viewSetInterpolation(int32_t *const posptr);
|
|
|
|
void viewStopInterpolation(const int32_t * const posptr);
|
|
|
|
void viewDoInterpolations(int smoothRatio);
|
|
|
|
void viewUpdateInterpolations(void);
|
|
|
|
void viewRestoreInterpolations(void);
|
|
|
|
|
2019-10-29 17:35:22 +00:00
|
|
|
extern fix16_t nDestVertPan[];
|
2019-08-26 03:59:14 +00:00
|
|
|
extern short dVertPan[];
|
2019-10-29 17:35:22 +00:00
|
|
|
extern fix16_t nVertPan[];
|
2019-08-26 03:59:14 +00:00
|
|
|
extern short nQuake[];
|
|
|
|
|
|
|
|
extern int nCamerax;
|
|
|
|
extern int nCameray;
|
|
|
|
extern int nCameraz;
|
|
|
|
|
|
|
|
extern short bTouchFloor;
|
|
|
|
|
|
|
|
extern short nChunkTotal;
|
|
|
|
|
|
|
|
#endif
|