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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
|
/*
* Copyright (C) 2022 NotEnoughUpdates contributors
*
* This file is part of NotEnoughUpdates.
*
* NotEnoughUpdates is free software: you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* NotEnoughUpdates is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with NotEnoughUpdates. If not, see <https://www.gnu.org/licenses/>.
*/
package io.github.moulberry.notenoughupdates.options.separatesections;
import com.google.gson.annotations.Expose;
import io.github.moulberry.notenoughupdates.core.config.Position;
import io.github.moulberry.moulconfig.annotations.ConfigEditorSlider;
import io.github.moulberry.moulconfig.annotations.ConfigOption;
public class DungeonMapConfig {
@Expose
@ConfigOption(
name = "Border Size",
desc = "Changes the size of the map border, without changing the size of the contents"
)
@ConfigEditorSlider(
minValue = 0,
maxValue = 5,
minStep = 0.25f
)
public float dmBorderSize = 1;
@Expose
@ConfigOption(
name = "Room Size",
desc = "Changes the size of rooms. Useful for higher dungeons with larger maps"
)
@ConfigEditorSlider(
minValue = 0,
maxValue = 5,
minStep = 0.25f
)
public float dmRoomSize = 1;
@Expose
@ConfigOption(
name = "Icon Size",
desc = "Changes the scale of room indicators and player icons"
)
@ConfigEditorSlider(
minValue = 0.5f,
maxValue = 3f,
minStep = 0.25f
)
public float dmIconScale = 1.0f;
@Expose
@ConfigOption(
name = "Border Style",
desc = "Various custom borders from various talented artists.\nUse 'custom' if your texture pack has a custom border"
)
public int dmBorderStyle = 0;
@Expose
@ConfigOption(
name = "Show Dungeon Map",
desc = "Show/hide the NEU dungeon map"
)
public boolean dmEnable = true;
@Expose
@ConfigOption(
name = "Map Center",
desc = "Center on rooms, or center on your player"
)
public boolean dmCenterPlayer = true;
@Expose
@ConfigOption(
name = "Rotate with Player",
desc = "Rotate the map to face the same direction as your player"
)
public boolean dmRotatePlayer = true;
@Expose
@ConfigOption(
name = "Orient Checkmarks",
desc = "Checkmarks will always show vertically, regardless of rotation"
)
public boolean dmOrientCheck = true;
@Expose
@ConfigOption(
name = "Center Checkmarks",
desc = "Checkmarks will show closer to the center of rooms"
)
public boolean dmCenterCheck = false;
@Expose
@ConfigOption(
name = "Player Icon Style",
desc = "Various player icon styles"
)
public int dmPlayerHeads = 0;
@Expose
@ConfigOption(
name = "Interpolate Far Players",
desc = "Will make players far away move smoothly"
)
public boolean dmPlayerInterp = true;
@Expose
@ConfigOption(
name = "OpenGL Compatibility",
desc = "Compatiblity options for people with bad computers. ONLY use this if you know what you are doing, otherwise the map will look worse"
)
public int dmCompat = 0;
@Expose
@ConfigOption(
name = "Background Colour",
desc = "Colour of the map background. Supports opacity & chroma"
)
public String dmBackgroundColour = "00:170:75:75:75";
@Expose
@ConfigOption(
name = "Border Colour",
desc = "Colour of the map border. Supports opacity & chroma. Turn off custom borders to see"
)
public String dmBorderColour = "00:0:0:0:0";
@Expose
@ConfigOption(
name = "Chroma Border Mode",
desc = "Applies a hue offset around the map border"
)
public boolean dmChromaBorder = false;
@Expose
@ConfigOption(
name = "Background Blur Factor",
desc = "Changes the blur factor behind the map. Set to 0 to disable blur"
)
public float dmBackgroundBlur = 0;
@Expose
@ConfigOption(
name = "Position",
desc = "Change the position of the map"
)
public Position dmPosition = new Position(10, 10);
}
|