3DWRAP.H
上传用户:abcdshs
上传日期:2007-01-07
资源大小:1858k
文件大小:2k
源码类别:

游戏

开发平台:

Visual C++

  1. // (C) Copyright 1996 by Anthony J. Carin.  All Rights Reserved.
  2. #ifndef _3DWRAP_H
  3. #define _3DWRAP_H
  4. #include "launch.h"
  5. class landscape;
  6. class DudesWrapper
  7. {
  8. public:
  9.     DudesWrapper();
  10.     virtual ~DudesWrapper();
  11. short            Centx();
  12. void             SetCentx(short x);
  13. short            Centy();
  14. void             SetCenty(short y);
  15. short            Cx();
  16. short            Cy();
  17. void             SetCx(short x);
  18. void             SetCy(short x);
  19. short            Detail();
  20. void             SetDetail(short d);
  21. coordinate&      Aim();
  22. short            LevelNum();
  23. void             SetLevelNum(short l);
  24. levels          *LevelPtr();
  25. drawqueue       *DrawQueue();
  26. personal        *Hero();
  27. floortype       *Floor();
  28. tc3dtools       *Tool3d();
  29. bmplist         *Bmpsurfs();
  30. highlist        *HighAreas();
  31. landscapelist   *Landscapes();
  32. void             SetLevelPtr(levels *p);
  33. void             SetDrawQueue(drawqueue *p);
  34. void             SetHero(personal *p);
  35. void             SetHero(personal& p);
  36. void             SetFloor(floortype *p);
  37. void             SetTool3d(tc3dtools *p);
  38. void             SetBmpsurfs(bmplist *p);
  39. void             SetHighAreas(highlist *p);
  40. void             SetLandscapes(landscapelist *p);
  41. char             Motionless();
  42. void             NowMotionless();
  43. void             NotMotionless();
  44. char             IsPaused();
  45. void             PauseOn();
  46. void             PauseOff();
  47. viewmodetype     Viewmode();
  48. void             SetViewmode(viewmodetype v);
  49. float            Sintable(int i);
  50. float            Costable(int i);
  51. void             NewGame();
  52. void             InitLaunch();
  53. void             Launch();
  54. void             CleanUp();
  55. void             createlevel(short level);
  56. char             nextlevelexists();
  57. void             NewLandscape(CString& s);
  58. void             NewGateway(CString& s);
  59. void             NewDudeholder(CString& s);
  60. void             NewTeleporter(short s);
  61. void             NewWeaponholder(int s);
  62. landscape       *LastLandscape();
  63. HDC              hdc;
  64. HGLRC            hrc;
  65. HWND             hwnd;
  66. private:
  67.     HWND ghwnd;
  68.     char wndcreated;
  69.     global *m_g;
  70. };
  71. extern DudesWrapper *Game;
  72. #endif