diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-05-25 12:52:07 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-05-25 12:52:07 +1000 |
commit | f3adb0b9d01783822a48d50111a9b99673b6b718 (patch) | |
tree | fc3bafee4d86d6c7ab3447e6c05a0d974253aa60 /assets/opensb/interface/graphicsmenu | |
parent | e31a37421214db40a631c2721381f240f03c770e (diff) |
Add an interface scale slider
Diffstat (limited to 'assets/opensb/interface/graphicsmenu')
-rw-r--r-- | assets/opensb/interface/graphicsmenu/body.png.patch.lua | 20 | ||||
-rw-r--r-- | assets/opensb/interface/graphicsmenu/shine.png | bin | 0 -> 740 bytes |
2 files changed, 11 insertions, 9 deletions
diff --git a/assets/opensb/interface/graphicsmenu/body.png.patch.lua b/assets/opensb/interface/graphicsmenu/body.png.patch.lua index 32afe25..85ac17e 100644 --- a/assets/opensb/interface/graphicsmenu/body.png.patch.lua +++ b/assets/opensb/interface/graphicsmenu/body.png.patch.lua @@ -1,11 +1,13 @@ -function patch(image) - -- Camera Pan Speed - image:copyInto({119, 68}, image:process("?crop=19;68;117;87")) +function patch(original) + local image = original:process("?crop=0;0;1;1?scalenearest=236;166") + image:copyInto({0, 28}, original) + image:copyInto({0, 0}, original:process("?crop=0;0;236;96")) local checkbox = image:process("?crop=19;26;117;35") - -- Anti-Aliasing - image:copyInto({119, 26}, checkbox) - -- Object Lighting - image:copyInto({19, 15}, checkbox) - -- Hardware Cursor - image:copyInto({119, 15}, checkbox) + image:copyInto({119, 26}, checkbox) -- Anti-Aliasing + image:copyInto({19, 15}, checkbox) -- Object Lighting + image:copyInto({119, 15}, checkbox) -- Hardware Cursor + + image:copyInto({119, 68}, image:process("?crop=19;68;117;87")) -- Camera Pan Speed + + return image end
\ No newline at end of file diff --git a/assets/opensb/interface/graphicsmenu/shine.png b/assets/opensb/interface/graphicsmenu/shine.png Binary files differnew file mode 100644 index 0000000..fb130dd --- /dev/null +++ b/assets/opensb/interface/graphicsmenu/shine.png |