From the title you can see my problem: How do i initialize the CyGInterfaceScreen class?
Just CyGInterfaceScreen() gave me an exception, which said, that it needs a string (char* is a string, am i right?), and an integer value, but i can't find, what it really needs.
In the API (i've never said it, but thanks to the bug team for collecting all the information) is said, that it's not in the SDK, so the class has to be mentioned in one of the ohter python files, but i really can't find it .
So, does anybody have an idea?
I hope, somebody can help .
Okay, why do i need that?
Hrochland has asked, if it's possible to create a wonder, which reveals a resource.
I've looked into the API, and there's no command for doing this.
I've looked today again in it, to find someting other, and found the command addBonusGraphicGFC (STRING szName, INT iBonus, INT iX, INT iY, INT iWidth, INT iHeight, WidgetType eWidgetType, INT iData1, INT iData2, FLOAT fxRotation, FLOAT fzRotation, FLOAT fScale, BOOL bShowBackground) in CyGInterfaceScreen, which i guess, let's me place the graphics on the map -> build the wonder, cycle over the whole map, and place the graphics over the real resource.
This should imho work, but i'm open for other ideas .
Just CyGInterfaceScreen() gave me an exception, which said, that it needs a string (char* is a string, am i right?), and an integer value, but i can't find, what it really needs.
In the API (i've never said it, but thanks to the bug team for collecting all the information) is said, that it's not in the SDK, so the class has to be mentioned in one of the ohter python files, but i really can't find it .
So, does anybody have an idea?
I hope, somebody can help .
Okay, why do i need that?
Hrochland has asked, if it's possible to create a wonder, which reveals a resource.
I've looked into the API, and there's no command for doing this.
I've looked today again in it, to find someting other, and found the command addBonusGraphicGFC (STRING szName, INT iBonus, INT iX, INT iY, INT iWidth, INT iHeight, WidgetType eWidgetType, INT iData1, INT iData2, FLOAT fxRotation, FLOAT fzRotation, FLOAT fScale, BOOL bShowBackground) in CyGInterfaceScreen, which i guess, let's me place the graphics on the map -> build the wonder, cycle over the whole map, and place the graphics over the real resource.
This should imho work, but i'm open for other ideas .