mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'src/data/sector.rs')
-rw-r--r--src/data/sector.rs44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/data/sector.rs b/src/data/sector.rs
new file mode 100644
index 0000000..ac8c471
--- /dev/null
+++ b/src/data/sector.rs
@@ -0,0 +1,44 @@
+//! sectors
+//!
+//! [source](https://github.com/Anuken/Mindustry/blob/master/core/src/mindustry/content/SectorPresets.java)
+use crate::content::numeric_enum;
+
+numeric_enum! {
+ pub enum Sector for u8 | TryFromU8Error {
+ GroundZero,
+ SaltFlats,
+ FrozenForest,
+ BiomassFacility,
+ Craters,
+ RuinousShores,
+ WindsweptIslands,
+ StainedMountains,
+ ExtractionOutpost,
+ Coastline,
+ NavalFortress,
+ FungalPass,
+ Overgrowth,
+ TarFields,
+ Impact0078,
+ DesolateRift,
+ NuclearComplex,
+ PlanetaryTerminal,
+ Onset,
+ Aegis,
+ Lake,
+ Intersect,
+ Atlas,
+ Split,
+ Basin,
+ Marsh,
+ Peaks,
+ Ravine,
+ CalderaErekir,
+ Stronghold,
+ Crevice,
+ Siege,
+ Crossroads,
+ Karst,
+ Origin,
+ }
+}