
09-11-2008, 06:17 AM
|
|
Incubator
|
 |
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
|
|
Graal API
|
The external scripted windows were supposed to eliminate the need for external tools. Stefan first predicted their release around Christmas. It is now September and they still haven't been released. At this point I'm not confident the external scripted windows will be released this year.
As a solution I propose a Graal API. This would appear in the form of a DLL file with the required C/C++ headers and library for dynamic linking. The DLL file would provide two general functions: script parsing and server communication.
For the script parsing, there would be one input function ParseScript(const char *script). The DLL file would allow you to specify callback functions that would be called during script parsing so your program would know when to load a tileset, gmap, or anything else that the level editor should be doing.
For the server communication, it would be pretty much similar to SendText() and OnRecieveText(). I don't think that needs anymore elaboration.
I believe this would take much less effort for Stefan to create than the whole external scripted windows. If it had been done back during Christmas we'd already have an up-to-date level editor with support for layers and GS2 and 32-bit PNG's. |
Last edited by Inverness; 09-11-2008 at 04:09 PM..
Reason: :rolleyes:
|
|
|