19 *cameraPosYPtr = 1227;
29 *cameraPosYPtr = 2199;
41 *cameraPosXPtr = 1812;
42 *cameraPosYPtr = 2250;
52 *cameraPosXPtr = 1566;
53 *cameraPosYPtr = 1167;
66 *cameraPosXPtr = 1287;
67 *cameraPosYPtr = 1677;
83 if (*xCoordinate > 910)
96 if (*yCoordinate > 550)
102 *yCoordinate += 3.0f;
108 if (*yCoordinate < 2250)
110 *yCoordinate += 3.0f;
114 *yCoordinate -= 3.0f;
121 if (*xCoordinate < 1815)
123 *xCoordinate += 3.0f;
127 *xCoordinate -= 3.0f;
134 if (*yCoordinate > 550)
136 *yCoordinate -= 3.0f;
140 *yCoordinate += 3.0f;
146 if (*yCoordinate < 2250)
148 *yCoordinate += 3.0f;
152 *yCoordinate -= 3.0f;
160 if (*yCoordinate > 550)
162 *yCoordinate -= 3.0f;
166 *yCoordinate += 3.0f;
171 if (*yCoordinate < 2250)
173 *yCoordinate += 3.0f;
177 *yCoordinate -= 3.0f;
182 if (*xCoordinate > 910)
184 *xCoordinate -= 3.0f;
188 *xCoordinate += 3.0f;
193 if (*xCoordinate < 1815)
195 *xCoordinate += 3.0f;
199 *xCoordinate -= 3.0f;
void updateCameraPos(float *xCoordinate, float *yCoordinate)
Update camera position.
void setInitialCameraPos(float *cameraPosXPtr, float *cameraPosYPtr, int num)
Set the camera's intial positon based on the starter city's index.
RLAPI bool IsKeyDown(int key)