# HG changeset patch # User sam # Date 1718427425 -25200 # Node ID 6a7f09909a37d0afb5e8c0ecdb5f3296f430055a # Parent af18922b416d36bf1475155bbb313f31bd3743d3# Parent d7891cf88359ecfca77b6c20caa693eca7067b18 merge diff -r d7891cf88359 -r 6a7f09909a37 semicongine/build.nim --- a/semicongine/build.nim Tue Jun 11 17:10:03 2024 +0700 +++ b/semicongine/build.nim Sat Jun 15 11:57:05 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 d7891cf88359 -r 6a7f09909a37 semicongine/text.nim --- a/semicongine/text.nim Tue Jun 11 17:10:03 2024 +0700 +++ b/semicongine/text.nim Sat Jun 15 11:57:05 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"