Skip to content

Commit

Permalink
Remove constants::math module (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
shanemadden authored Nov 28, 2023
1 parent 5a80f57 commit 6a88436
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 122 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Unreleased
- Changed `game::map::get_room_status` return type to `Option<RoomStatusResult>`, returning
`None` instead of the previous behavior of returning an artificial 'normal' status for rooms
outside the server's map
- Remove `constants::math::control_points_for_gcl` and `power_for_gpl` - moved to new
`screeps-game-utils` crate

### Bugfixes:

Expand Down
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ serde-wasm-bindgen = "0.6"
wasm-bindgen = "0.2"

[dev-dependencies]
assert_approx_eq = "1.1"
bincode = "1.3"
wasm-bindgen-test = "0.3"

Expand Down
3 changes: 1 addition & 2 deletions src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,14 @@ pub(crate) mod macros {
pub mod extra;
pub mod find;
pub mod look;
pub mod math;
mod numbers;
mod recipes;
pub mod seasonal;
mod small_enums;
mod types;

pub use self::{
extra::*, find::FindConstant, look::LookConstant, math::*, numbers::*, recipes::FactoryRecipe,
extra::*, find::FindConstant, look::LookConstant, numbers::*, recipes::FactoryRecipe,
small_enums::*, types::*,
};

Expand Down
119 changes: 0 additions & 119 deletions src/constants/math.rs

This file was deleted.

0 comments on commit 6a88436

Please sign in to comment.