PROTOS.H

Go to the documentation of this file.
00001 /* file PROTOS.H  prototypes for global functions */
00013 /* Window Class Window handlers */
00014 LRESULT CALLBACK MainAnimatorWndProc(HWND hwnd, UINT msg, WPARAM wparam,
00015                                     LPARAM lparam);
00016 LRESULT CALLBACK AnimatorTriViewWndProc(HWND hwnd, UINT msg, WPARAM wparam,
00017                                     LPARAM lparam);
00018 LRESULT CALLBACK AnimatorViewWndProc(HWND hwnd, UINT msg, WPARAM wparam,
00019                                     LPARAM lparam);
00020 LRESULT CALLBACK AnimatorInfoWndProc(HWND hwnd, UINT msg, WPARAM wparam,
00021                                     LPARAM lparam);
00022 LRESULT CALLBACK ToolboxWndProc(HWND hwnd,UINT msg,WPARAM wParam,
00023                                     LPARAM lParam);
00024 LRESULT CALLBACK ToolBtnWndProc(HWND hwnd,UINT msg,WPARAM wParam,
00025                                     LPARAM lParam);
00026 LRESULT CALLBACK QuicktimeWndProc(HWND hwnd,UINT msg,WPARAM wParam,
00027                                     LPARAM lParam);
00028 
00029 /* Module Funcion Protos */
00030 
00031 #ifdef MODULE_ANIMATE
00032 #define WHERE
00033 #else
00034 #define WHERE extern
00035 #endif
00036 WHERE void InitializeLastFilesList(void);
00037 #undef WHERE
00038 
00039 #ifdef MODULE_TOOLBOX
00040 #define WHERE
00041 #else
00042 #define WHERE extern
00043 #endif
00044 WHERE void ChangeToolboxBitmaps(void);
00045 WHERE void MoveToolsWindow(void);
00046 WHERE void EnableTools(BOOL);
00047 WHERE void ToolboxSelectTool(int);
00048 WHERE void ToolboxShow(BOOL);
00049 WHERE void ToolboxDestroy(void);
00050 WHERE void AugmentToolPannel(BOOL);
00051 WHERE void ToolboxSetPosition(int);
00052 WHERE void UpdateFrameBox(void);
00053 WHERE LRESULT CALLBACK CoordinatesDlgProc(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 void Nudge(int command);
00063 WHERE PATHEDITCONTROL *CreatePathEditControlPoint(int *nPec,
00064                  PATHEDITCONTROL **Pec,
00065                  PATHEDITCONTROL *last,
00066                  PATHEDITCONTROL *next,
00067                  int frame, double distance);
00068 WHERE void DeletePathEditControlPoint(int *nPec,
00069                  PATHEDITCONTROL **Pec,
00070                  PATHEDITCONTROL *here);
00071 WHERE pathpoint *AppendPathPoint(pathpoint *Ppp);
00072 WHERE void CreatePathPoint(void);
00073 WHERE void DeletePathPoint(void);
00074 WHERE pathpoint *CreateIPointPath(short type, node *Np, short firstframe,
00075                             short *pathtype, short *npathpoints);
00076 WHERE void ReleaseNurbs(nurbs *n);
00077 WHERE BOOL AllocNurbs(nurbs *n, double *ukv, double *vkv);
00078 WHERE void FreeNurbs(long n, nurbs *Np);
00079 WHERE void DeleteCostume(node *Np, long frame);
00080 WHERE object *CreateCostume(node *Np, long firstframe, long lastframe);
00081 WHERE void DeleteSize(node *Np, long frame);
00082 WHERE size *CreateSize(node *Np, long firstframe, long lastframe);
00083 WHERE void DeleteAlign(node *Np, long frame);
00084 WHERE align *CreateAlign(node *Np, long firstframe, long lastframe);
00085 WHERE void DeletePosition(node *Np, long frame);
00086 WHERE void DeletePositionIn(node *Np, long first_frame, long last_frame);
00087 WHERE position *CreatePosition(node *Np, long firstframe, long lastframe);
00088 WHERE void DeleteSky(node *Np, long frame);
00089 WHERE sky *CreateSky(node *Np, long firstframe, long lastframe);
00090 WHERE void DeleteDirector(node *Np, long frame);
00091 WHERE director *CreateDirector(node *Np, long firstframe, long lastframe);
00092 WHERE void DeleteNode(node *Np);
00093 WHERE node *CreateNode(void);
00094 WHERE pathpoint *CopyPath(short *pathtype, short *npathpoints, node *Nc,
00095                     short firstframe, HWND parent);
00096 WHERE void CheckRecursiveFollow(node *Np, short ff, short lf);
00097 WHERE void ScrapEverything(void);
00098 WHERE long SelectNodeID(HWND);
00099 WHERE node *SelectNode(char *, short , HWND);
00100 WHERE void CentreDialogOnCursor(HWND);
00101 WHERE void CentreDialogOnScreen(HWND);
00102 WHERE void AppendFileExtension(char *, char *);
00103 WHERE char *short_form(char *);
00104 WHERE char *truncate_path(char *, int);
00105 WHERE node *GetSelectedCamera(long cf, node *Sc);
00106 #undef WHERE
00107 
00108 #ifdef MODULE_LIBS
00109 #define WHERE
00110 #else
00111 #define WHERE extern
00112 #endif
00113 WHERE short RequestNumEntry(long val, long minval, long maxval,
00114                       char *title, char *message);
00115 WHERE int RequestCharString(int len, char *string, char *title);
00116 WHERE void EnableToolPannels(int what_one, BOOL status);
00117 WHERE void ActivateAllMenus(HWND hwnd, UINT fuFlags);
00118 WHERE int SelectScrolledItemList(int, char **, char *, BOOL, HWND);
00119 WHERE int SelectItemList(int n, char **list, char *title);
00120 WHERE int SelectItems(int n, char **list, char *title, int where);
00121 WHERE PSTR FileInPath(PSTR pstrPath);
00122 WHERE void GetTriview(BOOL reset);
00123 WHERE void ( *GetWorldCoords)(int W, long *x, long *y,
00124                              long *z, int hpos, int vpos);
00125 WHERE void ( *GetWindowCoords)(int W, long x, long y,
00126                              long z,  int *hpos,  int *vpos);
00127 WHERE void SetUpWindowBoxView(int view);
00128 WHERE void DrawOne3dCursor(HDC hdc, int i);
00129 WHERE void Draw3dCursor(void);
00130 WHERE void Move3dCursor(int stor, int xw, int yw);
00131 WHERE void LoadArrowIcons(void);
00132 WHERE void DrawArrowIcons(HDC hdc, int id);
00133 WHERE int CheckWindowIcon(int xi, int yi);
00134 WHERE void InvertWindowIcon(int i, HWND hwnd);
00135 WHERE int CheckViewWindowIcon(int xi, int yi);
00136 WHERE void InvertViewWindowIcon(int i, HWND hwnd);
00137 WHERE void DeleteArrowIcons(void);
00138 WHERE void SwapViewBitmaps(void);
00139 WHERE void UpdateRuler(short );
00140 WHERE void SetUpGrid(void);
00141 WHERE int Read3Reals(char *title, double *r1, double *r2, double *r3,
00142                      int list);
00143 WHERE void DrawGrid(HDC hdc[]);
00144 WHERE void SetColour(unsigned char colour[], char *Title, HWND parent);
00145 WHERE void SetSfxColour(unsigned char colour[], long ID, HWND parent);
00146 WHERE void PaintDialogBackground(HWND hDlg, HINSTANCE hInst);
00147 WHERE void scal(double t[4][4], double sx, double sy, double sz);
00148 WHERE void rotz(double tr[4][4], double ang);
00149 WHERE void roty(double tr[4][4], double ang);
00150 WHERE void rotx(double tr[4][4], double ang);
00151 WHERE void tram(double t[4][4], double dx, double dy, double dz);
00152 WHERE void m4by4(double t1[4][4], double t2[4][4], double tr[4][4]);
00153 WHERE void m4by1(double t4[4][4], double x, double y, double z,
00154                  double *xx, double *yy, double *zz);
00155 WHERE void null_transform(double t[4][4]);
00156 WHERE void c4to4(double tin[4][4], double tout[4][4]);
00157 WHERE void arbitrary_rotate(double angle, point p1, point p2, double t[4][4]);
00158 WHERE void L_cross(point p1, point p2, point p3, point p4);
00159 #undef WHERE
00160 
00161 #ifdef MODULE_DRAW
00162 #define WHERE
00163 #else
00164 #define WHERE extern
00165 #endif
00166 WHERE void ScalePoint(double scalex, double scaley, double scalez,
00167                 point p, point r);
00168 WHERE void CopyPoint(point p1, point p2);
00169 WHERE void AddPoints(point p1, point p2, point result);
00170 WHERE void SubPoints(point p1, point p2, point result);
00171 WHERE short in_stage_triview(point vp);
00172 WHERE void get_centre_stage(point, point, point, point );
00173 WHERE void  Transform(long n ,point Ain[], point Aout[], point Offset,
00174                 double p, double t, double a, short im, double ima);
00175 WHERE double GetOffsetPosition(node *Np,object *Op,
00176                                long frame, double dframe,
00177                                point ObjectOffset);
00178 WHERE short GetTransform(short stacking,
00179              long frame, double dframe,
00180              node *Np, object *Op,
00181              point ObjectOffset, point TrackedOffset,
00182              double *phi, double *theta, double *alpha,
00183              double *sx,  double *sy,    double *sz,
00184              short *im, double *ima);
00185 WHERE void DrawArrow(HDC hdc[], point Offset,
00186                      double p, double t, double a,
00187                      short im, double ima, double scale);
00188 WHERE void DrawDirectionLine(HDC hdc[],
00189                point Offset,
00190                double p, double t, double a,
00191                short im, double ima, double scale);
00192 WHERE void DrawActorCentre(HDC hdc[],point v1,
00193                      double p, double t, double a,
00194                      short im, double ima, double scale);
00195 WHERE void DrawNode(HDC hDC[], node *Np, short status);
00196 WHERE void DrawInvertNode(HDC hDC[], node *Np, short status);
00197 WHERE void ReDrawStageDisplay(BOOL);
00198 WHERE void ReDrawQuickDisplay(BOOL);
00199 WHERE int CheckBoundingObject(int type, int ifd, int hx, int vy,
00200                object *Op, point Offset, double p,
00201                double t, double a, short im, double ima,
00202                double sx, double sy, double sz, double *dc);
00203 WHERE cameraparam *CalculateCameraProperties(node *Np, long frame, double dframe);
00204 #undef WHERE
00205 
00206 #ifdef MODULE_PATH
00207 #define WHERE
00208 #else
00209 #define WHERE extern
00210 #endif
00211 WHERE long SplinesP(double k[], double tau);
00212 WHERE double SplinesR(double k[], double tau);
00213 WHERE void SplinesK(double k[], long vl, long v1, long v2, long vn);
00214 WHERE void SplinesG(double k[], double xi, double xi1, double xig, double xig1);
00215 WHERE void DrawPath(HDC hdc[], object *Op, point Offset,
00216                     double p, double t, double a,
00217                     short im, double ima, short status);
00218 WHERE void ReversePathDirection(object *op);
00219 WHERE double PathLength(pathpoint *Ppp, short type, short Npoints);
00220 WHERE void PathInterp(double pathposition, pathpoint *Lpp,
00221                 pathpoint *Ppp, point ObjectOffset,
00222                 double distance, pathpoint *Fpp,
00223                 pathpoint *Epp, short type);
00224 WHERE object *GetPathPosition(node *Np, long frame, double dframe,
00225                         point ObjectOffset,
00226                         double *position0_1, double *lengthonpath);
00227 WHERE double *ReTweenVelocity(object *op, double *v,
00228                         int oldn, int newn,
00229                         double pathlength,
00230                         int copy);
00231 WHERE void EditPathMovement(short type);
00232 WHERE void GetPathPositionAtDistance(node *Np, object *Op, double d, point pout);
00233 #undef WHERE
00234 
00235 #ifdef MODULE_ANI_PRSP
00236 #define WHERE
00237 #else
00238 #define WHERE extern
00239 #endif
00240 WHERE void PerspectiveView(int smab, int DisplayType);
00241 WHERE void DrawPerspectiveView(int smab, int DisplayType,
00242                            HDC hDC, HWND hWnd, HPEN hPen);
00243 WHERE void DrawViewRobot(HDC hdcView, HBITMAP hbmView, HWND hWnd,
00244                           node *Np, int arm, int axis,
00245                           double ra, double ua, BOOL zoom, BOOL zoom_state);
00246 WHERE void FreePreview(void);
00247 WHERE int MakePreview(void);
00248 WHERE void StartPreviewPlayer(HWND hwnd);
00249 WHERE void StopPreviewPlayer(HWND hwnd);
00250 WHERE void MoveCtrlWindow(HWND, int, int, int, int, int, int );
00251 #undef WHERE
00252 
00253 #ifdef MODULE_TOOLS
00254 #define WHERE
00255 #else
00256 #define WHERE extern
00257 #endif
00258 WHERE void ExecuteActorsMenu(HWND);
00259 WHERE void DisengageTool(void);
00260 WHERE void EngageTool(int);
00261 WHERE int CheckClosestObject(int w,double *dmin,point vp,int hx,int vy,int r);
00262 WHERE BOOL PickClosestNode(int wid,int hx,int vy, BOOL pick_only);
00263 WHERE BOOL PickClosestPathPoint(int wid, int hx, int vy);
00264 WHERE object *PickNode(short type1, short type2);
00265 WHERE void SetNewPosition(long pX, long pY, long pZ, short abrel);
00266 WHERE void EnterGrabMode(void);
00267 WHERE void LeaveGrabMode(void);
00268 WHERE position *IsValidPosition(void);
00269 WHERE int StageGrabIdentify(void);
00270 WHERE void InstantStageGrab(void);
00271 WHERE void StageGrabOn(void);
00272 WHERE void StageGrabOff(short redraw);
00273 WHERE void StageGrab(short where, short which);
00274 WHERE void InstantStageRotate(void);
00275 WHERE void StageRotateOn(void);
00276 WHERE void RotateOff(long redraw);
00277 WHERE void StageRotate(long window_id);
00278 WHERE void StageStepRotate(int command);
00279 WHERE void Resize(void);
00280 WHERE void InstantStageXpnd(void);
00281 WHERE void SizeOff(short redraw);
00282 WHERE void StageSizeOn(void);
00283 WHERE void AnimatorUndo(void);
00284 WHERE void SnapTo(short option);
00285 WHERE void EditPathOn(void);
00286 WHERE void EditPathOff(short redraw);
00287 WHERE void AdjustPathTension(long window_id);
00288 WHERE void EditPath(void);
00289 WHERE void DrawActorTrack(HDC hdc[], short mode);
00290 WHERE void SwitchTrackerType(void);
00291 WHERE int ShiftKeyFrameActivate(int x, int y);
00292 WHERE void ShiftKeyFrameDeactivate(void);
00293 WHERE void ShiftKeyFrame(int x, int y);
00294 WHERE void ShifterOn(void);
00295 WHERE void ShifterOff(short redraw);
00296 WHERE void AnglerOn(void);
00297 WHERE void AnglerOff(short redraw);
00298 WHERE void AngleKeyFrame(int x, int y);
00299 WHERE void DrawActorRotations(HDC hdc [], short mode);
00300 WHERE BOOL PanToolDown(int , int , BOOL , BOOL, HWND);
00301 WHERE void PanToolMove(int , int , BOOL , BOOL, HWND);
00302 WHERE void PanToolUp(int , int , BOOL , BOOL, HWND);
00303 WHERE void ZoomView(int, int);
00304 WHERE void Zoom(int command, int redraw);
00305 WHERE void Zoom2(double fraction);
00306 #undef WHERE
00307 
00308 #ifdef MODULE_ROBOT
00309 #define WHERE
00310 #else
00311 #define WHERE extern
00312 #endif
00313 WHERE void DrawRobot(HDC hdc[], object *Op, point Offset, double p, double t
00314              , double a, short im, double ima
00315              , double sx, double sy, double sz, short status);
00316 WHERE void DrawFullRobot(HDC hdc[], object *Op, point Offset, double p, double t
00317                , double a, short im, double ima
00318                , double sx, double sy, double sz, short status);
00319 WHERE long GetRobotVolume(long n, skel *sp, vector c);
00320 WHERE void SkeletorOff(short redraw);
00321 WHERE void SkeletorOn(void);
00322 WHERE int Skeletor(void);
00323 WHERE void RobotTransform(point Offset, double p, double t, double a,
00324                           double sx, double sy, double sz,
00325                           short im, double ima, double RoboT[4][4]);
00326 WHERE void GetRobotScriptName(char *, long, short, char *);
00327 WHERE short RobotFileExists(char *);
00328 WHERE void  WriteRobot(object *, char *);
00329 WHERE short OpenRobotDirectory(char * script_file);
00330 WHERE void RemoveRobotDirectory(char *script_file);
00331 WHERE void InterpolateRobot(double mr, object *Op, object *LastOp);
00332 WHERE void UpdateRobot(object *Op);
00333 WHERE void ExportRobotSequence(node *Np);
00334 WHERE long ImportRobotSequence(long n, node *Np, char *filename,long firstframe, long lastframe);
00335 WHERE void SetRobotToWalkPath(node *Np);
00336 #undef WHERE
00337 
00338 #ifdef MODULE_SCRIPT
00339 #define WHERE
00340 #else
00341 #define WHERE extern
00342 #endif
00343 WHERE node *AddOnlyNewNode(HWND, long);
00344 WHERE void AddQuickActor(long);
00345 WHERE short AddCostumeTimeLine(node *Np);
00346 WHERE short EditObject(node *Np, short firstframe, short lastframe,
00347                        short in_script, short split);
00348 WHERE object *GetObjectAtFrame(node *Np, long frame);
00349 WHERE void GetTimelinesAtFrame(node *Np, long frame, object **o,
00350       position **p, align **a, size **s);
00351 WHERE short GetTimeGapAtFrame(node *Np, long frame,
00352                         short *start_gap, short *end_gap);
00353 WHERE BOOL ActorNameExists(HWND parent,node *this_node,char *name);
00354 WHERE void ShiftAllKeys(int allActors);
00355 WHERE void ShiftSelectedPositionAllKeys(void);
00356 WHERE void SetNumberOfFrames(short query);
00357 WHERE BOOL InsertFrames(BOOL type, long inf, long cf, long nf);
00358 WHERE BOOL DeleteRangeOfFrames(BOOL type, long inf, long cf, long nf);
00359 WHERE void MakeKey(char com, long frame, node *np);
00360 WHERE void NextKey(char com);
00361 WHERE short MakeControl(node *Np, char typ, HWND parent);
00362 WHERE short CheckForControl(node *Np, char typ);
00363 WHERE void EditPosition(node *Np, short firstframe, short lastframe,
00364                         short type, HWND parent);
00365 WHERE void EditAlign(node *Np, short firstframe, short lastframe,
00366                         short type, HWND parent);
00367 WHERE void EditSize(node *Np, short firstframe, short lastframe);
00368 WHERE short StartDefault(short what_function);
00369 WHERE void TimelineEditor(void);
00370 WHERE void DestroyTimelineEditor(void);
00371 WHERE void AutoUpdateKeyframerVpos(void);
00372 #undef WHERE
00373 
00374 #ifdef MODULE_PARTICLES
00375 #define WHERE
00376 #else
00377 #define WHERE extern
00378 #endif
00379 WHERE void InitialiseParticleSystem(ParticleSystem *ps);
00380 WHERE BOOL CALLBACK ParticleDlgProc(HWND hdlg,UINT msg,
00381                              WPARAM wparam,LPARAM lparam);
00382 #undef WHERE
00383 
00384 
00385 #ifdef MODULE_DIALOGS
00386 #define WHERE
00387 #else
00388 #define WHERE extern
00389 #endif
00390 WHERE long GetCharListID(char *item, char **list, long n);
00391 WHERE void LoadViewer(int);
00392 WHERE short EditGroundDialog(object *op, short in_script);
00393 WHERE short EditSkyDialog(sky *sp, int in_script);
00394 WHERE short EditDirectorDialog(director *dp, int in_script);
00395 WHERE short EditLightDialog(object *op, int in_script);
00396 WHERE short RequestEditSize(double *sx, double *sy, double *sz, size *xp, int d);
00397 WHERE short RequestEditLightSize(double *sx, double *sy, double *sz, size *xp, int d);
00398 WHERE short EditCameraSize(double *sx, double *sy, double *sz, size *xp, int d);
00399 WHERE BOOL CALLBACK RobotToolDlgProc(HWND hdlg,UINT msg,
00400                                  WPARAM wparam,LPARAM lparam);
00401 WHERE BOOL CALLBACK PathToolDlgProc(HWND hdlg,UINT msg,
00402                                  WPARAM wparam,LPARAM lparam);
00403 WHERE BOOL CALLBACK RotatorToolDlgProc(HWND hdlg,UINT msg,
00404                                  WPARAM wparam,LPARAM lparam);
00405 WHERE BOOL CALLBACK SizerToolDlgProc(HWND hdlg,UINT msg,
00406                                  WPARAM wparam,LPARAM lparam);
00407 WHERE BOOL CALLBACK SplineTweenDlgProc(HWND hdlg, UINT msg, WPARAM wparam,
00408                                      LPARAM lparam );
00409 WHERE BOOL CALLBACK SelectActorDlgProc(HWND hdlg,UINT msg,
00410                            WPARAM wparam,LPARAM lparam);
00411 WHERE BOOL CALLBACK SetFramesDlgProc(HWND hdlg,UINT msg,
00412                            WPARAM wparam,LPARAM lparam);
00413 WHERE BOOL CALLBACK InsertFramesDlgProc(HWND hdlg,UINT msg,
00414                            WPARAM wparam,LPARAM lparam);
00415 WHERE BOOL CALLBACK DeleteFramesDlgProc(HWND hdlg,UINT msg,
00416                            WPARAM wparam,LPARAM lparam);
00417 WHERE int SelectKeyMaker(void);
00418 WHERE BOOL CALLBACK EditObjectDlgProc(HWND hdlg,UINT msg,
00419                            WPARAM wparam,LPARAM lparam);
00420 WHERE BOOL CALLBACK EditObjectXipDlgProc(HWND hdlg,UINT msg,
00421                            WPARAM wparam,LPARAM lparam);
00422 WHERE BOOL CALLBACK ObjectTimelineDlgProc(HWND hdlg,UINT msg,
00423                            WPARAM wparam,LPARAM lparam);
00424 WHERE BOOL CALLBACK MorphSetDlgProc(HWND hdlg,UINT msg,
00425                            WPARAM wparam,LPARAM lparam);
00426 WHERE BOOL CALLBACK PathSetDlgProc(HWND hdlg,UINT msg,
00427                              WPARAM wparam,LPARAM lparam);
00428 WHERE BOOL CALLBACK EditXipDlgProc(HWND hdlg,UINT msg,
00429                           WPARAM wparam,LPARAM lparam);
00430 WHERE BOOL CALLBACK ShiftKeysDlgProc(HWND hdlg,UINT msg,
00431                           WPARAM wparam,LPARAM lparam);
00432 WHERE BOOL CALLBACK AboutDlgProc(HWND hdlg,UINT msg,
00433                           WPARAM wparam,LPARAM lparam);
00434 WHERE void PreferencesPropertyDlgProc(HWND hwndOwner);
00435 WHERE void LensSettings(void);
00436 WHERE void AnimationPlayer(int type, HWND hwnd);
00437 #undef WHERE
00438 
00439 #ifdef MODULE_PREFS
00440 #define WHERE
00441 #else
00442 #define WHERE extern
00443 #endif
00444 WHERE void LoadPreferences(void);
00445 WHERE void ActivatePreferences(void);
00446 #undef WHERE
00447 
00448 #ifdef MODULE_IK
00449 #define WHERE
00450 #else
00451 #define WHERE extern
00452 #endif
00453 WHERE void AssignIKchain(node *Np, long frame);
00454 WHERE void RemoveIKchain(node *Np, long frame);
00455 WHERE void RemoveAllIKchains(node *Np, long frame);
00456 #undef WHERE
00457 
00458 #ifdef MODULE_MENUHELP 
00459 #define WHERE
00460 #else
00461 #define WHERE extern
00462 #endif
00463 WHERE void LoadMenuHelpTable(HWND hwnd);
00464 WHERE UINT CheckMenuHelpData(UINT uItem);
00465 WHERE void DisplayMenuHelpData(HWND hwnd,UINT id);
00466 WHERE void FreeMenuHelpData(void);
00467 #undef WHERE
00468 
00469 #ifdef MODULE_WINDOWS
00470 #define WHERE
00471 #else
00472 #define WHERE extern
00473 #endif
00474 WHERE BOOL CreateMemoryWindows(void);
00475 WHERE void DeleteMemoryWindows(void);
00476 WHERE void FocusActiveWindow(HDC, BOOL );
00477 WHERE void SetWindowSize(int x, int y, int view, BOOL reset);
00478 WHERE void SwitchWindow(int button);
00479 WHERE void FormatScreen(void);
00480 WHERE void UpdateIconPositions(void);
00481 WHERE BOOL CursorInTriview(void);
00482 #undef WHERE
00483 
00484 #ifdef MODULE_SETUP
00485 #define WHERE
00486 #else
00487 #define WHERE extern
00488 #endif
00489 WHERE HPALETTE CreateAppPalette(int *, int *);
00490 WHERE void SetupStructures(void);
00491 WHERE void UpdateGLview(BOOL);
00492 WHERE BOOL EnableGLview(void);
00493 WHERE void StartGLview(BOOL first_time);
00494 WHERE void SendPrgmText(PSTR p);
00495 WHERE void SendPrgmHelpMessage(int id);
00496 WHERE void SendPrgmMessage(int idString,int where);
00497 WHERE void SetPrgmMessage(int idString, PSTR pstr);
00498 WHERE int  SendPrgmQuery(int idString, int response);
00499 WHERE void SendIconHelpMessage(int idString);
00500 WHERE void CloseUtilities(int);
00501 WHERE BOOL AnimatorStartup(UINT *);
00502 WHERE void AnimatorShutdown(void);
00503 WHERE BOOL SetupMainWindow(HANDLE inst, int cmdshow);
00504 #undef WHERE
00505 
00506 #ifdef MODULE_FILES
00507 #define WHERE
00508 #else
00509 #define WHERE extern
00510 #endif
00511 WHERE int SelectFileName(int save, char *szfile, char *szdir,
00512                    char *szTitle, char *szfilter, HWND parent);
00513 WHERE int SelectDirectoryName(char *szfile, char *szdir,
00514                    char *szTitle, char *szfilter, HWND parent);
00515 WHERE int SelectSfxFileName(int save, char *szfile, char *szdir,
00516                    long ID, char *szfilter, HWND parent);
00517 WHERE int SelectMorphFileName(char *szfile, char *szdir,
00518                    char *szTitle, char *szfilter, HWND parent);
00519 WHERE int SelectRobotFileName(char *szfile, char *szdir,
00520                    long ID, char *szfilter, HWND parent);
00521 
00522 #undef WHERE
00523 
00524 #ifdef MODULE_INFO
00525 #define WHERE
00526 #else
00527 #define WHERE extern
00528 #endif
00529 WHERE void UpdateSelectedActor(BOOL );
00530 WHERE void SelectedInfo(void);
00531 WHERE void SizeInfo(node *Np, short frame);
00532 WHERE void AlignInfo(node *Np, short frame);
00533 WHERE void PositionInfo(node *Np, short frame);
00534 WHERE void ActorInfo(node *Np, short frame);
00535 WHERE void CostumeInfo(object *, char *, char *, char *);
00536 WHERE void SkyInfo(node *Np, short frame);
00537 WHERE void DirectorCostumeInfo(node *, short, char *);
00538 WHERE void SkyCostumeInfo(node *, short , char *);
00539 #undef WHERE
00540 
00541 #ifdef MODULE_RAMIMAGE
00542 #define WHERE
00543 #else
00544 #define WHERE extern
00545 #endif
00546 WHERE void InitialiseRamImage(RAMIMAGE *im);
00547 WHERE BOOL LoadRamImage(RAMIMAGE *image, char *file);
00548 WHERE BOOL UnloadRamImage(RAMIMAGE *image);
00549 WHERE BOOL ReadRamImage(RAMIMAGE *image, FILE *fr);
00550 WHERE BOOL WriteRamImage(RAMIMAGE *image, FILE *fp);
00551 WHERE BOOL UnstoreRamImage(RAMIMAGE *Image, char *filename);
00552 WHERE void DisplayImageFromStore(RAMIMAGE *image, char *alternate);
00553 WHERE void EraseTempImageFiles(void);
00554 WHERE BOOL CopyRamImage(RAMIMAGE *dest,RAMIMAGE *source);
00555 WHERE void WriteTemporaryFileForScript(BOOL bSky, RAMIMAGE *image,
00556                                        char *temp_name, long *lastID);
00557 #undef WHERE
00558 
00559 #ifdef MODULE_WRITESCRIPT
00560 #define WHERE
00561 #else
00562 #define WHERE extern
00563 #endif
00564 WHERE BOOL MakeScript(long type, long nstep);
00565 WHERE BOOL ExportRobotKeyframes(void);
00566 #undef WHERE
00567 
00568 #ifdef MODULE_LOADER
00569 #define WHERE
00570 #else
00571 #define WHERE extern
00572 #endif
00573 WHERE char *R_GetEnv(char const *aa);
00574 WHERE void RestoreWhiteSpaces(char *s);
00575 WHERE void HideWhiteSpaces(char *s);
00576 WHERE short LoadAnimationFile(char *filename, BOOL unpack);
00577 WHERE short LoadMeshObject(char *FileName, object *Op, short report,
00578                       short check, short robot);
00579 WHERE pathpoint *LoadPath(short *pathtype, short *npathpoints, HWND parent);
00580 WHERE short SaveAnimationFile(char *filename, BOOL backup);
00581 WHERE void LoadAnimObject(node *, short, short, HWND);
00582 WHERE void SaveAnimFile(node *Np);
00583 WHERE void Save_UndoA(void);
00584 WHERE void Restore_UndoA(void);
00585 WHERE void ReplaceObjectFile(object *Lop, char *NewName);
00586 WHERE void ReplaceOneObjectFile(node *, object *Lop, char *);
00587 WHERE unsigned char getlon_H(HANDLE f, long * val);
00588 WHERE void outlng_s(long lng, FILE *);
00589 WHERE unsigned char getlon_s(long * val, FILE *f);
00590 WHERE void PackAnimationFile(void);
00591 WHERE void UnpackAnimationFile(void);
00592 #undef WHERE
00593 
00594 #ifdef MODULE_EXTERNALS
00595 #define WHERE
00596 #else
00597 #define WHERE extern
00598 #endif
00599 WHERE void DeleteEffect(object *op);
00600 WHERE void AddEffect(object *op, HWND parent);
00601 WHERE void EditActorEffect(object *op, HWND parent);
00602 WHERE HMODULE LoadEffectLibrary(char *name, object *op);
00603 WHERE void UnloadEffectLibrary(object *op);
00604 WHERE BOOL PrintImageFile(HWND hwnd);
00605 WHERE void DeleteImageProcess(XIP *Ip);
00606 WHERE XIP *CreateImageProcess(HWND parent);
00607 WHERE void EditImageProcess(HWND hdlg, XIP *Ip);
00608 WHERE char *EditObjectImageProcess(HWND parent, char *p);
00609 WHERE void StartExternGL(void);
00610 WHERE void ExecuteModeler(void);
00611 WHERE void UnloadRenderer(void);
00612 WHERE void LoadRenderer(int anim);
00613 WHERE void LoadUtility(char *, char *, int);
00614 WHERE BOOL MakeVRMLScript(short type);
00615 WHERE void LogOnMessage(void);
00616 #undef WHERE
00617 

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