Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. struct CSimpleCamera
  2. {
  3. CSimpleCameraVtbl *vfptr;
  4. NTempest::C3Vector m_position;
  5. NTempest::C33Matrix m_facing;
  6. float m_nearZ;
  7. float m_farZ;
  8. float m_fov;
  9. float m_aspect;
  10. };
  11.  
  12.  
  13. struct __cppobj CGCamera : CSimpleCamera
  14. {
  15. HMODEL__ *m_model;
  16. HCAMERA__ *m_modelCamera;
  17. NTempest::C34Matrix m_modelMatrix;
  18. unsigned __int64 m_target;
  19. float m_targetOffsetZ;
  20. int m_flags;
  21. unsigned __int64 m_relativeTo;
  22. $DBD13342A75BF90E531B107998BCD34D m_views[5];
  23. float m_distance;
  24. float m_yaw;
  25. float m_pitch;
  26. float m_roll;
  27. float m_yawOffset;
  28. float m_yawFreelookStart;
  29. unsigned int m_motionMask;
  30. unsigned int m_motionStart[6];
  31. unsigned int m_motionStop[6];
  32. unsigned int m_motionTimeout[6];
  33. NTempest::C3Vector m_lastTarget;
  34. float m_savedTargetZ;
  35. float m_lastFacing;
  36. unsigned int m_lastDeltaZ;
  37. float m_smoothingAngle;
  38. unsigned int m_zoomSmoothingTimestamp;
  39. float m_zoomTime;
  40. float m_desiredDistance;
  41. float m_previousDistance;
  42. unsigned int m_pitchSmoothingTimestamp;
  43. float m_pitchTime;
  44. float m_desiredPitch;
  45. float m_previousPitch;
  46. unsigned int m_yawSmoothingTimestamp;
  47. float m_yawTime;
  48. float m_desiredYaw;
  49. float m_previousYaw;
  50. int m_cycleDirection;
  51. unsigned int m_savedLiquid;
  52. TSList<CameraShake,TSGetLink<CameraShake> > m_shakes;
  53. };
  54.  
  55.  
  56. struct __cppobj __declspec(align(8)) CGWorldFrame : CSimpleFrame
  57. {
  58. TSList<CModelRecord,TSGetLink<CModelRecord> > m_models;
  59. TSList<CModelRecord,TSGetLink<CModelRecord> > m_filteredModels;
  60. TSList<CModelRecord,TSGetLink<CModelRecord> > m_freeModels;
  61. unsigned int m_spriteButtons;
  62. unsigned int m_terrainButtons;
  63. unsigned __int64 m_lastUnitFade;
  64. unsigned __int64 m_lastObjectTrack;
  65. float m_lastUpdateElapsedSec;
  66. float m_skyAnimDuration;
  67. unsigned __int32 m_renderPlayer : 1;
  68. unsigned __int32 m_freeLookMode : 1;
  69. NTempest::C44Matrix m_worldMatrix;
  70. unsigned int m_flags;
  71. float m_elapsedSec;
  72. char m_lastKey[780][32];
  73. CGCamera *m_camera;
  74. unsigned int m_updateTimeStamp;
  75. CGWorldFrame::PLAYERFADEMODE m_playerFadeMode;
  76. int m_playerAlpha;
  77. int m_cameraAlpha;
  78. int m_cameraAlphaChanged;
  79. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement