Attempt at fixing mediump precision issues
This commit is contained in:
@@ -1176,6 +1176,10 @@ block.payload-router.name = Payload Router
|
|||||||
block.disassembler.name = Disassembler
|
block.disassembler.name = Disassembler
|
||||||
block.silicon-crucible.name = Silicon Crucible
|
block.silicon-crucible.name = Silicon Crucible
|
||||||
block.overdrive-dome.name = Overdrive Dome
|
block.overdrive-dome.name = Overdrive Dome
|
||||||
|
#experimental, may be removed
|
||||||
|
block.block-forge.name = Block Forge
|
||||||
|
block.block-loader.name = Block Loader
|
||||||
|
block.block-unloader.name = Block Unloader
|
||||||
|
|
||||||
block.switch.name = Switch
|
block.switch.name = Switch
|
||||||
block.micro-processor.name = Micro Processor
|
block.micro-processor.name = Micro Processor
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ public abstract class ClientLauncher extends ApplicationCore implements Platform
|
|||||||
//debug GL information
|
//debug GL information
|
||||||
Log.info("[GL] Version: @", graphics.getGLVersion());
|
Log.info("[GL] Version: @", graphics.getGLVersion());
|
||||||
Log.info("[GL] Max texture size: @", Gl.getInt(Gl.maxTextureSize));
|
Log.info("[GL] Max texture size: @", Gl.getInt(Gl.maxTextureSize));
|
||||||
|
Log.info("[GL] Max vert/frag shader FP precision: @ / @", Gl.getShaderPrecision(Gl.vertexShader, Gl.highFloat), Gl.getShaderPrecision(Gl.fragmentShader, Gl.highFloat));
|
||||||
Log.info("[GL] Using @ context.", gl30 != null ? "OpenGL 3" : "OpenGL 2");
|
Log.info("[GL] Using @ context.", gl30 != null ? "OpenGL 3" : "OpenGL 2");
|
||||||
Log.info("[JAVA] Version: @", System.getProperty("java.version"));
|
Log.info("[JAVA] Version: @", System.getProperty("java.version"));
|
||||||
|
|
||||||
|
|||||||
@@ -1330,7 +1330,7 @@ public class Blocks implements ContentList{
|
|||||||
//region storage
|
//region storage
|
||||||
|
|
||||||
coreShard = new CoreBlock("core-shard"){{
|
coreShard = new CoreBlock("core-shard"){{
|
||||||
requirements(Category.effect, BuildVisibility.editorOnly, with(Items.copper, 2000, Items.lead, 1000));
|
requirements(Category.effect, BuildVisibility.editorOnly, with(Items.copper, 1500, Items.lead, 1000));
|
||||||
alwaysUnlocked = true;
|
alwaysUnlocked = true;
|
||||||
|
|
||||||
unitType = UnitTypes.alpha;
|
unitType = UnitTypes.alpha;
|
||||||
|
|||||||
@@ -202,7 +202,6 @@ public class UnitType extends UnlockableContent{
|
|||||||
stats.add(Stat.itemCapacity, itemCapacity);
|
stats.add(Stat.itemCapacity, itemCapacity);
|
||||||
stats.add(Stat.range, (int)(maxRange / tilesize), StatUnit.blocks);
|
stats.add(Stat.range, (int)(maxRange / tilesize), StatUnit.blocks);
|
||||||
stats.add(Stat.commandLimit, commandLimit);
|
stats.add(Stat.commandLimit, commandLimit);
|
||||||
//TODO abilities, maybe try something like DPS
|
|
||||||
|
|
||||||
if(abilities.any()){
|
if(abilities.any()){
|
||||||
var unique = new ObjectSet<String>();
|
var unique = new ObjectSet<String>();
|
||||||
@@ -249,7 +248,7 @@ public class UnitType extends UnlockableContent{
|
|||||||
singleTarget = weapons.size <= 1;
|
singleTarget = weapons.size <= 1;
|
||||||
|
|
||||||
if(itemCapacity < 0){
|
if(itemCapacity < 0){
|
||||||
itemCapacity = Math.max(Mathf.round(hitSize * 4, 10), 10);
|
itemCapacity = Math.max(Mathf.round((int)(hitSize * 4.3), 10), 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
//set up default range
|
//set up default range
|
||||||
|
|||||||
@@ -412,7 +412,7 @@ public class SettingsMenuDialog extends SettingsDialog{
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
graphics.checkPref("linear", !mobile, b -> {
|
graphics.checkPref("linear", true, b -> {
|
||||||
for(Texture tex : Core.atlas.getTextures()){
|
for(Texture tex : Core.atlas.getTextures()){
|
||||||
TextureFilter filter = b ? TextureFilter.linear : TextureFilter.nearest;
|
TextureFilter filter = b ? TextureFilter.linear : TextureFilter.nearest;
|
||||||
tex.setFilter(filter, filter);
|
tex.setFilter(filter, filter);
|
||||||
|
|||||||
@@ -9,11 +9,16 @@ public enum SAchievement{
|
|||||||
win10Attack(SStat.attacksWon, 10),
|
win10Attack(SStat.attacksWon, 10),
|
||||||
win10PvP(SStat.pvpsWon, 10),
|
win10PvP(SStat.pvpsWon, 10),
|
||||||
defeatAttack5Waves,
|
defeatAttack5Waves,
|
||||||
|
//TODO
|
||||||
launch30Times(SStat.timesLaunched, 30),
|
launch30Times(SStat.timesLaunched, 30),
|
||||||
|
//TODO
|
||||||
|
captureBackground,
|
||||||
|
//TODO
|
||||||
survive100Waves(SStat.maxWavesSurvived, 100),
|
survive100Waves(SStat.maxWavesSurvived, 100),
|
||||||
survive500Waves(SStat.maxWavesSurvived, 500),
|
survive500Waves(SStat.maxWavesSurvived, 500),
|
||||||
researchAll,
|
researchAll,
|
||||||
useAllMechs(SStat.zoneMechsUsed, 6),
|
//TODO
|
||||||
|
useAllUnits,
|
||||||
shockWetEnemy,
|
shockWetEnemy,
|
||||||
killEnemyPhaseWall,
|
killEnemyPhaseWall,
|
||||||
researchRouter,
|
researchRouter,
|
||||||
@@ -24,8 +29,9 @@ public enum SAchievement{
|
|||||||
downloadMapWorkshop,
|
downloadMapWorkshop,
|
||||||
publishMap(SStat.mapsPublished, 1),
|
publishMap(SStat.mapsPublished, 1),
|
||||||
defeatBoss(SStat.bossesDefeated, 1),
|
defeatBoss(SStat.bossesDefeated, 1),
|
||||||
unlockAllZones,
|
//TODO
|
||||||
configAllZones,
|
captureAllSectors,
|
||||||
|
//configAllZones,
|
||||||
drop10kitems,
|
drop10kitems,
|
||||||
powerupImpactReactor,
|
powerupImpactReactor,
|
||||||
obtainThorium,
|
obtainThorium,
|
||||||
@@ -37,16 +43,25 @@ public enum SAchievement{
|
|||||||
active10Phantoms,
|
active10Phantoms,
|
||||||
active50Crawlers,
|
active50Crawlers,
|
||||||
build1000Units,
|
build1000Units,
|
||||||
earnSRank,
|
//TODO
|
||||||
earnSSRank,
|
buildAllUnits,
|
||||||
|
//TODO
|
||||||
|
activeAllT5,
|
||||||
|
//TODO
|
||||||
|
//earnSRank,
|
||||||
|
//earnSSRank,
|
||||||
dieExclusion,
|
dieExclusion,
|
||||||
drown,
|
drown,
|
||||||
fillCoreAllCampaign,
|
fillCoreAllCampaign,
|
||||||
hostServer10(SStat.maxPlayersServer, 10),
|
hostServer10(SStat.maxPlayersServer, 10),
|
||||||
buildMeltdownSpectre,
|
buildMeltdownSpectreForeshadow,
|
||||||
launchItemPad,
|
launchItemPad,
|
||||||
skipLaunching2Death,
|
//skipLaunching2Death,
|
||||||
chainRouters,
|
chainRouters,
|
||||||
|
//TODO
|
||||||
|
becomeRouter,
|
||||||
|
//TODO
|
||||||
|
save20Schematics,
|
||||||
survive10WavesNoBlocks,
|
survive10WavesNoBlocks,
|
||||||
useFlameAmmo,
|
useFlameAmmo,
|
||||||
coolTurret,
|
coolTurret,
|
||||||
|
|||||||
@@ -127,7 +127,8 @@ public class SStats implements SteamUserStatsCallback{
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(Core.settings.getBool("meltdownp", false) && Core.settings.getBool("spectrep", false)){
|
if(Core.settings.getBool("meltdownp", false) && Core.settings.getBool("spectrep", false)){
|
||||||
buildMeltdownSpectre.complete();
|
//TODO
|
||||||
|
//buildMeltdownSpectre.complete();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -148,7 +149,8 @@ public class SStats implements SteamUserStatsCallback{
|
|||||||
if(e.content == Items.titanium) obtainTitanium.complete();
|
if(e.content == Items.titanium) obtainTitanium.complete();
|
||||||
|
|
||||||
if(!content.sectors().contains(SectorPreset::locked)){
|
if(!content.sectors().contains(SectorPreset::locked)){
|
||||||
unlockAllZones.complete();
|
//TODO
|
||||||
|
//unlockAllZones.complete();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||||
archash=46d1f7c89424a7abf0d7c51cd24f2a185ba98337
|
archash=73be877255367297b289b4ae09ca8d71af29cc5e
|
||||||
|
|||||||
Reference in New Issue
Block a user