2014-10-10 23:50:22 +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 _BANNER_H_
|
|
|
|
#define _BANNER_H_
|
|
|
|
|
|
|
|
#include "../common.h"
|
|
|
|
|
|
|
|
#define MAX_BANNERS 250
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
uint8 var_00;
|
2014-10-21 18:59:47 +02:00
|
|
|
uint8 flags; //bit 0 is no entry
|
|
|
|
rct_string_id string_idx; //0x02
|
|
|
|
uint8 colour; //0x04
|
|
|
|
uint8 text_colour; //0x05
|
|
|
|
uint8 x; //0x06
|
|
|
|
uint8 y; //0x07
|
2014-10-10 23:50:22 +02:00
|
|
|
} rct_banner;
|
|
|
|
|
2014-10-21 18:59:47 +02:00
|
|
|
enum{
|
|
|
|
BANNER_FLAG_NO_ENTRY = (1<<0)
|
|
|
|
} BANNER_FLAGS;
|
|
|
|
|
2014-10-10 23:50:22 +02:00
|
|
|
extern rct_banner *gBanners;
|
|
|
|
|
|
|
|
#endif
|