chars, ...
This commit is contained in:
parent
eea23233f4
commit
3515fb1792
53 changed files with 688 additions and 543 deletions
|
@ -395,11 +395,8 @@ public class Game implements IThreadListener {
|
|||
@Variable(name = "con_autoclose", category = CVarCategory.CONSOLE, display = "Schließen")
|
||||
public boolean conAutoclose = true;
|
||||
public boolean interrupted;
|
||||
public List<DisplayMode> vid_modes = Lists.newArrayList();
|
||||
public List<Message> messages = Lists.newArrayList();
|
||||
@Variable(name = "gui_theme", category = CVarCategory.GUI, display = "Oberflächen-Design")
|
||||
public Style style = Style.DEFAULT;
|
||||
public List<Style> themes;
|
||||
@Variable(name = "gui_scroll_lines", category = CVarCategory.GUI, min = 1, max = 10, display = "Scrollbreite", unit = "Zeilen")
|
||||
public int scrollLines = 3;
|
||||
|
||||
|
@ -550,7 +547,6 @@ public class Game implements IThreadListener {
|
|||
this.renderGlobal.onReload();
|
||||
EntityTexManager.loadNpcTextures();
|
||||
this.effectRenderer = new EffectRenderer(this.theWorld, this.textureManager);
|
||||
new File("skins").mkdirs();
|
||||
}
|
||||
|
||||
public void start()
|
||||
|
@ -2924,7 +2920,7 @@ public class Game implements IThreadListener {
|
|||
else if(field.getType() == String.class)
|
||||
cv = new StringVar(value.name(), value.display(), field, object, value.category(), (int)value.max(), (StringFunction)func, validator, (int)value.min() <= 0);
|
||||
else if(field.getType().isEnum())
|
||||
cv = new EnumVar(value.name(), value.display(), field, object, value.category(), (EnumFunction)func);
|
||||
cv = new EnumVar(value.name(), value.display(), field, object, value.category(), (EnumFunction)func, value.switched());
|
||||
else
|
||||
throw new IllegalArgumentException(value.name() + ": Unbekannter Variablen-Typ - " + field.getType());
|
||||
regVar(cv);
|
||||
|
@ -2951,6 +2947,7 @@ public class Game implements IThreadListener {
|
|||
regVars(this);
|
||||
regVars(Style.CUSTOM);
|
||||
regVars(GuiConnect.INSTANCE);
|
||||
regVars(GuiChar.INSTANCE);
|
||||
|
||||
if(!config.exists())
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue