Fog rule
This commit is contained in:
@@ -1115,6 +1115,7 @@ rules.title.environment = Environment
|
|||||||
rules.title.teams = Teams
|
rules.title.teams = Teams
|
||||||
rules.title.planet = Planet
|
rules.title.planet = Planet
|
||||||
rules.lighting = Lighting
|
rules.lighting = Lighting
|
||||||
|
rules.fog = Fog of War
|
||||||
rules.fire = Fire
|
rules.fire = Fire
|
||||||
rules.explosions = Block/Unit Explosion Damage
|
rules.explosions = Block/Unit Explosion Damage
|
||||||
rules.ambientlight = Ambient Light
|
rules.ambientlight = Ambient Light
|
||||||
|
|||||||
@@ -194,6 +194,7 @@ public class CustomRulesDialog extends BaseDialog{
|
|||||||
title("@rules.title.environment");
|
title("@rules.title.environment");
|
||||||
check("@rules.explosions", b -> rules.damageExplosions = b, () -> rules.damageExplosions);
|
check("@rules.explosions", b -> rules.damageExplosions = b, () -> rules.damageExplosions);
|
||||||
check("@rules.fire", b -> rules.fire = b, () -> rules.fire);
|
check("@rules.fire", b -> rules.fire = b, () -> rules.fire);
|
||||||
|
check("@rules.fog", b -> rules.fog = b, () -> rules.fog);
|
||||||
check("@rules.lighting", b -> rules.lighting = b, () -> rules.lighting);
|
check("@rules.lighting", b -> rules.lighting = b, () -> rules.lighting);
|
||||||
|
|
||||||
if(experimental){
|
if(experimental){
|
||||||
|
|||||||
@@ -92,8 +92,8 @@ public class MenuFragment{
|
|||||||
Draw.color();
|
Draw.color();
|
||||||
Draw.rect(logo, fx, fy, logow, logoh);
|
Draw.rect(logo, fx, fy, logow, logoh);
|
||||||
|
|
||||||
Fonts.def.setColor(Color.white);
|
Fonts.outline.setColor(Color.white);
|
||||||
Fonts.def.draw(versionText, fx, fy - logoh/2f, Align.center);
|
Fonts.outline.draw(versionText, fx, fy - logoh/2f - Scl.scl(2f), Align.center);
|
||||||
}).touchable = Touchable.disabled;
|
}).touchable = Touchable.disabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user