Basic RTC API
Posted: Tue May 23, 2006 1:36 pm
hi george,
Im assuming that in the code of RTC there is an object model in place that has all of the object types within an RTC file and every possible property with their limits, choices, options, etc built in.
Is there any way you could make a little reflected routine to scan through that object model and plonk it out into an xml document (or some other format).
That way guide writers can put very definitive guides together of what things do and where.
Also if this function was accessible through a DLL or by referencing the EXE file in say a .NET application, it would make 3rd party tools a lot easier to write.
This could be a pain in the backside depending on what the object model inside the code is like, but with the speed of your changes recently I would say you have a fairly generic and flexible structure in there so it should be easy(ish) to extract.
Not to mention, if you had a way for an external EXE to pick graphics, sounds, etc, from an RTC file (via DLL or reference to the EXE) im sure there are a million tools that would be great.
I will be happy to explain my warped idea in more detail over PM if you like.
Im assuming that in the code of RTC there is an object model in place that has all of the object types within an RTC file and every possible property with their limits, choices, options, etc built in.
Is there any way you could make a little reflected routine to scan through that object model and plonk it out into an xml document (or some other format).
That way guide writers can put very definitive guides together of what things do and where.
Also if this function was accessible through a DLL or by referencing the EXE file in say a .NET application, it would make 3rd party tools a lot easier to write.
This could be a pain in the backside depending on what the object model inside the code is like, but with the speed of your changes recently I would say you have a fairly generic and flexible structure in there so it should be easy(ish) to extract.
Not to mention, if you had a way for an external EXE to pick graphics, sounds, etc, from an RTC file (via DLL or reference to the EXE) im sure there are a million tools that would be great.
I will be happy to explain my warped idea in more detail over PM if you like.