![]() |
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. |
Quote:
I am not really sure what you are asking for, here. Do you essentially want the entire script engine and also the network code in a standalone dll? Would you not kind of need the rest of the Graal engine as well to actually do anything with the parsed script? |
Quote:
Quote:
Quote:
|
I'm suffering here without power or internet (currently using WiFi in random church parking lot) and ya'll aren't even nice enough to reply to my thread. D:
|
Quote:
|
Quote:
|
Quote:
Yeah I do not really see this suggesting being all that useful. :( |
Quote:
Quote:
I've wanted an excuse to make a program in Python. |
Quote:
Quote:
Graal does not want people to write their own programs that mess with the protocol, so you are not ever going to get a dll that lets you talk to the server. (Perhaps you could set up something with the web-ish GS2 stuff? No idea, I never used it) You could probably write your own minimalistic parser for gmaps and tiledefs or whatever in scripts, since if they are not hardcoded, and instead dynamic, you probably would not want them to be applied in an editor anyway. But I really doubt that the reason that no one made a third party level editor yet is that people would have to configure gmaps and tiledefs themselves. |
Quote:
Quote:
Quote:
Quote:
|
Bump.
I want to make an RC using wxPython, Inverness wants an API. |
It's not likely to happen. Sorry.
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
And I prefer wxWidgets over GTK+ |
Yeah but at the end of the day you just have a bunch of python...
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 04:59 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.