Changes

Summary

  1. Fixed Typo (commit: 2705e74) (details)
  2. An attempt to create a chunk spanning gen algo (commit: ee16c28) (details)
  3. Simplification (commit: 50df601) (details)
  4. Make Oil physics somewhere between Water and Lava (commit: 9e117c0) (details)
  5. More improvements (commit: c5a5d03) (details)
  6. Ditched Chunk Spanning Algo (commit: f83341e) (details)
  7. Moved OilPopulate to the worldgen package (commit: 279d729) (details)
  8. Update less Oil during gen so we don't crash (commit: 7b47ac8) (details)
  9. Biomes complete (commit: 03b583c) (details)
  10. Some minor optimizations (commit: f32507d) (details)
The file was modifiedcommon/buildcraft/core/gui/GuiBuildCraft.java (diff)
The file was modifiedcommon/buildcraft/core/gui/buttons/GuiBetterButton.java (diff)
Commit ee16c288aaad5fde8ab422a0aaaede4be03e410e by CovertJaguar
An attempt to create a chunk spanning gen algo

This is mostly just a proof of concept, Oil doesn't really need it.
(commit: ee16c28)
The file was modifiedbuildcraft_resources/mods/buildcraft/textures/blocks/oil.png (diff)
The file was modifiedcommon/buildcraft/BuildCraftEnergy.java (diff)
The file was modifiedbuildcraft_resources/mods/buildcraft/textures/blocks/oil_flow.png (diff)
The file was modifiedcommon/buildcraft/energy/OilPopulate.java (diff)
Commit 50df601134789a967ec5ff5da5f24ad7ab8e4da9 by CovertJaguar
Simplification

Still some kind of bug with the groundLevel var. Many wells are 2-3
times taller than they should be.
(commit: 50df601)
The file was modifiedcommon/buildcraft/energy/OilPopulate.java (diff)
Commit 9e117c0b31c6c07e917d16c37f9a4c5c8803f989 by CovertJaguar
Make Oil physics somewhere between Water and Lava
(commit: 9e117c0)
The file was modifiedcommon/buildcraft/energy/BlockOilFlowing.java (diff)
Commit c5a5d037c99f23d4d62909e533a8be422e2a9e1b by CovertJaguar
More improvements

Height is "fixed", but there is still an issue with lakes generate in an
L shape consistently.
(commit: c5a5d03)
The file was modifiedcommon/buildcraft/energy/OilPopulate.java (diff)
Commit f83341ece8d967e97d10b315c57d3c8704ec215d by CovertJaguar
Ditched Chunk Spanning Algo

The chunk spanning gen code turned out to be unnecessary. The real
problem was that the Lake gen code was poorly balanced. That's fixed
now.

I've also added some code to prevent Wells and Lake from spawning on
overly rough terrain. No more wells on the edges of cliff faces for
example. I had to rebalance the spawn chances though. Of note is the
fact that I increased the chance multiplier for surface deposit biomes
from 1.5 to 4.  Distribution balance may need some more work.

Additionally, I've started work on an Oil Field biome, a rare biome that
spawns massive amounts of Oil. Its currently disabled, but the ground
work is there. Next step is creating a suitably sparse Simplex noise
field for the biome replacer.
(commit: f83341e)
The file was modifiedcommon/buildcraft/BuildCraftEnergy.java (diff)
The file was modifiedcommon/buildcraft/energy/OilPopulate.java (diff)
The file was addedcommon/buildcraft/energy/worldgen/GenLayerAddOilDesert.java
The file was addedcommon/buildcraft/energy/worldgen/BiomeOilDesert.java
The file was addedcommon/buildcraft/energy/worldgen/BiomeInitializer.java
Commit 279d729d038c08242a173ad6c50238694501a2da by CovertJaguar
Moved OilPopulate to the worldgen package
(commit: 279d729)
The file was removedcommon/buildcraft/energy/OilPopulate.java
The file was addedcommon/buildcraft/energy/worldgen/OilPopulate.java
Commit 7b47ac8743190221bb5a17dbb71af0d8b44b1576 by CovertJaguar
Update less Oil during gen so we don't crash

The game doesn't really like generating 50 oil wells at once
(commit: 7b47ac8)
The file was modifiedcommon/buildcraft/energy/worldgen/OilPopulate.java (diff)
Commit 03b583ce74e5ae8148b2941e4dc19feb4f404b7b by CovertJaguar
Biomes complete

Add Ocean Oil Field and Desert Oil Field biomes. Rare chance of
spawning. I only found a single Ocean Oil Field within 4k blocks of
spawn. But if you find one, you will never run out of Oil, ever.

These two biomes have a 40x multiplier on oil spawn chance.

They can be disabled by setting the biome Id in the config to -1.
(commit: 03b583c)
The file was removedcommon/buildcraft/energy/worldgen/BiomeOilDesert.java
The file was addedcommon/buildcraft/energy/worldgen/BiomeGenOilDesert.java
The file was modifiedcommon/buildcraft/BuildCraftEnergy.java (diff)
The file was modifiedcommon/buildcraft/energy/worldgen/BiomeInitializer.java (diff)
The file was addedcommon/buildcraft/energy/worldgen/SimplexNoise.java
The file was addedcommon/buildcraft/energy/worldgen/GenLayerAddOilOcean.java
The file was modifiedcommon/buildcraft/energy/worldgen/GenLayerAddOilDesert.java (diff)
The file was addedcommon/buildcraft/energy/worldgen/BiomeGenOilOcean.java
The file was modifiedcommon/buildcraft/transport/TileGenericPipe.java (diff)
The file was modifiedcommon/buildcraft/transport/PipeTransportItems.java (diff)