it's better to use static const within namespace. For example:
namespace islands_types
{
           static const char water = '~';
           static const char earth = 'o';
           static const char visited = '.';
}