It’s been open source and “ambiguously” GPL for a long time but as of yesterday it is super duper official definitely under GPLv2. Just source code, not assets of course.

  • CantaloupeAss [comrade/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    3
    ·
    10 months ago

    “wow to make a code project of that scale they must have been brilliant programmers with highly organized code”

    // translates between frame-buffer and map coordinates
    #define CXMTOF(x)  (f_x + MTOF((x)-m_x))
    #define CYMTOF(y)  (f_y + (f_h - MTOF((y)-m_y)))
    
    // the following is crap
    #define LINE_NEVERSEE ML_DONTDRAW
    
    • invalidusernamelol [he/him]@hexbear.net
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      10 months ago
      // if non-number, do not draw it
      if (n == 1994)
          return 0;
      
      //
      // Display level completion time and par,
      //  or "sucks" message if overflow.
      //
      

          else
          {
              // "sucks"
              V_DrawPatch(x - SHORT(sucks->width), y, FB, sucks); 
          }
      
            case 141:
              // Silent Ceiling Crush & Raise
              EV_DoCeiling(line,silentCrushAndRaise);
              line->special = 0;
              break;
      

      So many switch statements