diff --git a/data/background.png b/data/background.png new file mode 100644 index 00000000..2c9c1041 Binary files /dev/null and b/data/background.png differ diff --git a/data/fonts/tibia-10px-antialised.png b/data/fonts/tibia-10px-antialised.png new file mode 100644 index 00000000..e3757851 Binary files /dev/null and b/data/fonts/tibia-10px-antialised.png differ diff --git a/data/fonts/tibia-10px-antialised.yml b/data/fonts/tibia-10px-antialised.yml new file mode 100644 index 00000000..da60a5b5 --- /dev/null +++ b/data/fonts/tibia-10px-antialised.yml @@ -0,0 +1,8 @@ +glyph height: 10 +glyph spacing: [1, 1] +top margin: 3 +image: tibia-10px-antialised.png +image glyph size: [8, 16] + +glyph widths: + 32: 2 diff --git a/data/fonts/tibia-10px-monochrome.png b/data/fonts/tibia-10px-monochrome.png new file mode 100644 index 00000000..9f71d8d3 Binary files /dev/null and b/data/fonts/tibia-10px-monochrome.png differ diff --git a/data/fonts/tibia-10px-monochrome.yml b/data/fonts/tibia-10px-monochrome.yml new file mode 100644 index 00000000..633bd429 --- /dev/null +++ b/data/fonts/tibia-10px-monochrome.yml @@ -0,0 +1,8 @@ +glyph height: 10 +glyph spacing: [1, 1] +top margin: 3 +image: tibia-10px-monochrome.png +image glyph size: [8, 16] + +glyph widths: + 32: 2 diff --git a/data/fonts/tibia-12px-rounded.png b/data/fonts/tibia-12px-rounded.png new file mode 100644 index 00000000..31a11f51 Binary files /dev/null and b/data/fonts/tibia-12px-rounded.png differ diff --git a/data/fonts/tibia-12px-rounded.yml b/data/fonts/tibia-12px-rounded.yml new file mode 100644 index 00000000..946050f6 --- /dev/null +++ b/data/fonts/tibia-12px-rounded.yml @@ -0,0 +1,231 @@ +glyph height: 12 +glyph spacing: [0, 1] +top margin: 3 +image: tibia-12px-rounded.png +image glyph size: [16, 16] + +glyph widths: + 32: 4 + 33: 4 + 34: 7 + 35: 9 + 36: 8 + 37: 10 + 38: 10 + 39: 4 + 40: 6 + 41: 6 + 42: 8 + 43: 9 + 44: 4 + 45: 7 + 46: 4 + 47: 8 + 48: 8 + 49: 6 + 50: 8 + 51: 8 + 52: 8 + 53: 8 + 54: 8 + 55: 8 + 56: 8 + 57: 8 + 58: 5 + 59: 5 + 60: 10 + 61: 10 + 62: 10 + 63: 7 + 64: 10 + 65: 9 + 66: 8 + 67: 8 + 68: 9 + 69: 8 + 70: 8 + 71: 9 + 72: 9 + 73: 6 + 74: 7 + 75: 8 + 76: 8 + 77: 10 + 78: 9 + 79: 9 + 80: 8 + 81: 9 + 82: 9 + 83: 8 + 84: 10 + 85: 9 + 86: 8 + 87: 10 + 88: 8 + 89: 8 + 90: 8 + 91: 6 + 92: 8 + 93: 6 + 94: 11 + 95: 9 + 96: 7 + 97: 8 + 98: 8 + 99: 7 + 100: 8 + 101: 8 + 102: 7 + 103: 8 + 104: 8 + 105: 4 + 106: 6 + 107: 8 + 108: 4 + 109: 10 + 110: 8 + 111: 8 + 112: 8 + 113: 8 + 114: 7 + 115: 7 + 116: 7 + 117: 8 + 118: 8 + 119: 10 + 120: 8 + 121: 8 + 122: 7 + 123: 8 + 124: 5 + 125: 8 + 126: 9 + 127: 13 + 128: 8 + 129: 13 + 130: 4 + 131: 8 + 132: 6 + 133: 13 + 134: 8 + 135: 8 + 136: 7 + 137: 20 + 138: 8 + 139: 6 + 140: 13 + 141: 13 + 142: 7 + 143: 13 + 144: 13 + 145: 4 + 146: 4 + 147: 6 + 148: 6 + 149: 8 + 150: 8 + 151: 12 + 152: 7 + 153: 11 + 154: 7 + 155: 6 + 156: 13 + 157: 13 + 158: 7 + 159: 9 + 160: 4 + 161: 5 + 162: 8 + 163: 8 + 164: 8 + 165: 8 + 166: 7 + 167: 8 + 168: 7 + 169: 12 + 170: 7 + 171: 9 + 172: 11 + 173: 6 + 174: 12 + 175: 8 + 176: 7 + 177: 11 + 178: 7 + 179: 7 + 180: 7 + 181: 8 + 182: 8 + 183: 5 + 184: 7 + 185: 7 + 186: 7 + 187: 9 + 188: 15 + 189: 15 + 190: 15 + 191: 7 + 192: 10 + 193: 10 + 194: 10 + 195: 10 + 196: 10 + 197: 10 + 198: 13 + 199: 8 + 200: 7 + 201: 7 + 202: 7 + 203: 7 + 204: 5 + 205: 5 + 206: 5 + 207: 5 + 208: 10 + 209: 8 + 210: 9 + 211: 9 + 212: 9 + 213: 9 + 214: 9 + 215: 11 + 216: 9 + 217: 8 + 218: 8 + 219: 8 + 220: 8 + 221: 9 + 222: 9 + 223: 8 + 224: 8 + 225: 8 + 226: 8 + 227: 8 + 228: 8 + 229: 8 + 230: 12 + 231: 6 + 232: 8 + 233: 8 + 234: 8 + 235: 8 + 236: 5 + 237: 5 + 238: 3 + 239: 3 + 240: 8 + 241: 8 + 242: 8 + 243: 8 + 244: 8 + 245: 8 + 246: 8 + 247: 11 + 248: 8 + 249: 8 + 250: 8 + 251: 8 + 252: 8 + 253: 8 + 254: 8 + 255: 8 diff --git a/data/fonts/tibia-8px-antialised.png b/data/fonts/tibia-8px-antialised.png new file mode 100644 index 00000000..1c526104 Binary files /dev/null and b/data/fonts/tibia-8px-antialised.png differ diff --git a/data/fonts/tibia-8px-antialised.yml b/data/fonts/tibia-8px-antialised.yml new file mode 100644 index 00000000..eada5645 --- /dev/null +++ b/data/fonts/tibia-8px-antialised.yml @@ -0,0 +1,8 @@ +glyph height: 8 +glyph spacing: [0, 1] +top margin: 1 +image: tibia-8px-antialised.png +image glyph size: [8, 8] + +glyph widths: + 32: 2 \ No newline at end of file diff --git a/data/skins/tibiaskin.png b/data/skins/tibiaskin.png new file mode 100644 index 00000000..ddbef0d8 Binary files /dev/null and b/data/skins/tibiaskin.png differ diff --git a/data/skins/tibiaskin.yml b/data/skins/tibiaskin.yml new file mode 100644 index 00000000..ed8ccd19 --- /dev/null +++ b/data/skins/tibiaskin.yml @@ -0,0 +1,88 @@ +default skin image: tibiaskin.png + +buttons: + default: + default size: [86, 20] + + bordered image: + left border: [45,139,1,18] + right border: [130,139,1,18] + top border: [46,138,84,1] + bottom border: [46,157,84,1] + top left corner: [45,138,1,1] + top right corner: [130,138,1,1] + bottom left corner: [45,157,1,1] + bottom right corner: [130,157,1,1] + center: [46,139,84,18] + + down state: + bordered image: + left border: [45,159,1,18] + right border: [130,159,1,18] + top border: [46,158,84,1] + bottom border: [46,177,84,1] + top left corner: [45,158,1,1] + top right corner: [130,158,1,1] + bottom left corner: [45,177,1,1] + bottom right corner: [130,177,1,1] + center: [46,159,84,18] +panels: + default: + # the default panel is empty + + roundedGridPanel: + default size: [117, 171] + bordered image: + left border: [0,214,5,32] + right border: [6,214,5,32] + top border: [43,214,32,5] + bottom border: [43,220,32,5] + top left corner: [43,225,5,5] + top right corner: [49,225,5,5] + bottom left corner: [43,230,5,5] + bottom right corner: [48,231,5,5] + center: [11,214,32,32] + +labels: + default: + # the default label is empty + +windows: + default: + head: + height: 17 + font: tibia-10px-antialised + bordered image: + left border: [106,187,4,9] + right border: [110,187,4,9] + top border: [114,183,92,4] + bottom border: [114,196,92,4] + top left corner: [106,183,4,4] + top right corner: [110,183,4,4] + bottom left corner: [106,196,4,4] + bottom right corner: [110,196,4,4] + center: [114,187,96,9] + body: + bordered image: + left border: [98,180,4,12] + right border: [99,180,4,12] + bottom border: [2,193,96,4] + bottom left corner: [98,193,4,4] + bottom right corner: [102,193,4,4] + center: [0, 0, 96, 96] + +text edits: + default: + default size: [86, 16] + bordered image: + left border: [308,97,1,1] + right border: [319,97,1,10] + top border: [309,96,10,1] + bottom border: [309,107,10,1] + top left corner: [308,96,1,1] + top right corner: [319,96,1,1] + bottom left corner: [308,107,1,1] + bottom right corner: [319,107,1,1] + center: [309,97,10,10] + + \ No newline at end of file diff --git a/data/ui/enterGame-window.yml b/data/ui/enterGame-window.yml new file mode 100644 index 00000000..8871ec21 --- /dev/null +++ b/data/ui/enterGame-window.yml @@ -0,0 +1,63 @@ +window#enterGameWindow: + title: Enter Game + size: [236, 178] + anchors.horizontalCenter: parent.horizontalCenter + anchors.verticalCenter: parent.verticalCenter + + label#accountNameLabel: + text: Account name + anchors.left: parent.left + anchors.top: parent.top + margin.left: 18 + margin.top: 33 + + label#passwordLabel: + text: "Password:" + anchors.left: parent.left + anchors.top: parent.top + margin.left: 18 + margin.top: 62 + + label#createAccountLabel: + text: | + If you don't have + an account yet + anchors.left: parent.left + anchors.top: parent.top + margin.left: 18 + margin.top: 87 + + button#createAccountButton: + text: Create Account + anchors.left: parent.left + anchors.top: parent.top + margin.top: 94 + margin.left: 132 + + button#okButton: + text: Ok + size: [43, 20] + anchors.right: parent.right + anchors.bottom: parent.bottom + margin.bottom: 10 + margin.right: 66 + + button#cancelButton: + text: Cancel + size: [43, 20] + anchors.right: parent.right + anchors.bottom: parent.bottom + margin.bottom: 10 + margin.right: 13 + + textEdit#accountNameTextEdit: + anchors.right: parent.right + anchors.top: parent.top + margin.top: 32 + margin.right: 18 + + textEdit#passwordTextEdit: + anchors.right: parent.right + anchors.top: parent.top + margin.top: 61 + margin.right: 18 \ No newline at end of file diff --git a/data/ui/mainMenu.yml b/data/ui/mainMenu.yml new file mode 100644 index 00000000..65ac26b1 --- /dev/null +++ b/data/ui/mainMenu.yml @@ -0,0 +1,37 @@ +panel#mainMenu: + skin: roundedGridPanel + size: [118, 172] + anchors.left: parent.left + anchors.bottom: parent.bottom + margin.left: 60 + margin.bottom: 70 + + button#enterGame: + text: Enter Game + anchors.top: parent.top + anchors.horizontalCenter: parent.horizontalCenter + margin.top: 16 + + button#accessAccount: + text: Access Account + anchors.top: parent.top + anchors.horizontalCenter: parent.horizontalCenter + margin.top: 46 + + button#options: + text: Options + anchors.top: parent.top + anchors.horizontalCenter: parent.horizontalCenter + margin.top: 76 + + button#info: + text: Info + anchors.top: parent.top + anchors.horizontalCenter: parent.horizontalCenter + margin.top: 106 + + button#exitGame: + text: Exit + anchors.top: parent.top + anchors.horizontalCenter: parent.horizontalCenter + margin.top: 136 \ No newline at end of file