summaryrefslogtreecommitdiff
path: root/biome_infos.go
blob: e9daabb2a4d8a405ce34c76a89705f09f4b5d100 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
package main

import (
	"github.com/kch42/gomcmap/mcmap"
	"github.com/mattn/go-gtk/gdk"
)

var bioList = []mcmap.Biome{
	mcmap.BioOcean,
	mcmap.BioPlains,
	mcmap.BioDesert,
	mcmap.BioExtremeHills,
	mcmap.BioForest,
	mcmap.BioTaiga,
	mcmap.BioSwampland,
	mcmap.BioRiver,
	mcmap.BioHell,
	mcmap.BioSky,
	mcmap.BioFrozenOcean,
	mcmap.BioFrozenRiver,
	mcmap.BioIcePlains,
	mcmap.BioIceMountains,
	mcmap.BioMushroomIsland,
	mcmap.BioMushroomIslandShore,
	mcmap.BioBeach,
	mcmap.BioDesertHills,
	mcmap.BioForestHills,
	mcmap.BioTaigaHills,
	mcmap.BioExtremeHillsEdge,
	mcmap.BioJungle,
	mcmap.BioJungleHills,
	mcmap.BioUncalculated,
}

var bioColors = map[mcmap.Biome]*gdk.Color{
	mcmap.BioOcean:               gdk.NewColor("#0000ff"),
	mcmap.BioPlains:              gdk.NewColor("#9fe804"),
	mcmap.BioDesert:              gdk.NewColor("#f5ff58"),
	mcmap.BioExtremeHills:        gdk.NewColor("#a75300"),
	mcmap.BioForest:              gdk.NewColor("#006f2a"),
	mcmap.BioTaiga:               gdk.NewColor("#05795a"),
	mcmap.BioSwampland:           gdk.NewColor("#6a7905"),
	mcmap.BioRiver:               gdk.NewColor("#196eff"),
	mcmap.BioHell:                gdk.NewColor("#d71900"),
	mcmap.BioSky:                 gdk.NewColor("#871eb3"),
	mcmap.BioFrozenOcean:         gdk.NewColor("#d6f0ff"),
	mcmap.BioFrozenRiver:         gdk.NewColor("#8fb6cd"),
	mcmap.BioIcePlains:           gdk.NewColor("#fbfbfb"),
	mcmap.BioIceMountains:        gdk.NewColor("#c6bfb1"),
	mcmap.BioMushroomIsland:      gdk.NewColor("#9776a4"),
	mcmap.BioMushroomIslandShore: gdk.NewColor("#9e8ebc"),
	mcmap.BioBeach:               gdk.NewColor("#fffdc9"),
	mcmap.BioDesertHills:         gdk.NewColor("#adb354"),
	mcmap.BioForestHills:         gdk.NewColor("#40694f"),
	mcmap.BioTaigaHills:          gdk.NewColor("#5b8578"),
	mcmap.BioExtremeHillsEdge:    gdk.NewColor("#a77748"),
	mcmap.BioJungle:              gdk.NewColor("#22db04"),
	mcmap.BioJungleHills:         gdk.NewColor("#63bf54"),
	mcmap.BioUncalculated:        gdk.NewColor("#333333"),
}

var coldBiome = map[mcmap.Biome]bool{
	mcmap.BioOcean:               false,
	mcmap.BioPlains:              false,
	mcmap.BioDesert:              false,
	mcmap.BioExtremeHills:        false,
	mcmap.BioForest:              false,
	mcmap.BioTaiga:               true,
	mcmap.BioSwampland:           false,
	mcmap.BioRiver:               false,
	mcmap.BioHell:                false,
	mcmap.BioSky:                 false,
	mcmap.BioFrozenOcean:         true,
	mcmap.BioFrozenRiver:         true,
	mcmap.BioIcePlains:           true,
	mcmap.BioIceMountains:        true,
	mcmap.BioMushroomIsland:      false,
	mcmap.BioMushroomIslandShore: false,
	mcmap.BioBeach:               false,
	mcmap.BioDesertHills:         false,
	mcmap.BioForestHills:         false,
	mcmap.BioTaigaHills:          true,
	mcmap.BioExtremeHillsEdge:    false,
	mcmap.BioJungle:              false,
	mcmap.BioJungleHills:         false,
	mcmap.BioUncalculated:        false,
}