Skip to content
Snippets Groups Projects
  1. Mar 26, 2020
    • toaster's avatar
      Minor optimisations surrounding R_DrawFlippedMaskedColumn. · ce2a1aa3
      toaster authored
      * Replace the texheight parameter provided directly to it with a previously existing (now renamed) global used for the same purpose, so that it can be used as an interchangeable function pointer with R_DrawMaskedColumn.
      * Using the above, optimise R_DrawVisSprite to call a function pointer in a tighter loop rather than check SC_VFLIP each time around.
      * SHORT macro can involve repeated operations; calculate once and put in memory for both RANGECHECK and papersprite.
      * Remove irrelevant range check (already covered by existing range check immediately above) from R_DrawFlippedMaskedColumn and R_DrawMaskedColumn.
      * "Warning: avoiding a crash in %s %d" is a terrible error message, and it chips away at the tightness of the loop just for something most people will never see printed. Replace with a PARANOIA I_Error in case someone actively wants to go hunting for its cause.
      ce2a1aa3
  2. Mar 22, 2020
  3. Mar 21, 2020
  4. Mar 19, 2020
  5. Mar 18, 2020
  6. Mar 15, 2020
  7. Mar 09, 2020
  8. Mar 08, 2020
  9. Mar 04, 2020
  10. Mar 02, 2020
  11. Feb 29, 2020
  12. Feb 28, 2020
Loading