1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Split some map object files into smaller files. Reduced includes usage.

This commit is contained in:
Ivan Savenko
2023-06-02 21:47:37 +03:00
parent b04b11b9d1
commit d6a357fd17
116 changed files with 1864 additions and 1593 deletions

View File

@ -0,0 +1,28 @@
/*
* SObjectSounds.h, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
* License: GNU General Public License v2.0 or later
* Full text of license available in license.txt file, in main folder
*
*/
#pragma once
VCMI_LIB_NAMESPACE_BEGIN
struct SObjectSounds
{
std::vector<std::string> ambient;
std::vector<std::string> visit;
std::vector<std::string> removal;
template <typename Handler> void serialize(Handler &h, const int version)
{
h & ambient;
h & visit;
h & removal;
}
};
VCMI_LIB_NAMESPACE_END