OpenRCT2/src/world/map_animation.h

60 lines
1.8 KiB
C

/*****************************************************************************
* 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 _MAP_ANIMATION_H_
#define _MAP_ANIMATION_H_
#include "../common.h"
/**
* Animated object
* size: 0x06
*/
typedef struct {
uint8 baseZ;
uint8 type;
uint16 x;
uint16 y;
} rct_map_animation;
enum {
MAP_ANIMATION_TYPE_RIDE_ENTRANCE,
MAP_ANIMATION_TYPE_QUEUE_BANNER,
MAP_ANIMATION_TYPE_SMALL_SCENERY,
MAP_ANIMATION_TYPE_PARK_ENTRANCE,
MAP_ANIMATION_TYPE_TRACK_WATERFALL,
MAP_ANIMATION_TYPE_TRACK_RAPIDS,
MAP_ANIMATION_TYPE_TRACK_ONRIDEPHOTO,
MAP_ANIMATION_TYPE_TRACK_WHIRLPOOL,
MAP_ANIMATION_TYPE_TRACK_SPINNINGTUNNEL,
MAP_ANIMATION_TYPE_REMOVE,
MAP_ANIMATION_TYPE_BANNER,
MAP_ANIMATION_TYPE_LARGE_SCENERY,
MAP_ANIMATION_TYPE_WALL_UNKNOWN,
MAP_ANIMATION_TYPE_WALL,
MAP_ANIMATION_TYPE_COUNT
};
extern rct_map_animation *gAnimatedObjects;
void map_animation_create(int type, int x, int y, int z);
void map_animation_invalidate_all();
#endif