1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 08:45:00 +01:00

upgrade to VS2015 compiler

This commit is contained in:
IntelOrca
2015-08-03 23:16:30 +01:00
parent 36b579ad66
commit cac0f2ab52
14 changed files with 34 additions and 38 deletions

View File

@@ -21,6 +21,8 @@
#ifndef _PLATFORM_H_
#define _PLATFORM_H_
#define HAVE_MATH_H
#include <SDL.h>
#include "../common.h"

View File

@@ -18,8 +18,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*****************************************************************************/
#include <math.h>
#include <SDL.h>
#include "../addresses.h"
#include "../config.h"
#include "../cursors.h"
@@ -791,18 +789,6 @@ static void platform_load_cursors()
RCT2_GLOBAL(0x14241BC, uint32) = 0;
}
/**
*
* rct2: 0x00407D80
*/
int platform_get_cursor_pos(int* x, int* y)
{
POINT point;
GetCursorPos(&point);
*x = point.x;
*y = point.y;
}
void platform_refresh_video()
{
int width = RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_WIDTH, uint16);