22 #ifndef ULTIMA8_WORLD_CAMERAPROCESS_H 23 #define ULTIMA8_WORLD_CAMERAPROCESS_H 25 #include "ultima/ultima8/kernel/process.h" 26 #include "ultima/ultima8/usecode/intrinsics.h" 27 #include "ultima/ultima8/misc/classtype.h" 28 #include "ultima/ultima8/misc/point3.h" 50 ENABLE_RUNTIME_CLASSTYPE()
55 Point3 GetLerped(int32 factor,
bool noupdate =
false);
72 INTRINSIC(I_setCenterOn);
74 INTRINSIC(I_scrollTo);
75 INTRINSIC(I_startQuake);
76 INTRINSIC(I_stopQuake);
77 INTRINSIC(I_getCameraX);
78 INTRINSIC(I_getCameraY);
79 INTRINSIC(I_getCameraZ);
81 static Point3 GetCameraLocation();
92 static void ResetCameraProcess();
94 static void SetEarthquake(int32 e) {
96 if (!e) _eqX = _eqY = 0;
107 uint16 getTrackedItem()
const {
121 static int32 _earthquake;
122 static int32 _eqX, _eqY;
static uint16 SetCameraProcess(CameraProcess *)
void saveData(Common::WriteStream *ws) override
save Process data
Definition: camera_process.h:41
Definition: detection.h:27
void moveToLocation(int32 x, int32 y, int32 z)
void terminate() override
terminate the process. This wakes up all processes waiting for it.
uint16 findRoof(int32 factor)