{"id":18,"date":"2005-09-19T21:35:00","date_gmt":"2005-09-19T11:35:00","guid":{"rendered":"http:\/\/www.doolwind.com\/blog\/?p=18"},"modified":"2005-09-19T21:35:00","modified_gmt":"2005-09-19T11:35:00","slug":"interface-interface","status":"publish","type":"post","link":"https:\/\/www.doolwind.com\/blog\/interface-interface\/","title":{"rendered":"Interface Interface"},"content":{"rendered":"<p>I&#8217;ve been working on an interface system for CIC and so far it&#8217;s coming along nicely.  I looked into using XML however decided it would be easier to roll my own file format for the UI&#8217;s.  I&#8217;ve added functionality for array&#8217;s of components to be loaded from the file.  So far I have images, buttons, radio buttons and containers for the radio buttons.<\/p>\n<p>I&#8217;m updating my material system to cache loaded textures.  I was giong to update the material system so whenever a new material was created it would check if the identical material (same colour, transparency, texture etc) existed in the system and use that material instead of creating a new one.  I decided that although this was a nice generic solution that catered for all cases, it was also slightly slower than I&#8217;d like.  The specific game engine that creates the materials can best decide which materials should be reused.  Keeping a cache of the textures will stop large textures being reloaded twice, however I believe it will be more powerful for the game engine to decide which materials are shared and which should be kept seperate.<\/p>\n<p>That&#8217;s about all that&#8217;s going on at the moment.  The release of MVH will be on the front cover of BH&#038;G magazine Wednesday so things are getting a little busy at work.  So far we don&#8217;t have any overtime planned although Nick (my roommate) is heading in during the evenings and on the weekend for technical support).  Hopefully all will go well and I&#8217;ll be on a new project soon.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been working on an interface system for CIC and so far it&#8217;s coming along nicely. I looked into using XML however decided it would be easier to roll my own file format for the UI&#8217;s. I&#8217;ve added functionality for array&#8217;s of components to be loaded from the file. So far I have images, buttons, <a class=\"more-link\" href=\"https:\/\/www.doolwind.com\/blog\/interface-interface\/\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[3],"tags":[],"class_list":["post-18","post","type-post","status-publish","format-standard","hentry","category-cic"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pgEc5-i","_links":{"self":[{"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":0,"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/posts\/18\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/media?parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/categories?post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/tags?post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}