{"id":40,"date":"2017-07-08T09:35:26","date_gmt":"2017-07-08T09:35:26","guid":{"rendered":"https:\/\/blogs.scummvm.org\/yinsimei\/?p=40"},"modified":"2022-05-24T09:36:05","modified_gmt":"2022-05-24T09:36:05","slug":"gsoc-week-7","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/yinsimei\/2017\/07\/08\/gsoc-week-7\/","title":{"rendered":"GSoC Week 7"},"content":{"rendered":"<h1>GSoC 2017: Sludge Engine Week 7<\/h1>\n<h1>Week task conclusion<\/h1>\n<p>Generally, this 7th week of GSoC project consists of a number of minor tasks to fix and improve the current code: most bugs have been cleared for Robin\u2019s Rescue and Load &amp; Save system has been added.<\/p>\n<p>Again, thanks to my mentors _sev(Eugene Sandulenko), t0by(Tobia Tesan) and all scummvm team members that has helped me during this week.<\/p>\n<p>To make a brief conclusion about what we have and have not achieved for<b>\u00a0this week<\/b>\u00a0:<\/p>\n<p>&nbsp;<\/p>\n<p><b>Tasks completed<\/b>:<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<ol>\n<li><a href=\"https:\/\/github.com\/yinsimei\/scummvm\/commit\/e574f22cd0ae565e604c7e4053c75bfb66872512\">Add game timing<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/yinsimei\/scummvm\/commit\/40fb990b29e8872b29ba6936c68ac20a37e284a1\">Correct the text color bug for png font<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/yinsimei\/scummvm\/commit\/b19911cb2e039c4138477a75c8c1c6cbdc2a9f87\">Add transparency check for character clickable zone<\/a>\u00a0: the area is not clickable if transparent<\/li>\n<li><a href=\"https:\/\/github.com\/yinsimei\/scummvm\/commit\/eb0c8924ca28531b87be95822ec015c03833d026\">Add blank screen effect<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/yinsimei\/scummvm\/commit\/5434287846024a7fdce2dec9391160b77bb0b907\">Save Graphics::Surface as png data stream<\/a>: extend png writing function for 4-byte surfaces<\/li>\n<li><a href=\"https:\/\/github.com\/yinsimei\/scummvm\/commit\/affb75ee76dc9eb654536d134017e9d98747d26e\">Load &amp; Save System<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/yinsimei\/scummvm\/commit\/72b52698521bb03fa8b3dbee4f8521a334916f48\">Use U32String to replace sludge utf8 library<\/a><\/li>\n<\/ol>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>To resolve later:<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<ol>\n<li>The bug that character animation is too slow in Robin\u2019s Rescue is still being tracked.<\/li>\n<li>the thumbnail and snapshot is used nowhere at present, so left in #if 0 #endif<\/li>\n<\/ol>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h1>What\u2019s for next week: Code objectifying<\/h1>\n<p>As in sludge, all codes have been written in a non OOP way, which means all are implemented using global variables and functions. It\u2019s necessary to objectify the code and create classes<\/p>\n<p><b>Tasks for next week :<\/b><\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<ol>\n<li>Clear the animation issue in Robin\u2019s Rescue<\/li>\n<li>Objectify the code and create classes<\/li>\n<\/ol>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>GSoC 2017: Sludge Engine Week 7 Week task conclusion Generally, this 7th week of GSoC project consists of a number of minor tasks to fix and improve the current code: most bugs have been cleared for Robin\u2019s Rescue and Load &amp; Save system has been added. Again, thanks to my mentors _sev(Eugene Sandulenko), t0by(Tobia Tesan) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-40","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/yinsimei\/wp-json\/wp\/v2\/posts\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.scummvm.org\/yinsimei\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.scummvm.org\/yinsimei\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/yinsimei\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/yinsimei\/wp-json\/wp\/v2\/comments?post=40"}],"version-history":[{"count":1,"href":"https:\/\/blogs.scummvm.org\/yinsimei\/wp-json\/wp\/v2\/posts\/40\/revisions"}],"predecessor-version":[{"id":41,"href":"https:\/\/blogs.scummvm.org\/yinsimei\/wp-json\/wp\/v2\/posts\/40\/revisions\/41"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/yinsimei\/wp-json\/wp\/v2\/media?parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/yinsimei\/wp-json\/wp\/v2\/categories?post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/yinsimei\/wp-json\/wp\/v2\/tags?post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}