Go to the source code of this file.
Functions | |
s8 | set_global_byte (s32 index, s32 value) |
Set value of saved game byte. | |
s32 | get_global_byte (s32 index) |
Get value of saved game byte. | |
s16 | set_global_short (s32 index, s32 value) |
Store a short in two consecutive saved game bytes. | |
s16 | get_global_short (s32 index) |
Retrieve a short from two consecutive saved game bytes. | |
s32 | set_global_word (s32 index, s32 value) |
Store a word in four consecutive saved game bytes. | |
s32 | get_global_word (s32 index) |
Retrieve a word from four consecutive saved game bytes. | |
s32 | set_global_flag (s32 index) |
s32 | clear_global_flag (s32 index) |
s32 | get_global_flag (s32 index) |
s8 | set_area_byte (s32 index, s32 value) |
s32 | get_area_byte (s32 index) |
s32 | set_area_flag (s32 index) |
s32 | clear_area_flag (s32 index) |
s32 | get_area_flag (s32 index) |
s8 set_global_byte | ( | s32 | index, |
s32 | value ) |
Set value of saved game byte.
index | can be either a global byte reference (GB_*) or index |
value | new value for the saved byte |
Definition at line 108 of file vars_access.c.
Referenced by evt_set_variable(), and save_tattle_flags().
s32 get_global_byte | ( | s32 | index | ) |
Get value of saved game byte.
index | can be either a global byte reference (GB_*) or index |
Definition at line 118 of file vars_access.c.
Referenced by evt_get_float_variable(), evt_get_variable(), evt_handle_print_debug_var(), evt_set_variable(), is_actor_health_bar_visible(), is_actortype_health_bar_visible(), load_tattle_flags(), and save_tattle_flags().
s16 set_global_short | ( | s32 | index, |
s32 | value ) |
Store a short in two consecutive saved game bytes.
index | can be either a global byte reference (GB_*) or index to the lowest byte |
value | new value for the saved short |
Definition at line 126 of file vars_access.c.
s16 get_global_short | ( | s32 | index | ) |
Retrieve a short from two consecutive saved game bytes.
index | can be either a global byte reference (GB_*) or index to the lowest byte |
Definition at line 140 of file vars_access.c.
s32 set_global_word | ( | s32 | index, |
s32 | value ) |
Store a word in four consecutive saved game bytes.
index | can be either a global byte reference (GB_*) or index to the lowest byte |
value | new value for the saved word |
Definition at line 151 of file vars_access.c.
s32 get_global_word | ( | s32 | index | ) |
Retrieve a word from four consecutive saved game bytes.
index | can be either a global byte reference (GB_*) or index to the lowest byte |
Definition at line 169 of file vars_access.c.
s32 set_global_flag | ( | s32 | index | ) |
Definition at line 65 of file vars_access.c.
Referenced by entity_GiantChest_give_equipment(), entity_HeartBlock_show_tutorial_message(), entity_SaveBlock_show_tutorial_message(), evt_set_variable(), spawn_drops(), update_item_entity_collectable(), and update_item_entity_pickup().
s32 clear_global_flag | ( | s32 | index | ) |
Definition at line 41 of file vars_access.c.
Referenced by evt_set_variable().
s32 get_global_flag | ( | s32 | index | ) |
Definition at line 89 of file vars_access.c.
Referenced by entity_BlueWarpPipe_check_if_active(), entity_Chest_check_opened(), entity_HeartBlock_show_tutorial_message(), entity_HiddenPanel_set_ispy_notification(), entity_init_BlueWarpPipe(), entity_ItemBlock_check_if_inactive(), entity_MulticoinBlock_check_if_inactive(), entity_SaveBlock_show_tutorial_message(), entity_upgrade_block_check_if_inactive(), entity_WoodenCrate_shatter(), evt_get_variable(), evt_handle_print_debug_var(), evt_set_variable(), make_item_entity(), spawn_drops(), and update_triggers().
s8 set_area_byte | ( | s32 | index, |
s32 | value ) |
Definition at line 222 of file vars_access.c.
Referenced by evt_set_variable().
s32 get_area_byte | ( | s32 | index | ) |
Definition at line 230 of file vars_access.c.
Referenced by evt_get_float_variable(), evt_get_variable(), evt_handle_print_debug_var(), and evt_set_variable().
s32 set_area_flag | ( | s32 | index | ) |
Definition at line 196 of file vars_access.c.
Referenced by entity_base_switch_start_bound_script(), and evt_set_variable().
s32 clear_area_flag | ( | s32 | index | ) |
Definition at line 182 of file vars_access.c.
Referenced by evt_set_variable().
s32 get_area_flag | ( | s32 | index | ) |
Definition at line 210 of file vars_access.c.
Referenced by evt_get_variable(), evt_handle_print_debug_var(), evt_set_variable(), and update_triggers().