512 features to replace getFlatIcon?
Posted: Mon Nov 12, 2018 4:17 pm
Hey, getFlatIcon is expensive and I want to stop using it. My use case is some mutable_appearances and an obj/screen that use a mob as a base, then I use icon procs on it. (which I also want to get rid of eventually but I am not able to right now) The /obj/screen doesn't use any icon procs after getFlatIcon, just the color, blend_mode, and screen_loc vars. So, I bet some new features will work well for that, but not the mutable_appearances, which all use some kind of icon proc after using getFlatIcon.
Since I made this stuff, new 512 features came out, (the /mutable_appearances used to be /images but they didn't really use dir, so that was an easy change) and I'd like to explore the potential options to replace getFlatIcon, if any exist.
Since I made this stuff, new 512 features came out, (the /mutable_appearances used to be /images but they didn't really use dir, so that was an easy change) and I'd like to explore the potential options to replace getFlatIcon, if any exist.