Instead of defining:
enigma::object_planar* const inst = ((enigma::object_planar*)enigma::instance_event_iterator->inst); or something similar in every instance-related function, there should be a pointer defined somewhere globally (or a macro if you insist) so that people don't have to define this everywhere, so that code is cleaner, and so that we can inline more stuff and make things generally faster.
Good idea/bad idea?
enigma::inst_iter_planar seems a lot nicer.
|