1 /* 2 * See Licensing and Copyright notice in naev.h 3 */ 4 5 6 #ifndef CAMERA_H 7 # define CAMERA_H 8 9 10 #define CAMERA_DEFSPEED 2500 /**< Default camera speed. */ 11 12 13 /* 14 * Get values. 15 */ 16 double cam_getZoom (void); 17 double cam_getZoomTarget (void); 18 void cam_getPos( double *x, double *y ); 19 int cam_getTarget( void ); 20 21 22 /* 23 * Set targets. 24 */ 25 void cam_setZoom( double zoom ); 26 void cam_setZoomTarget( double zoom ); 27 void cam_setTargetPilot( unsigned int follow, int soft_over ); 28 void cam_setTargetPos( double x, double y, int soft_over ); 29 30 31 /* 32 * Update. 33 */ 34 void cam_update( double dt ); 35 36 37 #endif /* CAMERA_H */ 38 39