blob: 5a7980e076a69fce53e44eb10e668e71a59d922d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/**
* @file vaati3PlayerObject.c
* @ingroup Objects
*
* @brief Vaati3 Player object
*/
#include "entity.h"
#include "physics.h"
#include "player.h"
#ifndef EU
#include "room.h"
#endif
void Vaati3PlayerObject(Entity* this) {
if (this->action == 0) {
this->action = 1;
}
#ifndef EU
gRoomControls.camera_target = this;
#endif
PositionRelative(&gPlayerEntity.base, this, 0, Q_16_16(-40.0));
}
|