loading static zombies into hordes when they go off map would have the effect rivet is asking for.
I't not easy. First i do good, that began.
About zombies on overmap. I need something like this:
I think i seen it yesterday, but can’t find it today…
…and this:
If it already coded - it’s good. Else i may code it. I don’t want code duplication.
…and…
static point omt_to_om_copy(const point& p) { return omt_to_om_copy(p.x, p.y); }
static tripoint omt_to_om_copy(const tripoint& p);
static void omt_to_om(int &x, int &y);
static void omt_to_om(point& p) { omt_to_om(p.x, p.y); }
static void omt_to_om(tripoint& p) { omt_to_om(p.x, p.y); }
static point omt_to_om_remain(int &x, int &y);
static point omt_to_om_remain(point& p) { return omt_to_om_remain(p.x, p.y); }
// submap to overmap terrain
static point sm_to_omt_copy(int x, int y);
static point sm_to_omt_copy(const point& p) { return sm_to_omt_copy(p.x, p.y); }
static tripoint sm_to_omt_copy(const tripoint& p);
static void sm_to_omt(int &x, int &y);
static void sm_to_omt(point& p) { sm_to_omt(p.x, p.y); }
static void sm_to_omt(tripoint& p) { sm_to_omt(p.x, p.y); }
...
Someone may explain me cataclysm coordinate system? Any codedoc?