1
0
mirror of https://git.ngram.ca/OpenJam/rc-servers synced 2026-08-23 23:08:52 +00:00

Use real spawn points when available #30

This commit is contained in:
NG (Graham)
2025-07-26 11:47:05 -04:00
parent a27ae3d466
commit c6bd9e110d
13 changed files with 520 additions and 106 deletions

View File

@@ -55,14 +55,14 @@ impl GameMap {
#[inline]
pub fn as_str(&self) -> &'static str {
match self {
Self::Mars1 => "RC_Planet_Mars_01_CTF",
Self::Mars2 => "RC_Planet_Mars_02_BA",
Self::Mars3 => "RC_Planet_Mars_03_BA",
Self::Neptune1 => "RC_Planet_Neptune_01_CTF",
Self::Neptune2 => "RC_Planet_Neptune_02_BA",
Self::Neptune3 => "RC_Planet_Neptune_03_BA",
Self::Earth1 => "RC_Planet_Earth_01_BA",
Self::Earth2 => "RC_Planet_Earth_02_BA",
Self::Mars1 => "RC_Planet_Mars_01_CTF", // og flat mars
Self::Mars2 => "RC_Planet_Mars_02_BA", // the one with the bridge in the middle
Self::Mars3 => "RC_Planet_Mars_03_BA", // tharsis rift without the rift
Self::Neptune1 => "RC_Planet_Neptune_01_CTF", // og flat GJ1214b gliese lake without the lake
Self::Neptune2 => "RC_Planet_Neptune_02_BA", // the one with the cave
Self::Neptune3 => "RC_Planet_Neptune_03_BA", // spitzer dam
Self::Earth1 => "RC_Planet_Earth_01_BA", // birmingham power station
Self::Earth2 => "RC_Planet_Earth_02_BA", // vanguard
}
}
@@ -82,7 +82,7 @@ impl GameMap {
}
#[repr(u8)]
#[derive(Copy, Clone, Hash, Eq, PartialEq)]
#[derive(Copy, Clone, Hash, Eq, PartialEq, Debug)]
pub enum GameMode {
BattleArena = 0,
SuddenDeath = 1,