diff --git a/characters b/characters deleted file mode 100644 index d282d23c..00000000 --- a/characters +++ /dev/null @@ -1,283 +0,0 @@ -A -_a_ -7 -B -_b_ -5 -C -_c_ -6 -D -_d_ -6 -E -_e_ -5 -F -_f_ -5 -G -_g_ -6 -H -_h_ -6 -I -_i_ -1 -J -_j_ -4 -K -_k_ -5 -L -_l_ -4 -M -_m_ -7 -N -_n_ -6 -O -_o_ -6 -P -_p_ -5 -Q -_q_ -7 -R -_r_ -5 -S -_s_ -5 -T -_t_ -5 -U -_u_ -6 -V -_v_ -7 -W -_w_ -9 -X -_x_ -5 -Y -_y_ -7 -Z -_z_ -5 -a -_a -5 -b -_b -5 -c -_c -4 -d -_d -5 -e -_e -4 -f -_f -4 -g -_g -5 -h -_h -5 -i -_i -1 -j -_j -1 -k -_k -4 -l -_l -1 -m -_m -7 -n -_n -5 -o -_o -5 -p -_p -5 -q -_q -5 -r -_r -3 -s -_s -4 -t -_t -3 -u -_u -4 -v -_v -5 -w -_w -7 -x -_x -5 -y -_y -4 -z -_z -4 - -_sp -2 -0 -_0 -4 -1 -_1 -2 -2 -_2 -4 -3 -_3 -4 -4 -_4 -4 -5 -_5 -4 -6 -_6 -4 -7 -_7 -4 -8 -_8 -4 -9 -_9 -4 -( -_bl -2 -) -_br -2 -{ -_cl -3 -} -_cr -3 -[ -_sl -2 -] -_sr -2 -' -_ap -1 -! -_ex -1 -? -_qu -4 -@ -_at -5 -# -_hs -5 -$ -_dl -4 -% -_pr -5 -^ -_ca -3 -& -_am -5 -* -_as -3 -_ -_un -3 -+ -_ps -3 -- -_mn -3 -= -_eq -3 -: -_co -1 -; -_sm -1 -, -_cm -2 -" -_qo -3 -/ -_dv -5 -~ -_tl -4 -< -_lt -3 -> -_gt -3 -\ -_re -5 -| -_vb -1 -. -_dt -1 - diff --git a/signs_lib.lua b/signs_lib.lua index 8e375925..b73f96b4 100644 --- a/signs_lib.lua +++ b/signs_lib.lua @@ -1,46 +1,3 @@ --- Font: 04.jp.org - --- CONSTANTS - -local SIGN_WIDTH = 110 -local SIGN_PADDING = 8 - -local LINE_LENGTH = 16 -local NUMBER_OF_LINES = 4 - -local LINE_HEIGHT = 14 -local CHAR_WIDTH = 5 - -local signs = { - {delta = {x = -0.06, y = 0, z = 0.399}, yaw = 0}, - {delta = {x = 0.399, y = 0, z = 0.06}, yaw = math.pi / -2}, - {delta = {x = 0.06, y = 0, z = -0.399}, yaw = math.pi}, - {delta = {x = -0.399, y = 0, z = -0.06}, yaw = math.pi / 2}, -} - -local signs_yard = { - {delta = {x = -0.06, y = 0, z = -0.05}, yaw = 0}, - {delta = {x = -0.05, y = 0, z = 0.06}, yaw = math.pi / -2}, - {delta = {x = 0.06, y = 0, z = 0.05}, yaw = math.pi}, - {delta = {x = 0.05, y = 0, z = -0.06}, yaw = math.pi / 2}, -} - -local signs_post = { - {delta = {x = -0.06, y = 0, z = -0.226}, yaw = 0}, - {delta = {x = -0.226, y = 0, z = 0.06}, yaw = math.pi / -2}, - {delta = {x = 0.06, y = 0, z = 0.226}, yaw = math.pi}, - {delta = {x = 0.226, y = 0, z = -0.06}, yaw = math.pi / 2}, -} - -local sign_groups = {choppy=2, dig_immediate=2} - -local fences_with_sign = { } - --- Misc variables - -local chars_file = io.open(minetest.get_modpath("homedecor").."/characters", "r") -local charmap = {} -local max_chars = 16 -- Boilerplate to support localized strings if intllib mod is installed. local S @@ -51,6 +8,174 @@ else S = function ( s ) return s end end +-- CONSTANTS + +local NUMBER_OF_LINES = 6 + +local MP = minetest.get_modpath("homedecor") + +-- Used by `build_char_db' to locate the file. +local FONT_FMT = "%s/hdf_%02x.png" + +-- Simple texture name for building text texture. +local FONT_FMT_SIMPLE = "hdf_%02x.png" + +-- Path to the textures. +local TP = MP.."/textures" + +local TEXT_SCALE = {x=0.9, y=0.7} + +-- Lots of overkill here. KISS advocates, go away, shoo! ;) -- kaeza + +local PNG_HDR = string.char(0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A) + +-- Read the image size from a PNG file. +-- Returns image_w, image_h. +-- Only the LSB is read from each field! +local function read_png_size(f) + f:seek("set", 0x0) + local hdr = f:read(8) + if hdr ~= PNG_HDR then return end + f:seek("set", 0x13) + local ws = f:read(1) + f:seek("set", 0x17) + local hs = f:read(1) + return ws:byte(), hs:byte() +end + +-- Set by build_char_db() +local LINE_HEIGHT +local SIGN_WIDTH +local SIGN_PADDING + +-- This holds the individual character widths. +-- Indexed by the actual character (e.g. charwidth["A"]) +local charwidth = { } + +-- File to cache the font size to. +local CHARDB_FILE = minetest.get_worldpath().."/homedecor_chardb" + +local function build_char_db() + + LINE_HEIGHT = nil + SIGN_WIDTH = nil + SIGN_PADDING = nil + + -- To calculate average char width. + local total_width = 0 + local char_count = 0 + + -- Try to load cached data to avoid heavy disk I/O. + + local cdbf = io.open(CHARDB_FILE, "rt") + + if cdbf then + minetest.log("info", "[homedecor] Reading cached character database.") + for line in cdbf:lines() do + local ch, w = line:match("(0x[0-9A-Fa-f]+)%s+([0-9][0-9]+)") + if ch and w then + local c = tonumber(ch, 16) + w = tonumber(w) + if c and w then + if c == 0 then + LINE_HEIGHT = h + elseif (c >= 32) and (c < 127) then + charwidth[string.char(c)] = w + total_width = total_width + w + char_count = char_count + 1 + end + end + end + end + cdbf:close() + if LINE_HEIGHT then + -- XXX: Is there a better way to calc this? + -- XXX: Remember to change similar lines below if this changes. + SIGN_WIDTH = math.floor((total_width / char_count) * 16) + SIGN_PADDING = SIGN_WIDTH / 14 -- Totally arbitrary. + return + else + minetest.log("warning", "[homedecor]" + .." Could not find font line height in cached DB." + .." Trying brute force." + ) + end + end + + -- OK, something went wrong... try brute force loading from texture files. + + total_width = 0 + char_count = 0 + LINE_HEIGHT = nil + + for c = 32, 126 do + local filename = FONT_FMT:format(TP, c) + local f = io.open(filename) + if f then + local ch = string.char(c) + local w, h = read_png_size(f) + f:close() + if w and h then + charwidth[ch] = w + total_width = total_width + w + char_count = char_count + 1 + if not LINE_HEIGHT then LINE_HEIGHT = h end + end + end + end + + if not LINE_HEIGHT then + error("Could not find font line height.") + end + + SIGN_WIDTH = math.floor((total_width / char_count) * 16) + SIGN_PADDING = SIGN_WIDTH / 14 -- Totally arbitrary. + + -- Try to save cached list back to disk. + + local e -- Note: `cdbf' is already declared local above. + cdbf, e = io.open(CHARDB_FILE, "wt") + if not cdbf then + minetest.log("warning", "[homedecor] Could not save cached char DB: "..(e or "")) + return + end + + cdbf:write(("0x00 %d\n"):format(LINE_HEIGHT)) + for c = 32, 126 do + local w = charwidth[string.char(c)] + if w then + cdbf:write(("0x%02X %d\n"):format(c, w)) + end + end + cdbf:close() + +end + +local signs = { + {delta = {x = 0, y = 0, z = 0.399}, yaw = 0}, + {delta = {x = 0.399, y = 0, z = 0 }, yaw = math.pi / -2}, + {delta = {x = 0, y = 0, z = -0.399}, yaw = math.pi}, + {delta = {x = -0.399, y = 0, z = 0 }, yaw = math.pi / 2}, +} + +local signs_yard = { + {delta = {x = 0, y = 0.05, z = -0.05}, yaw = 0}, + {delta = {x = -0.05, y = 0.05, z = 0}, yaw = math.pi / -2}, + {delta = {x = 0, y = 0.05, z = 0.05}, yaw = math.pi}, + {delta = {x = 0.05, y = 0.05, z = 0}, yaw = math.pi / 2}, +} + +local signs_post = { + {delta = {x = 0, y = 0, z = -0.226}, yaw = 0}, + {delta = {x = -0.226, y = 0, z = 0}, yaw = math.pi / -2}, + {delta = {x = 0, y = 0, z = 0.226}, yaw = math.pi}, + {delta = {x = 0.226, y = 0, z = 0}, yaw = math.pi / 2}, +} + +local sign_groups = {choppy=2, dig_immediate=2} + +local fences_with_sign = { } + -- some local helper functions local homedecor_create_lines = function(text) @@ -66,52 +191,56 @@ end local math_max = math.max local homedecor_generate_line = function(s, lineno) - local i = 1 - local parsed = {} - local width = 0 - local maxw = 0 - local chars = 0 - while i <= #s do - local file = nil - if charmap[s:sub(i, i)] ~= nil then - file = charmap[s:sub(i, i)] - i = i + 1 - elseif i < #s and charmap[s:sub(i, i + 1)] ~= nil then - file = charmap[s:sub(i, i + 1)] - i = i + 2 - else - print("[signs] W: unknown symbol in '"..s.."' at "..i.." (probably "..s:sub(i, i)..")") - i = i + 1 - end - if file ~= nil then - width = width + CHAR_WIDTH - maxw = math_max(width, maxw) - chars = chars + 1 - if chars > max_chars then + + local width = 0 + local maxw = 0 + + local chars = { } + + local max_line_w = SIGN_WIDTH - (SIGN_PADDING * 2) + + -- We check which chars are available here. + for i = 1, #s do + local c = s:sub(i, i) + local w = charwidth[c] + if w then + width = width + w + 1 + maxw = math_max(width, maxw) + if width >= max_line_w then width = 0 end - table.insert(parsed, file) - end - end - maxw = maxw - 1 + table.insert(chars, c) + end + end - local texture = { } - local start_xpos = math.floor((SIGN_WIDTH - 2 * SIGN_PADDING - maxw) / 2 + SIGN_PADDING) - local xpos = start_xpos - local linepos = 0 - for i = 1, #parsed do - if lineno >= NUMBER_OF_LINES then break end - local ypos = 12 + (LINE_HEIGHT * lineno) - table.insert(texture, (":%d,%d=%s.png"):format(xpos, ypos, parsed[i])) - xpos = xpos + CHAR_WIDTH + 1 - linepos = linepos + 1 - if linepos > max_chars then + maxw = maxw - 1 + + -- Okay, we actually build the "line texture" here. + + local start_xpos = math.floor((SIGN_WIDTH - 2 * SIGN_PADDING - maxw) / 2 + SIGN_PADDING) + local xpos = start_xpos + local texture = { } + local ypos = (LINE_HEIGHT * (lineno --[[+ 1]])) + + width = 0 + + for i = 1, #s do + local c = s:sub(i, i) + local w = charwidth[c] + local tex = FONT_FMT_SIMPLE:format(c:byte()) + table.insert(texture, (":%d,%d=%s"):format(xpos, ypos, tex)) + xpos = xpos + w + 1 + width = width + w + 1 + if width > max_line_w then xpos = start_xpos - linepos = 0 + ypos = ypos + LINE_HEIGHT + width = 0 lineno = lineno + 1 end - end - return table.concat(texture, ""), lineno + if lineno >= NUMBER_OF_LINES then break end + end + + return table.concat(texture, ""), lineno end local function copy ( t ) @@ -138,20 +267,11 @@ local homedecor_generate_texture = function(lines) return table.concat(texture, "") end --- load characters map - -if not chars_file then - print("[signs] "..S("E: character map file not found")) -else - while true do - local char = chars_file:read("*l") - if char == nil then - break - end - local img = chars_file:read("*l") - chars_file:read("*l") - charmap[char] = img - end +local function set_obj_text(obj, text) + obj:set_properties({ + textures={homedecor_generate_texture(homedecor_create_lines(text))}, + visual_size = TEXT_SCALE, + }) end homedecor.construct_sign = function(pos) @@ -179,7 +299,7 @@ homedecor.update_sign = function(pos, fields) local objects = minetest.get_objects_inside_radius(pos, 0.5) for _, v in ipairs(objects) do if v:get_entity_name() == "signs:text" then - v:set_properties({textures={homedecor_generate_texture(homedecor_create_lines(text))}}) + set_obj_text(v, text) return end end @@ -392,7 +512,7 @@ if not homedecor.disable_signs then signs_text_on_activate = function(self) local meta = minetest.get_meta(self.object:getpos()) local text = meta:get_string("text") - self.object:set_properties({textures={homedecor_generate_texture(homedecor_create_lines(text))}}) + set_obj_text(self.object, text) end else signs_text_on_activate = function(self) @@ -479,6 +599,8 @@ function homedecor.register_fence_with_sign(fencename, fencewithsignname) print("Registered "..fencename.." and "..fencewithsignname) end +build_char_db() + if minetest.setting_get("log_mods") then minetest.log("action", S("signs loaded")) end diff --git a/textures/_0.png b/textures/_0.png deleted file mode 100644 index 4cde0513..00000000 Binary files a/textures/_0.png and /dev/null differ diff --git a/textures/_1.png b/textures/_1.png deleted file mode 100644 index 4c709bc9..00000000 Binary files a/textures/_1.png and /dev/null differ diff --git a/textures/_2.png b/textures/_2.png deleted file mode 100644 index 741bba03..00000000 Binary files a/textures/_2.png and /dev/null differ diff --git a/textures/_3.png b/textures/_3.png deleted file mode 100644 index 56c72641..00000000 Binary files a/textures/_3.png and /dev/null differ diff --git a/textures/_4.png b/textures/_4.png deleted file mode 100644 index f958039f..00000000 Binary files a/textures/_4.png and /dev/null differ diff --git a/textures/_5.png b/textures/_5.png deleted file mode 100644 index 9c97f557..00000000 Binary files a/textures/_5.png and /dev/null differ diff --git a/textures/_6.png b/textures/_6.png deleted file mode 100644 index f488057b..00000000 Binary files a/textures/_6.png and /dev/null differ diff --git a/textures/_7.png b/textures/_7.png deleted file mode 100644 index 1bc96a5e..00000000 Binary files a/textures/_7.png and /dev/null differ diff --git a/textures/_8.png b/textures/_8.png deleted file mode 100644 index ca574896..00000000 Binary files a/textures/_8.png and /dev/null differ diff --git a/textures/_9.png b/textures/_9.png deleted file mode 100644 index e690d467..00000000 Binary files a/textures/_9.png and /dev/null differ diff --git a/textures/_a.png b/textures/_a.png deleted file mode 100644 index 0d66eb40..00000000 Binary files a/textures/_a.png and /dev/null differ diff --git a/textures/_a_.png b/textures/_a_.png deleted file mode 100644 index eab424c4..00000000 Binary files a/textures/_a_.png and /dev/null differ diff --git a/textures/_am.png b/textures/_am.png deleted file mode 100644 index d187fe32..00000000 Binary files a/textures/_am.png and /dev/null differ diff --git a/textures/_ap.png b/textures/_ap.png deleted file mode 100644 index 4c44a616..00000000 Binary files a/textures/_ap.png and /dev/null differ diff --git a/textures/_as.png b/textures/_as.png deleted file mode 100644 index 3aa7a3e1..00000000 Binary files a/textures/_as.png and /dev/null differ diff --git a/textures/_at.png b/textures/_at.png deleted file mode 100644 index bdd84d2c..00000000 Binary files a/textures/_at.png and /dev/null differ diff --git a/textures/_b.png b/textures/_b.png deleted file mode 100644 index 8eb71d54..00000000 Binary files a/textures/_b.png and /dev/null differ diff --git a/textures/_b_.png b/textures/_b_.png deleted file mode 100644 index f3dc2074..00000000 Binary files a/textures/_b_.png and /dev/null differ diff --git a/textures/_bl.png b/textures/_bl.png deleted file mode 100644 index b2a03a24..00000000 Binary files a/textures/_bl.png and /dev/null differ diff --git a/textures/_br.png b/textures/_br.png deleted file mode 100644 index f845aad9..00000000 Binary files a/textures/_br.png and /dev/null differ diff --git a/textures/_c.png b/textures/_c.png deleted file mode 100644 index dabe702b..00000000 Binary files a/textures/_c.png and /dev/null differ diff --git a/textures/_c_.png b/textures/_c_.png deleted file mode 100644 index fea49cbb..00000000 Binary files a/textures/_c_.png and /dev/null differ diff --git a/textures/_ca.png b/textures/_ca.png deleted file mode 100644 index 7c5eabd9..00000000 Binary files a/textures/_ca.png and /dev/null differ diff --git a/textures/_cl.png b/textures/_cl.png deleted file mode 100644 index b8c269b6..00000000 Binary files a/textures/_cl.png and /dev/null differ diff --git a/textures/_cm.png b/textures/_cm.png deleted file mode 100644 index f637f4ab..00000000 Binary files a/textures/_cm.png and /dev/null differ diff --git a/textures/_co.png b/textures/_co.png deleted file mode 100644 index ae97df03..00000000 Binary files a/textures/_co.png and /dev/null differ diff --git a/textures/_cr.png b/textures/_cr.png deleted file mode 100644 index f23464d1..00000000 Binary files a/textures/_cr.png and /dev/null differ diff --git a/textures/_d.png b/textures/_d.png deleted file mode 100644 index 4ae78f2a..00000000 Binary files a/textures/_d.png and /dev/null differ diff --git a/textures/_d_.png b/textures/_d_.png deleted file mode 100644 index 33346ef3..00000000 Binary files a/textures/_d_.png and /dev/null differ diff --git a/textures/_dl.png b/textures/_dl.png deleted file mode 100644 index 21c6b3d8..00000000 Binary files a/textures/_dl.png and /dev/null differ diff --git a/textures/_dt.png b/textures/_dt.png deleted file mode 100644 index 271886fb..00000000 Binary files a/textures/_dt.png and /dev/null differ diff --git a/textures/_dv.png b/textures/_dv.png deleted file mode 100644 index 987804cc..00000000 Binary files a/textures/_dv.png and /dev/null differ diff --git a/textures/_e.png b/textures/_e.png deleted file mode 100644 index 25baf3d6..00000000 Binary files a/textures/_e.png and /dev/null differ diff --git a/textures/_e_.png b/textures/_e_.png deleted file mode 100644 index 140b24f1..00000000 Binary files a/textures/_e_.png and /dev/null differ diff --git a/textures/_eq.png b/textures/_eq.png deleted file mode 100644 index d4726873..00000000 Binary files a/textures/_eq.png and /dev/null differ diff --git a/textures/_ex.png b/textures/_ex.png deleted file mode 100644 index eb30a3f7..00000000 Binary files a/textures/_ex.png and /dev/null differ diff --git a/textures/_f.png b/textures/_f.png deleted file mode 100644 index b8c956e2..00000000 Binary files a/textures/_f.png and /dev/null differ diff --git a/textures/_f_.png b/textures/_f_.png deleted file mode 100644 index 02145d6e..00000000 Binary files a/textures/_f_.png and /dev/null differ diff --git a/textures/_g.png b/textures/_g.png deleted file mode 100644 index e809574b..00000000 Binary files a/textures/_g.png and /dev/null differ diff --git a/textures/_g_.png b/textures/_g_.png deleted file mode 100644 index 96621b16..00000000 Binary files a/textures/_g_.png and /dev/null differ diff --git a/textures/_gt.png b/textures/_gt.png deleted file mode 100644 index 4ce02e89..00000000 Binary files a/textures/_gt.png and /dev/null differ diff --git a/textures/_h.png b/textures/_h.png deleted file mode 100644 index f8719797..00000000 Binary files a/textures/_h.png and /dev/null differ diff --git a/textures/_h_.png b/textures/_h_.png deleted file mode 100644 index 8cf3fa4a..00000000 Binary files a/textures/_h_.png and /dev/null differ diff --git a/textures/_ha.png b/textures/_ha.png deleted file mode 100644 index 3eff069f..00000000 Binary files a/textures/_ha.png and /dev/null differ diff --git a/textures/_hs.png b/textures/_hs.png deleted file mode 100644 index 6f46e6e1..00000000 Binary files a/textures/_hs.png and /dev/null differ diff --git a/textures/_i.png b/textures/_i.png deleted file mode 100644 index 421a1bb7..00000000 Binary files a/textures/_i.png and /dev/null differ diff --git a/textures/_i_.png b/textures/_i_.png deleted file mode 100644 index d533cf9d..00000000 Binary files a/textures/_i_.png and /dev/null differ diff --git a/textures/_j.png b/textures/_j.png deleted file mode 100644 index 057d7eb0..00000000 Binary files a/textures/_j.png and /dev/null differ diff --git a/textures/_j_.png b/textures/_j_.png deleted file mode 100644 index f1f6cf50..00000000 Binary files a/textures/_j_.png and /dev/null differ diff --git a/textures/_k.png b/textures/_k.png deleted file mode 100644 index 564c593b..00000000 Binary files a/textures/_k.png and /dev/null differ diff --git a/textures/_k_.png b/textures/_k_.png deleted file mode 100644 index 72f8859b..00000000 Binary files a/textures/_k_.png and /dev/null differ diff --git a/textures/_l.png b/textures/_l.png deleted file mode 100644 index 7875ef9c..00000000 Binary files a/textures/_l.png and /dev/null differ diff --git a/textures/_l_.png b/textures/_l_.png deleted file mode 100644 index 05eccbc6..00000000 Binary files a/textures/_l_.png and /dev/null differ diff --git a/textures/_lt.png b/textures/_lt.png deleted file mode 100644 index 29bed046..00000000 Binary files a/textures/_lt.png and /dev/null differ diff --git a/textures/_m.png b/textures/_m.png deleted file mode 100644 index 58320aaf..00000000 Binary files a/textures/_m.png and /dev/null differ diff --git a/textures/_m_.png b/textures/_m_.png deleted file mode 100644 index 60e7c739..00000000 Binary files a/textures/_m_.png and /dev/null differ diff --git a/textures/_mn.png b/textures/_mn.png deleted file mode 100644 index 17541b2e..00000000 Binary files a/textures/_mn.png and /dev/null differ diff --git a/textures/_n.png b/textures/_n.png deleted file mode 100644 index 4322fa59..00000000 Binary files a/textures/_n.png and /dev/null differ diff --git a/textures/_n_.png b/textures/_n_.png deleted file mode 100644 index cfd43ba2..00000000 Binary files a/textures/_n_.png and /dev/null differ diff --git a/textures/_o.png b/textures/_o.png deleted file mode 100644 index 539c44ac..00000000 Binary files a/textures/_o.png and /dev/null differ diff --git a/textures/_o_.png b/textures/_o_.png deleted file mode 100644 index 931a003d..00000000 Binary files a/textures/_o_.png and /dev/null differ diff --git a/textures/_p.png b/textures/_p.png deleted file mode 100644 index 4f401394..00000000 Binary files a/textures/_p.png and /dev/null differ diff --git a/textures/_p_.png b/textures/_p_.png deleted file mode 100644 index 56abf2d2..00000000 Binary files a/textures/_p_.png and /dev/null differ diff --git a/textures/_pr.png b/textures/_pr.png deleted file mode 100644 index 0645e047..00000000 Binary files a/textures/_pr.png and /dev/null differ diff --git a/textures/_ps.png b/textures/_ps.png deleted file mode 100644 index 8d822abf..00000000 Binary files a/textures/_ps.png and /dev/null differ diff --git a/textures/_q.png b/textures/_q.png deleted file mode 100644 index f73c8359..00000000 Binary files a/textures/_q.png and /dev/null differ diff --git a/textures/_q_.png b/textures/_q_.png deleted file mode 100644 index 534924ed..00000000 Binary files a/textures/_q_.png and /dev/null differ diff --git a/textures/_qo.png b/textures/_qo.png deleted file mode 100644 index 21a6b3e8..00000000 Binary files a/textures/_qo.png and /dev/null differ diff --git a/textures/_qu.png b/textures/_qu.png deleted file mode 100644 index 69631311..00000000 Binary files a/textures/_qu.png and /dev/null differ diff --git a/textures/_r.png b/textures/_r.png deleted file mode 100644 index f30c9835..00000000 Binary files a/textures/_r.png and /dev/null differ diff --git a/textures/_r_.png b/textures/_r_.png deleted file mode 100644 index 7e63a20d..00000000 Binary files a/textures/_r_.png and /dev/null differ diff --git a/textures/_re.png b/textures/_re.png deleted file mode 100644 index abf907f5..00000000 Binary files a/textures/_re.png and /dev/null differ diff --git a/textures/_s.png b/textures/_s.png deleted file mode 100644 index 8564681a..00000000 Binary files a/textures/_s.png and /dev/null differ diff --git a/textures/_s_.png b/textures/_s_.png deleted file mode 100644 index a19b907a..00000000 Binary files a/textures/_s_.png and /dev/null differ diff --git a/textures/_sl.png b/textures/_sl.png deleted file mode 100644 index 49f213bd..00000000 Binary files a/textures/_sl.png and /dev/null differ diff --git a/textures/_sm.png b/textures/_sm.png deleted file mode 100644 index d6e4ab06..00000000 Binary files a/textures/_sm.png and /dev/null differ diff --git a/textures/_sp.png b/textures/_sp.png deleted file mode 100644 index 70d9b152..00000000 Binary files a/textures/_sp.png and /dev/null differ diff --git a/textures/_sr.png b/textures/_sr.png deleted file mode 100644 index 7d135186..00000000 Binary files a/textures/_sr.png and /dev/null differ diff --git a/textures/_t.png b/textures/_t.png deleted file mode 100644 index e965037a..00000000 Binary files a/textures/_t.png and /dev/null differ diff --git a/textures/_t_.png b/textures/_t_.png deleted file mode 100644 index 42cf212a..00000000 Binary files a/textures/_t_.png and /dev/null differ diff --git a/textures/_tl.png b/textures/_tl.png deleted file mode 100644 index 07443d38..00000000 Binary files a/textures/_tl.png and /dev/null differ diff --git a/textures/_u.png b/textures/_u.png deleted file mode 100644 index 348bc93b..00000000 Binary files a/textures/_u.png and /dev/null differ diff --git a/textures/_u_.png b/textures/_u_.png deleted file mode 100644 index 42be4ed9..00000000 Binary files a/textures/_u_.png and /dev/null differ diff --git a/textures/_un.png b/textures/_un.png deleted file mode 100644 index 1a1d6a93..00000000 Binary files a/textures/_un.png and /dev/null differ diff --git a/textures/_v.png b/textures/_v.png deleted file mode 100644 index bf70c3c0..00000000 Binary files a/textures/_v.png and /dev/null differ diff --git a/textures/_v_.png b/textures/_v_.png deleted file mode 100644 index abe633ed..00000000 Binary files a/textures/_v_.png and /dev/null differ diff --git a/textures/_vb.png b/textures/_vb.png deleted file mode 100644 index 6d2b7439..00000000 Binary files a/textures/_vb.png and /dev/null differ diff --git a/textures/_w.png b/textures/_w.png deleted file mode 100644 index 9011afa0..00000000 Binary files a/textures/_w.png and /dev/null differ diff --git a/textures/_w_.png b/textures/_w_.png deleted file mode 100644 index 327d947e..00000000 Binary files a/textures/_w_.png and /dev/null differ diff --git a/textures/_x.png b/textures/_x.png deleted file mode 100644 index 4fd3efff..00000000 Binary files a/textures/_x.png and /dev/null differ diff --git a/textures/_x_.png b/textures/_x_.png deleted file mode 100644 index 35fc3e40..00000000 Binary files a/textures/_x_.png and /dev/null differ diff --git a/textures/_y.png b/textures/_y.png deleted file mode 100644 index 9cd323df..00000000 Binary files a/textures/_y.png and /dev/null differ diff --git a/textures/_y_.png b/textures/_y_.png deleted file mode 100644 index 70cec732..00000000 Binary files a/textures/_y_.png and /dev/null differ diff --git a/textures/_z.png b/textures/_z.png deleted file mode 100644 index 160d9ccc..00000000 Binary files a/textures/_z.png and /dev/null differ diff --git a/textures/_z_.png b/textures/_z_.png deleted file mode 100644 index c0b83748..00000000 Binary files a/textures/_z_.png and /dev/null differ