From b064349103622f759e56037d756a38b84c8c54e2 Mon Sep 17 00:00:00 2001 From: dabreegster Date: Sun, 8 Nov 2020 00:37:10 +0000 Subject: [PATCH] deploy: 54ced5b5b4a0e4a5bebb3673f0a3cb198a5041ec --- dev/index.html | 8 +- print.html | 8 +- rustdoc/abstutil/abst_data/index.html | 5 +- rustdoc/abstutil/abst_data/sidebar-items.js | 2 +- .../abstutil/abst_data/struct.DataPacks.html | 21 + rustdoc/abstutil/abst_data/struct.Entry.html | 6 +- .../abstutil/abst_data/struct.Manifest.html | 6 +- rustdoc/abstutil/all.html | 2 +- rustdoc/abstutil/index.html | 3 +- rustdoc/abstutil/sidebar-items.js | 2 +- rustdoc/abstutil/struct.DataPacks.html | 21 + rustdoc/abstutil/struct.Entry.html | 6 +- rustdoc/abstutil/struct.Manifest.html | 6 +- rustdoc/game/all.html | 2 +- rustdoc/game/app/struct.App.html | 364 +++++++++--------- rustdoc/game/common/city_picker/index.html | 2 +- .../city_picker/struct.AllCityPicker.html | 8 +- .../common/city_picker/struct.CityPicker.html | 6 +- rustdoc/game/common/fn.tool_panel.html | 2 +- rustdoc/game/common/index.html | 4 +- rustdoc/game/common/sidebar-items.js | 2 +- rustdoc/game/common/struct.CommonState.html | 4 +- .../common/updater/fn.prettyprint_bytes.html | 2 + .../game/common/updater/fn.size_per_city.html | 2 + rustdoc/game/common/updater/index.html | 4 + rustdoc/game/common/updater/sidebar-items.js | 1 + .../game/common/updater/struct.Picker.html | 27 ++ .../built_info/constant.BUILT_TIME_UTC.html | 2 +- .../implementors/core/marker/trait.Freeze.js | 5 +- .../implementors/core/marker/trait.Send.js | 5 +- .../implementors/core/marker/trait.Sync.js | 5 +- .../implementors/core/marker/trait.Unpin.js | 5 +- .../serde/de/trait.Deserialize.js | 2 +- .../implementors/serde/ser/trait.Serialize.js | 2 +- .../std/panic/trait.RefUnwindSafe.js | 5 +- .../std/panic/trait.UnwindSafe.js | 5 +- .../widgetry/app_state/trait.State.js | 2 +- rustdoc/search-index.js | 14 +- rustdoc/source-files.js | 2 +- rustdoc/src/abstutil/abst_data.rs.html | 82 +++- rustdoc/src/game/common/city_picker.rs.html | 16 + rustdoc/src/game/common/mod.rs.html | 2 + rustdoc/src/game/common/updater.rs.html | 158 ++++++++ .../game-e352710d4e950423/out/built.rs.html | 2 +- rustdoc/src/updater/main.rs.html | 130 +------ rustdoc/updater/all.html | 2 +- rustdoc/updater/fn.curl.html | 2 +- rustdoc/updater/fn.filter_manifest.html | 2 +- rustdoc/updater/fn.must_run_cmd.html | 2 +- rustdoc/updater/fn.rm.html | 2 +- rustdoc/updater/index.html | 5 +- rustdoc/updater/sidebar-items.js | 2 +- rustdoc/updater/struct.Cities.html | 19 - searchindex.js | 2 +- searchindex.json | 2 +- 55 files changed, 601 insertions(+), 409 deletions(-) create mode 100644 rustdoc/abstutil/abst_data/struct.DataPacks.html create mode 100644 rustdoc/abstutil/struct.DataPacks.html create mode 100644 rustdoc/game/common/updater/fn.prettyprint_bytes.html create mode 100644 rustdoc/game/common/updater/fn.size_per_city.html create mode 100644 rustdoc/game/common/updater/index.html create mode 100644 rustdoc/game/common/updater/sidebar-items.js create mode 100644 rustdoc/game/common/updater/struct.Picker.html create mode 100644 rustdoc/src/game/common/updater.rs.html delete mode 100644 rustdoc/updater/struct.Cities.html diff --git a/dev/index.html b/dev/index.html index cf2a447223..4d970a5a28 100644 --- a/dev/index.html +++ b/dev/index.html @@ -214,12 +214,8 @@ version control will get out of date. At any time, you can run cargo run --bin updater from the main repository directory to update only the files that have changed.

You can also opt into downloading updates for more cities by editing -data/config. Opting into everything looks like this:

-
runtime: seattle,huge_seattle,krakow,berlin,xian,tel_aviv,london
-input: seattle,huge_seattle,krakow,berlin,xian,tel_aviv,london
-
-

runtime downloads new maps and scenarios in data/system/. input is used -for building those maps -- see below.

