# this is executed once on game initialization, right after assets got loaded

# GLOBAL

echo loading autoexec.txt ..
log_level info
bind %enter toggle_fullscreen
bind f2 toggle_fullscreen
bind f5 toggle_stats

scoped Debug toggle_stats
scoped Develop toggle_console_small
scoped Develop generate_embedded_config
scoped Develop allow_input
scoped Debug allow_input
# scoped Production minimize_on_deactivate

# DEVELOPMENT

# scoped Mobile iwannabeasuperstar
# bind h iwannabeasuperstar 4
# bind g iwannabeasuperstar 2

# scoped Develop set_fast_mode


# scoped Develop map !reload
scoped Develop level_select
# scoped Debug map klillbals_test
# scoped Develop map theme5/boss

# BINDINGS

scoped Develop bind f1 menu
scoped Develop bind f3 toggle_physics_debug
scoped Develop bind f7 toggle_console
scoped Develop bind f6 toggle_console_small
scoped Develop bind f8 collect_garbage
scoped Develop bind u reload_assets
scoped Develop bind i map !reload
scoped Develop bind o update_entity_classes
scoped Develop bind O update_entity_classes with_doc
scoped Develop bind p load_entity_classes assets/config/entity_classes.json
scoped Develop bind l clear_statistics
scoped Develop bind b breakpoint

scoped Develop bind f12 editor

scoped Develop bind ^n editor_new
scoped Develop bind ^s editor_save
scoped Develop bind ^m map
scoped Develop bind ^y editor_redo
scoped Develop bind ^d editor_reset
scoped Develop bind ^z editor_undo
scoped Develop bind ^c editor_copy
scoped Develop bind ^v editor_paste
scoped Develop bind del editor_delete

scoped Develop bind q editor_set_tool navigate
scoped Develop bind w editor_set_tool select
scoped Develop bind e editor_set_tool add
scoped Develop bind a editor_set_tool move
scoped Develop bind s editor_set_tool resize
scoped Develop bind d editor_set_tool rotate
scoped Develop bind r editor_set_tool texture

scoped Develop bind . editor_grid_inc
scoped Develop bind , editor_grid_dec
scoped Develop bind + editor_zoom_inc
scoped Develop bind - editor_zoom_dec
scoped Develop bind 0 editor_zoom_reset
scoped Develop bind x editor_entity_type_next
scoped Develop bind y editor_entity_type_prev
scoped Develop bind z editor_entity_type_prev

#scoped Develop bind 1 editor_set_layer_num 1
#scoped Develop bind 2 editor_set_layer_num 2
#scoped Develop bind 3 editor_set_layer_num 3
#scoped Develop bind 4 editor_set_layer_num 4
#scoped Develop bind 5 editor_set_layer_num 5
#scoped Develop bind 6 editor_set_layer_num 6
#scoped Develop bind 7 editor_set_layer_num 7
#scoped Develop bind 8 editor_set_layer_num 8
#scoped Develop bind 9 editor_set_layer_num 9

# PERFORMANCE DEBUG

# bind 1 toggle_layer 0
# bind 2 toggle_layer 1
# bind 3 toggle_layer 2
# bind 4 toggle_layer 3
# bind 5 toggle_layer 4
# bind 6 toggle_layer 5
# bind 7 toggle_layer 6
# bind 8 toggle_layer 7
# bind 9 toggle_layer 8
# bind 0 toggle_layer 9


