Commit Graph
5193 Commits
Author SHA1 Message Date
pupnewfster e720e19344 Use drawRect instead of drawGradientRect where appropriate. Also represent colors as hex to make them easier to read 2019-07-08 11:47:04 -04:00
pupnewfster 710348a61b Helper methods for drawTexturedModalRect to make code easier to read 2019-07-08 11:47:04 -04:00
pupnewfster 0aaab468fd Cleanup color overlaying in GUIs 2019-07-08 11:47:01 -04:00
pupnewfster adf2741aef For color only things manually handle resetting color to reduce GC from advanced helper 2019-07-08 11:46:21 -04:00
pupnewfster fbd4336139 Work on reducing GC overhead of stuff that can use the static helper and a manual push pop instead of the more advanced helper 2019-07-08 11:46:20 -04:00
pupnewfster 16e5c1250f Fix items in DM config gui appearing translucent 2019-07-08 11:46:20 -04:00
pupnewfster 002d96a797 Fix energy cube not blending the parts together properly 2019-07-08 11:46:20 -04:00
pupnewfster f8358417c2 Move comment, after having spent more time tracking down the issue 2019-07-08 11:46:20 -04:00
pupnewfster e0c51e6b8a Some minor cleanup 2019-07-08 11:46:20 -04:00
pupnewfster e3fbf55d34 Inline getBlocksTexture 2019-07-08 11:46:20 -04:00
pupnewfster f1c7196481 Some minor cleanup trying to fix what seems to be a state leak 2019-07-08 11:46:19 -04:00
pupnewfster aff3565fa3 Minor cleanup to energy cube rendering 2019-07-08 11:46:19 -04:00
pupnewfster 28b682d567 Fix rendering of missing replace stack for DM (use gradientRect rather than texture 2019-07-08 11:46:13 -04:00
pupnewfster b828a6103e Performance improvements of some of the impl of MekanismRenderHelper 2019-07-08 11:45:25 -04:00
pupnewfster d882ba266f Switch some stuff away from object creation 2019-07-08 11:45:24 -04:00
pupnewfster cfb1e63917 Minor clean 2019-07-08 11:45:24 -04:00
pupnewfster 87d04ee07f Fix wrong rotation on gas generator 2019-07-08 11:45:24 -04:00
pupnewfster 45ed55672b Couple minor comments 2019-07-08 11:45:24 -04:00
pupnewfster 17faa14534 Use helper wrapper methods for most usages of rotate 2019-07-08 11:45:24 -04:00
pupnewfster 72366473e5 Use helper wrapper methods for most usages of translate 2019-07-08 11:45:23 -04:00
pupnewfster b62995437a Color mask 2019-07-08 11:45:21 -04:00
pupnewfster 001d5b4575 Make it a bit easier to read GuiDigitalMinerConfig 2019-07-08 11:45:21 -04:00
pupnewfster c7e8b07275 Reorder things slightly to not have to enable disable glow as much, and add helper color wrapper for BaseTier 2019-07-08 11:45:21 -04:00
pupnewfster 7998d44288 MekanismRenderer.glowOn to MekanismRenderHelper.enableGlow 2019-07-08 11:45:21 -04:00
pupnewfster ef87190dd5 MekanismRenderer.blendOn to MekanismRenderHelper.enableBlendPreset 2019-07-08 11:45:20 -04:00
pupnewfster 5f899cdbfe Minor cleanup 2019-07-08 11:45:20 -04:00
pupnewfster 01f52b762f Helper methods for most of the scale calls 2019-07-08 11:45:20 -04:00
pupnewfster 0ea90e9352 Wrap calls to RenderHelper through MekanismRenderHelper 2019-07-08 11:45:18 -04:00
pupnewfster d687abd75e Convert remaining color calls 2019-07-08 11:45:18 -04:00
pupnewfster b1d7411b4b Convert a lot more color calls 2019-07-08 11:45:18 -04:00
pupnewfster f64b2a43a0 Fix accidental infinite recursion 2019-07-08 11:45:17 -04:00
pupnewfster cc2b6ee50f Start transitioning some of the color calls to MekanismRenderHelper 2019-07-08 11:45:17 -04:00
pupnewfster b79806ffcc Use MekanismRenderHelper for MekanismRenderer#blendOn 2019-07-08 11:45:17 -04:00
pupnewfster 21079e671e Minor fixes, seems the pushAttrib stuff is purely for saving the data and didn't change any states 2019-07-08 11:45:17 -04:00
pupnewfster 824f9c13e7 Initial transition to new MekanismRenderHelper 2019-07-08 11:45:17 -04:00
pupnewfster 598538a256 Remove some unneeded resetColors 2019-07-08 11:45:15 -04:00
pupnewfster 315f961bf2 Simplify now duplicated methods 2019-07-08 11:45:15 -04:00
pupnewfster de1bd30f38 Replace GL11 with GlStateManager, good bit of testing still needed 2019-07-08 11:45:10 -04:00
pupnewfster be268b5f87 Finish changing RenderLogisticalTransporter to GlStateManager 2019-07-08 11:44:09 -04:00
pupnewfster beb18b5bbf Improve fps a good bit by starting to change GL11 to GlStateManager 2019-07-08 11:44:09 -04:00
pupnewfster de9829623f Slightly cleanup transporterimpl update code 2019-07-08 11:44:09 -04:00
pupnewfster 3485c8bf34 Slightly improve performance of logistical transporter item rendering 2019-07-08 11:44:00 -04:00
Thiakil 8de341d3c4 Give Entangloporter its own config for fluid/gas buffer instead of using ultimate tank's output config. #5558 2019-07-08 18:54:13 +08:00
ToMe25 b85a908b29 Implement #5054(Coal Gasification) (#5547)
* Implement Coal Gasification in the Main File

* Implement Coal Gasification in the OreDict Manager

* Remove the Coal Block Gasification Recipe

as it gets moved to the OreDictManager for more compatibility.

* Add some more Coal Gasification compat
2019-07-06 17:06:57 +08:00
Thiakil f34ecd4836 bump version to 9.7.9 9.7.9 2019-07-06 12:39:00 +08:00
Thiakil ac70101edf Merge PR Optimized Component Ejector. Closes #5537
Additional: half tickDelay in ejector component since we're only ejecting on a timer now
2019-07-06 12:22:32 +08:00
Thiakil 7a726f3695 Merge PR IFluidHandlerWrapper implementation cleanup. Closes #5551 2019-07-06 12:20:18 +08:00
Xander 05166ee916 Assemblicator Fixes for Transforming recipes (#5542)
* properly use IRecipe.getRemainingItems

* Fix formulaic assemblicator gui, not properly comparing itemstacks against ingredient

* Change some things to using variables to make it a bit easier to keep track of what is going on

* use constants for Assemblicator inventory slot numbers

* Check if it is a valid recipe when block gets loaded, so that it sends the proper information to the client
2019-07-06 11:42:52 +08:00
pupnewfster 0557a8bd23 Fix various height checks for the different solar devices 2019-07-01 12:52:31 -04:00
pupnewfster 3750d42c3e Fix null tile warnings from logistical sorters not connected to things on both sides when set to auto. 2019-07-01 12:41:04 -04:00