int aw_bool_set (AW_ATTRIBUTE a, int value) |
|
aw_bool_set sets a boolean attribute. Set value to 1 to indicate TRUE, 0 to indicate FALSE. Example /* disable flying in the current world */ aw_bool_set (AW_WORLD_ALLOW_FLYING, 0); if (rc = aw_world_attributes_change ()) printf ("Unable to change world attributes (reason %d)\n", rc); SEE ALSO |