exswitch(3alleg4)

✨ exswitch ✨

okay so bestie, welcome to exswitch β€” a lil example page from the Allegro manual (that's 3alleg4, the Allegro game programming library, if the suffix wasn't giving it away πŸ’…). This one's all about controlling the console switch mode for background running. πŸŽ€


🌈 SYNOPSIS 🌈

#include <allegro.h>

Example exswitch

πŸ’– DESCRIPTION πŸ’–

so this program is literally a demo of how to control the console switching mode so your program can keep vibing in the background. main character energy fr fr. πŸ¦‹

but β€” important β€” these functions don't apply to every platform and driver. like, you straight up can't control the switching mode from a DOS program. no cap. so don't come for me when it doesn't work there. πŸ’€

and yes, I know the fractal drawing is very slow β€” that's the point! 🎯 it's slow on purpose so you can easily check whether it keeps on working in the background after you switch away from the app. it's giving "feature not bug". periodt.

depending on the type of switching mode you selected, you'll see whether the contents of the screen are preserved or not. so like, eyes on the screen, bestie. πŸ‘€βœ¨


🌸 SEE ALSO 🌸

go read these next, i promise they're iconic πŸ‘‘:


mwah πŸ’‹ that's the whole page, bestie. this lil slice of the <strong>Allegro manual</strong> is serving <strong>version 4.4.3</strong>, and yeah, the page is dated the same as that version drop β€” it's old but it <em>ate</em>. go forth and switch consoles responsibly πŸ«ΆπŸ’œ