aboutsummaryrefslogtreecommitdiff
path: root/Source/Camera.h
blob: 4f7d54badb15889a549011b3c8855a59cf79ac76 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef CAM_HEADER__
#define CAM_HEADER__

/* *************************************
 * 	Includes
 * *************************************/
#include "Global_Inc.h"
#include "GameStructures.h"

/* *************************************
 * 	Defines
 * *************************************/
/* *************************************
 * 	Global prototypes
 * *************************************/
void CameraInit(TYPE_PLAYER* const ptrPlayer);
void CameraHandler(TYPE_PLAYER* const ptrPlayer);
void CameraApplyCoordinatesToSprite(TYPE_PLAYER* const ptrPlayer, GsSprite* spr);
void CameraApplyCoordinatesToRectangle(TYPE_PLAYER* const ptrPlayer, GsRectangle* rect);
void CameraApplyCoordinatesToCartesianPos(TYPE_PLAYER* const ptrPlayer, TYPE_CARTESIAN_POS* pos);
TYPE_ISOMETRIC_POS CameraGetIsoPos(TYPE_PLAYER* const ptrPlayer);
void CameraMoveToIsoPos(TYPE_PLAYER* const ptrPlayer, TYPE_ISOMETRIC_POS IsoPos);

#endif //CAM_HEADER__