mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Use enum instead of mix of bool's and int's for tile reveal
This commit is contained in:
@@ -250,4 +250,10 @@ enum class EBattleResult : int8_t
|
||||
SURRENDER = 2,
|
||||
};
|
||||
|
||||
enum class ETileVisibility : int8_t // Fog of war change
|
||||
{
|
||||
HIDDEN,
|
||||
REVEALED
|
||||
};
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
||||
Reference in New Issue
Block a user