void _wrap_BulletManager_CheckIsHitNpc() {
  BulletManager *arg1 = (BulletManager *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  eNpcType arg5 ;
  bool result ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  {
    AS3_GetScalarFromVar(arg2, posX);
  }
  {
    AS3_GetScalarFromVar(arg3, posY);
  }
  {
    AS3_GetScalarFromVar(arg4, radius);
  }
  {
    AS3_GetScalarFromVar(arg5, e);
  }
  result = (bool)(arg1)->CheckIsHitNpc(arg2,arg3,arg4,arg5);
  {
    AS3_DeclareVar(asresult, Boolean);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
예제 #2
0
void _wrap_slapShape() {
    unsigned int *arg1 = (unsigned int *) 0 ;
    int arg2 ;
    int arg3 ;
    unsigned int arg4 ;
    SlapInfo *result ;

    {
        AS3_GetScalarFromVar(arg1, pixels);
    }
    {
        AS3_GetScalarFromVar(arg2, width);
    }
    {
        AS3_GetScalarFromVar(arg3, height);
    }
    {
        AS3_GetScalarFromVar(arg4, sid);
    }
    result = (SlapInfo *)slapShape(arg1,arg2,arg3,arg4);
    {
        AS3_DeclareVar(asresult, int);
        AS3_CopyScalarToVar(asresult, result);
    }
    {
        AS3_ReturnAS3Var(asresult);
    }
}
void _wrap_Bullet_CheckIsHitPlayer() {
  Bullet *arg1 = (Bullet *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  bool result ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  {
    AS3_GetScalarFromVar(arg2, x);
  }
  {
    AS3_GetScalarFromVar(arg3, y);
  }
  {
    AS3_GetScalarFromVar(arg4, r);
  }
  result = (bool)(arg1)->CheckIsHitPlayer(arg2,arg3,arg4);
  {
    AS3_DeclareVar(asresult, Boolean);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
void _wrap_new_NpcData() {
  NpcData *result ;
  
  result = (NpcData *)new NpcData();
  {
    AS3_DeclareVar(asresult, int);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
예제 #5
0
void _wrap_getNumberOfPendingShapes() {
    unsigned int result ;

    result = (unsigned int)getNumberOfPendingShapes();
    {
        AS3_DeclareVar(asresult, int);
        AS3_CopyScalarToVar(asresult, result);
    }
    {
        AS3_ReturnAS3Var(asresult);
    }
}
void _wrap_BulletManager_Instance() {
  BulletManager *result ;
  
  result = (BulletManager *)BulletManager::Instance();
  {
    AS3_DeclareVar(asresult, int);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
예제 #7
0
void _wrap_tryNextShape() {
    SlapInfo *result ;

    result = (SlapInfo *)tryNextShape();
    {
        AS3_DeclareVar(asresult, int);
        AS3_CopyScalarToVar(asresult, result);
    }
    {
        AS3_ReturnAS3Var(asresult);
    }
}
예제 #8
0
void _wrap_getStatus() {
    int result ;

    result = (int)getStatus();
    {
        AS3_DeclareVar(asresult, int);
        AS3_CopyScalarToVar(asresult, result);
    }
    {
        AS3_ReturnAS3Var(asresult);
    }
}
void _wrap_new_SceneData() {
  SceneData *result ;
  
  result = (SceneData *)new SceneData();
  {
    AS3_DeclareVar(asresult, int);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
void _wrap_EMoveDown() {
  int result ;
  
  result = EMoveDown;
  {
    AS3_DeclareVar(asresult, int);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
void _wrap_new_Player() {
  Player *result ;
  
  result = (Player *)new Player();
  {
    AS3_DeclareVar(asresult, int);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
void _wrap_EMaxCommand() {
  int result ;
  
  result = EMaxCommand;
  {
    AS3_DeclareVar(asresult, int);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
예제 #13
0
void _wrap_getShrinkage() {
    double result ;

    result = (double)getShrinkage();
    {
        AS3_DeclareVar(asresult, Number);
        AS3_CopyScalarToVar(asresult, result);
    }
    {
        AS3_ReturnAS3Var(asresult);
    }
}
void _wrap_new_Bullet() {
  Bullet *result ;
  
  result = (Bullet *)new Bullet();
  {
    AS3_DeclareVar(asresult, int);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
void _wrap_Scene_Instance() {
  Scene *result ;
  
  result = (Scene *)Scene::Instance();
  {
    AS3_DeclareVar(asresult, int);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
void _wrap_ENpcTypeMax() {
  int result ;
  
  result = ENpcTypeMax;
  {
    AS3_DeclareVar(asresult, int);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
void _wrap_new_ODGame() {
  ODGame *result ;
  
  result = (ODGame *)new ODGame();
  {
    AS3_DeclareVar(asresult, int);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
void _wrap_Player_commands_get() {
  Player *arg1 = (Player *) 0 ;
  bool *result ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  result = (bool *)(bool *) ((arg1)->commands);
  {
    AS3_DeclareVar(asresult, int);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
void _wrap_BulletManager_Reset() {
  BulletManager *arg1 = (BulletManager *) 0 ;
  bool result ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  result = (bool)(arg1)->Reset();
  {
    AS3_DeclareVar(asresult, Boolean);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
void _wrap_BulletData_posY_get() {
  BulletData *arg1 = (BulletData *) 0 ;
  float result ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  result = (float) ((arg1)->posY);
  {
    AS3_DeclareVar(asresult, Number);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
void _wrap_Scene_getBorderHeight() {
  Scene *arg1 = (Scene *) 0 ;
  float result ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  result = (float)(arg1)->getBorderHeight();
  {
    AS3_DeclareVar(asresult, Number);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
void _wrap_Bullet_getPosY() {
  Bullet *arg1 = (Bullet *) 0 ;
  float result ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  result = (float)(arg1)->getPosY();
  {
    AS3_DeclareVar(asresult, Number);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
void _wrap_Bullet_CheckOutofScene() {
  Bullet *arg1 = (Bullet *) 0 ;
  bool result ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  result = (bool)(arg1)->CheckOutofScene();
  {
    AS3_DeclareVar(asresult, Boolean);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
void _wrap_Player_getRadius() {
  Player *arg1 = (Player *) 0 ;
  float result ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  result = (float)(arg1)->getRadius();
  {
    AS3_DeclareVar(asresult, Number);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
void _wrap_NpcData_isAlive_get() {
  NpcData *arg1 = (NpcData *) 0 ;
  bool result ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  result = (bool) ((arg1)->isAlive);
  {
    AS3_DeclareVar(asresult, Boolean);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
void _wrap_ODGame_getODGameData() {
  ODGame *arg1 = (ODGame *) 0 ;
  ODGameData *result ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  result = (ODGameData *)(arg1)->getODGameData();
  {
    AS3_DeclareVar(asresult, int);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
void _wrap_ODGameData_bulletsNumber_get() {
  ODGameData *arg1 = (ODGameData *) 0 ;
  int result ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  result = (int) ((arg1)->bulletsNumber);
  {
    AS3_DeclareVar(asresult, int);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
void _wrap_ODGameData_npcData_get() {
  ODGameData *arg1 = (ODGameData *) 0 ;
  NpcData *result ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  result = (NpcData *)(NpcData *) ((arg1)->npcData);
  {
    AS3_DeclareVar(asresult, int);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
void _wrap_BulletManager_getBullets() {
  BulletManager *arg1 = (BulletManager *) 0 ;
  std::vector< Bullet > *result ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  result = (std::vector< Bullet > *)(arg1)->getBullets();
  {
    AS3_DeclareVar(asresult, int);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}
void _wrap_BulletData_bulletDataSize_get() {
  BulletData *arg1 = (BulletData *) 0 ;
  int result ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  result = (int) ((arg1)->bulletDataSize);
  {
    AS3_DeclareVar(asresult, int);
    AS3_CopyScalarToVar(asresult, result);
  }
  {
    AS3_ReturnAS3Var(asresult);
  }
}