From 123dac78238eb551e864eb5010bc061b62e4968d Mon Sep 17 00:00:00 2001 From: luboslenco Date: Mon, 30 Sep 2024 10:31:42 +0200 Subject: [PATCH] Cleanup --- base/assets/plugins/import_txt.js | 2 +- base/project.js | 4 +--- base/tools/pad/project.js | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/base/assets/plugins/import_txt.js b/base/assets/plugins/import_txt.js index e6720f20..cda164c5 100644 --- a/base/assets/plugins/import_txt.js +++ b/base/assets/plugins/import_txt.js @@ -1,7 +1,7 @@ function import_txt(path) { let b = data_get_blob(path); - let filename = path.split('\\').pop().split('/').pop(); + let filename = path.split("\\").pop().split("/").pop(); ui_box_show_message(filename, buffer_to_string(b)); data_delete_blob(path); } diff --git a/base/project.js b/base/project.js index 828ff991..7c831a83 100644 --- a/base/project.js +++ b/base/project.js @@ -13,10 +13,8 @@ flags.voxels = !flags.raytrace && !flags.android && !flags.ios; flags.with_d3dcompiler = true; flags.with_nfd = true; flags.with_compress = true; -flags.with_stb_image_write = true; -flags.with_g2 = true; +flags.with_image_write = true; flags.with_iron = true; -flags.with_ui = true; flags.with_eval = true; let project = new Project("Base"); diff --git a/base/tools/pad/project.js b/base/tools/pad/project.js index e1094324..f4f8d7f2 100644 --- a/base/tools/pad/project.js +++ b/base/tools/pad/project.js @@ -3,9 +3,7 @@ let flags = globalThis.flags; flags.name = "ArmorPad"; flags.package = "org.armorpad"; flags.with_nfd = true; -flags.with_g2 = true; flags.with_iron = true; -flags.with_ui = true; let project = new Project("ArmorPad"); project.add_tsfiles("sources");