Commit Graph
5223 Commits
Author SHA1 Message Date
pupnewfster d8a75fa4e8 Rename a couple methods and fix some unintended GL color state "leaks" 2019-07-08 11:48:14 -04:00
pupnewfster a872655ec6 Merge reactor tab elements into one tab element type 2019-07-08 11:48:14 -04:00
pupnewfster 456b8a3e85 Cleanup a couple more Tab elements 2019-07-08 11:48:14 -04:00
pupnewfster 9203448d9b Small cleanup of reference to GasMode 2019-07-08 11:48:14 -04:00
pupnewfster 565f86e6d3 Deduplicate reactor info guis 2019-07-08 11:48:14 -04:00
pupnewfster 14c9a58cd9 Cleanup duplicate code between miner config and logistical sorter 2019-07-08 11:48:14 -04:00
pupnewfster 2d22bb4d6b Further cleanup tab element code 2019-07-08 11:48:13 -04:00
pupnewfster 5c52e2fd3f Sort some more gui elements into packages 2019-07-08 11:48:13 -04:00
pupnewfster 5139c73173 Deduplicate some tab element code 2019-07-08 11:48:13 -04:00
pupnewfster e34791425c Reduce even more duplicate filter gui code 2019-07-08 11:48:13 -04:00
pupnewfster 5672ad7959 Don't bother changing GL for when glow is being enabled at zero 2019-07-08 11:48:13 -04:00
pupnewfster 997c994f5b Fix wrong scaling for upgrades in gui 2019-07-08 11:48:12 -04:00
pupnewfster 94175ec051 Cleanup some formatting and use else if instead of if when appropriate 2019-07-08 11:48:12 -04:00
pupnewfster afbfe802ef Fix a couple bugs with DM filter gui rendering, and remove need for color masking support 2019-07-08 11:48:11 -04:00
pupnewfster 0408a2f479 Fix a bit of improper drawing 2019-07-08 11:48:11 -04:00
pupnewfster dfa8cd0019 Cleanup more duplicate code fixing a couple other rendering issues form the change 2019-07-08 11:48:09 -04:00
pupnewfster cd85fe8552 Fix having broken back button for item filters 2019-07-08 11:47:47 -04:00
pupnewfster 51b4af27d2 Finish removing need for keeping track of guiWidth and guiHeight, as they are equal to guiLeft and guiTop 2019-07-08 11:47:46 -04:00
pupnewfster 6d322024e6 Continue removing need for keeping track of guiWidth and guiHeight, as they are equal to guiLeft and guiTop 2019-07-08 11:47:46 -04:00
pupnewfster d6b27e95a2 Start removing need for keeping track of guiWidth and guiHeight, as they are equal to guiLeft and guiTop 2019-07-08 11:47:36 -04:00
pupnewfster a7b29c209f Deduplicate a bunch of code pertaining to drawing the background layer 2019-07-08 11:47:06 -04:00
pupnewfster 323eaf9c38 Continue work on cleaning up duplicated filter gui code 2019-07-08 11:47:05 -04:00
pupnewfster 2f49f58273 Continue work on cleaning up duplicated filter gui code 2019-07-08 11:47:05 -04:00
pupnewfster d9fa9dbd42 Continue work on cleaning up duplicated filter gui code 2019-07-08 11:47:05 -04:00
pupnewfster 6f9c7710a6 Continue work on cleaning up duplicated filter gui code 2019-07-08 11:47:05 -04:00
pupnewfster 6753fec4e8 Work more on cleaning up duplicated filter gui code 2019-07-08 11:47:05 -04:00
pupnewfster 9e06c0338a Inline a method 2019-07-08 11:47:04 -04:00
pupnewfster d30f4ca182 Add final to some things that should not be changed 2019-07-08 11:47:04 -04:00
pupnewfster 5dce92ef9f Add some null safety 2019-07-08 11:47:04 -04:00
pupnewfster 7b6c878833 Fix small typo 2019-07-08 11:47:04 -04:00
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