*/
g_FuncTable.m_pfnMessageBox( g_pRadiantWnd,
"Error: Couldn't find the triangle bounding a point.",
- "Decimation Error",MB_ICONEXCLAMATION, NULL );
+ "Decimation Error", eMB_OK, eMB_ICONWARNING );
return;
}
if ( !Tri[Node[i].tri].flag ) {
*/
g_FuncTable.m_pfnMessageBox( g_pRadiantWnd,
"Error: Couldn't find the triangle bounding a point.",
- "Decimation Error",MB_ICONEXCLAMATION, NULL );
+ "Decimation Error", eMB_OK, eMB_ICONWARNING );
return;
}
if ( !Tri[Node[i].tri].flag ) {
out.edgelist = (int *) NULL; /* Needed only if -e switch used. */
out.edgemarkerlist = (int *) NULL; /* Needed if -e used and -B not used. */
- triangulate( (char *) Options, &in, &out, NULL );
+ triangulate( Options, &in, &out, NULL );
NumTris[0] = out.numberoftriangles;
*Tri = (TRI *) malloc( NumTris[0] * sizeof( TRI ) );