+data/player/data.json. In the main UI, there's a button to download more +cities that will help you manage this config file.

Building map data

You can skip this section if you're just touching code in game, widgetry, and sim.

diff --git a/print.html b/print.html index a0fe20f98a..2faf4d2665 100644 --- a/print.html +++ b/print.html @@ -858,12 +858,8 @@ version control will get out of date. At any time, you can run cargo run --bin updater from the main repository directory to update only the files that have changed.

You can also opt into downloading updates for more cities by editing -data/config. Opting into everything looks like this:

-
runtime: seattle,huge_seattle,krakow,berlin,xian,tel_aviv,london
-input: seattle,huge_seattle,krakow,berlin,xian,tel_aviv,london
-
-

runtime downloads new maps and scenarios in data/system/. input is used -for building those maps -- see below.

+data/player/data.json. In the main UI, there's a button to download more +cities that will help you manage this config file.

Building map data

You can skip this section if you're just touching code in game, widgetry, and sim.

diff --git a/rustdoc/abstutil/abst_data/index.html b/rustdoc/abstutil/abst_data/index.html index 3fbbcf7f8c..36053e0a4c 100644 --- a/rustdoc/abstutil/abst_data/index.html +++ b/rustdoc/abstutil/abst_data/index.html @@ -1,6 +1,7 @@ abstutil::abst_data - Rust

[][src]Module abstutil::abst_data

Structs

-
Entry

A single file

+ Change settings

[][src]Module abstutil::abst_data

Structs

+
DataPacks

Player-chosen groups of files to opt into downloading

+
Entry

A single file

Manifest

A list of all canonical data files for A/B Street that're uploaded somewhere. The file formats are tied to the latest version of the git repo. Players use the updater crate to sync these files with local copies.

diff --git a/rustdoc/abstutil/abst_data/sidebar-items.js b/rustdoc/abstutil/abst_data/sidebar-items.js index 5745f756bb..a6b9f6d0b5 100644 --- a/rustdoc/abstutil/abst_data/sidebar-items.js +++ b/rustdoc/abstutil/abst_data/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"struct":[["Entry","A single file"],["Manifest","A list of all canonical data files for A/B Street that're uploaded somewhere. The file formats are tied to the latest version of the git repo. Players use the updater crate to sync these files with local copies."]]}); \ No newline at end of file +initSidebarItems({"struct":[["DataPacks","Player-chosen groups of files to opt into downloading"],["Entry","A single file"],["Manifest","A list of all canonical data files for A/B Street that're uploaded somewhere. The file formats are tied to the latest version of the git repo. Players use the updater crate to sync these files with local copies."]]}); \ No newline at end of file diff --git a/rustdoc/abstutil/abst_data/struct.DataPacks.html b/rustdoc/abstutil/abst_data/struct.DataPacks.html new file mode 100644 index 0000000000..6d6fb49bef --- /dev/null +++ b/rustdoc/abstutil/abst_data/struct.DataPacks.html @@ -0,0 +1,21 @@ +abstutil::abst_data::DataPacks - Rust

[][src]Struct abstutil::abst_data::DataPacks

pub struct DataPacks {
+    pub runtime: BTreeSet<String>,
+    pub input: BTreeSet<String>,
+}

Player-chosen groups of files to opt into downloading

+

+ Fields

runtime: BTreeSet<String>

A list of cities to download for using in A/B Street.

+
input: BTreeSet<String>

A list of cities to download for running the map importer.

+

Implementations

impl DataPacks[src]

pub fn load_or_create() -> DataPacks[src]

Load the player's config for what files to download, or create the config.

+

Trait Implementations

impl<'de> Deserialize<'de> for DataPacks[src]

impl Serialize for DataPacks[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+
\ No newline at end of file diff --git a/rustdoc/abstutil/abst_data/struct.Entry.html b/rustdoc/abstutil/abst_data/struct.Entry.html index f7e2993631..3f12d37ea8 100644 --- a/rustdoc/abstutil/abst_data/struct.Entry.html +++ b/rustdoc/abstutil/abst_data/struct.Entry.html @@ -1,13 +1,13 @@ abstutil::abst_data::Entry - Rust

[][src]Struct abstutil::abst_data::Entry

pub struct Entry {
+                Change settings

[][src]Struct abstutil::abst_data::Entry

pub struct Entry {
     pub checksum: String,
     pub size_bytes: usize,
 }

A single file

Fields

checksum: String

md5sum of the file

size_bytes: usize

Size in bytes

-

Trait Implementations

impl<'de> Deserialize<'de> for Entry[src]

impl Serialize for Entry[src]

Trait Implementations

impl<'de> Deserialize<'de> for Entry[src]

impl Serialize for Entry[src]

Auto Trait Implementations

impl RefUnwindSafe for Entry

impl Send for Entry

impl Sync for Entry

impl Unpin for Entry

impl UnwindSafe for Entry

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]