Home
last modified time | relevance | path

Searched refs:MAX_TOWNAREA (Results 1 – 13 of 13) sorted by relevance

/dports/games/tomenet/tomenet-4.6.0/src/server/
H A Drunes.c27 if (!allow_terraforming(wpos, feat) || istownarea(wpos, MAX_TOWNAREA)) { in transform_level()
H A Dwild.c271 if (w_ptr->radius <= MAX_TOWNAREA && in wild_bulldoze()
360 if (distance(y, x, town[j].y, town[j].x) <= MAX_TOWNAREA) { in wild_spawn_towns()
3421 if (w_ptr->type != WILD_OCEAN || istownarea(wpos, MAX_TOWNAREA))
4232 for (i = cfg.town_x - MAX_TOWNAREA - tol; i <= cfg.town_x + MAX_TOWNAREA + tol; i++) {
4233 for (j = cfg.town_y - MAX_TOWNAREA - tol; j <= cfg.town_y + MAX_TOWNAREA + tol; j++) {
4238 if (dist > MAX_TOWNAREA + tol) continue;
4421 if (distance(y, x, town[j].y, town[j].x) <= MAX_TOWNAREA) {
4768 if (wild_info[y][x].radius > MAX_TOWNAREA) return -1;
H A Ddungeon.c1655 if (istownarea(&p_ptr->wpos, MAX_TOWNAREA)
1712 } else if (istownarea(&p_ptr->wpos, MAX_TOWNAREA)
2063 if (!istownarea(&p_ptr->wpos, MAX_TOWNAREA)) return FALSE;
2312 if (!istownarea(&p_ptr->wpos, MAX_TOWNAREA)) return FALSE;
3914 (!(istownarea(&p_ptr->wpos, MAX_TOWNAREA) || isdungeontown(&p_ptr->wpos))
4157 if (!istownarea(&p_ptr->wpos, MAX_TOWNAREA) && !isdungeontown(&p_ptr->wpos)) {
4698 (istownarea(&p_ptr->wpos, MAX_TOWNAREA) ? 0 : 25)
6077 …if (istownarea(&p_ptr->wpos, MAX_TOWNAREA)) continue; /* allow kings idling instead of having to s…
6382 if (istownarea(wpos, MAX_TOWNAREA)) {
6880 && istownarea(&p_ptr->wpos, MAX_TOWNAREA)
H A Dspells2.c86 bool summon = !istownarea(&p_ptr->wpos, MAX_TOWNAREA); in divine_vengeance()
5606 if(istownarea(wpos, MAX_TOWNAREA)) return; in wipe_spell()
7070 if (istownarea(wpos, MAX_TOWNAREA)) { in house_creation()
H A Dmonster2.c3093 if (istownarea(wpos, MAX_TOWNAREA) && (zcave[y][x].info & CAVE_ICKY)) { in place_monster_one()
H A Dutil.c1705 if (istownarea(&p_ptr->wpos, MAX_TOWNAREA)) { in handle_music()
H A Dcave.c8350 bool townarea = istownarea(wpos, MAX_TOWNAREA);
H A Dcmd2.c7022 if (istownarea(&p_ptr->wpos, MAX_TOWNAREA)) {
H A Dcmd6.c2088 …|| istownarea(&p_ptr->wpos, MAX_TOWNAREA)) /* poly ring anticheeze (those don't run out in town ar…
H A Dmelee2.c6966 wild_info[m_ptr->wpos.wy][m_ptr->wpos.wx].radius >= MAX_TOWNAREA) ) &&
H A Dxtra2.c11733 if (!istownarea(&p_ptr->wpos, MAX_TOWNAREA)) {
H A Dnserver.c3789 … (istownarea(&p_ptr->wpos, MAX_TOWNAREA) && !(sector00separation && in_sector00(&p_ptr->wpos)))) {
/dports/games/tomenet/tomenet-4.6.0/src/common/
H A Ddefines.h661 #define MAX_TOWNAREA 3 macro