• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C++ AS3_GetScalarFromVar函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中AS3_GetScalarFromVar函数的典型用法代码示例。如果您正苦于以下问题:C++ AS3_GetScalarFromVar函数的具体用法?C++ AS3_GetScalarFromVar怎么用?C++ AS3_GetScalarFromVar使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了AS3_GetScalarFromVar函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: _wrap_BulletManager_CheckIsHitNpc

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);
  }
}
开发者ID:colorspray,项目名称:OmniDebuggerProject,代码行数:32,代码来源:ODGameLib_wrapper.cpp


示例2: _wrap_Bullet_CheckIsHitPlayer

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);
  }
}
开发者ID:colorspray,项目名称:OmniDebuggerProject,代码行数:28,代码来源:ODGameLib_wrapper.cpp


示例3: _wrap_feedShape

void _wrap_feedShape() {
    unsigned int *arg1 = (unsigned int *) 0 ;
    int arg2 ;
    int arg3 ;
    unsigned int arg4 ;

    {
        AS3_GetScalarFromVar(arg1, pixels);
    }
    {
        AS3_GetScalarFromVar(arg2, width);
    }
    {
        AS3_GetScalarFromVar(arg3, height);
    }
    {
        AS3_GetScalarFromVar(arg4, sid);
    }
    feedShape(arg1,arg2,arg3,arg4);
    {

    }
    {
        AS3_ReturnAS3Var(undefined);
    }
}
开发者ID:settinghead,项目名称:tyful,代码行数:26,代码来源:polartreeapi_wrapper.c


示例4: _wrap_appendLayer

void _wrap_appendLayer() {
    unsigned int *arg1 = (unsigned int *) 0 ;
    unsigned int *arg2 = (unsigned int *) 0 ;
    int arg3 ;
    int arg4 ;
    bool arg5 ;

    {
        AS3_GetScalarFromVar(arg1, pixels);
    }
    {
        AS3_GetScalarFromVar(arg2, colorPixels);
    }
    {
        AS3_GetScalarFromVar(arg3, width);
    }
    {
        AS3_GetScalarFromVar(arg4, height);
    }
    {
        AS3_GetScalarFromVar(arg5, flip);
    }
    appendLayer(arg1,arg2,arg3,arg4,arg5);
    {

    }
    {
        AS3_ReturnAS3Var(undefined);
    }
}
开发者ID:settinghead,项目名称:tyful,代码行数:30,代码来源:polartreeapi_wrapper.c


示例5: _wrap_slapShape

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);
    }
}
开发者ID:settinghead,项目名称:tyful,代码行数:28,代码来源:polartreeapi_wrapper.c


示例6: _wrap_Bullet_Init

void _wrap_Bullet_Init() {
  Bullet *arg1 = (Bullet *) 0 ;
  float arg2 ;
  float arg3 ;
  float arg4 ;
  float arg5 ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  {
    AS3_GetScalarFromVar(arg2, srcx);
  }
  {
    AS3_GetScalarFromVar(arg3, srcy);
  }
  {
    AS3_GetScalarFromVar(arg4, dstx);
  }
  {
    AS3_GetScalarFromVar(arg5, dsty);
  }
  (arg1)->Init(arg2,arg3,arg4,arg5);
  {
    
  }
  {
    AS3_ReturnAS3Var(undefined);
  }
}
开发者ID:colorspray,项目名称:OmniDebuggerProject,代码行数:30,代码来源:ODGameLib_wrapper.cpp


示例7: as3_load_pointer

void as3_load_pointer(uint8_t *i_data, int i_length)
{
    AS3_GetScalarFromVar((uint8_t*)i_data, inputPointer);
    AS3_GetScalarFromVar(i_length, inputLength);
    
    int status = load(i_data, i_length);

    AS3_Return(status);
}
开发者ID:marstonstudio,项目名称:crossUserMedia,代码行数:9,代码来源:as3api.c


示例8: initializeScreenDiffuseBuffer_AS3

void initializeScreenDiffuseBuffer_AS3()
{
	int* result;
	//copy the AS3 resolution variables resX0, resY0 (parameters of the swc function initializeScreenDiffuseBuffer_AS3) 
	//to C variables resX, resY in lookupeffect.c
	AS3_GetScalarFromVar(resX,resX0);
	AS3_GetScalarFromVar(resY,resY0);
	//get the pointer of the screen buffer
	result = initializeScreenDiffuseBuffer(resX,resY);
	// return the result (using an AS3 return rather than a C/C++ return)
	AS3_Return(result);
}
开发者ID:aguivip,项目名称:flaswf,代码行数:12,代码来源:as3api.cpp


示例9: inline_as3

static void *print(void *arg) {
  int val;
  inline_as3("var abc:int = this[\"abc\"];");
  AS3_GetScalarFromVar(val, abc); 
  printf("Val: %d\n",val);
  return 0;
}
开发者ID:settinghead,项目名称:tyful,代码行数:7,代码来源:workers.cpp


示例10: _localvar_get

void _localvar_get()
{
	AS3::local::var * var;
	AS3_GetScalarFromVar(var, var_ptr);
	AS3_DeclareVar(obj, Object);
	AS3_CopyVarxxToVar(obj, *var);
	AS3_ReturnAS3Var(obj);
}
开发者ID:AntonioModer,项目名称:Crossbridge-Recast-Navigation,代码行数:8,代码来源:localvar.cpp


示例11: _wrap_Player_Update

