• Jeffrey Lee's avatar
    Replace OS_SpriteOp reason code magic numbers with definitions. Add support for new screen modes. · fa42b0ad
    Jeffrey Lee authored
    Detail:
      s/Tiling, s/Tiling3D, s/Watchdog, s/Wimp05, s/Wimp07, s/Wimp09 - Replaced OS_SpriteOp reason code magic numbers with symbolic definitions.
      s/Wimp01 - Update *WimpMode / Wimp_SetMode to use OS_ScreenMode 13 (mode string to specifer) in place of its own code if a mode specifier string has been given. Note - mode number handling is unchanged, so a mode specifier string which begins with a mode number will currently have the specifier part ignored.
      s/Wimp01, s/Wimp02 - Flag_* -> ModeFlag_* renaming
      s/Wimp02 - Fix mode specifier copying to only stop copying when we hit a mode variable of -1. Previous code would also stop if the variable value was -1. Update mode set code to apply the Wimp's special greyscale palettes if the greyscale mode flag is set (i.e. greyscale mode was set via specifier generated by OS_ScreenMode 13)
    Admin:
      Tested on BB-xM
    
    
    Version 5.31. Tagged as 'Wimp-5_31'
    fa42b0ad
Wimp05 182 KB