Open brickviking opened 4 years ago
I looked into this, then discovered this was going to be a lot of work. The easiest/cleanest way to do it (and still would be a lot of work) is to abandon the tedit_floor.h class and make a tedit_ship.h class. This class would have access to all subordinate objects like doors, and power bays etc.
I have a suggestion. If we can find a way of including doors, power_bay, transports and consoles (sprites) and writing these out to the.m after we run tedit_floor::save, we could integrate everything into ned, instead of having to write the levelname.m out manually.
I've got the beginnings of a tedit_floor::msave(), but I need help in setting it to rights. I'm sure there's something else wrong, but I lack the experience with the code to know what.
We'll still have to have a way of switching between tiles (which we have now) and sprites (doors, power_bays, transports, and consoles). I don't have a good solution to offer for this yet.