xor_mode(3alleg4)
β¨ xor_mode β¨
okay bestie, welcome to xor_mode from the Allegro game programming library π this one is tiny but it's literally iconic, iykyk.
πΈ SYNOPSIS πΈ
#include <allegro.h>
void xor_mode(int on);
π¦ DESCRIPTION π¦
so here's the tea: this function is a shortcut for toggling xor drawing mode on and off. that's it. that's the whole thing. she's small but she's doing the most π
like, if you're out here writing this:
xor_mode(TRUE);
that is equivalent to writing this:
drawing_mode(DRAW_MODE_XOR, NULL, 0, 0);
and if you're writing this:
xor_mode(FALSE);
that is equivalent to writing this:
drawing_mode(DRAW_MODE_SOLID, NULL, 0, 0);
no cap. same thing, way less typing, main character energy fr fr β¨
π SEE ALSO π
go read drawing_mode(3alleg4) if you wanna know what's actually going on under the hood, because this function is literally just a lil wrapper and it knows it π«Ά
okay that's the whole page bestie, short and sweet, Allegro version 4.4.3, mwah π stay drawing xor, love u, bye π¦π
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms