Herr Otto Partz says you're all nothing but pipsqueaks!
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).

Quote from: llm on November 11, 2025, 10:13:14 AMas soon as you would try to write a multi-platform wrapper (capable as SDL2-3) around input,output,sound,etc. you would see that the SDL api is really small for what its helping/keeping from you - you're just not used to it - thats all
Quote from: Matei on November 11, 2025, 10:25:30 PMYes it does. All you have to do is make your graphical and sound functions work with all 3 versions of SDL, which is what I did.Which brings me to this. If you send somebody a letter in a random language and you accompany it with a guy who speaks a hundred languages including it, you could say the letter is written in a lingua franca, but that's not true. It's the translator that makes it seem so. And of course, you can send the letter in an envelope, while carrying the guy overseas may require a seat on a plane or a room in a ship. But SDL not only does this, it also doesn't even provide the translator guy: it just tells you that translator exists and you have to find it and bring it home yourself, ha, ha.