void _wrap_Player_Update() {
  Player *arg1 = (Player *) 0 ;
  float arg2 ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  {
    AS3_GetScalarFromVar(arg2, deltaTime);
  }
  (arg1)->Update(arg2);
  {
    
  }
  {
    AS3_ReturnAS3Var(undefined);
  }
}
开发者ID:colorspray,项目名称:OmniDebuggerProject,代码行数:18,代码来源:ODGameLib_wrapper.cpp


示例12: _wrap_NpcData_posX_set

void _wrap_NpcData_posX_set() {
  NpcData *arg1 = (NpcData *) 0 ;
  float arg2 ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  {
    AS3_GetScalarFromVar(arg2, posX);
  }
  if (arg1) (arg1)->posX = arg2;
  {
    
  }
  {
    AS3_ReturnAS3Var(undefined);
  }
}
开发者ID:colorspray,项目名称:OmniDebuggerProject,代码行数:18,代码来源:ODGameLib_wrapper.cpp


示例13: _wrap_Bullet_setFromNpcType

void _wrap_Bullet_setFromNpcType() {
  Bullet *arg1 = (Bullet *) 0 ;
  eNpcType arg2 ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  {
    AS3_GetScalarFromVar(arg2, e);
  }
  (arg1)->setFromNpcType(arg2);
  {
    
  }
  {
    AS3_ReturnAS3Var(undefined);
  }
}
开发者ID:colorspray,项目名称:OmniDebuggerProject,代码行数:18,代码来源:ODGameLib_wrapper.cpp


示例14: _wrap_NpcData_bFired_set

void _wrap_NpcData_bFired_set() {
  NpcData *arg1 = (NpcData *) 0 ;
  bool arg2 ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  {
    AS3_GetScalarFromVar(arg2, bFired);
  }
  if (arg1) (arg1)->bFired = arg2;
  {
    
  }
  {
    AS3_ReturnAS3Var(undefined);
  }
}
开发者ID:colorspray,项目名称:OmniDebuggerProject,代码行数:18,代码来源:ODGameLib_wrapper.cpp


示例15: _wrap_BulletData_posY_set

void _wrap_BulletData_posY_set() {
  BulletData *arg1 = (BulletData *) 0 ;
  float arg2 ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  {
    AS3_GetScalarFromVar(arg2, posY);
  }
  if (arg1) (arg1)->posY = arg2;
  {
    
  }
  {
    AS3_ReturnAS3Var(undefined);
  }
}
开发者ID:colorspray,项目名称:OmniDebuggerProject,代码行数:18,代码来源:ODGameLib_wrapper.cpp


示例16: _wrap_Npc_setClockwiseAs

void _wrap_Npc_setClockwiseAs() {
  Npc *arg1 = (Npc *) 0 ;
  bool arg2 ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  {
    AS3_GetScalarFromVar(arg2, isClockwise);
  }
  (arg1)->setClockwiseAs(arg2);
  {
    
  }
  {
    AS3_ReturnAS3Var(undefined);
  }
}
开发者ID:colorspray,项目名称:OmniDebuggerProject,代码行数:18,代码来源:ODGameLib_wrapper.cpp


示例17: _wrap_ODGame_Update

void _wrap_ODGame_Update() {
  ODGame *arg1 = (ODGame *) 0 ;
  float arg2 ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  {
    AS3_GetScalarFromVar(arg2, delta);
  }
  (arg1)->Update(arg2);
  {
    
  }
  {
    AS3_ReturnAS3Var(undefined);
  }
}
开发者ID:colorspray,项目名称:OmniDebuggerProject,代码行数:18,代码来源:ODGameLib_wrapper.cpp


示例18: _wrap_Npc_SetPlayer

void _wrap_Npc_SetPlayer() {
  Npc *arg1 = (Npc *) 0 ;
  Player *arg2 = (Player *) 0 ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  {
    AS3_GetScalarFromVar(arg2, player);
  }
  (arg1)->SetPlayer(arg2);
  {
    
  }
  {
    AS3_ReturnAS3Var(undefined);
  }
}
开发者ID:colorspray,项目名称:OmniDebuggerProject,代码行数:18,代码来源:ODGameLib_wrapper.cpp


示例19: _wrap_ODGameData_playerData_set

void _wrap_ODGameData_playerData_set() {
  ODGameData *arg1 = (ODGameData *) 0 ;
  PlayerData *arg2 = (PlayerData *) 0 ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  {
    AS3_GetScalarFromVar(arg2, playerData);
  }
  if (arg1) (arg1)->playerData = *arg2;
  {
    
  }
  {
    AS3_ReturnAS3Var(undefined);
  }
}
开发者ID:colorspray,项目名称:OmniDebuggerProject,代码行数:18,代码来源:ODGameLib_wrapper.cpp


示例20: _wrap_ODGameData_score_set

void _wrap_ODGameData_score_set() {
  ODGameData *arg1 = (ODGameData *) 0 ;
  int arg2 ;
  
  {
    AS3_GetScalarFromVar(arg1, self);
  }
  {
    AS3_GetScalarFromVar(arg2, score);
  }
  if (arg1) (arg1)->score = arg2;
  {
    
  }
  {
    AS3_ReturnAS3Var(undefined);
  }
}
开发者ID:colorspray,项目名称:OmniDebuggerProject,代码行数:18,代码来源:ODGameLib_wrapper.cpp



注:本文中的AS3_GetScalarFromVar函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ AS3_Release函数代码示例发布时间:2022-05-30
下一篇:
C++ AS3_Array函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap