Hengband
2.2.1
|
関数 | |
bool | build_type1 (floor_type *floor_ptr) |
タイプ1の部屋…通常可変長方形の部屋を生成する / Type 1 – normal rectangular rooms [詳解] | |
bool | build_type2 (floor_type *floor_ptr) |
タイプ2の部屋…二重長方形の部屋を生成する / Type 2 – Overlapping rectangular rooms [詳解] | |
bool | build_type3 (floor_type *floor_ptr) |
タイプ3の部屋…十字型の部屋を生成する / Type 3 – Cross shaped rooms [詳解] | |
bool | build_type4 (floor_type *floor_ptr) |
タイプ4の部屋…固定サイズの二重構造部屋を生成する / Type 4 – Large room with inner features [詳解] | |
bool | build_type11 (floor_type *floor_ptr) |
タイプ11の部屋…円形部屋の生成 / Type 11 – Build an vertical oval room. [詳解] | |
bool | build_type12 (floor_type *floor_ptr) |
タイプ12の部屋…ドーム型部屋の生成 / Type 12 – Build crypt room. [詳解] | |
bool build_type1 | ( | floor_type * | floor_ptr | ) |
タイプ1の部屋…通常可変長方形の部屋を生成する / Type 1 – normal rectangular rooms
bool build_type11 | ( | floor_type * | floor_ptr | ) |
タイプ11の部屋…円形部屋の生成 / Type 11 – Build an vertical oval room.
For every grid in the possible square, check the distance.
If it's less than the radius, make it a room square.
When done fill from the inside to find the walls,
bool build_type12 | ( | floor_type * | floor_ptr | ) |
タイプ12の部屋…ドーム型部屋の生成 / Type 12 – Build crypt room.
For every grid in the possible square, check the (fake) distance.
If it's less than the radius, make it a room square.
When done fill from the inside to find the walls,
bool build_type2 | ( | floor_type * | floor_ptr | ) |
タイプ2の部屋…二重長方形の部屋を生成する / Type 2 – Overlapping rectangular rooms
bool build_type3 | ( | floor_type * | floor_ptr | ) |
タイプ3の部屋…十字型の部屋を生成する / Type 3 – Cross shaped rooms
Builds a room at a row, column coordinate
Room "a" runs north/south, and Room "b" runs east/east
So the "central pillar" runs from x1a, y1b to x2a, y2b.
Note that currently, the "center" is always 3x3, but I think that
the code below will work (with "bounds checking") for 5x5, or even
for unsymetric values like 4x3 or 5x3 or 3x4 or 3x5, or even larger.
bool build_type4 | ( | floor_type * | floor_ptr | ) |
タイプ4の部屋…固定サイズの二重構造部屋を生成する / Type 4 – Large room with inner features
Possible sub-types:
1 - Just an inner room with one door
2 - An inner room within an inner room
3 - An inner room with pillar(s)
4 - Inner room has a maze
5 - A set of four inner rooms