mirror of
https://github.com/zeldaret/ph
synced 2026-05-23 15:01:37 -04:00
82f54b2f07
* Map symbol in Game * EquipBombchu 12% * EquipBombchu 53% * EquipBombchu 71% * configure: Don't verify dsd version if `--dsd` specified * EquipBombchu 89% * Fix regression
23 lines
335 B
C++
23 lines
335 B
C++
#pragma once
|
|
|
|
#include "global.h"
|
|
#include "types.h"
|
|
|
|
class TilePos {
|
|
public:
|
|
u8 x;
|
|
u8 y;
|
|
|
|
inline TilePos() :
|
|
x(0),
|
|
y(0) {}
|
|
inline TilePos(bool) {}
|
|
inline TilePos(u8 x, u8 y) :
|
|
x(x),
|
|
y(y) {}
|
|
};
|
|
|
|
inline bool operator==(TilePos a, TilePos b) {
|
|
return (a.x == b.x && a.y == b.y);
|
|
}
|