Permalink
Browse files

Significant refactor to support BC2 power (and the beginnings of IC2

power).

Add the beginnings of 3D model import and rendering support.
  • Loading branch information...
1 parent 1c09f6e commit 95db9f38901c7b94d0fdbe60f76f0c3178f87baf @diamondq committed Jan 6, 2013
Showing with 2,250 additions and 43 deletions.
  1. +4 −0 PetrolCraft/.classpath
  2. +11 −0 PetrolCraft/src/gfx/model/OilExtractor.mtl
  3. +721 −0 PetrolCraft/src/gfx/model/OilExtractor.obj
  4. +27 −1 PetrolCraft/src/petrolcraft/Mod_PetrolCraft.java
  5. +5 −0 PetrolCraft/src/petrolcraft/common/Constants.java
  6. +61 −0 PetrolCraft/src/petrolcraft/common/DebugLogFormatter.java
  7. +43 −0 PetrolCraft/src/petrolcraft/common/PacketGenerator.java
  8. +47 −0 PetrolCraft/src/petrolcraft/common/PacketHandler.java
  9. +5 −0 PetrolCraft/src/petrolcraft/common/PetrolPacket.java
  10. +54 −0 PetrolCraft/src/petrolcraft/common/PetrolUpdatePacket.java
  11. +14 −0 PetrolCraft/src/petrolcraft/common/Textures.java
  12. +144 −0 PetrolCraft/src/petrolcraft/common/TileEntityDelegate.java
  13. +50 −0 PetrolCraft/src/petrolcraft/machines/IMachineTileEntity.java
  14. +18 −1 PetrolCraft/src/petrolcraft/machines/Machines.java
  15. +27 −8 PetrolCraft/src/petrolcraft/machines/OilExtractorBlock.java
  16. +70 −0 PetrolCraft/src/petrolcraft/machines/OilExtractorRenderer.java
  17. +124 −33 PetrolCraft/src/petrolcraft/machines/OilExtractorTileEntity.java
  18. +97 −0 PetrolCraft/src/petrolcraft/machines/PoweredTileEntity.java
  19. +33 −0 PetrolCraft/src/petrolcraft/power/IEnergyConsumer.java
  20. +28 −0 PetrolCraft/src/petrolcraft/power/PowerAdapter.java
  21. +30 −0 PetrolCraft/src/petrolcraft/power/PowerConversion.java
  22. +90 −0 PetrolCraft/src/petrolcraft/power/bc/BCPoweredTileEntity.java
  23. +105 −0 PetrolCraft/src/petrolcraft/power/bc/PetrolBCPowerProvider.java
  24. +101 −0 PetrolCraft/src/petrolcraft/power/ic2/IC2EnergyConsumer.java
  25. +102 −0 PetrolCraft/src/petrolcraft/power/ic2/IC2PoweredTileEntity.java
  26. +119 −0 PetrolCraft/src/petrolcraft/render/ModelParser.java
  27. +90 −0 PetrolCraft/src/petrolcraft/render/OpenGLRenderer.java
  28. +30 −0 PetrolCraft/src/petrolcraft/render/VertexData.java
View
@@ -4,5 +4,9 @@
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry combineaccessrules="false" kind="src" path="/Minecraft"/>
<classpathentry combineaccessrules="false" kind="src" path="/IndustrialCraft-API"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/BuildCraft"/>
+ <classpathentry kind="lib" path="C:/PetrolCraft-Eclipse-3.7.2/forge/mcp/jars/bin/jinput.jar"/>
+ <classpathentry kind="lib" path="C:/PetrolCraft-Eclipse-3.7.2/forge/mcp/jars/bin/lwjgl.jar"/>
+ <classpathentry kind="lib" path="C:/PetrolCraft-Eclipse-3.7.2/forge/mcp/jars/bin/lwjgl_util.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
@@ -0,0 +1,11 @@
+# Blender MTL File: 'None'
+# Material Count: 1
+
+newmtl initialShadingGroup
+Ns 96.078431
+Ka 0.000000 0.000000 0.000000
+Kd 0.400000 0.400000 0.400000
+Ks 0.500000 0.500000 0.500000
+Ni 1.000000
+d 0.000000
+illum 2
Oops, something went wrong.

0 comments on commit 95db9f3

Please sign in to comment.