[Maintenance] [th01] Publicly define clock direction constants

Part of P0207, funded by GhostPhanom.
This commit is contained in:
nmlgc 2022-07-23 21:16:12 +02:00
parent 57835690e8
commit cfea4971ee
2 changed files with 6 additions and 3 deletions

View File

@ -3,3 +3,8 @@ enum x_direction_t {
X_RIGHT = 0,
X_LEFT = 1,
};
enum clock_direction_t {
CLOCKWISE = 0,
COUNTERCLOCKWISE = 1,
};

View File

@ -8,6 +8,7 @@
#include "pc98.h"
#include "master.hpp"
#include "th01/math/area.hpp"
#include "th01/math/dir.hpp"
#include "th01/math/subpixel.hpp"
#include "th02/main/tile/tile.hpp"
#include "th02/main/player/bomb.hpp"
@ -459,9 +460,6 @@ void near pattern_aimed_b6balls_and_symmetric_spreads(void)
void near pattern_devil(void)
{
enum {
CLOCKWISE = 0,
COUNTERCLOCKWISE = 1,
COLUMN_COUNT = 4,
SHINKI_TO_LAST_COLUMN_DISTANCE = (
(SHINKI_WING_W / 2) - (SHINKI_WING_W / 8)