mirror of https://github.com/nmlgc/ReC98.git
20 lines
444 B
C
20 lines
444 B
C
#include "th02/player/player.h"
|
|
#define PLAYER_MOVE_MARGIN_LEFT 8
|
|
#define PLAYER_MOVE_MARGIN_TOP 8
|
|
#define PLAYER_MOVE_MARGIN_RIGHT 8
|
|
#define PLAYER_MOVE_MARGIN_BOTTOM 16
|
|
|
|
#define PLAYER_OPTION_W 16
|
|
#define PLAYER_OPTION_H 16
|
|
#define PLAYER_OPTION_DISTANCE ((PLAYER_W / 2) + (PLAYER_OPTION_W / 2))
|
|
|
|
extern motion_t player_pos;
|
|
|
|
void pascal near player_pos_update_and_clamp(void);
|
|
|
|
// Shots
|
|
// -----
|
|
#define SHOT_W 16
|
|
#define SHOT_H 16
|
|
// -----
|