Commit Graph

3 Commits

Author SHA1 Message Date
nmlgc 2c52cc83b1 [Maintenance] Random number ring buffer: Remove `extern "C"`
Didn't expect to cover it this soon, but I'd really like to have a "is
range a power of two" template.

Part of P0242, funded by Yanga.
2023-06-06 21:07:08 +02:00
nmlgc 1f962c865e [Maintenance] Introduce a generic entity flag enum
Part of P0236, funded by Yanga.
2023-03-29 12:36:55 +02:00
nmlgc c41bfbaf3e [Separate translation units] [th04/th05] Spark sprite spawning (undecompilable)
Reason: Saving SI and DI on the stack way too late. Just because ZUN
absolutely *had* to move the clipping condition before these two PUSH
instructions… Was it really necessary to save a total of 4 instructions
for an unlikely worst case in a function that's maybe called like 10-20
times per frame *at worst*?

Part of P0192, funded by [Anonymous], nrook, and -Tom-.
2022-05-01 00:22:04 +02:00