15
submitted 10 months ago by oktherebuddy@hexbear.net to c/games@hexbear.net

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.

you are viewing a single comment's thread
view the rest of the comments
[-] CantaloupeAss@hexbear.net 3 points 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@hexbear.net 2 points 10 months ago* (last edited 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

this post was submitted on 17 Jan 2024
15 points (100.0% liked)

games

20540 readers
421 users here now

Tabletop, DnD, board games, and minecraft. Also Animal Crossing.

Rules

founded 4 years ago
MODERATORS