Home
last modified time | relevance | path

Searched refs:overmap (Results 1 – 25 of 173) sorted by relevance

1234567

/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/doc/
H A DOVERMAP.md31 In the context of **overmap generation**, the **overmap** is the collection of data and features
54 Generating an overmap happens in the following sequence of functions ( see generate::overmap in ove…
76 overmap.
81 (and more, but we'll get to that) used to represent a single location on the overmap. The overmap i…
82 overmap terrains wide, 180 overmap terrains tall, and 21 overmap terrains deep (these are the z-lev…
84 In this example snippet of an overmap, each character corresponds one entry in the overmap which
85 references a given overmap terrain:
122 forest in the overmap would be red.
128 overmap terrains can be collected together into one conceptual entity for placement on the overmap.
143 An overmap connection effectively defines the types of overmap terrain on which a given connection
[all …]
H A DPOINTS_COORDINATES.md31 Next comes **overmap terrain** (omt) coordinates. One overmap terrain is 2x2
35 Largest are **overmap** (om) coordinates. One overmap is 180x180
37 happens one overmap at a time.
44 single overmap, we want to work with coordinates within that overmap. This
102 * `omt` for overmap terrain.
104 * `om` for overmap.
143 overmap the avatar is in, and which overmap terrain they are in within that
144 overmap.
148 point_abs_om overmap;
164 point_abs_om overmap;
[all …]
H A DREGION_SETTINGS.md4 The general settings define the default overmap terrain and ground cover. Additional sections are
28 | `default_oter` | Default overmap terrain for this region. |
91 cover the `field` overmap terrain.
130 overmap. The actual placement of these features is determined globally across all overmaps so that
163 on the overmap. The actual placement of these features is determined globally across all overmaps
202 entry has the name of the overmap terrain that it applies to, e.g. `forest`, `forest_thick`,
203 `forest_water`. It is possible to define settings for overmap terrains that are not rendered by
404 The **city** section defines the possible overmap terrains and specials that may be used as
415 | `houses` | Weighted list of overmap terrains and specials used for houses. |
416 | `parks` | Weighted list of overmap terrains and specials used for parks. |
[all …]
H A DMISSIONS_JSON.md68 `MGOAL_GO_TO` | Reach a specific overmap tile
69 `MGOAL_GO_TO_TYPE` | Reach any instance of a specified overmap tile type
131 selected overmap terrain tile with that id - or one of the ids from list, randomly selected -
146 `om_special` | ID of overmap special containing the overmap terrain.
148 `reveal_radius` | Radius in overmap terrain coordinates to reveal.
178 * `EXACT` - The provided string must completely match the overmap terrain id,
183 overmap terrain id, which means that suffixes for rotation and linear terrain
187 parts delimited by an underscore) of the overmap terrain id. For example,
190 * `CONTAINS` - The provided string must be contained within the overmap terrain
208 overmap is currently 180 x 180 OMT units). The search is centered on the player unless
[all …]
H A DMAPGEN.md11 …* [Define overmap terrain with "om_terrain" value, array, or nested array](#define-overmap-terrain…
55 * [Overmap tile specification](#overmap-tile-specification)
168 ### Define overmap terrain with "om_terrain" value, array, or nested array
187 This creates duplicate overmap terrains by applying the same json mapgen to each of the listed over…
201 applied universally to all of the listed overmap terrains.
218 apartments_mod_tower overmap terrain ids specified.
1020 Specifying an overmap terrain id here will run the entire mapgen for that overmap terrain type firs…
1047 update that overmap tile. The closet overmap terrain with the required terrain ID will be used, an…
1053 | om_terrain | (required, string) the overmap terrain ID of the mission target
1054 | om_special | (required, string) the overmap special ID of the mission target
[all …]
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/doc/
H A DOVERMAP.md31 In the context of **overmap generation**, the **overmap** is the collection of data and features
54 Generating an overmap happens in the following sequence of functions ( see generate::overmap in ove…
76 overmap.
81 (and more, but we'll get to that) used to represent a single location on the overmap. The overmap i…
82 overmap terrains wide, 180 overmap terrains tall, and 21 overmap terrains deep (these are the z-lev…
84 In this example snippet of an overmap, each character corresponds one entry in the overmap which
85 references a given overmap terrain:
122 forest in the overmap would be red.
128 overmap terrains can be collected together into one conceptual entity for placement on the overmap.
143 An overmap connection effectively defines the types of overmap terrain on which a given connection
[all …]
H A DPOINTS_COORDINATES.md31 Next comes **overmap terrain** (omt) coordinates. One overmap terrain is 2x2
35 Largest are **overmap** (om) coordinates. One overmap is 180x180
37 happens one overmap at a time.
44 single overmap, we want to work with coordinates within that overmap. This
102 * `omt` for overmap terrain.
104 * `om` for overmap.
143 overmap the avatar is in, and which overmap terrain they are in within that
144 overmap.
148 point_abs_om overmap;
164 point_abs_om overmap;
[all …]
H A DREGION_SETTINGS.md4 The general settings define the default overmap terrain and ground cover. Additional sections are
28 | `default_oter` | Default overmap terrain for this region. |
91 cover the `field` overmap terrain.
130 overmap. The actual placement of these features is determined globally across all overmaps so that
163 on the overmap. The actual placement of these features is determined globally across all overmaps
202 entry has the name of the overmap terrain that it applies to, e.g. `forest`, `forest_thick`,
203 `forest_water`. It is possible to define settings for overmap terrains that are not rendered by
404 The **city** section defines the possible overmap terrains and specials that may be used as
415 | `houses` | Weighted list of overmap terrains and specials used for houses. |
416 | `parks` | Weighted list of overmap terrains and specials used for parks. |
[all …]
H A DMISSIONS_JSON.md68 `MGOAL_GO_TO` | Reach a specific overmap tile
69 `MGOAL_GO_TO_TYPE` | Reach any instance of a specified overmap tile type
131 selected overmap terrain tile with that id - or one of the ids from list, randomly selected -
146 `om_special` | ID of overmap special containing the overmap terrain.
148 `reveal_radius` | Radius in overmap terrain coordinates to reveal.
178 * `EXACT` - The provided string must completely match the overmap terrain id,
183 overmap terrain id, which means that suffixes for rotation and linear terrain
187 parts delimited by an underscore) of the overmap terrain id. For example,
190 * `CONTAINS` - The provided string must be contained within the overmap terrain
208 overmap is currently 180 x 180 OMT units). The search is centered on the player unless
[all …]
H A DMAPGEN.md11 …* [Define overmap terrain with "om_terrain" value, array, or nested array](#define-overmap-terrain…
55 * [Overmap tile specification](#overmap-tile-specification)
168 ### Define overmap terrain with "om_terrain" value, array, or nested array
187 This creates duplicate overmap terrains by applying the same json mapgen to each of the listed over…
201 applied universally to all of the listed overmap terrains.
218 apartments_mod_tower overmap terrain ids specified.
1020 Specifying an overmap terrain id here will run the entire mapgen for that overmap terrain type firs…
1047 update that overmap tile. The closet overmap terrain with the required terrain ID will be used, an…
1053 | om_terrain | (required, string) the overmap terrain ID of the mission target
1054 | om_special | (required, string) the overmap special ID of the mission target
[all …]
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dovermap.h199 class overmap
202 overmap( const overmap & ) = default;
203 overmap( overmap && ) = default;
205 ~overmap();
207 overmap &operator=( const overmap & ) = default;
390 void generate( const overmap *north, const overmap *east,
391 const overmap *south, const overmap *west,
412 void place_rivers( const overmap *north, const overmap *east, const overmap *south,
418 void place_roads( const overmap *north, const overmap *east, const overmap *south,
421 void populate_connections_out_from_neighbors( const overmap *north, const overmap *east,
[all …]
H A Dovermap.cpp1036 overmap::overmap( const point_abs_om &p ) : loc( p ) in overmap() function in overmap
1050 overmap::~overmap() = default;
1061 void overmap::populate() in populate()
1121 void overmap::init_layers() in init_layers()
1454 void overmap::generate( const overmap *north, const overmap *east, in generate()
1455 const overmap *south, const overmap *west, in generate()
2145 void overmap::populate_connections_out_from_neighbors( const overmap *north, const overmap *east, in populate_connections_out_from_neighbors()
2146 const overmap *south, const overmap *west ) in populate_connections_out_from_neighbors()
2533 void overmap::place_rivers( const overmap *north, const overmap *east, const overmap *south, in place_rivers()
2742 void overmap::place_roads( const overmap *north, const overmap *east, const overmap *south, in place_roads()
[all …]
H A Dovermapbuffer.h28 class overmap; variable
90 overmap *om;
137 overmap &get( const point_abs_om & );
362 overmap *get_existing( const point_abs_om &p );
486 std::unordered_map< point_abs_om, std::unique_ptr< overmap > > overmaps;
493 overmap mutable *last_requested_overmap;
532 void fix_mongroups( overmap &new_overmap );
536 void fix_npcs( overmap &new_overmap );
542 std::vector<overmap *> get_overmaps_near( const point_abs_sm &p, int radius );
543 std::vector<overmap *> get_overmaps_near( const tripoint_abs_sm &location, int radius );
H A Dovermapbuffer.cpp88 overmap &new_om = *( overmaps[ p ] = std::make_unique<overmap>( p ) ); in get()
107 overmap &new_om = *( overmaps[ p ] = std::make_unique<overmap>( p ) ); in create_custom_overmap()
137 overmap &om = get( omp ); in fix_mongroups()
299 overmap *om = &get( om_pos ); in get_om_global()
535 overmap &om = get( omp ); in groups_at()
717 if( src == overmap::invalid_tripoint || dest == overmap::invalid_tripoint ) { in get_npc_path()
798 if( source == overmap::invalid_tripoint || dest == overmap::invalid_tripoint ) { in reveal_route()
1136 const overmap * rhs ) { in get_overmaps_near()
1270 const overmap &overmap = *om.second; in get_overmap_npcs() local
1392 overmap &om = get( omp ); in spawn_monster()
[all …]
H A Dmission_util.cpp41 if( center_pos != overmap::invalid_tripoint ) { in reveal_destination()
46 return overmap::invalid_tripoint; in reveal_destination()
76 if( destination != overmap::invalid_tripoint ) { in reveal_target()
110 if( place != overmap::invalid_tripoint && reveal_rad >= 0 ) { in reveal_om_ter()
169 if( closest != overmap::invalid_tripoint && reveal_rad >= 0 ) { in target_closest_lab_entrance()
179 tripoint_abs_omt target_pos = overmap::invalid_tripoint; in find_or_create_om_terrain()
226 if( target_pos == overmap::invalid_tripoint ) { in find_or_create_om_terrain()
232 if( target_pos != overmap::invalid_tripoint ) { in find_or_create_om_terrain()
242 if( target_pos == overmap::invalid_tripoint ) { in find_or_create_om_terrain()
251 if( target_pos == overmap::invalid_tripoint ) { in find_or_create_om_terrain()
[all …]
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dovermap.h199 class overmap
202 overmap( const overmap & ) = default;
203 overmap( overmap && ) = default;
205 ~overmap();
207 overmap &operator=( const overmap & ) = default;
390 void generate( const overmap *north, const overmap *east,
391 const overmap *south, const overmap *west,
412 void place_rivers( const overmap *north, const overmap *east, const overmap *south,
418 void place_roads( const overmap *north, const overmap *east, const overmap *south,
421 void populate_connections_out_from_neighbors( const overmap *north, const overmap *east,
[all …]
H A Dovermap.cpp1036 overmap::overmap( const point_abs_om &p ) : loc( p ) in overmap() function in overmap
1050 overmap::~overmap() = default;
1061 void overmap::populate() in populate()
1121 void overmap::init_layers() in init_layers()
1454 void overmap::generate( const overmap *north, const overmap *east, in generate()
1455 const overmap *south, const overmap *west, in generate()
2145 void overmap::populate_connections_out_from_neighbors( const overmap *north, const overmap *east, in populate_connections_out_from_neighbors()
2146 const overmap *south, const overmap *west ) in populate_connections_out_from_neighbors()
2533 void overmap::place_rivers( const overmap *north, const overmap *east, const overmap *south, in place_rivers()
2742 void overmap::place_roads( const overmap *north, const overmap *east, const overmap *south, in place_roads()
[all …]
H A Dovermapbuffer.h28 class overmap; variable
90 overmap *om;
137 overmap &get( const point_abs_om & );
362 overmap *get_existing( const point_abs_om &p );
486 std::unordered_map< point_abs_om, std::unique_ptr< overmap > > overmaps;
493 overmap mutable *last_requested_overmap;
532 void fix_mongroups( overmap &new_overmap );
536 void fix_npcs( overmap &new_overmap );
542 std::vector<overmap *> get_overmaps_near( const point_abs_sm &p, int radius );
543 std::vector<overmap *> get_overmaps_near( const tripoint_abs_sm &location, int radius );
H A Dovermapbuffer.cpp88 overmap &new_om = *( overmaps[ p ] = std::make_unique<overmap>( p ) ); in get()
107 overmap &new_om = *( overmaps[ p ] = std::make_unique<overmap>( p ) ); in create_custom_overmap()
137 overmap &om = get( omp ); in fix_mongroups()
299 overmap *om = &get( om_pos ); in get_om_global()
535 overmap &om = get( omp ); in groups_at()
717 if( src == overmap::invalid_tripoint || dest == overmap::invalid_tripoint ) { in get_npc_path()
798 if( source == overmap::invalid_tripoint || dest == overmap::invalid_tripoint ) { in reveal_route()
1136 const overmap * rhs ) { in get_overmaps_near()
1270 const overmap &overmap = *om.second; in get_overmap_npcs() local
1392 overmap &om = get( omp ); in spawn_monster()
[all …]
H A Dmission_util.cpp41 if( center_pos != overmap::invalid_tripoint ) { in reveal_destination()
46 return overmap::invalid_tripoint; in reveal_destination()
76 if( destination != overmap::invalid_tripoint ) { in reveal_target()
110 if( place != overmap::invalid_tripoint && reveal_rad >= 0 ) { in reveal_om_ter()
169 if( closest != overmap::invalid_tripoint && reveal_rad >= 0 ) { in target_closest_lab_entrance()
179 tripoint_abs_omt target_pos = overmap::invalid_tripoint; in find_or_create_om_terrain()
226 if( target_pos == overmap::invalid_tripoint ) { in find_or_create_om_terrain()
232 if( target_pos != overmap::invalid_tripoint ) { in find_or_create_om_terrain()
242 if( target_pos == overmap::invalid_tripoint ) { in find_or_create_om_terrain()
251 if( target_pos == overmap::invalid_tripoint ) { in find_or_create_om_terrain()
[all …]
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/doc/JSON_Mapping_Guides/
H A DJSON_ROOF_MAPGEN.md9 `data/json/overmap_terrain.json` : defines the building's overmap characteristics.
11 `data/json/regional_map_settings.json` : defines the building's overmap spawn settings.
13 `data/json/overmap/multietile_city_buildings.json` : links the building layers together.
103 …to `json/overmap/multitile_city_buildings.json` or `json/overmap/multitile_buildings_terrain.json`…
113 { "point": [ 0, 0, 0 ], "overmap": "abstorefront_north" },
114 { "point": [ 0, 0, 1 ], "overmap": "abstorefront_roof_north" }
128 { "point":[0,0,0], "overmap": "shelter"},
129 { "point":[0,0,-1], "overmap": "shelter_under"},
130 { "point":[0,0,1], "overmap": "shelter_roof"}
146 Every z level gets an entry that defines how it appears on the overmap.
[all …]
H A DGuide_for_beginning_mapgen.md390 { "point": [ 0, 0, 0 ], "overmap": "house_dogs_north" },
392 { "point": [ 0, 0, -1 ], "overmap": "basement" }
401 `{ "point": [ 0, 0, 0 ], "overmap": "house_dogs_north" },`
406 #### Setting overmap spawns using regional_map_settings.json
427 { "point": [ 0, 0, 0 ], "overmap": "pump_station_1_north" },
429 { "point": [ 0, 1, 0 ], "overmap": "pump_station_2_north" },
433 { "point": [ 0, 1, -1 ], "overmap": "pump_station_5_north" }
450 2. `"id"` is your buildings ID for the overmap. It also displays on the overmap in game.
456 …ouldn't be 1 to 10 times per overmap but a 1 in 10% chance to spawn on the overmap. So 10% chance…
492 4. `"name"` how the name displays on the overmap.
[all …]
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/doc/JSON_Mapping_Guides/
H A DJSON_ROOF_MAPGEN.md9 `data/json/overmap_terrain.json` : defines the building's overmap characteristics.
11 `data/json/regional_map_settings.json` : defines the building's overmap spawn settings.
13 `data/json/overmap/multietile_city_buildings.json` : links the building layers together.
103 …to `json/overmap/multitile_city_buildings.json` or `json/overmap/multitile_buildings_terrain.json`…
113 { "point": [ 0, 0, 0 ], "overmap": "abstorefront_north" },
114 { "point": [ 0, 0, 1 ], "overmap": "abstorefront_roof_north" }
128 { "point":[0,0,0], "overmap": "shelter"},
129 { "point":[0,0,-1], "overmap": "shelter_under"},
130 { "point":[0,0,1], "overmap": "shelter_roof"}
146 Every z level gets an entry that defines how it appears on the overmap.
[all …]
H A DGuide_for_beginning_mapgen.md390 { "point": [ 0, 0, 0 ], "overmap": "house_dogs_north" },
392 { "point": [ 0, 0, -1 ], "overmap": "basement" }
401 `{ "point": [ 0, 0, 0 ], "overmap": "house_dogs_north" },`
406 #### Setting overmap spawns using regional_map_settings.json
427 { "point": [ 0, 0, 0 ], "overmap": "pump_station_1_north" },
429 { "point": [ 0, 1, 0 ], "overmap": "pump_station_2_north" },
433 { "point": [ 0, 1, -1 ], "overmap": "pump_station_5_north" }
450 2. `"id"` is your buildings ID for the overmap. It also displays on the overmap in game.
456 …ouldn't be 1 to 10 times per overmap but a 1 in 10% chance to spawn on the overmap. So 10% chance…
492 4. `"name"` how the name displays on the overmap.
[all …]
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/tests/
H A Dovermap_test.cpp18 std::unique_ptr<overmap> test_overmap = std::make_unique<overmap>( point_abs_om() );
91 overmap *test_overmap = overmap_buffer.get_existing( origin );

1234567