Page 1 of 1
#include: is possible ?<--RESOLVED :o(
Posted:
Sat Apr 04, 2009 5:08 pm
by equinox
Hi at ALL,
Is possible include in GE
#include <STRING.h>
#include <string.hpp>
Tnk1000.
Re: #include: is possible ?
Posted:
Sat Apr 04, 2009 5:56 pm
by skydereign
I am pretty sure you can't. All libraries used would need to be included during gameEditor's startup, I think. So that means that you cannot do it in script, but I'm not sure. I haven't seen use of #include in any gameEditor games/demos.
Re: #include: is possible ?
Posted:
Sat Apr 04, 2009 6:00 pm
by equinox
...I feared what you say to me. ... I have tried but nothing
((((
Tnk1000.
Re: #include: is possible ?
Posted:
Sat Apr 04, 2009 8:18 pm
by skydereign
What are you trying to do? If you are just trying to load a string from an exterior file, it is possible.
Re: #include: is possible ?
Posted:
Sat Apr 04, 2009 9:23 pm
by asmodeus
skydereign wrote:What are you trying to do? If you are just trying to load a string from an exterior file, it is possible.
If he are trying to load a string, the filename wouldn't be "STRING.h", I suppose. There may be some funtions, constants or whatever he'd like to use.
Re: #include: is possible ?
Posted:
Sat Apr 04, 2009 9:28 pm
by skydereign
I guess, but I don't see why he needs to include anything, the only clue was STRING. But for the most part, gameEditor can do everything within itself. I guess if the goal was to create an interchangeable interface, that would load something, but all I see is string. Because all you need to do is load .c files into the script editor, unless you are getting really complex.
Re: #include: is possible ?
Posted:
Sat Apr 04, 2009 9:29 pm
by Fuzzy
No external libraries can be loaded.
Re: #include: is possible ?
Posted:
Sun Apr 05, 2009 11:59 am
by equinox
yes,
I wanted to load external libraries to make the DUMP memory.
Tnk1000 for reply.