To do explosions, I need to have a way of having a list of things to do in the future.  I knew I was going to have to do this eventually, but it seems tricky to do in a really general way.  I want to have a sorted linked list of a really simple class, just holding a time (the time at which to start executing an action), with a pointer to the function to call. Maybe. I will contemplate the issue further.
In the mean time, I’ve implemented beams, which in turn required me to update a lot of the placeholder projectile stuff. Â It’s somewhat more general now, and there’s a basic framework in place to handle implementing additional weapon types.
New keys: press 1 to use normal projectiles, 2 to use the beam (which
doesn’t have collision detection on it yet, and is also untextured).