Skip to content
  • toaster's avatar
    Sound test is cool now! · 5f8671b1
    toaster authored
    https://cdn.discordapp.com/attachments/405336003239477249/641295998395613224/srb20042.gif
    
    * Port MUSICDEFs from Kart.
        * Safe to modify without modifying game, so we can put it in music.dta eventually.
        * "Title", "AltTitle", "Authors" fields are self-evident.
        * "Soundtestpage" and "Soundtestcond" are used to determine which sound test unlockable can play them (set with Unlockable's variable, just like Level Select).
        * "Stoppingtime" and "BPM" both accept floats, and are used for presentation stuff on the sound test.
        * Ironically, we don't share a single field name with them. Such is the case of differing foci, though, and I expect they'll change their implementation to match (since this is necessary for a sound test).
    * Change how S_AddSoundFx works to avoid iterating through all of them, and to allow cv_soundtest to only scroll through defined slots (instead of the infinite wall of thok sounds when scrolling to the left).
    * Change V_DrawFixedPatch to allow scaling on two seperate axes.
        * Now called "V_DrawStretchyFixedPatch".
        * "V_DrawFixedPatch" is a macro to V_DrawStretchyFixedPatch now (same scale on both axes).
        * Available to Lua under v.drawStretched!
        * Even works in GL!
    * Bugfix: Add SR_PLAYER to SOC's menutypes_list.
    
    Stay tuned for the merge request, where I put the onus on the Music Team to finish this off...
    5f8671b1