Commit Graph

4 Commits

Author SHA1 Message Date
nmlgc ac33bd292d [Decompilation] [th02] Items: Initialization/reset function
And that's it, items complete!

Completes P0243, funded by Yanga.
2023-06-07 18:53:22 +02:00
nmlgc f5313d14cb [Decompilation] [th02] Items: Semi-random spawn function
Featuring a 1-in-512 chance for a bomb drop… among every 4th call to
this function.

Part of P0243, funded by Yanga.
2023-06-07 18:32:38 +02:00
nmlgc 000bac9190 [Maintenance] Random number ring buffer: Fix inconsistencies between & and %
Bracketing is hard!

Part of P0242, funded by Yanga.
2023-06-06 21:11:58 +02:00
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