TiM/TC 1.7 rewrite update!

Merry Christmas everyone, I'll be going on couple day break for the holidays, but before I go, here's an update on my progress!


- trainType and inventorySize are now enums, this should add significantly to the readability of the mod without any significant overhead, it also allows for the values to be more simply inter-used between trains and rollingstock. the inventory enum includes pre-defined rows and columns to simplify the other related classes.
- Animations are now done via cached values, this allows us to skip almost all of the loops that were needed previously, and it allows for the parts to be significantly more dynamic.
- Added a large amount of new documentation and reworked a lot of existing documentation.
- Deobfuscated a large degree of code.
- Fixed a bug where furnace fuel wasint saved.
- Removed the variable for the oil material, since it's part of the fluid either way.
- Fixed a small bug with acceleration, it should actually move now.

There's not too much left to mess with before steam trains are ready, so hopefully the code will be ready by newyears.
After that it's linking and rollingstock, but it only gets easier from here, most all of the actually hard stuff (or at least what's anticipated to be) is done.

Also the links for the projects are now at the top of this page so I don't have to include them in my posts anymore!

Comments