Skip to content
Snippets Groups Projects
  1. May 02, 2020
  2. Apr 27, 2020
  3. Apr 25, 2020
  4. Apr 19, 2020
  5. Apr 13, 2020
  6. Apr 10, 2020
  7. Apr 09, 2020
  8. Apr 02, 2020
  9. Apr 01, 2020
  10. Mar 30, 2020
  11. Mar 28, 2020
  12. 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
  13. Mar 24, 2020
  14. Mar 23, 2020
  15. Mar 22, 2020
  16. Mar 21, 2020
Loading