{"id":14,"date":"2007-07-06T17:51:02","date_gmt":"2007-07-07T00:51:02","guid":{"rendered":"http:\/\/www.venzon.org\/?p=14"},"modified":"2007-07-06T17:53:23","modified_gmt":"2007-07-07T00:53:23","slug":"object-views","status":"publish","type":"post","link":"http:\/\/www.venzon.org\/?p=14","title":{"rendered":"Object Views"},"content":{"rendered":"<p>I prototyped an object view class to implement the multiplayer system defined in <a href=\"http:\/\/www.gamasutra.com\/resource_guide\/20020916\/lambright_01.htm\">this<\/a> gamasutra article.  Here it is (it&#8217;s a C++ file, but I had to rename it to .c to get wordpress to link it): <a href=\"http:\/\/www.venzon.org\/wp-content\/uploads\/2007\/07\/main.c\" title=\"Object View Prototype\">Object View Prototype<\/a><\/p>\n<p>Why it&#8217;s cool:\u00c2\u00a0 it&#8217;s a generic class that can attach to an object, track some parameters, and then serialize data (currently only a text &#8220;serializer&#8221; is implemented, but it would be trivial to write a binary one).\u00c2\u00a0 If the object changes, and you re-serialize, only the parameters that changed are serialized.\u00c2\u00a0 Code for de-serializing isn&#8217;t written yet.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I prototyped an object view class to implement the multiplayer system defined in this gamasutra article. Here it is (it&#8217;s a C++ file, but I had to rename it to .c to get wordpress to link it): Object View Prototype Why it&#8217;s cool:\u00c2\u00a0 it&#8217;s a generic class that can attach to an object, track some [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-14","post","type-post","status-publish","format-standard","hentry","category-prototyping"],"_links":{"self":[{"href":"http:\/\/www.venzon.org\/index.php?rest_route=\/wp\/v2\/posts\/14","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.venzon.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.venzon.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.venzon.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.venzon.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14"}],"version-history":[{"count":0,"href":"http:\/\/www.venzon.org\/index.php?rest_route=\/wp\/v2\/posts\/14\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.venzon.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.venzon.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.venzon.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}