2016-05-04 19:24:41 +02:00
|
|
|
#pragma region Copyright (c) 2014-2016 OpenRCT2 Developers
|
2014-04-02 01:31:55 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
|
2015-10-20 20:16:30 +02:00
|
|
|
*
|
2016-05-04 19:24:41 +02:00
|
|
|
* OpenRCT2 is the work of many authors, a full list can be found in contributors.md
|
|
|
|
* For more information, visit https://github.com/OpenRCT2/OpenRCT2
|
2015-10-20 20:16:30 +02:00
|
|
|
*
|
2014-04-02 01:31:55 +02:00
|
|
|
* 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.
|
2016-05-04 19:24:41 +02:00
|
|
|
*
|
|
|
|
* A full copy of the GNU General Public License can be found in licence.txt
|
2014-04-02 01:31:55 +02:00
|
|
|
*****************************************************************************/
|
2016-05-04 19:24:41 +02:00
|
|
|
#pragma endregion
|
2015-10-20 20:16:30 +02:00
|
|
|
|
2014-04-02 01:31:55 +02:00
|
|
|
#ifndef _TITLE_H_
|
|
|
|
#define _TITLE_H_
|
|
|
|
|
2015-08-29 14:12:52 +02:00
|
|
|
#include <SDL.h>
|
|
|
|
|
2015-06-24 18:22:12 +02:00
|
|
|
enum {
|
|
|
|
TITLE_SCRIPT_WAIT,
|
|
|
|
TITLE_SCRIPT_LOADMM,
|
|
|
|
TITLE_SCRIPT_LOCATION,
|
|
|
|
TITLE_SCRIPT_ROTATE,
|
|
|
|
TITLE_SCRIPT_ZOOM,
|
|
|
|
TITLE_SCRIPT_RESTART,
|
|
|
|
TITLE_SCRIPT_LOAD,
|
|
|
|
TITLE_SCRIPT_END,
|
2015-06-25 17:19:23 +02:00
|
|
|
TITLE_SCRIPT_SPEED,
|
2015-06-24 18:22:12 +02:00
|
|
|
TITLE_SCRIPT_LOOP,
|
2016-01-01 17:30:18 +01:00
|
|
|
TITLE_SCRIPT_ENDLOOP,
|
|
|
|
TITLE_SCRIPT_LOADRCT1,
|
2015-12-16 21:48:27 +01:00
|
|
|
};
|
2015-06-24 18:22:12 +02:00
|
|
|
|
2016-09-25 01:09:55 +02:00
|
|
|
extern bool gTitleHideVersionInfo;
|
|
|
|
|
2015-06-24 18:22:12 +02:00
|
|
|
extern sint32 gTitleScriptCommand;
|
|
|
|
extern uint8 gTitleScriptSave;
|
|
|
|
extern sint32 gTitleScriptSkipTo;
|
|
|
|
extern sint32 gTitleScriptSkipLoad;
|
|
|
|
|
2014-04-03 04:08:06 +02:00
|
|
|
void title_load();
|
2016-09-25 01:09:55 +02:00
|
|
|
void title_create_windows();
|
2014-04-02 01:31:55 +02:00
|
|
|
void title_update();
|
2015-06-24 18:22:12 +02:00
|
|
|
void title_skip_from_beginning();
|
2015-08-29 14:12:52 +02:00
|
|
|
void title_script_get_line(SDL_RWops *file, char *parts);
|
2015-06-24 18:22:12 +02:00
|
|
|
bool title_refresh_sequence();
|
2015-11-03 20:20:13 +01:00
|
|
|
void title_fix_location();
|
2016-06-05 16:11:12 +02:00
|
|
|
void DrawOpenRCT2(rct_drawpixelinfo *dpi, int x, int y);
|
2014-04-02 01:31:55 +02:00
|
|
|
|
2014-04-21 11:27:48 +02:00
|
|
|
#endif
|