paint: cleanup

This commit is contained in:
luboslenco
2026-03-31 18:47:10 +02:00
parent 5884451b8e
commit 743f267bf7
113 changed files with 4460 additions and 4410 deletions
+20 -20
View File
@@ -42,12 +42,12 @@ ui_align_t config_button_align = UI_ALIGN_LEFT;
char *config_button_spacing = " ";
any_imap_t *physics_body_object_map;
ui_handle_t *box_export_htab;
string_t_array_t *box_export_files = NULL;
string_array_t *box_export_files = NULL;
ui_handle_t *box_export_mesh_handle;
ui_handle_t *box_export_hpreset;
export_preset_t *box_export_preset = NULL;
string_t_array_t *box_export_channels;
string_t_array_t *box_export_color_spaces;
string_array_t *box_export_channels;
string_array_t *box_export_color_spaces;
ui_handle_t *box_export_h_export_player_target;
bool _box_export_bake_material;
export_preset_texture_t *_box_export_t;
@@ -124,7 +124,7 @@ char *ui_files_filename;
char *ui_files_path;
char *ui_files_last_path = "";
char *ui_files_last_search = "";
string_t_array_t *ui_files_files = NULL;
string_array_t *ui_files_files = NULL;
any_map_t *ui_files_icon_map = NULL;
any_map_t *ui_files_icon_file_map = NULL;
i32 ui_files_selected = -1;
@@ -157,7 +157,7 @@ i32 base_default_element_h = 28;
i32 base_default_font_size = 13;
ui_handle_t *base_res_handle;
ui_handle_t *base_bits_handle;
string_t_array_t *base_drop_paths;
string_array_t *base_drop_paths;
i32 base_appx = 0;
i32 base_appy = 0;
i32 base_last_window_width = 0;
@@ -187,8 +187,8 @@ context_t *context_raw;
i32 ui_toolbar_default_w = 36;
ui_handle_t *ui_toolbar_handle;
i32 ui_toolbar_last_tool = 0;
string_t_array_t *ui_toolbar_tool_names;
string_t_array_t *ui_toolbar_tooltip_extras;
string_array_t *ui_toolbar_tool_names;
string_array_t *ui_toolbar_tooltip_extras;
i32 _ui_toolbar_i;
f32 _import_asset_drop_x;
f32 _import_asset_drop_y;
@@ -257,19 +257,19 @@ bool render_path_base_buf_swapped = false;
project_format_t *project_raw;
char *project_filepath = "";
asset_t_array_t *project_assets;
string_t_array_t *project_asset_names;
string_array_t *project_asset_names;
i32 project_asset_id = 0;
string_t_array_t *project_mesh_assets;
string_array_t *project_mesh_assets;
node_group_t_array_t *project_material_groups;
mesh_object_t_array_t *project_paint_objects = NULL;
any_imap_t *project_asset_map; // gpu_texture_t | font_t
string_t_array_t *project_mesh_list = NULL;
string_array_t *project_mesh_list = NULL;
slot_material_t_array_t *project_materials;
slot_brush_t_array_t *project_brushes;
slot_layer_t_array_t *project_layers;
slot_font_t_array_t *project_fonts;
i32_array_t *project_atlas_objects = NULL;
string_t_array_t *project_atlas_names = NULL;
string_array_t *project_atlas_names = NULL;
bool _project_save_and_quit;
bool _project_import_mesh_replace_existing;
void (*_project_import_mesh_done)(void);
@@ -334,7 +334,7 @@ bool viewport_recording = false;
node_shader_context_t *parser_material_con;
node_shader_t *parser_material_kong;
material_context_t *parser_material_matcon;
string_t_array_t *parser_material_parsed;
string_array_t *parser_material_parsed;
ui_node_t_array_t *parser_material_parents;
ui_node_canvas_t_array_t *parser_material_canvases;
ui_node_t_array_t *parser_material_nodes;
@@ -408,7 +408,7 @@ char *_plugin_name;
any_map_t *parser_logic_custom_nodes;
ui_node_t_array_t *parser_logic_nodes;
ui_node_link_t_array_t *parser_logic_links;
string_t_array_t *parser_logic_parsed_nodes = NULL;
string_array_t *parser_logic_parsed_nodes = NULL;
any_map_t *parser_logic_node_map;
any_map_t *resource_bundled;
i32 render_path_raytrace_bake_rays_pix = 0;
@@ -475,7 +475,7 @@ bool _ui_nodes_node_search_first;
void (*_ui_nodes_node_search_done)(void);
ui_node_t *ui_nodes_node_changed = NULL;
void (*_ui_nodes_render_tmp)(i32);
string_t_array_t *nodes_brush_categories;
string_array_t *nodes_brush_categories;
ui_node_t_array_t *nodes_brush_category0;
node_list_t_array_t *nodes_brush_list;
any_map_t *nodes_brush_creates;
@@ -521,7 +521,7 @@ i32 _export_exr_stride;
u8_array_t *_export_exr_out;
buffer_t *_export_exr_src_view;
void (*_export_exr_write_line)(i32);
string_t_array_t *nodes_material_categories;
string_array_t *nodes_material_categories;
ui_node_t_array_t *nodes_material_input;
ui_node_t_array_t *nodes_material_texture;
ui_node_t_array_t *nodes_material_color;
@@ -713,7 +713,7 @@ i32 ui_sidebar_last_tab = 0;
char *console_message = "";
f32 console_message_timer = 0.0;
i32 console_message_color = 0x00000000;
string_t_array_t *console_last_traces;
string_array_t *console_last_traces;
char *console_progress_text = NULL;
vec4_box_t_array_t *camera_origins;
mat4_box_t_array_t *camera_views;
@@ -722,12 +722,12 @@ vec4_t camera_dir;
f32 camera_ease = 1.0;
bool camera_controls_down = false;
ui_handle_t *box_preferences_htab;
string_t_array_t *box_preferences_files_plugin = NULL;
string_t_array_t *box_preferences_files_keymap = NULL;
string_array_t *box_preferences_files_plugin = NULL;
string_array_t *box_preferences_files_keymap = NULL;
ui_handle_t *box_preferences_h_theme;
ui_handle_t *box_preferences_h_preset;
string_t_array_t *box_preferences_locales = NULL;
string_t_array_t *box_preferences_themes = NULL;
string_array_t *box_preferences_locales = NULL;
string_array_t *box_preferences_themes = NULL;
char *_box_preferences_f;
ui_handle_t *_box_preferences_h;
i32 _box_preferences_i;