mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 06:23:26 +02:00
replace YAML with custom made library for reading text files named FML
This commit is contained in:
@@ -85,4 +85,11 @@ inline std::ostream& operator<<(std::ostream& out, const TPoint<T>& point)
|
||||
return out;
|
||||
}
|
||||
|
||||
template <class T>
|
||||
inline void operator>>(const FML::Node& node, TPoint<T>& point)
|
||||
{
|
||||
*node.at(0) >> point.x;
|
||||
*node.at(1) >> point.y;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user