I wrote an editor that features a script editor which does code verification (i.e. just builds the script and collects errors). Now here is the problem: The editor doesn't feature the character class because characters are only placed in the game and the editor doesn't need to know about them. So I saved the work to add the character class to the editor. Now the script editor returns me errors >> 'Character' is not a data type <<.
To circumvent this I'd register all object methods and properties to dummies. Since the return and parameters type vary a lot I'd need a lot of different dummy prototype functions which is a little tedious:
void dummy1(int foo); void dummy2(unsigned int foo); int dummy3(int foo); ...
Is there any other way to do this?