mirror of
https://github.com/swarm-game/swarm.git
synced 2024-08-17 10:30:31 +03:00
switch from U+2591 Light Shade to U+2592 Medium Shade (#449)
Some terminals (*e.g.* `gnome-terminal`) use the character to decide how dark or light the color should be, rather than showing the character itself (like *e.g.* `rxvt-unicode`). Light Shade looks OK in terminals that display the actual character, but too dark in terminals that use it as a brightness hint. Medium Shade seems to look good (at least, IMO) in both. See https://github.com/swarm-game/swarm/issues/196#issuecomment-1147298159 .
This commit is contained in:
parent
389e3b7940
commit
8b8c16a71b
@ -1,9 +1,9 @@
|
||||
v
|
||||
|
||||
v<^vv<<@ ^^ vv >^v^T ^^^v< <>< v >
|
||||
T ^< >^ < >> v> v< >T <v> <<░^ @><>
|
||||
T ^< >^ < >> v> v< >T <v> <<▒^ @><>
|
||||
<@v^^>> @v > <T <v<T<^^> v><v< << <<T^ v<
|
||||
> >> v@ @@> << ~v < >~ ^~ >> @^ >v
|
||||
>>^v^^^ < ~ T~v v< <~ >>T <v vv ░>
|
||||
░
|
||||
>>^v^^^ < ~ T~v v< <~ >>T <v vv ▒>
|
||||
▒
|
||||
^ ^ v > >
|
||||
|
@ -8,7 +8,7 @@ main = do
|
||||
txt' <- (traverse . traverse) replace txt
|
||||
writeFile "logo.txt" (unlines txt')
|
||||
|
||||
chars = "<^>vT~@░ "
|
||||
chars = "<^>vT~@▒ "
|
||||
|
||||
replace :: Char -> IO Char
|
||||
replace ' ' = pick $ zip (replicate 8 0.005 ++ [1]) chars
|
||||
|
@ -1,9 +1,9 @@
|
||||
v
|
||||
|
||||
v<^vv<<@ ^^ vv >^v^T ^^^v< <>< v >
|
||||
T ^< >^ < >> v> v< >T <v> <<░^ @><>
|
||||
T ^< >^ < >> v> v< >T <v> <<▒^ @><>
|
||||
<@v^^>> @v > <T <v<T<^^> v><v< << <<T^ v<
|
||||
> >> v@ @@> << ~v < >~ ^~ >> @^ >v
|
||||
>>^v^^^ < ~ T~v v< <~ >>T <v vv ░>
|
||||
░
|
||||
>>^v^^^ < ~ T~v v< <~ >>T <v vv ▒>
|
||||
▒
|
||||
^ ^ v > >
|
||||
|
@ -51,9 +51,9 @@ displayTerrain t = displayWidget Nothing (terrainMap ! t)
|
||||
terrainMap :: Map TerrainType Display
|
||||
terrainMap =
|
||||
M.fromList
|
||||
[ (StoneT, defaultTerrainDisplay '░' rockAttr)
|
||||
, (DirtT, defaultTerrainDisplay '░' dirtAttr)
|
||||
, (GrassT, defaultTerrainDisplay '░' grassAttr)
|
||||
[ (StoneT, defaultTerrainDisplay '▒' rockAttr)
|
||||
, (DirtT, defaultTerrainDisplay '▒' dirtAttr)
|
||||
, (GrassT, defaultTerrainDisplay '▒' grassAttr)
|
||||
, (IceT, defaultTerrainDisplay ' ' iceAttr)
|
||||
, (BlankT, defaultTerrainDisplay ' ' defAttr)
|
||||
]
|
||||
|
@ -114,7 +114,7 @@ drawLogo = centerLayer . vBox . map (hBox . T.foldr (\c ws -> drawThing c : ws)
|
||||
attrFor 'T' = plantAttr
|
||||
attrFor '@' = rockAttr
|
||||
attrFor '~' = waterAttr
|
||||
attrFor '░' = dirtAttr
|
||||
attrFor '▒' = dirtAttr
|
||||
attrFor _ = defAttr
|
||||
|
||||
drawNewGameMenuUI :: NonEmpty (BL.List Name ScenarioItem) -> Widget Name
|
||||
|
Loading…
Reference in New Issue
Block a user