1 /* !!!! GENERATED FILE - DO NOT EDIT !!!! 2 * -------------------------------------- 3 * 4 * This file is part of liblcf. Copyright (c) 2021 liblcf authors. 5 * https://github.com/EasyRPG/liblcf - https://easyrpg.org 6 * 7 * liblcf is Free/Libre Open Source Software, released under the MIT License. 8 * For the full copyright and license information, please view the COPYING 9 * file that was distributed with this source code. 10 */ 11 12 // Headers 13 #include "lcf/ldb/reader.h" 14 #include "lcf/ldb/chunks.h" 15 #include "reader_struct_impl.h" 16 17 namespace lcf { 18 19 // Read AnimationFrame. 20 21 template <> 22 char const* const Struct<rpg::AnimationFrame>::name = "AnimationFrame"; 23 static TypedField<rpg::AnimationFrame, std::vector<rpg::AnimationCellData>> static_cells( 24 &rpg::AnimationFrame::cells, 25 LDB_Reader::ChunkAnimationFrame::cells, 26 "cells", 27 1, 28 0 29 ); 30 31 32 template <> 33 Field<rpg::AnimationFrame> const* Struct<rpg::AnimationFrame>::fields[] = { 34 &static_cells, 35 NULL 36 }; 37 38 template class Struct<rpg::AnimationFrame>; 39 40 } //namespace lcf 41