Beispiel #1
0
void AnimatedMesh_GetFrameLoopMD2a (IntPtr mesh, M_STRING name, int *outBegin, int *outEnd, int *outFPS)
{
    int b;
    int en;
    int fps;
    ((IAnimatedMeshMD2 *)mesh)->getFrameLoop(UM_STRING(name), b, en, fps);
    *outBegin = b;
    *outEnd = en;
    *outFPS = fps;
}
Beispiel #2
0
M_STRING Event_GetLogString(IntPtr event)
{
    return UM_STRING(MU_WCHAR(GetEventFromIntPtr(event)->LogEvent.Text));
}
Beispiel #3
0
M_STRING AnimationMesh_GetAnimationNameMD2(IntPtr mesh, int nr)
{
    return UM_STRING(((IAnimatedMeshMD2 *)mesh)->getAnimationName(nr));
}
Beispiel #4
0
M_STRING MeshCache_GetMeshFilenameA (IntPtr mc, IntPtr mesh)
{
	return UM_STRING(GetMeshCacheFromIntPtr(mc)->getMeshFilename(static_cast<irr::scene::IAnimatedMesh*>(mesh)).c_str());
}
Beispiel #5
0
M_STRING MeshCache_GetMeshFilenameN (IntPtr mc, irr::u32 index)
{
	return UM_STRING(GetMeshCacheFromIntPtr(mc)->getMeshFilename(index).c_str());
}
Beispiel #6
0
void MeshCache_AddMesh (IntPtr mc, M_STRING filename, IntPtr mesh)
{
	GetMeshCacheFromIntPtr(mc)->addMesh(UM_STRING(filename), (IAnimatedMesh*)mesh);
}
Beispiel #7
0
IntPtr MeshCache_GetMeshByFilename (IntPtr mc, M_STRING filename)
{
	return GetMeshCacheFromIntPtr(mc)->getMeshByFilename(UM_STRING(filename));
}
Beispiel #8
0
M_STRING GUIListBox_GetListItem(IntPtr listb, int id)
{
	return UM_STRING(((IGUIListBox*)listb)->getListItem(id));
}
Beispiel #9
0
M_STRING GUIComboBox_GetItem(IntPtr combo, int index)
{
	return UM_STRING(((IGUIComboBox*)combo)->getItem(index));
}
Beispiel #10
0
M_STRING GUIFileOpenDialog_GetFilename(IntPtr dialog)
{
	return UM_STRING(((IGUIFileOpenDialog*)dialog)->getFileName());
}
Beispiel #11
0
M_STRING GUIContextMenu_GetItemText(IntPtr menu, int index)
{
	return UM_STRING(((IGUIContextMenu*)menu)->getItemText(index));
}
Beispiel #12
0
//Converts from irr::core::stringw to managed string --> getToolTipText
M_STRING IM_STRING(const IRRSTRING base)
{
	const wchar_t* b = base.c_str();
	return UM_STRING(b);
}
Beispiel #13
0
M_STRING GuiSkin_GetDefaultText(IntPtr gskin, EGUI_DEFAULT_TEXT which)
{
	return UM_STRING(((IGUISkin*)gskin)->getDefaultText(which));
}
Beispiel #14
0
M_STRING SceneNode_GetName(IntPtr scenenode)
{
    return UM_STRING(GetSceneNodeFromIntPtr(scenenode)->getName());
}