| 1 |
|
| 2 |
|
| 3 |
class MyCanvascxx . . $ MyCanvas#{ |
| 4 |
public: |
| 5 |
|
| 6 |
|
| 7 |
bool ratio2x1cxx . . $ MyCanvas#ratio2x1.; |
| 8 |
|
| 9 |
typedef enumcxx . . $ MyCanvas#$anonymous_type_0#{ COLORcxx . . $ MyCanvas#COLOR., DEPTHcxx . . $ MyCanvas#DEPTH., COLOR_AND_DEPTHcxx . . $ MyCanvas#COLOR_AND_DEPTH. } Kindcxx . . $ MyCanvas#Kind#; |
| 10 |
Kindcxx . . $ MyCanvas#Kind# kindcxx . . $ MyCanvas#kind.; |
| 11 |
|
| 12 |
bool SetAsOutputcxx . . $ MyCanvas#SetAsOutput(c9857a73d68e59ba).(); |
| •13 |
void SetAsTexturecxx . . $ MyCanvas#SetAsTexture(49f6e7a06ebc5aa8).(); |
| 14 |
|
| 15 |
bool Testcxx . . $ MyCanvas#Test(c9857a73d68e59ba).(){return SetAsOutputcxx . . $ MyCanvas#SetAsOutput(c9857a73d68e59ba).();} |
| 16 |
|
| 17 |
MyCanvascxx . . $ MyCanvas#MyCanvas(dea714d560ec6b2a).(Kindcxx . . $ MyCanvas#Kind# k, int size); |
| 18 |
MyCanvascxx . . $ MyCanvas#MyCanvas(2640797f4e58507c).(Kindcxx . . $ MyCanvas#Kind# k); |
| 19 |
|
| 20 |
void SetRescxx . . $ MyCanvas#SetRes(d4f767463ce0a6b3).( int res ); |
| 21 |
void SetResPow2cxx . . $ MyCanvas#SetResPow2(d4f767463ce0a6b3).( int pow ); |
| 22 |
|
| 23 |
int GetSoftRescxx . . $ MyCanvas#GetSoftRes(b126dc7c1de90089).(); |
| 24 |
int GetHardRescxx . . $ MyCanvas#GetHardRes(b126dc7c1de90089).(); |
| 25 |
|
| 26 |
int GetResPow2cxx . . $ MyCanvas#GetResPow2(b126dc7c1de90089).( ) {return currentRescxx . . $ MyCanvas#currentRes.; } |
| 27 |
int GetVideoSizecxx . . $ MyCanvas#GetVideoSize(b126dc7c1de90089).( ) {return videoSizecxx . . $ MyCanvas#videoSize.; } |
| 28 |
void SetSameRescxx . . $ MyCanvas#SetSameRes(9f6d890b2e158c7a).( const MyCanvascxx . . $ MyCanvas# &c ); |
| 29 |
|
| 30 |
void RedirectToVideocxx . . $ MyCanvas#RedirectToVideo(49f6e7a06ebc5aa8).(); |
| 31 |
void RedirectToMemorycxx . . $ MyCanvas#RedirectToMemory(49f6e7a06ebc5aa8).(); |
| 32 |
void SetVideoSizecxx . . $ MyCanvas#SetVideoSize(d4f767463ce0a6b3).(int v); // when redirectig to video |
| 33 |
|
| 34 |
private: |
| 35 |
int currentRescxx . . $ MyCanvas#currentRes.; // just an index |
| 36 |
enumcxx . . $ MyCanvas#$anonymous_type_1# {MAX_REScxx . . $ MyCanvas#MAX_RES.=15}; |
| 37 |
unsigned int frameIDcxx . . $ MyCanvas#frameID.[MAX_REScxx . . $ MyCanvas#MAX_RES.]; |
| 38 |
unsigned int textureIDcxx . . $ MyCanvas#textureID.[MAX_REScxx . . $ MyCanvas#MAX_RES.]; |
| 39 |
bool InitRescxx . . $ MyCanvas#InitRes(c9857a73d68e59ba).(); |
| 40 |
bool onVideocxx . . $ MyCanvas#onVideo.; |
| 41 |
int videoSizecxx . . $ MyCanvas#videoSize.; |
| 42 |
int softRescxx . . $ MyCanvas#softRes.; // subset image, not a power of 2 |
| 43 |
}; |
| 44 |
|
| 45 |
extern MyCanvascxx . . $ MyCanvas# mainCanvascxx . . $ mainCanvas., haloCanvascxx . . $ haloCanvas., moltextureCanvascxx . . $ moltextureCanvas., shadowmapCanvascxx . . $ shadowmapCanvas., shadowAOCanvascxx . . $ shadowAOCanvas.; |
| 46 |
|
| 47 |
|