one bug left till next release, I think... #Traincraft rewrite and #TrainsInMotion

Okay, so lots of updates since my last post. I've been trying to fix things up, mostly the linking, that's been a menace. I'm still working on it with help from Zora no Densha, but this is the last known bug.

Again, I put off updating the blog for way too long so this is a lot of news.....

Long story short linking is remade to use the first and last hitboxes as positions and couplers, bonus hitboxes can now be positioned on all 3 axis, some things have a bit better performance, and a bunch of things got fixed.
TMT changes: now if you make a flat cube, it actually renders as 2 sides rather than all 6, and the depth fix now works with shapeboxes.

Actual long story:
- Fixed a rotation issue with the render.
- Added .tmp files to the gitignore.
- Backported and fixed up the inventory code from 1.12, it seems to have fixed the shift clicking bug with inventories.
- Added the start of a class to manage crafting items, still needs work but it's that much less I have to do for 0.2.7.
- Reverted the slot manager to before I implemented the 1.7.10 code, since it just caused more problems.
- Fixed a crash related to getting an invalid itemstack.
- Added a linked velocity calculation to bogies, so linking and normal movement can have different managed values.
- Fixed a bug where links were not removed on destruction.
- Fixed a bug that caused random destruction of rollingstock.
- Rebuilt linking management for rollingstock, it's far more reliable now and more performance friendly.
- Linking now uses the first and last hitboxes as coupling points.
- Fixed a depreciated call in the GUI.
- Fixed some broken buttons in the GUI.
- CMDBogie now stores it's geometry in the bae model variable, should improve performance a small amount.
- Reworked keybinds to match TC 010 (more or less...).
- Reworked hitboxes to skip some collisions it shouldn't deal with otherwise, and improve performance when dealing with other transport hitboxes.
- Fixed bogies so server position is separate from client position, allows for render offsets.
- Added NEI as a dependancy.
- Added a function to actually disable NEI when you hide it, and enable it when you unhide it, and set the values back to what they were when you exit.
- Cleaned up a lot of the GUI scaling.
- Removed the now unnecessary click functionality that was back-ported from 1.12.
- Hitboxes now define their positions on all 3 axis.
- Fixed train colliding with blocks in a slope.
- Updated bogie raw model.
- Added the new rail model, although this might not be used long term...
- Cleaned up the imports.
- Removed the test code for the new rail render, a new method is in the works.
- EntityBogie now has movement specific for linking.
- Some optimizations have been made for EntityBogie.
- Improved the acceleration math for trains.
- The linking system has been fully overhauled with help from Zora no Densha, however it's still under development.
- Entity links and variables are now cleaned up via setDead to be more friendly to vanilla stuff.
- Fixed some GUI bugs related to NEI.
- Fixed some tanker fluid and item management for tankers.
- Fixed item management so now it takes the slot limits into account.
- Fixed item management so it properly detects the start and end of the inventories.
- Fixed the hitboxes so it doublechecks for it it's on a rail.
- Fixed a crash in the hitboxes related to bogies being null.
- Added the incomplete texture for the 080brigadelok


TMT Changes:
- Moved the depth bug fix, now it works with shapeboxes.
- All cubes now only render the faces that are actually used, this means most wheels will only have 2 faces rather than 6.
- Fixed a bug with normal boxes when trying to remove useless faces.

Comments