1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

clean up header files, keep windows.h for MAX_PATH

This commit is contained in:
atmaxinger
2014-05-27 19:22:06 +02:00
parent cdee1dddea
commit 66e6dfc3f9
3 changed files with 6 additions and 6 deletions

View File

@@ -19,14 +19,12 @@
*****************************************************************************/
#include <stdio.h>
#include <shlobj.h>
#include <windows.h>
#include <tchar.h>
#include <SDL_keycode.h>
#include <ctype.h>
#include "addresses.h"
#include "config.h"
#include "rct2.h"
#include <tchar.h>
#include "osinterface.h"
@@ -201,7 +199,7 @@ void config_save()
fp = fopen(get_file_path(PATH_ID_GAMECFG), "wb");
if (fp != NULL){
fwrite(&MagicNumber, 4, 1, fp);
fwrite((LPCVOID)0x009AAC5C, 2155, 1, fp);
fwrite((void*)0x009AAC5C, 2155, 1, fp);
fclose(fp);
}
}

View File

@@ -21,8 +21,8 @@
#ifndef _CONFIG_H_
#define _CONFIG_H_
#include <windows.h>
#include "rct2.h"
#include <Windows.h> // for MAX_PATH
enum {
CONFIG_FLAG_ALWAYS_SHOW_GRIDLINES = (1 << 0),

View File

@@ -30,6 +30,8 @@
#include "string_ids.h"
#include "window_error.h"
#include <Windows.h> // For MAX_PATH
static int screenshot_dump_bmp();
static int screenshot_dump_png();