diff --git a/games/lagoon/lagoon-blank.png b/games/lagoon/lagoon-blank.png new file mode 100644 index 00000000..02c09652 Binary files /dev/null and b/games/lagoon/lagoon-blank.png differ diff --git a/games/lagoon/lagoon-font.png b/games/lagoon/lagoon-font.png new file mode 100644 index 00000000..45f30d8f Binary files /dev/null and b/games/lagoon/lagoon-font.png differ diff --git a/games/lagoon/lagoon.json b/games/lagoon/lagoon.json new file mode 100644 index 00000000..a83fd975 --- /dev/null +++ b/games/lagoon/lagoon.json @@ -0,0 +1,339 @@ +{ + "height": 16, + "origin": { + "x": 0, + "y": 0 + }, + + "null-character": 32, + + "hooks": { + "font": "{let fontorigin = overlays.style.data.origin;mainFont.y=fontorigin.y;originx=fontorigin.x}" + }, + + "wrap-width": 144, + + "dynamic-size": { + "w": "Math.max(textbox.w + 16, overlays.style.data.minw)", + "h": "Math.max(textbox.h + 16, overlays.style.data.minh)" + }, + + "overlays": { + "style": { + "x": 0, + "y": 0, + "title": "Style", + "default": "dialog_box", + "options": { + "dialog_box": { + "x": -32, + "y": 0, + "w": 8, + "h": 14, + "font": "main", + "minw": 0, + "minh": 0, + "origin": { + "x": 8, + "y": 9 + } + }, + "dwarf_cave": { + "x": 0, + "y": 56, + "w": 256, + "h": 240, + "font": "main", + "minw": 256, + "minh": 224, + "origin": { + "x": 56, + "y": 96 + } + }, + "restaurant": { + "x": 256, + "y": 56, + "w": 256, + "h": 240, + "font": "main", + "minw": 256, + "minh": 224, + "origin": { + "x": 88, + "y": 56 + } + } + } + } + }, + + "border": { + "tl": { + "x": 1, + "y": 15, + "w": 8, + "h": 9 + }, + "t": { + "x": 18, + "y": 15, + "w": 8, + "h": 9 + }, + "tr": { + "x": 35, + "y": 15, + "w": 8, + "h": 9 + }, + "l": { + "x": 1, + "y": 25, + "w": 8, + "h": 16 + }, + "c": { + "x": 18, + "y": 25, + "w": 8, + "h": 16, + "mode": "copy" + }, + "r": { + "x": 35, + "y": 25, + "w": 8, + "h": 16 + }, + "bl": { + "x": 1, + "y": 44, + "w": 8, + "h": 8 + }, + "b": { + "x": 18, + "y": 44, + "w": 8, + "h": 8 + }, + "br": { + "x": 35, + "y": 44, + "w": 8, + "h": 8 + } + }, + "default": { + "w": 8, + "h": 14 + }, + "65": { + "x": 0 + }, + "66": { + "x": 8 + }, + "67": { + "x": 16 + }, + "68": { + "x": 24 + }, + "69": { + "x": 32 + }, + "70": { + "x": 40 + }, + "71": { + "x": 48 + }, + "72": { + "x": 56 + }, + "73": { + "x": 64 + }, + "74": { + "x": 72 + }, + "75": { + "x": 80 + }, + "76": { + "x": 88 + }, + "77": { + "x": 96 + }, + "78": { + "x": 104 + }, + "79": { + "x": 112 + }, + "80": { + "x": 120 + }, + "81": { + "x": 128 + }, + "82": { + "x": 136 + }, + "83": { + "x": 144 + }, + "84": { + "x": 152 + }, + "85": { + "x": 160 + }, + "86": { + "x": 168 + }, + "87": { + "x": 176 + }, + "88": { + "x": 184 + }, + "89": { + "x": 192 + }, + "90": { + "x": 200 + }, + "48": { + "x": 232 + }, + "49": { + "x": 240 + }, + "50": { + "x": 248 + }, + "51": { + "x": 256 + }, + "52": { + "x": 264 + }, + "53": { + "x": 272 + }, + "54": { + "x": 280 + }, + "55": { + "x": 288 + }, + "56": { + "x": 296 + }, + "57": { + "x": 304 + }, + "32": { + "x": 312 + }, + "46": { + "x": 320 + }, + "44": { + "x": 328 + }, + "39": { + "x": 336 + }, + "63": { + "x": 344 + }, + "33": { + "x": 352 + }, + "97": { + "x": 360 + }, + "98": { + "x": 368 + }, + "99": { + "x": 376 + }, + "100": { + "x": 384 + }, + "101": { + "x": 392 + }, + "102": { + "x": 400 + }, + "103": { + "x": 408 + }, + "104": { + "x": 416 + }, + "105": { + "x": 424 + }, + "106": { + "x": 432 + }, + "107": { + "x": 440 + }, + "108": { + "x": 448 + }, + "109": { + "x": 456 + }, + "110": { + "x": 464 + }, + "111": { + "x": 472 + }, + "112": { + "x": 480 + }, + "113": { + "x": 488 + }, + "114": { + "x": 496 + }, + "115": { + "x": 504 + }, + "116": { + "x": 512 + }, + "117": { + "x": 520 + }, + "118": { + "x": 528 + }, + "119": { + "x": 536 + }, + "120": { + "x": 544 + }, + "121": { + "x": 552 + }, + "122": { + "x": 560 + }, + "123": { + "x": 568 + } +} \ No newline at end of file diff --git a/js/generators.js b/js/generators.js index 2a369282..4085c864 100644 --- a/js/generators.js +++ b/js/generators.js @@ -1019,6 +1019,16 @@ var generators={ 'added':'2020-04-04', 'gameinfo':'https://www.mobygames.com/game/kabuki-klash' }, + 'lagoon':{ + 'title': 'Lagoon', + 'source':'Kemco', + 'sourceurl':'https://en.wikipedia.org/wiki/Kemco', + 'defaulttext':" G A M E O V E R ", + 'platform':'snes', + 'year':1991, + 'added':'2021-08-29', + 'gameinfo':'https://www.mobygames.com/game/snes/lagoon' + }, 'lastblade2':{ 'title': 'Last Blade 2', 'source':'SNK',