Skip to content
Snippets Groups Projects
  1. Mar 03, 2024
  2. Mar 01, 2024
  3. Feb 28, 2024
  4. Feb 27, 2024
  5. Feb 26, 2024
  6. Feb 25, 2024
  7. Feb 24, 2024
    • Eidolon's avatar
      Include poll.h on UNIXCOMMON in dedicated · 2c0622cd
      Eidolon authored
      2c0622cd
    • Eidolon's avatar
      Include poll.h on UNIXCOMMON · 5008d866
      Eidolon authored
      Apple was not including poll.h despite needing it.
      5008d866
    • Eidolon's avatar
      Move MIN_SLEEP_DURATION_MS macros for Apple · 4c7b2f16
      Eidolon authored
      These were not defined for macOS despite being necessary.
      4c7b2f16
    • Lactozilla's avatar
      Changes: · f16836bd
      Lactozilla authored
      - Renamed renderwalls, renderfloors and renderthings
      - Removed CV_NOTINNET|CV_CHEAT from renderwalls, renderfloors and renderthings
      - Moved some cvars to proper places
      f16836bd
    • Lactozilla's avatar
      2d3dd624
    • Lactozilla's avatar
      Merge branch 'delete-unused-render-code' into 'next' · ba3ea4a5
      Lactozilla authored
      Delete old and unused rendering-related code
      
      See merge request !2341
      ba3ea4a5
    • Lactozilla's avatar
      Delete pic_mode_t · 4c9f4e96
      Lactozilla authored
      4c9f4e96
    • Lactozilla's avatar
      0664671c
    • Lactozilla's avatar
    • Lactozilla's avatar
      Fix a regression where 3D floor sides could not render properly · 66234d09
      Lactozilla authored
      Normally, when rendering a 'masked column', the variables sprtopscreen (and sometimes sprbotscreen) are used to define the screen space bounds of the column. R_DrawMaskedColumn and R_DrawFlippedMaskedColumn use these variables to determine where to start rendering the column's posts.
      Rendering a 3D floor side when a light list is involved requires cutting it vertically. Part of this process involves setting windowtop and windowbottom, which are what R_DrawMaskedColumn and R_DrawFlippedMaskedColumn use instead to define the bounds in screen space of the column. To draw the columns between the 3D floor's vertical boundaries, the functions R_DrawRepeatMaskedColumn or R_DrawRepeatFlippedMaskedColumn are used to repeatedly call R_DrawMaskedColumn or R_DrawFlippedMaskedColumn respectively.
      The problem is that R_DrawRepeatMaskedColumn and R_DrawRepeatFlippedMaskedColumn assume that sprtopscreen and sprbotscreen are what define the vertical positions of the column, and the consequence is, after the first time R_DrawRepeatMaskedColumn or R_DrawRepeatFlippedMaskedColumn are called for a column, no more columns are rendered, since sprtopscreen is not reset.
      This issue was fixed by making R_RenderThickSideRange use R_DrawMaskedColumn and R_DrawFlippedMaskedColumn if there is a lightlist, or R_DrawRepeatMaskedColumn and R_DrawRepeatFlippedMaskedColumn if there is no lightlist.
      66234d09
Loading