home *** CD-ROM | disk | FTP | other *** search
- import bool LevelIncreaseLifes( uint ) from "Level";
- geCRenderableObject* g_pThis = 0;
- geCBaseNode* g_pNode = 0;
- //uint g_bVisible=1;
-
- void FoundCollision( geCBaseNode* a_pNode )
- {
- if( LevelIncreaseLifes( 1 ) ) //if false, we have had maximum lifes count
- g_pThis->GetMesh(0)->SetVisibility( FALSE, FALSE, FALSE );
- }
-
- void main( geCBaseNode* a_pNode )
- {
- g_pNode = a_pNode;
- g_pThis = GetRenderableObject( a_pNode );
- }
-