2019-10-07 19:51:11 +00:00
|
|
|
#include "th02/player/player.h"
|
2019-11-16 16:11:48 +00:00
|
|
|
#define PLAYER_MOVE_MARGIN_LEFT 8
|
|
|
|
#define PLAYER_MOVE_MARGIN_TOP 8
|
|
|
|
#define PLAYER_MOVE_MARGIN_RIGHT 8
|
|
|
|
#define PLAYER_MOVE_MARGIN_BOTTOM 16
|
|
|
|
|
2019-10-07 19:51:11 +00:00
|
|
|
#define PLAYER_OPTION_W 16
|
|
|
|
#define PLAYER_OPTION_H 16
|
|
|
|
#define PLAYER_OPTION_DISTANCE ((PLAYER_W / 2) + (PLAYER_OPTION_W / 2))
|
2019-11-15 19:54:33 +00:00
|
|
|
|
|
|
|
extern motion_t player_pos;
|
2019-11-16 16:11:48 +00:00
|
|
|
|
|
|
|
void pascal near player_pos_update_and_clamp(void);
|
2019-11-16 17:21:36 +00:00
|
|
|
|
|
|
|
// Shots
|
|
|
|
// -----
|
|
|
|
#define SHOT_W 16
|
|
|
|
#define SHOT_H 16
|
|
|
|
// -----
|