Tested out the light system and did some streamlining. It seems to work fine, though the performance on it isn’t great. The good news though is that the performance hit is probably mostly a one-time thing stemming from having to draw a blended layer on top of the screen, so I should be able to add a bunch of different lights without making it substantially worse — so, even if it causes some problems, it’s likely that this will be usable in one form or another, even if I have to use it sparingly.
I also spent some time doing something I’ve been putting off for a while and rewriting the level drawing routines, which were massively inefficient before. They’re currently even more inefficient, and don’t work to boot, but I should be able to get all that sorted tomorrow. Probably. Hopefully.