al_store_state(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸ’Ύ al_store_state(3) πŸ’Ύ

Welcome to the Library Functions Manual, bestie β€” this one is pure Allegro 5 API state-saving business. 🫢


🌸 NAME 🌸

al_store_state β€” Allegro 5 API

✨ SYNOPSIS ✨

void al_store_state(ALLEGRO_STATE *state, int flags)

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here’s the vibe: al_store_state stores part of the state of the current thread in the given ALLEGRO_STATE(3) object. The flags parameter can take any bit-combination of these flags:

  • ALLEGRO_STATE_NEW_DISPLAY_PARAMETERS β€” grabs new_display_format, new_display_refresh_rate, new_display_flags
  • ALLEGRO_STATE_NEW_BITMAP_PARAMETERS β€” grabs new_bitmap_format, new_bitmap_flags
  • ALLEGRO_STATE_DISPLAY β€” grabs current_display
  • ALLEGRO_STATE_TARGET_BITMAP β€” grabs target_bitmap
  • ALLEGRO_STATE_BLENDER β€” grabs blender
  • ALLEGRO_STATE_TRANSFORM β€” grabs current_transformation
  • ALLEGRO_STATE_PROJECTION_TRANSFORM β€” grabs current_projection_transformation
  • ALLEGRO_STATE_NEW_FILE_INTERFACE β€” grabs new_file_interface
  • ALLEGRO_STATE_BITMAP β€” same as ALLEGRO_STATE_NEW_BITMAP_PARAMETERS and ALLEGRO_STATE_TARGET_BITMAP
  • ALLEGRO_STATE_ALL β€” all of the above
Bestie note: it’s a bit-combination, so the flags list is your whole menu. πŸ’…

πŸ’œ SEE ALSO πŸ’œ


That’s the page, bestie. Signed by the Allegro reference manual source line and stamped al_store_state(3) β€” no version or date in this footer, so that’s the whole flex. πŸ’–βœ¨

πŸ“¦ where this page comes from
  • arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms