2014-04-02 01:31:55 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* Copyright (c) 2014 Ted John
|
|
|
|
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
|
2015-10-20 20:16:30 +02:00
|
|
|
*
|
2014-04-02 01:31:55 +02:00
|
|
|
* This file is part of 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.
|
|
|
|
|
|
|
|
* 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/>.
|
|
|
|
*****************************************************************************/
|
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
|
|
|
|
|
|
|
extern sint32 gTitleScriptCommand;
|
|
|
|
extern uint8 gTitleScriptSave;
|
|
|
|
extern sint32 gTitleScriptSkipTo;
|
|
|
|
extern sint32 gTitleScriptSkipLoad;
|
|
|
|
|
2014-04-03 04:08:06 +02:00
|
|
|
void title_load();
|
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();
|
2015-07-04 21:00:32 +02:00
|
|
|
void DrawOpenRCT2(int x, int y);
|
2014-04-02 01:31:55 +02:00
|
|
|
|
2014-04-21 11:27:48 +02:00
|
|
|
#endif
|