Masters for a match: the four sides red, green, blue and yellow (side 4 gets its own owner), and start_masters gives every master his core and his starting area

This commit is contained in:
Richard Zink committed 2026-11-04 10:55:17 +01:00
1 parent 35ddfa134c
commit 87890adc53
10 files changed
+132 -9

No files matched your search

+2
View File
@@ -2555,6 +2555,7 @@ pub fn minimap_color(tile: &Tile) -> [u8; 4] {
Owner::Hero => [170, 175, 190, 255],
Owner::Rival1 => [70, 150, 80, 255],
Owner::Rival2 => [70, 100, 180, 255],
Owner::Rival3 => [150, 130, 50, 255],
Owner::None => [70, 64, 60, 255],
},
Kind::Treasury => [200, 160, 60, 255],
@@ -2565,6 +2566,7 @@ pub fn minimap_color(tile: &Tile) -> [u8; 4] {
Kind::Core => match tile.owner {
Owner::Rival1 => [90, 240, 110, 255],
Owner::Rival2 => [100, 150, 255, 255],
Owner::Rival3 => [250, 220, 90, 255],
_ => [255, 60, 60, 255],
},
Kind::Portal => [190, 90, 240, 255],