Re: Reflection in game engine (c++)

Will Vale <[email protected]> Fri, 15 Mar 2013 15:56:53 +1300
Newsgroups gmane.games.devel.sweng
Message-ID <CAEV+7KC58aF5Xmxarcj=J4iU_aWGKB-Q8Nd8Whmcvz8F1P4jhg@mail.gmail.com>
--===============1677833233==
Content-Type: multipart/alternative; boundary=047d7b6d85bca173e004d7edcaf7

--047d7b6d85bca173e004d7edcaf7
Content-Type: text/plain; charset=ISO-8859-1

Looks interesting, I like the decoupling that approach offers.

How do you manage data format updates and builds in that scenario? Are the
DDL files something the coding team owns and updates, or are they shared
with (technical) artists, designers etc.?

Will


On Fri, Mar 15, 2013 at 2:20 PM, Mike Acton <[email protected]> wrote:

> *5) create serializable/reflected classes in a data format, then run a
> tool that generates headers and cpps*
>
> I'm mostly a fan of #5 (...and don't think it that crazy.) Sandbox off the
> problem and solve it as it's own problem rather than deeply mixed into
> other problems (e.g. code building)
>
> Our solution shares a lot of similarities with protocol buffers (
> https://code.google.com/p/protobuf/) as you'd probably expect.
> DDL that generates a JSON schema (for UI mostly) and code (for concrete
> structures in-game and tools) that does serialization and all that stuff.
> We have a variety of different compilers for different things we might want
> to generate. You can check out the core of it here if you're interested:
> https://github.com/macton/DDLParser/
>
> Mike.
>
> _______________________________________________
> Sweng-Gamedev mailing list
> [email protected]
> http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com
>
>

--047d7b6d85bca173e004d7edcaf7
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Looks interesting, I like the decoupling that approach off=
ers.<div><br></div><div>How do you manage data format updates and builds in=
 that scenario? Are the DDL files something the coding team owns and update=
s, or are they shared with (technical) artists, designers etc.?<div>
<br></div><div>Will</div></div></div><div class=3D"gmail_extra"><br><br><di=
v class=3D"gmail_quote">On Fri, Mar 15, 2013 at 2:20 PM, Mike Acton <span d=
ir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">macton=
@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><span style=3D"color:rgb(34,34,34);font-size=
:13px;font-family:arial,sans-serif"><i>5) create serializable/reflected cla=
sses in a data format, then run a tool that generates headers and cpps</i><=
/span><div>

<span style=3D"color:rgb(34,34,34);font-size:13px;font-family:arial,sans-se=
rif"><br></span></div><div><span style=3D"color:rgb(34,34,34);font-size:13p=
x;font-family:arial,sans-serif">I&#39;m mostly a fan of #5 (...and don&#39;=
t think it that crazy.) Sandbox off the problem and solve it as it&#39;s ow=
n problem rather than deeply mixed into other problems (e.g. code building)=
=A0</span></div>

<div><span style=3D"color:rgb(34,34,34);font-size:13px;font-family:arial,sa=
ns-serif"><br></span></div><div><span style=3D"color:rgb(34,34,34);font-siz=
e:13px;font-family:arial,sans-serif">Our solution shares a lot of similarit=
ies with protocol buffers (</span><a href=3D"https://code.google.com/p/prot=
obuf/" target=3D"_blank">https://code.google.com/p/protobuf/</a>) as you&#3=
9;d probably expect.</div>

<div>DDL that generates a JSON schema (for UI mostly) and code (for concret=
e structures in-game and tools) that does serialization and all that stuff.=
 We have a variety of different compilers for different things we might wan=
t to generate. You can check out the core of it here if you&#39;re interest=
ed:=A0<a href=3D"https://github.com/macton/DDLParser/" target=3D"_blank">ht=
tps://github.com/macton/DDLParser/</a>=A0</div>
<span class=3D"HOEnZb"><font color=3D"#888888">
<div><br></div><div>Mike.</div>
</font></span><br>_______________________________________________<br>
Sweng-Gamedev mailing list<br>
<a href=3D"mailto:[email protected]">Sweng-Gamedev@list=
s.midnightryder.com</a><br>
<a href=3D"http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnig=
htryder.com" target=3D"_blank">http://lists.midnightryder.com/listinfo.cgi/=
sweng-gamedev-midnightryder.com</a><br>
<br></blockquote></div><br></div>

--047d7b6d85bca173e004d7edcaf7--

--===============1677833233==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Sweng-Gamedev mailing list
[email protected]
http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com

--===============1677833233==--