Herr Otto Partz says you're all nothing but pipsqueaks!
RGLOB_window = SDL_CreateWindow(title,width+2,height+2,0);Quote from: Cas on November 20, 2025, 11:13:40 PMI realise all this may not matter to many people. Some of us may be very picky with their food, but can sleep anywhere, while others can eat rubbish, but then need a comfy mattress. I like clean, logical, comprehensive code... I don't like using black boxes
Quote from: MiDiaN on November 21, 2025, 12:40:54 AMThis is really not cool, but from what I can tell, the rules page only talks about this under the Team section, where it says you can't use teammates' replays.
Quote from: Duplode on November 20, 2025, 11:35:14 PMbut if so, why just from the width and not the height?
Quoteprintf("Set %dx%dx%d\n",8*RGLOB_screen->pitch/BITSPERPIXEL,height,BITSPERPIXEL);
Quote from: Cas on November 20, 2025, 11:13:40 PMIt may seem so because we now see everyday programs taking up hundreds or megabytes or gigabytes,
QuoteBesides, if you only need to load a PNG file and then save it, you depend on code that can also process compressed audio, for example. It's like carrying the computer with your program.
QuoteWhich brings me to this. If you send somebody a letter in a random language
Quoteand you accompany it with a guy who speaks a hundred languages including it,
Quotebut the version for DOS/DOSBox, which is available below, uses some graphical functions available with Open Watcom, as SDL has no support for DOS.
Quote from: CasBut SDL not only does this, it also doesn't even provide the translator guy:
Quote from: Duplode on November 20, 2025, 11:04:39 PMGood catch; I wonder if my environment is somehow interfering with the window size (will try to find out later).