# HG changeset patch # User sam # Date 1718427356 -25200 # Node ID af18922b416d36bf1475155bbb313f31bd3743d3 # Parent bf9dedd36bedcb0e4e0182ab555642711123e3cf did: reduce some limits, remove sqlite32 on windows for now diff -r bf9dedd36bed -r af18922b416d semicongine/build.nim --- a/semicongine/build.nim Sat Jun 08 16:19:05 2024 +0700 +++ b/semicongine/build.nim Sat Jun 15 11:55:56 2024 +0700 @@ -18,7 +18,7 @@ STEAMLIB = currentSourcePath().parentDir().parentDir().joinPath("libs/steam_api.dll") else: raise newException(Exception, "Unsupported platform") -let SQLITELIB_32 = currentSourcePath().parentDir().parentDir().joinPath("libs/sqlite3_32.dll") +# let SQLITELIB_32 = currentSourcePath().parentDir().parentDir().joinPath("libs/sqlite3_32.dll") let SQLITELIB_64 = currentSourcePath().parentDir().parentDir().joinPath("libs/sqlite3_64.dll") proc semicongine_builddir*(buildname: string, builddir = "./build"): string = @@ -77,7 +77,7 @@ elif bundleType == "exe": switch("define", "BUILD_RESOURCEROOT=" & joinPath(getCurrentDir(), resourceRoot)) # required for in-exe packing of resources, must be absolute if defined(windows): - SQLITELIB_32.cpFile(outdir.joinPath(SQLITELIB_32.extractFilename)) + # SQLITELIB_32.cpFile(outdir.joinPath(SQLITELIB_32.extractFilename)) SQLITELIB_64.cpFile(outdir.joinPath(SQLITELIB_64.extractFilename)) if withSteam: STEAMLIB.cpFile(outdir.joinPath(STEAMLIB.extractFilename)) diff -r bf9dedd36bed -r af18922b416d semicongine/text.nim --- a/semicongine/text.nim Sat Jun 08 16:19:05 2024 +0700 +++ b/semicongine/text.nim Sat Jun 15 11:55:56 2024 +0700 @@ -13,7 +13,7 @@ SPACE = Rune(' ') # font shader - MAX_TEXT_MATERIALS = 100 # need for every different font AND color + MAX_TEXT_MATERIALS = 64 # need for every different font AND color SHADER_ATTRIB_PREFIX = "semicon_text_" POSITION_ATTRIB = SHADER_ATTRIB_PREFIX & "position" UV_ATTRIB = SHADER_ATTRIB_PREFIX & "uv"