{"id":260,"date":"2009-06-09T22:58:31","date_gmt":"2009-06-09T22:58:31","guid":{"rendered":"http:\/\/positech.co.uk\/cliffsblog\/?p=260"},"modified":"2009-06-09T22:58:31","modified_gmt":"2009-06-09T22:58:31","slug":"insane-days-work-just-to-swap-screen-res-d","status":"publish","type":"post","link":"https:\/\/www.positech.co.uk\/cliffsblog\/2009\/06\/09\/insane-days-work-just-to-swap-screen-res-d\/","title":{"rendered":"Insane days work just to swap screen res :D"},"content":{"rendered":"<p>Today, I was awake at 6am as it was holiday morning. Not for me, I&#8217;m staying here, but it means I was awake at 6am, and naturally, ended up programming by 7.30am.<\/p>\n<p>Sooo&#8230; I thought I&#8217;d get the screen res code done today, and here it is at 11.55PM and it&#8217;s still not 100% what it should be. I&#8217;ve stopped for food twice, and didn&#8217;t linger over it. Bah.<\/p>\n<p>Now granted, I spent maybe two hours dealing with the upcoming German translation of Democracy 2, but the rest of the time I&#8217;ve had my head buried in the directx documentation trying to find out just how the hell it&#8217;s supposed to handle a screen res change under directx9. I finally got there, and I&#8217;m still ironing out the bugs in certain circumstances, but my main objective now at least looks doable, which was to retain the feature all my games have of &#8216;in-game&#8217; resolution toggling.<\/p>\n<p>I HATE it when games ship with a separate &#8216;launcher&#8217; app that you use to set the screen res. It&#8217;s just so fiddly. I much prefer being able to fiddle with such things, especially windowed \/ fullscreen toggling &#8216;on the fly&#8217;. I doubt it will be possible mid-battle, but at least it will be a part of the main app itself. Plus it makes it trivial for me to test that the GUI works in all resolutions. 768 really pushes it height wise, but I&#8217;ll sort it.<\/p>\n<p>Today was not fun, it took longer than it should had, and it was seriously frustrating and involved. The idiot who knocked on my door to try and doorstep-sell me energy supplies got told where he could shove his special offer :D<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, I was awake at 6am as it was holiday morning. Not for me, I&#8217;m staying here, but it means I was awake at 6am, and naturally, ended up programming by 7.30am. Sooo&#8230; I thought I&#8217;d get the screen res code done today, and here it is at 11.55PM and it&#8217;s still not 100% what<\/p>\n<p class=\"text-right\"><span class=\"screen-reader-text\">Continue Reading&#8230; Insane days work just to swap screen res :D<\/span><a class=\"btn btn-secondary continue-reading\" href=\"https:\/\/www.positech.co.uk\/cliffsblog\/2009\/06\/09\/insane-days-work-just-to-swap-screen-res-d\/\">Continue Reading&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[105,4],"tags":[],"class_list":["post-260","post","type-post","status-publish","format-standard","hentry","category-gratuitous-space-battles","category-programming"],"_links":{"self":[{"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/posts\/260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/comments?post=260"}],"version-history":[{"count":0,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/posts\/260\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/media?parent=260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/categories?post=260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/tags?post=260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}