create_system_bitmap(3alleg4)
β¨ create_system_bitmap β¨
okay bestie, welcome to the Allegro manual π this one's called create_system_bitmap, and it's living in section 3alleg4. yes we're doing a whole manpage, and yes it's gonna be cute AND correct. let's go π¦
πΈ NAME πΈ
create_system_bitmap β creates a system memory bitmap. it's part of the Allegro game programming library, iykyk π
β¨ SYNOPSIS β¨
#include <allegro.h>
BITMAP *create_system_bitmap(int width, int height);
π DESCRIPTION π
so basically, this function allocates a system memory bitmap of the size you asked for. that's it, that's the vibe β¨
fr fr though, if you wanna know how this stacks up against all the other types of bitmaps and get the specific deets, go read the introduction of this chapter. the manpage said so, not me π
π«Ά RETURN VALUE π«Ά
on success it hands you back a pointer to the bitmap. if it doesn't work out? you get NULL. no cap. π
β οΈ okay this part is IMPORTANT bestie β remember to destroy this bitmap before any subsequent call to set_gfx_mode(). like, before. not after. before. the way that matters is insane π
π SEE ALSO π
go check these out too, they're all iconic π
create_bitmap(3alleg4)create_bitmap_ex(3alleg4)create_video_bitmap(3alleg4)create_sub_bitmap(3alleg4)destroy_bitmap(3alleg4)is_system_bitmap(3alleg4)clear_bitmap(3alleg4)clear_to_color(3alleg4)exupdate(3alleg4)
and that's the whole page, bestie!! this was Allegro version 4.4.3, and the page is create_system_bitmap(3alleg4) β main character energy, honestly. slay, go make some bitmaps πβ¨π
π¦ 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