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:
@@ -21,6 +21,8 @@
|
||||
#ifndef _PLATFORM_H_
|
||||
#define _PLATFORM_H_
|
||||
|
||||
#define HAVE_MATH_H
|
||||
|
||||
#include <SDL.h>
|
||||
|
||||
#include "../common.h"
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user