{"id":20,"date":"2010-06-14T18:22:13","date_gmt":"2010-06-14T18:22:13","guid":{"rendered":"https:\/\/blogs.scummvm.org\/vgvgf\/?p=20"},"modified":"2022-05-21T18:22:35","modified_gmt":"2022-05-21T18:22:35","slug":"refactoring-of-sdl-backend","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/vgvgf\/2010\/06\/14\/refactoring-of-sdl-backend\/","title":{"rendered":"Refactoring of SDL Backend"},"content":{"rendered":"<p>I think I have finished the first milestone, the design of the new backend system. This is reflected in the ModularBackend class, the new abstract classes (AudioCDManager, MutexManager, GraphicsManager), and the default and null classes (DefaultAudioCDManager,\u00a0 NullGraphicsManager, NullMutexManager). I may still need to tweak some things, but the design is pretty clear now.<\/p>\n<p>I\u2019ll now continue with the SDL refactoring, which is going good. All SDL Managers have been implemented by now, but I still have lots of work to do.<\/p>\n<p>Now, I have to fix some code that is commented out since modularization, and I\u2019ve to revise sdl code in general but specially the events and graphics managers.<\/p>\n<p>Then, I\u2019ll implement new OSystem_SDL subclasses for Windows, Posix\/Unix systems and Mac OSX.<\/p>\n<p>Finally, I\u2019ll start creating the documentation for the changes I\u2019ve made.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I think I have finished the first milestone, the design of the new backend system. This is reflected in the ModularBackend class, the new abstract classes (AudioCDManager, MutexManager, GraphicsManager), and the default and null classes (DefaultAudioCDManager,\u00a0 NullGraphicsManager, NullMutexManager). I may still need to tweak some things, but the design is pretty clear now. I\u2019ll now [&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-20","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/vgvgf\/wp-json\/wp\/v2\/posts\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.scummvm.org\/vgvgf\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.scummvm.org\/vgvgf\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/vgvgf\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/vgvgf\/wp-json\/wp\/v2\/comments?post=20"}],"version-history":[{"count":1,"href":"https:\/\/blogs.scummvm.org\/vgvgf\/wp-json\/wp\/v2\/posts\/20\/revisions"}],"predecessor-version":[{"id":21,"href":"https:\/\/blogs.scummvm.org\/vgvgf\/wp-json\/wp\/v2\/posts\/20\/revisions\/21"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/vgvgf\/wp-json\/wp\/v2\/media?parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/vgvgf\/wp-json\/wp\/v2\/categories?post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/vgvgf\/wp-json\/wp\/v2\/tags?post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}