Skip to content

Commit

Permalink
Draft of new chapter - the dark elf plaza
Browse files Browse the repository at this point in the history
  • Loading branch information
thebracket committed Nov 24, 2021
1 parent 714afb3 commit d6a4673
Show file tree
Hide file tree
Showing 141 changed files with 17,426 additions and 824 deletions.
1,683 changes: 862 additions & 821 deletions Cargo.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ members = [
"chapter-71-logging",
"chapter-72-textlayers",
"chapter-73-systems",
"chapter-74-darkcity"
"chapter-74-darkcity",
"chapter-75-darkplaza",
]

[profile.dev]
Expand Down
1 change: 1 addition & 0 deletions book/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,6 @@
- [Text Layers](./chapter_72.md)
- [Systems/Dispatch](./chapter_73.md)
- [Dark Elf City 1](./chapter_74.md)
- [Dark Elf Plaza](./chapter_75.md)
- [Contributors](./contributors.md)
- [Licensing](./license.md)
Binary file added book/src/beta-webBanner-old.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added book/src/c75-altar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added book/src/c75-edgeroads.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added book/src/c75-emptymap.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added book/src/c75-pools.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added book/src/c75-solidrock.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added book/src/c75-vokoth.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion book/src/chapter_74.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The next level of the game is a dark elven city. The design document is a bit sp

## Generating a basic city

The `level_builder` function in `map_builder/mod.rs` controls which map algorithm is called for a given level. Add a placeholder entry for a new map type:
The `level_builder` function in `map_builders/mod.rs` controls which map algorithm is called for a given level. Add a placeholder entry for a new map type:

```rust
pub fn level_builder(new_depth: i32, width: i32, height: i32) -> BuilderChain {
Expand Down
653 changes: 653 additions & 0 deletions book/src/chapter_75.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chapter-74-darkcity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
rltk = { path="c:/users/herbe/documents/learnrust/rltk_rs/rltk", features = ["serde"] }
rltk = { version = "0.8.0", features = ["serde"] }
specs = { version = "0.16.1", features = ["serde"] }
specs-derive = "0.4.1"
serde= { version = "^1.0.44", features = ["derive"] }
Expand Down
15 changes: 15 additions & 0 deletions chapter-75-darkplaza/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[package]
name = "chapter-75-darkplaza"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
rltk = { version = "0.8.0", features = ["serde"] }
specs = { version = "0.16.1", features = ["serde"] }
specs-derive = "0.4.1"
serde= { version = "^1.0.44", features = ["derive"] }
serde_json = "^1.0.44"
lazy_static = "1.4.0"
regex = "1.3.6"
Loading

0 comments on commit d6a4673

Please sign in to comment.