2014-04-02 01:31:55 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* Copyright (c) 2014 Ted John
|
|
|
|
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
|
|
|
|
*
|
|
|
|
* This file is part of OpenRCT2.
|
|
|
|
*
|
|
|
|
* OpenRCT2 is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _SDL_RCT2_H_
|
|
|
|
#define _SDL_RCT2_H_
|
|
|
|
|
2014-04-04 20:59:32 +02:00
|
|
|
#include <stddef.h>
|
2014-04-03 04:08:06 +02:00
|
|
|
|
2014-04-02 01:31:55 +02:00
|
|
|
typedef signed char sint8;
|
|
|
|
typedef signed short sint16;
|
|
|
|
typedef signed long sint32;
|
|
|
|
typedef signed long long sint64;
|
|
|
|
typedef unsigned char uint8;
|
|
|
|
typedef unsigned short uint16;
|
|
|
|
typedef unsigned long uint32;
|
|
|
|
typedef unsigned long long uint64;
|
|
|
|
|
|
|
|
void rct2_finish();
|
|
|
|
|
2014-04-03 01:22:33 +02:00
|
|
|
enum {
|
|
|
|
SCREEN_FLAGS_PLAYING = 0,
|
|
|
|
SCREEN_FLAGS_TITLE_DEMO = 1,
|
|
|
|
SCREEN_FLAGS_SCENARIO_EDITOR = 2,
|
|
|
|
SCREEN_FLAGS_TRACK_DESIGNER = 4,
|
|
|
|
SCREEN_FLAGS_TRACK_MANAGER = 8,
|
|
|
|
};
|
|
|
|
|
2014-04-04 20:59:32 +02:00
|
|
|
enum {
|
|
|
|
PATH_ID_G1,
|
|
|
|
PATH_ID_PLUGIN,
|
|
|
|
PATH_ID_CSS1,
|
|
|
|
PATH_ID_CSS2,
|
|
|
|
PATH_ID_CSS4,
|
|
|
|
PATH_ID_CSS5
|
|
|
|
};
|
|
|
|
|
|
|
|
char *get_file_path(int pathId);
|
|
|
|
void *rct2_malloc(size_t numBytes);
|
2014-04-06 18:45:09 +02:00
|
|
|
void *rct2_realloc(void *block, size_t numBytes);
|
|
|
|
void rct2_free(void *block);
|
2014-04-04 20:59:32 +02:00
|
|
|
|
2014-04-02 01:31:55 +02:00
|
|
|
#endif
|