{"id":107,"date":"2024-08-11T19:16:54","date_gmt":"2024-08-11T19:16:54","guid":{"rendered":"https:\/\/blogs.scummvm.org\/markhor\/?p=107"},"modified":"2024-08-11T19:16:54","modified_gmt":"2024-08-11T19:16:54","slug":"tinsel-engine-tucker-engine-sword1-engine","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/markhor\/2024\/08\/11\/tinsel-engine-tucker-engine-sword1-engine\/","title":{"rendered":"TINSEL Engine &amp; TUCKER Engine &amp; SWORD1 Engine"},"content":{"rendered":"<h1>Tinsel Engine<\/h1>\n<p>Tinsel Engine was also somewhat simple but there was an area where I had to figure out where save and load menus are opened so I can disable the keymap, it took me some time to figure out the best places to enable and disable these<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-109\" src=\"https:\/\/blogs.scummvm.org\/markhor\/wp-content\/uploads\/sites\/73\/2024\/08\/Screenshot-2024-08-11-235038.png\" alt=\"\" width=\"1535\" height=\"549\" srcset=\"https:\/\/blogs.scummvm.org\/markhor\/wp-content\/uploads\/sites\/73\/2024\/08\/Screenshot-2024-08-11-235038.png 1535w, https:\/\/blogs.scummvm.org\/markhor\/wp-content\/uploads\/sites\/73\/2024\/08\/Screenshot-2024-08-11-235038-300x107.png 300w, https:\/\/blogs.scummvm.org\/markhor\/wp-content\/uploads\/sites\/73\/2024\/08\/Screenshot-2024-08-11-235038-1024x366.png 1024w, https:\/\/blogs.scummvm.org\/markhor\/wp-content\/uploads\/sites\/73\/2024\/08\/Screenshot-2024-08-11-235038-768x275.png 768w, https:\/\/blogs.scummvm.org\/markhor\/wp-content\/uploads\/sites\/73\/2024\/08\/Screenshot-2024-08-11-235038-720x258.png 720w, https:\/\/blogs.scummvm.org\/markhor\/wp-content\/uploads\/sites\/73\/2024\/08\/Screenshot-2024-08-11-235038-1440x515.png 1440w\" sizes=\"auto, (max-width: 1535px) 100vw, 1535px\" \/><\/p>\n<p>This was after intense debugging but I finally figured it out.<br \/>\nHere is the <a href=\"https:\/\/github.com\/scummvm\/scummvm\/pull\/6016\" target=\"_blank\" rel=\"noopener\">PR<\/a>.<\/p>\n<h1>TUCKER Engine<\/h1>\n<p>As like any other engine, figuring out where to disable the keymap was the hardest part but this was still relatively easy.<br \/>\nHere is the <a href=\"https:\/\/github.com\/scummvm\/scummvm\/pull\/6023\" target=\"_blank\" rel=\"noopener\">PR<\/a>.<\/p>\n<h1>SWORD1 Engine<\/h1>\n<p>Atleast for this engine there are functions defined where savescreen is being initialized and being removed so wasy to implement keymaps, one thing weird was that this engine has 2 _keypressed, one belonging to Control class and and 1 to Engine class so had to replicate that for _customType, other than that no major issues were faced<br \/>\nHere is the <a href=\"https:\/\/github.com\/scummvm\/scummvm\/pull\/6037\" target=\"_blank\" rel=\"noopener\">PR<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tinsel Engine Tinsel Engine was also somewhat simple but there was an area where I had to figure out where save and load menus are opened so I can disable the keymap, it took me some time to figure out the best places to enable and disable these This was after intense debugging but I [&hellip;]<\/p>\n","protected":false},"author":21,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-107","post","type-post","status-publish","format-standard","hentry","category-keymap"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/markhor\/wp-json\/wp\/v2\/posts\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.scummvm.org\/markhor\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.scummvm.org\/markhor\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/markhor\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/markhor\/wp-json\/wp\/v2\/comments?post=107"}],"version-history":[{"count":2,"href":"https:\/\/blogs.scummvm.org\/markhor\/wp-json\/wp\/v2\/posts\/107\/revisions"}],"predecessor-version":[{"id":110,"href":"https:\/\/blogs.scummvm.org\/markhor\/wp-json\/wp\/v2\/posts\/107\/revisions\/110"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/markhor\/wp-json\/wp\/v2\/media?parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/markhor\/wp-json\/wp\/v2\/categories?post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/markhor\/wp-json\/wp\/v2\/tags?post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}