Searched refs:pos_se (Results 1 – 2 of 2) sorted by relevance
/dports/games/simutrans/simutrans-121.0/dataobj/ |
H A D | scenario.h | 91 koord pos_nw, pos_se; member 99 pos_nw(koord::invalid), pos_se(koord::invalid), hmin(-128), hmax(127), error() {}; in type() 104 pos_nw(nw), pos_se(se), hmin(hmin_), hmax(hmax_), error() {}; in type() 140 file->rdwr_short(pos_se.x); file->rdwr_short(pos_se.y); in rdwr() 361 …l_rect(uint8 player_nr, uint16 tool_id, waytype_t wt, koord pos_nw, koord pos_se, plainstring err); 367 …void allow_way_tool_rect(uint8 player_nr, uint16 tool_id, waytype_t wt, koord pos_nw, koord pos_se… 381 …be(uint8 player_nr, uint16 tool_id, waytype_t wt, koord3d pos_nw, koord3d pos_se, plainstring err); 387 …allow_way_tool_cube(uint8 player_nr, uint16 tool_id, waytype_t wt, koord3d pos_nw, koord3d pos_se);
|
H A D | scenario.cc | 239 buf.printf("(%s,%d)", f.pos_se.get_str(), f.hmax); in get_forbidden_text() 243 buf.printf("(%s)", f.pos_se.get_str()); in get_forbidden_text() 277 eq = eq && (pos_se == other.pos_se); in operator ==() 290 waytype(other.waytype), pos_nw(other.pos_nw), pos_se(other.pos_se), in forbidden_t() 301 pos_se.rotate90(y_size); in rotate90() 302 sint16 x = pos_nw.x; pos_nw.x = pos_se.x; pos_se.x = x; in rotate90() 427 koord pos_se( max(pos_nw_0.x, pos_se_0.x), max(pos_nw_0.y, pos_se_0.y)); in forbid_way_tool_cube() local 431 forbidden_t *test = new forbidden_t(player_nr, tool_id, wt, pos_nw, pos_se, hmin, hmax); in forbid_way_tool_cube() 440 koord pos_se( max(pos_nw_0.x, pos_se_0.x), max(pos_nw_0.y, pos_se_0.y)); in allow_way_tool_cube() local 444 forbidden_t *test = new forbidden_t(player_nr, tool_id, wt, pos_nw, pos_se, hmin, hmax); in allow_way_tool_cube() [all …]
|