MPROTOS.H

Go to the documentation of this file.
00001 /* -- OpenFX - Modelling, Animation and Rendering Package  -- */
00013 /* file MPROTOS.H  prototypes for global functions in modeler*/
00014 /* Window Class Window handlers */
00015 
00016 LRESULT CALLBACK MainModelerWndProc(HWND hwnd, UINT msg, WPARAM wparam,
00017                                     LPARAM lparam);
00018 LRESULT CALLBACK ModelerTriViewWndProc(HWND hwnd, UINT msg, WPARAM wparam,
00019                                     LPARAM lparam);
00020 LRESULT CALLBACK ModelerViewWndProc(HWND hwnd, UINT msg, WPARAM wparam,
00021                                     LPARAM lparam);
00022 LRESULT CALLBACK ModelerInfoWndProc(HWND hwnd, UINT msg, WPARAM wparam,
00023                                     LPARAM lparam);
00024 LRESULT CALLBACK ToolboxWndProc(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam);
00025 LRESULT CALLBACK ToolBtnWndProc(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam);
00026 
00027 #ifdef MODULE_DESIGN
00028 #define WHERE
00029 #else
00030 #define WHERE extern
00031 #endif
00032 WHERE void ExecuteKeyboardKeyCommand(int key);
00033 WHERE void DisengageDesignerTool(void);
00034 WHERE void DisengageSkeletonTool(void);
00035 WHERE void InitializeLastFilesList(void);
00036 #undef WHERE
00037 
00038 #ifdef MODULE_TOOLBOX
00039 #define WHERE
00040 #else
00041 #define WHERE extern
00042 #endif
00043 WHERE void ChangeToolboxBitmaps(void);
00044 WHERE void MoveToolsWindow(void);
00045 WHERE void ToolboxSelectTool(int);
00046 WHERE void ToolboxShow(BOOL);
00047 WHERE void ToolboxDestroy(void);
00048 WHERE void ToolboxSetPosition(int);
00049 WHERE void EnableTools(BOOL status);
00050 WHERE void PannelSelectTool(HWND hwnd, int *oldtool, int newtool);
00051 WHERE LRESULT CALLBACK CoordinatesDlgProc(HWND hdlg,UINT msg,
00052                             WPARAM wparam,LPARAM lparam);
00053 WHERE LRESULT CALLBACK LockDlgProc(HWND hdlg,UINT msg,
00054                             WPARAM wparam,LPARAM lparam);
00055 #undef WHERE
00056 
00057 #ifdef MODULE_UTILS
00058 #define WHERE
00059 #else
00060 #define WHERE extern
00061 #endif
00062 WHERE char *TruncateTextString(char *, char *, long);
00063 WHERE void EraseAll(short);
00064 WHERE void EraseAllSkeleton(void);
00065 WHERE void Delete_Bcurve(void);
00066 WHERE void Delete_MapLock(void);
00067 WHERE void RecalibrateMapLocks(void);
00068 WHERE short WhichBezier(vertex *);
00069 WHERE short EraseSkeleton(skel *);
00070 WHERE int EraseEdge(int);
00071 WHERE int EraseVertex(int);
00072 WHERE void EraseVertexMapping(void);
00073 WHERE int EraseIndicatedEdge(void);
00074 WHERE int EraseIndicatedVertex(void);
00075 WHERE int IdentifyIndicatedFace(void);
00076 WHERE short intriview(vertex  *);
00077 WHERE void CreateVertex(void);
00078 WHERE void CreateFace(long v1, long v2, long v3);
00079 WHERE void CreateEdge(long v1, long v2);
00080 BOOL UpdateVertexHeap(long n);
00081 BOOL UpdateEdgeHeap(long n);
00082 BOOL UpdateFaceHeap(long n);
00083 WHERE void CreateSkeleton(skel *);
00084 WHERE BOOL CheckFaceExists(long, long, long, long);
00085 WHERE BOOL CheckEdgeExists(long, long, long);
00086 WHERE void CopyFaceProp(face *fin, face *fout);
00087 WHERE void MakeAutoWireFrame(void);
00088 WHERE int MakeWireFrame(void);
00089 WHERE void UnMakeWireFrame(void);
00090 WHERE void ClearWireFrame(void);
00091 WHERE void SpecialFunction(int item);
00092 WHERE void AddPolygon(int ns, long radius, int axis);
00093 WHERE void BuildPrimitive(long PrimitiveType, int view);
00094 WHERE void UpdatePrimitiveStructure(long primitivetype, int view,
00095                               long xmin, long ymin, long zmin,
00096                               long xmax, long ymax, long zmax,
00097                               long xc,   long yc,   long zc);
00098 WHERE void Nudge(int );
00099 WHERE void ExecutePrimitivesMenu(HWND );
00100 WHERE void AddSinglePrimitive(long );
00101 WHERE void LoadUtility(char *program, char *class, int message, char *argument);
00102 WHERE int SelectDirectoryName(char *, char *,  char *, char *, HWND parent);
00103 #undef WHERE
00104 
00105 #ifdef MODULE_LOADER
00106 #define WHERE
00107 #else
00108 #define WHERE extern
00109 #endif
00110 WHERE unsigned char ReadLongInteger(long *val, HANDLE h);
00111 WHERE void WriteLongInteger(long lng, FILE *ff);
00112 WHERE int LoadObject(char *FileName, short relation);
00113 WHERE char *short_form(char *filename);
00114 WHERE void Save_Undo(short model);
00115 WHERE void Restore_Undo(void);
00116 WHERE void Empty_Undo(void);
00117 WHERE void SaveObject(char *Filename, short status);
00118 WHERE BOOL LoadInternalAction(char *library);
00119 WHERE void LoadAApoly(int aa_or_not_aa, char *filename);
00120 WHERE void SavePath(void);
00121 WHERE int AddExternalSkeleton(char *);
00122 #undef WHERE
00123 
00124 #ifdef MODULE_LIBS
00125 #define WHERE
00126 #else
00127 #define WHERE extern
00128 #endif
00129 WHERE short RequestNumEntry(short val, short minval, short maxval,
00130                       char *title, char *message);
00131 WHERE int RequestCharString(int len, char *string, char *title, HWND parent);
00132 WHERE void EnableToolPannels(int what_one, BOOL status);
00133 WHERE void ActivateAllMenus(HWND hwnd, UINT fuFlags);
00134 WHERE int SelectScrolledItemList(int n, char **list, char *title, HWND parent);
00135 WHERE int SelectItemList(int n, char **list, char *title);
00136 WHERE int SelectItems(int n, char **list, char *title, int where, BOOL lock);
00137 WHERE PSTR FileInPath(PSTR pstrPath);
00138 WHERE void GetTriview(BOOL reset);
00139 WHERE void get_centre(short option, point p, point TVp, BOOL all);
00140 WHERE void reset_mod_maxview(short option);
00141 WHERE void ( *GetWorldCoords)(int W, long *x, long *y,
00142                              long *z, int hpos, int vpos);
00143 WHERE void ( *GetWindowCoords)(int W, long x, long y,
00144                              long z,  int *hpos,  int *vpos);
00145 WHERE void SetUpWindowBoxView(int view);
00146 WHERE void DrawOne3dCursor(HDC hdc, int i);
00147 WHERE void Draw3dCursor(void);
00148 WHERE void Move3dCursor(int stor, int xw, int yw);
00149 WHERE void LoadArrowIcons(void);
00150 WHERE void DrawArrowIcons(HDC hdc, int id);
00151 WHERE int CheckWindowIcon(int xi, int yi);
00152 WHERE void InvertWindowIcon(int i, HWND hwnd);
00153 WHERE void DeleteArrowIcons(void);
00154 WHERE void SwapViewBitmaps(void);
00155 WHERE void UpdateRuler(short m);
00156 WHERE void SetUpGrid(void);
00157 WHERE void DrawGridInOne(HDC hdc, int i);
00158 WHERE BOOL SetColour(unsigned char colour[], char *Title, HWND parent);
00159 WHERE BOOL SetSfxColour(unsigned char colour[], long ID, HWND parent);
00160 WHERE void scal(double t[4][4], double sx, double sy, double sz);
00161 WHERE void rotz(double tr[4][4], double ang);
00162 WHERE void roty(double tr[4][4], double ang);
00163 WHERE void rotx(double tr[4][4], double ang);
00164 WHERE void tram(double t[4][4], double dx, double dy, double dz);
00165 WHERE void mv4by1(double t4[4][4], vector v1, vector v2);
00166 WHERE void m4by4(double t1[4][4], double t2[4][4], double tr[4][4]);
00167 WHERE void m4by1(double t4[4][4], double x, double y, double z,
00168                  double *xx, double *yy, double *zz);
00169 WHERE void null_transform(double t[4][4]);
00170 WHERE void c4to4(double tin[4][4], double tout[4][4]);
00171 WHERE void L_cross(point p1, point p2, point p3, point p4);
00172 WHERE void rotate_round_vector(double angle, vector v, double t[4][4]);
00173 WHERE void arbitrary_rotate(double angle, point p1, point p2, double t[4][4]);
00174 WHERE void CentreDialogOnCursor(HWND);
00175 WHERE void CentreDialogOnScreen(HWND hWnd);
00176 WHERE void AppendFileExtension(char *, char *);
00177 WHERE void Zoom(int command, int redraw);
00178 WHERE void Zoom2(double fraction);
00179 WHERE void PaintDialogBackground(HWND hDlg, HINSTANCE hInst);
00180 #undef WHERE
00181 
00182 #ifdef MODULE_DRAW
00183 #define WHERE
00184 #else
00185 #define WHERE extern
00186 #endif
00187 WHERE int  CheckInterrupt(void);
00188 WHERE int  O_normalize(vector v);
00189 WHERE BOOL O_Normalize(point x,point y,point z, vector n);
00190 WHERE void DrawModel(void);
00191 WHERE void UpdateCounters(void);
00192 WHERE void DrawVerticesOnly(vertex *vs);
00193 WHERE void DrawOneEdgeOnly(vertex *v1, vertex *v2);
00194 WHERE void Draw3dView(int smab, int skelview);
00195 WHERE void DrawQuick3dView(int skelview);
00196 WHERE void SelectInPerspective(int tl, int boxl, int box, int boyl, int boy);
00197 WHERE void MoveInPerspective(int dx, int dy);
00198 WHERE void DrawRubberBoundBox(long xmin, long ymin, long zmin,
00199                               long xmax, long ymax, long zmax);
00200 WHERE void DrawRubberLines(HWND hwnd, int av, long vtx, int x, int y);
00201 WHERE void DrawRubber3dLine(point p1,point p2);
00202 WHERE void DrawBrush(int brushID);
00203 WHERE void DrawShader(int shaderID);
00204 WHERE void DrawShaperSphere(long x,long y,long z,
00205              double shaper_angle_theta, double shaper_angle_phi,
00206              double shaper_size);
00207 WHERE void DrawSkeleton(void);
00208 WHERE void DrawQuickModel(void);
00209 #undef WHERE
00210 
00211 #ifdef MODULE_SELECT
00212 #define WHERE
00213 #else
00214 #define WHERE extern
00215 #endif
00216 WHERE void SelectConnected(int);
00217 WHERE void SelectConnectedTo(long id);
00218 WHERE void ExecuteSelect(int item);
00219 WHERE void ExecuteHide(BOOL hide);
00220 WHERE long SelectVertex(int, int, int );
00221 WHERE void SelectorDown(HWND, int, int x, int y);
00222 WHERE void SelectorMove(HWND, int, int x, int y);
00223 WHERE void SelectorUp(HWND, int, int x, int y, BOOL bFlagMoved, BOOL bFlagNoTool);
00224 WHERE void SnapCursorTo(int item);
00225 WHERE long PickVertex(void);
00226 #undef WHERE
00227 
00228 #ifdef MODULE_TOOLS1
00229 #define WHERE
00230 #else
00231 #define WHERE extern
00232 #endif
00233 WHERE void MakeBezierCurve(void);
00234 WHERE int AddVertex(void);
00235 WHERE void Plot3dOn(void);
00236 WHERE void Plot3dOff(void);
00237 WHERE void Edge3dOn(void);
00238 WHERE void Edge3dOff(void);
00239 WHERE void GrabOn(void);
00240 WHERE BOOL PrimitiveOn(void);
00241 WHERE void PrimitiveOff(void);
00242 WHERE void IxpandOn(void);
00243 WHERE void IrotateOn(void);
00244 WHERE void ToolDown(HWND, int, int x, int y);
00245 WHERE void ToolUp(HWND, int, int x, int y);
00246 WHERE void ToolMove(HWND,int, int x, int y);
00247 WHERE void ToolAction(int x, int y);
00248 WHERE void RecalibrateBezier(int id);
00249 WHERE void RecalibrateAllBezier(void);
00250 WHERE BOOL AddCopy(int wait);
00251 WHERE BOOL CreateAttachedCopy(int);
00252 WHERE BOOL Extrude(int);
00253 WHERE BOOL PanToolDown(int , int , BOOL , BOOL, HWND);
00254 WHERE void PanToolMove(int , int , BOOL , BOOL, HWND);
00255 WHERE void PanToolUp(int , int , BOOL , BOOL, HWND);
00256 #undef WHERE
00257 
00258 #ifdef MODULE_TOOLS2
00259 #define WHERE
00260 #else
00261 #define WHERE extern
00262 #endif
00263 WHERE int Subdivide(long down_to_f, long down_to_e, long draw);
00264 WHERE int connected(long v1, long v2);
00265 WHERE int AutoFillFace(long down_to);
00266 WHERE void Replace_Faces(int how, double threshold);
00267 WHERE void ActionRotate(int axis, double angle, int draw);
00268 WHERE void Explode(int type);
00269 WHERE long get_closest_vertex(void);
00270 WHERE void ExtrudeAlong(void);
00271 WHERE void JoinTwoCurves(void);
00272 WHERE void Spin(int, int , BOOL, int);
00273 WHERE void CopyConnected(void);
00274 WHERE void Flip(void);
00275 WHERE void SmoothCurve(void);
00276 #undef WHERE
00277 
00278 #ifdef MODULE_TOOLS3
00279 #define WHERE
00280 #else
00281 #define WHERE extern
00282 #endif
00283 WHERE void ShatterEffect(void);
00284 WHERE long *GetPathList(long *np);
00285 WHERE int AutoFacetCurveWithHoles(int function, int visible, int atm,
00286                                   double ba, double bd);
00287 WHERE void UnPlan(void);
00288 WHERE BOOL CALLBACK BuildAccurateCurveDlgProc(HWND hwnd, UINT msg,
00289                                      WPARAM wparam, LPARAM lparam);
00290 #undef WHERE
00291 
00292 #ifdef MODULE_TOOLS4
00293 #define WHERE
00294 #else
00295 #define WHERE extern
00296 #endif
00297 WHERE void OrientateFaceNormals(long, long, long *);
00298 WHERE void ReverseFaceOrientation(long, long *);
00299 WHERE BOOL IsFOSame(long, long, long, long, long, long);
00300 WHERE void OrientateSelectedFaces(void);
00301 WHERE int TurnIndicatedEdge(void);
00302 WHERE void WrapMapSelectedFaces(void);
00303 WHERE void SplitSelectedAlongMaterialsMaps(void);
00304 WHERE void GrowSelectedAlongNormal(void);
00305 
00306 #undef WHERE
00307 
00308 #ifdef MODULE_MATERIAL
00309 #define WHERE
00310 #else
00311 #define WHERE extern
00312 #endif
00313 WHERE int  CreateMaterial(BOOL);
00314 WHERE void DeleteMaterial(int idd);
00315 WHERE void EditMaterial(int id);
00316 WHERE int RequestMaterialID(HWND parent, char *message);
00317 WHERE BOOL CALLBACK AttribsDlgProc(HWND hwnd,UINT msg,
00318                                    WPARAM wparam,LPARAM lparam);
00319 WHERE BOOL CALLBACK LoadExternalShaderDlgProc(HWND hdlg,UINT msg,
00320                                    WPARAM wparam,LPARAM lparam);
00321 WHERE BOOL CALLBACK DefaultAttribsDlgProc(HWND hdlg,UINT msg,
00322                              WPARAM wparam,LPARAM lparam);
00323 WHERE BOOL IsAttribDlgMessage(HWND hWnd, LPMSG lpMsg);
00324 WHERE void DrawShaderInOne(HDC hDC,int view,int j);
00325 WHERE void PositionMaterialOnOff(int OnOff,int id);
00326 WHERE void GrabMaterialAxisPoint(int x,int y);
00327 WHERE void UnGrabMaterialAxisPoint(void);
00328 WHERE void PullShaderPoint(int x,int y);
00329 WHERE void  CopyMaterial(int fromID, int toID);  
00330 WHERE void PurgeUnusedMaterials(void);
00331 WHERE void PurgeDuplicateMaterials(long);
00332 WHERE void ExportMaterialsToFile(HWND);
00333 WHERE void ImportMaterialsFromFile(HWND);
00334 #undef WHERE
00335 
00336 #ifdef MODULE_MAPPING
00337 #define WHERE
00338 #else
00339 #define WHERE extern
00340 #endif
00341 WHERE void EditImageMap(int id);
00342 WHERE void DrawBrushInOne(HDC hdc,int view,int j);
00343 WHERE void PositionBrushOnOff(int OnOff,int id);
00344 WHERE void GrabBrushPoint(int x,int y);
00345 WHERE void UnGrabBrushPoint(void);
00346 WHERE void PullBrushPoint(int x,int y);
00347 WHERE int RequestMapID(HWND parent, char *message, int new);
00348 WHERE int RequestMirrorID(HWND parent);
00349 WHERE int CreateImageMap(void);
00350 WHERE void DeleteImageMap(int idd);
00351 WHERE void PurgeUnusedMaps(void);
00352 WHERE void PurgeDuplicateMaps(long startat);
00353 WHERE void VectorMaps(void);
00354 WHERE void SetMapCoords(void);
00355 WHERE void MapOntoPath(void);
00356 WHERE void SelectMapAndMapVertices(void);
00357 WHERE void  ExecuteLockAction(int item, int sb);
00358 WHERE void MapVerticesByImageMap(int id, int it);
00359 WHERE void MapFacesByImageMap(int, int, BOOL);
00360 WHERE unsigned char *MakeFullMemoryImage(RAMIMAGE *, long *, long *);
00361 #undef WHERE
00362 
00363 #ifdef MODULE_DIALOGS
00364 #define WHERE
00365 #else
00366 #define WHERE extern
00367 #endif
00368 WHERE int Read1Real(char *title, char *it1,
00369                     double *r, double rl, double rh, HWND parent);
00370 WHERE int Read3Reals(char *title, double *r1, double *r2, double *r3,
00371                      int list);
00372 WHERE int Read3Ints(char *title, char *it1, char *it2, char *it3,
00373                     int *i1, int *i2, int *i3, HWND parent);
00374 WHERE int Read2Ints(char *title, char *it1, char *it2,
00375                     int *i1, int *i2, HWND parent);
00376 WHERE int Read1Int1Real(char *title, char *it1, char *it2,
00377                     int *i, int il, int ih,
00378                     double *r, double rl, double rh, HWND parent);
00379 WHERE int Read1String1Real(char *title, char *it1, char *it2,
00380                      char *strg,
00381                      double *r, double rl, double rh, HWND parent);
00382 int Read1String3Real(char *title, char *it1, char *it2, char *it3, char *it4,
00383                      char *strg,
00384                      double *r, double *r2, double *r3, HWND parent);
00385 WHERE BOOL CALLBACK SpiralsDlgProc(HWND hwnd, UINT msg,
00386                              WPARAM wparam, LPARAM lparam);
00387 WHERE BOOL CALLBACK FunctionPlotDlgProc(HWND hwnd, UINT msg,
00388                              WPARAM wparam, LPARAM lparam);
00389 WHERE BOOL CALLBACK ExtrudeAlongDlgProc(HWND hwnd, UINT msg,
00390                              WPARAM wparam, LPARAM lparam);
00391 WHERE BOOL CALLBACK FlipDlgProc(HWND hwnd, UINT msg,
00392                           WPARAM wparam, LPARAM lparam);
00393 WHERE BOOL CALLBACK ExpandDlgProc(HWND hwnd, UINT msg,
00394                           WPARAM wparam, LPARAM lparam);
00395 WHERE BOOL CALLBACK HierarchyDlgProc(HWND hwnd, UINT msg,
00396                           WPARAM wparam, LPARAM lparam);
00397 WHERE BOOL CALLBACK CubePrimitiveDlgProc(HWND hwnd, UINT msg,
00398                           WPARAM wparam, LPARAM lparam);
00399 WHERE BOOL CALLBACK SpherePrimitiveDlgProc(HWND hwnd, UINT msg,
00400                           WPARAM wparam, LPARAM lparam);
00401 WHERE BOOL CALLBACK PolygonPrimitiveDlgProc(HWND hwnd, UINT msg,
00402                           WPARAM wparam, LPARAM lparam);
00403 WHERE BOOL CALLBACK DiskPrimitiveDlgProc(HWND hwnd, UINT msg,
00404                           WPARAM wparam, LPARAM lparam);
00405 WHERE BOOL CALLBACK TubePrimitiveDlgProc(HWND hwnd, UINT msg,
00406                           WPARAM wparam, LPARAM lparam);
00407 WHERE BOOL CALLBACK CylinderPrimitiveDlgProc(HWND hwnd, UINT msg,
00408                           WPARAM wparam, LPARAM lparam);
00409 WHERE BOOL CALLBACK ConePrimitiveDlgProc(HWND hwnd, UINT msg,
00410                           WPARAM wparam, LPARAM lparam);
00411 WHERE BOOL CALLBACK PlanePrimitiveDlgProc(HWND hwnd, UINT msg,
00412                           WPARAM wparam, LPARAM lparam);
00413 WHERE BOOL CALLBACK SqueezeDlgProc(HWND hdlg,UINT msg,
00414                           WPARAM wparam,LPARAM lparam);
00415 WHERE BOOL CALLBACK ExplodeDlgProc(HWND hdlg,UINT msg,
00416                           WPARAM wparam,LPARAM lparam);
00417 WHERE BOOL CALLBACK PrimitivesDlgProc(HWND hdlg,UINT msg,
00418                           WPARAM wparam,LPARAM lparam);
00419 WHERE BOOL CALLBACK AboutDlgProc(HWND hdlg,UINT msg,
00420                           WPARAM wparam,LPARAM lparam);
00421 WHERE BOOL CALLBACK RotateDlgProc(HWND, UINT, WPARAM, LPARAM);
00422 WHERE BOOL CALLBACK MoveDlgProc(HWND, UINT, WPARAM, LPARAM);
00423 WHERE void PreferencesPropertyDlgProc(HWND hwndOwner);
00424 WHERE BOOL IsPrimitivesDialogMessage(MSG *msg);
00425 #undef WHERE
00426 
00427 
00428 #ifdef MODULE_SKELETON
00429 #define WHERE
00430 #else
00431 #define WHERE extern
00432 #endif
00433 WHERE void GetSkeletonBoundBox(skel *sp, int ass);
00434 WHERE void DrawTrSkeletonInOne(HDC hdc, int view);
00435 WHERE void DrawSkeletonInOne(HDC hdc, int view);
00436 WHERE void SkToolOn(void);
00437 WHERE void SkToolOff(void);
00438 WHERE void SkDelete1(skel *sp);
00439 WHERE void ZeroSkeletonBoundingBox(skel *sp);
00440 WHERE void SelectByHierarchy(skel *sp, int op);
00441 WHERE int skintriview(point p);
00442 WHERE void TidyUpOldSkeltonType(void);
00443 WHERE void TabSkeletonAxis(void);
00444 WHERE void SkToolDown(int x, int y);
00445 WHERE void SkToolUp(int x, int y);
00446 WHERE void SkToolMove(int x, int y);
00447 WHERE void SkToolAction(int x, int y);
00448 WHERE void SkeletonTreeView(HWND hWnd);
00449 WHERE void UpdateSkTreeView(void);
00450 WHERE void SetSkToolbarState(BOOL state);
00451 WHERE void SkeletonToolBar(HWND hWndParent);
00452 WHERE void ResetSkeletonWeights(void);
00453 WHERE void AutoVerticesToSkeleton(void);
00454 #undef WHERE
00455 
00456 #ifdef MODULE_ATMFONT
00457 #define WHERE
00458 #else
00459 #define WHERE extern
00460 #endif
00461 WHERE BOOL BuildATMfontString(HWND hwnd);
00462 WHERE BOOL BuildTTFfontString(HWND hwnd);
00463 #undef WHERE
00464 
00465 #ifdef MODULE_NURBS
00466 #define WHERE
00467 #else
00468 #define WHERE extern
00469 #endif
00470 WHERE void EraseAllNurbs(void);
00471 WHERE void EraseNurbs(nurbs *);
00472 WHERE void CreateNurbs(void);
00473 WHERE void ClearNurbsSkeleton(skel *);
00474 WHERE BOOL AllocNurbs(nurbs *, double *, double *);
00475 WHERE BOOL CloneNurbs(nurbs *, nurbs *);
00476 WHERE void ReleaseNurbs(nurbs *);
00477 WHERE void DrawAllNurbsInOne(HDC, int, BOOL);
00478 WHERE void MakeNewNurbsSurface(int);
00479 WHERE BOOL DeleteSelectedNurbsSurfaces(void);
00480 WHERE void EditSelectedNurbsSurface(void);
00481 WHERE void SetSelectedNurbsWeights(void);
00482 WHERE void DrawNurbsWireFrame(HDC, int,
00483                         double, double [4][4],
00484                         short (*)(vertex *, vertex *),
00485                         short (*)(vertex *, vertex *),
00486                         BOOL);
00487 WHERE void HideNurbs(BOOL);
00488 WHERE void SelectAllNurbs(BOOL);
00489 WHERE void SwapNurbsSelection(void);
00490 WHERE BOOL SelectNurbsPatch(int, int, int);
00491 WHERE BOOL SelectNurbsControlPoint(int, int, int);
00492 WHERE void SelectNurbsInRectangle(int, BOOL, long, long, long, long);
00493 WHERE void SelectNurbsInCircle(int, BOOL,int, int, double);
00494 WHERE void SelectNurbsInLasso(int, BOOL, HRGN);
00495 WHERE void MoveNurbsControlPoint(int, int, int, int);
00496 WHERE void TriangulateNurbsSurface(void);
00497 WHERE void MoveNurbsSurface(int, int, int, int);
00498 WHERE void RotateNurbsSurface(int, int, double);
00499 WHERE void RotateNurbsAction(int, double);
00500 WHERE void XpandNurbsSurface(int, int, double, double, double);
00501 WHERE void ExpandNurbsAction(long, long, long, double, double, double);
00502 WHERE void DuplicateSelectedNurbs(void);
00503 WHERE void HiddenGetNurbsNumbers(long *, long *);
00504 WHERE void HiddenAddNurbsVertices(long *, void *, double, double [4][4],
00505                                   long, long, long, long);
00506 WHERE void HiddenAddNurbsFaces(long *, void *, long);
00507 WHERE void MeshNurbsSurface(void);
00508 WHERE void IncludeNurbsBoundary(short *, long *, long *, long *, long *, long *, long *);
00509 WHERE void PutNurbsAttribute(int, void *);
00510 WHERE void ReadNurbs(long, short, HANDLE);
00511 WHERE void WriteNurbs(FILE *);
00512 WHERE void SplitNurbs(void);
00513 #undef WHERE
00514 
00515 #ifdef MODULE_MENUHELP 
00516 #define WHERE
00517 #else
00518 #define WHERE extern
00519 #endif
00520 WHERE void LoadMenuHelpTable(HWND hwnd);
00521 WHERE UINT CheckMenuHelpData(UINT uItem);
00522 WHERE void DisplayMenuHelpData(HWND hwnd,UINT id);
00523 WHERE void FreeMenuHelpData(void);
00524 #undef WHERE
00525 
00526 #ifdef MODULE_FILES
00527 #define WHERE
00528 #else
00529 #define WHERE extern
00530 #endif
00531 WHERE int SelectFileName(int save, char *szfile, char *szdir,
00532                    char *szTitle, char *szfilter, HWND parent);
00533 WHERE int SelectSfxFileName(int save, char *szfile, char *szdir,
00534                    long ID, char *szfilter, HWND parent);
00535 #undef WHERE
00536 
00537 #ifdef MODULE_WINDOWS
00538 #define WHERE
00539 #else
00540 #define WHERE extern
00541 #endif
00542 WHERE void SetWindowSize(int x, int y, int view, BOOL reset);
00543 WHERE BOOL CreateMemoryWindows(void);
00544 WHERE void DeleteMemoryWindows(void);
00545 WHERE void SwitchWindow(int button);
00546 WHERE void FormatScreen(void);
00547 WHERE void UpdateIconPositions(void);
00548 WHERE void FocusActiveWindow(HDC, BOOL );
00549 WHERE BOOL CursorInTriview(void);
00550 #undef WHERE
00551 
00552 #ifdef MODULE_SETUP
00553 #define WHERE
00554 #else
00555 #define WHERE extern
00556 #endif
00557 WHERE HPALETTE CreateAppPalette(int *, int *);
00558 WHERE BOOL DesignStartup(UINT *);
00559 WHERE void DesignShutdown(void);
00560 WHERE BOOL SetupMainWindow(HANDLE inst, int cmdshow);
00561 WHERE void LoadPreferences(void);
00562 WHERE void ActivatePreferences(void);
00563 WHERE void StartOpenGL(BOOL first_time);
00564 WHERE void ExecuteAnimator(BOOL reload);
00565 WHERE void SetupStructures(void);
00566 WHERE void SendPrgmText(PSTR p);
00567 WHERE void SendPrgmHelpMessage(int id);
00568 WHERE void SendPrgmMessage(int idString,int where);
00569 WHERE void SetPrgmMessage(int idString, PSTR pstr);
00570 WHERE int  SendPrgmQuery(int idString, int response);
00571 WHERE void SendIconHelpMessage(int idString);
00572 WHERE void InitialiseStringVectors(void);
00573 WHERE void FreeStringVectors(void);
00574 #undef WHERE
00575 
00576 #ifdef MODULE_RAMIMAGE
00577 #define WHERE
00578 #else
00579 #define WHERE extern
00580 #endif
00581 WHERE void InitialiseRamImage(RAMIMAGE *im);
00582 WHERE BOOL LoadRamImage(RAMIMAGE *image, char *file);
00583 WHERE BOOL UnloadRamImage(RAMIMAGE *image);
00584 WHERE BOOL ReadRamImage(RAMIMAGE *image, HANDLE *hf);
00585 WHERE BOOL WriteRamImage(RAMIMAGE *image, FILE *fp);
00586 WHERE BOOL UnstoreRamImage(RAMIMAGE *Image, char *filename);
00587 WHERE void DisplayImageFromStore(RAMIMAGE *image, char *alternate);
00588 WHERE void EraseTempImageFiles(void);
00589 WHERE void UnloadRamImagesFromMap(int i);
00590 WHERE void UnloadRamImagesFromAllMaps(void);
00591 WHERE void SaveRamImagesFromAllMaps(void);
00592 WHERE void SaveRamImagesToFiles(int i);
00593 WHERE void EmbedMapsForMap(int m);
00594 WHERE void EmbedAllMapsImages(void);
00595 #undef WHERE
00596 
00597 #ifdef MODULE_EXTERNAL
00598 #define WHERE
00599 #else
00600 #define WHERE extern
00601 #endif
00602 WHERE long LoadXmodel(char *, char *);
00603 WHERE long ExportModel(char *, char *);
00604 WHERE void Export3dSmodel(HWND hwnd);
00605 WHERE void ExportDXFmodel(HWND hwnd);
00606 WHERE BOOL ExecuteExternalAction(int, HWND);
00607 WHERE BOOL ExecuteExternalModeler(HWND hwnd);
00608 WHERE BOOL ExecuteBezierModeler(HWND hwnd);
00609 WHERE BOOL LoadHeightField(HWND hwnd);
00610 WHERE BOOL TraceImageOutline(HWND hwnd);
00611 WHERE BOOL PaintMapOutline(HWND hwnd);
00612 WHERE void LoadViewer(int type);
00613 WHERE void LoadMDIviewer(void);
00614 WHERE void Render_View(int light_pos, long how);
00615 WHERE void ShaderPreview(void);
00616 WHERE void ScaleImageBuffer(long xi, long yi, unsigned char *pi, long xo, long yo, unsigned char *po);
00617 void ScaleImageBuffer4(long xi, long yi, unsigned char *pi, long xo, long yo, unsigned char *po);
00618 #undef WHERE
00619 

Generated on Sun Apr 27 14:20:11 2014 for OpenFX by  doxygen 1.5.6