2022-05-31 23:30:21 +00:00
|
|
|
/*
|
|
|
|
* This file is part of OpenTTD.
|
|
|
|
* OpenTTD 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, version 2.
|
|
|
|
* OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** @file newgrf_industrytiles_analysis.h NewGRF handling of industry tiles: analysis. */
|
|
|
|
|
|
|
|
#ifndef NEWGRF_INDUSTRYTILES_ANALYSIS_H
|
|
|
|
#define NEWGRF_INDUSTRYTILES_ANALYSIS_H
|
|
|
|
|
|
|
|
#include "industrytype.h"
|
|
|
|
|
|
|
|
struct AnalyseCallbackOperationIndustryTileData {
|
|
|
|
const IndustryTileLayout *layout;
|
2024-01-07 16:41:53 +00:00
|
|
|
uint64_t check_mask;
|
|
|
|
uint64_t *result_mask;
|
|
|
|
uint8_t layout_index;
|
2022-05-31 23:30:21 +00:00
|
|
|
bool anim_state_at_offset;
|
2023-12-07 01:51:47 +00:00
|
|
|
bool check_anim_next_frame_cb;
|
2022-05-31 23:30:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* NEWGRF_INDUSTRYTILES_ANALYSIS_H */
|