Skip to content

Commit

Permalink
some night-time village images (#2084)
Browse files Browse the repository at this point in the history
* some night-time village images

* more variations, and revision to VILLAGE_TOD macro

* lights for swamp villages
  • Loading branch information
doofus-01 committed Oct 9, 2017
1 parent c499d89 commit 0cce7c8
Show file tree
Hide file tree
Showing 46 changed files with 25 additions and 12 deletions.
Binary file added data/core/images/terrain/village/desert-night.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/core/images/terrain/village/elven-night.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/core/images/terrain/village/elven2-night.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/core/images/terrain/village/elven3-night.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified data/core/images/terrain/village/human-cottage-ruin3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/core/images/terrain/village/human-night.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/core/images/terrain/village/human2-night.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/core/images/terrain/village/human3-night.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified data/core/images/terrain/village/human3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/core/images/terrain/village/human4-night.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/core/images/terrain/village/hut-night.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified data/core/images/terrain/village/hut.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/core/images/terrain/village/hut2-night.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified data/core/images/terrain/village/hut2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/core/images/terrain/village/hut3-night.png
Binary file added data/core/images/terrain/village/hut3.png
Binary file added data/core/images/terrain/village/hut4-night.png
Binary file added data/core/images/terrain/village/hut4.png
Binary file added data/core/images/terrain/village/orc-night.png
Binary file modified data/core/images/terrain/village/orc.png
Binary file added data/core/images/terrain/village/orc2-night.png
Binary file modified data/core/images/terrain/village/orc3.png
Binary file added data/core/images/terrain/village/orc4-night.png
Binary file added data/core/images/terrain/village/orc5-night.png
Binary file added data/core/images/terrain/village/orc5.png
26 changes: 16 additions & 10 deletions data/core/terrain-graphics.cfg
Expand Up @@ -268,6 +268,7 @@ C*,K*,X*,Q*,W*,Ai,M*,*^V*,*^B*,_off^_usr#enddef
# top of both 'base' and 'overlay'

#Human villages
{NEW:VILLAGE_TOD *^Vh village/human}
{NEW:VILLAGE *^Vh village/human}
{NEW:VILLAGE *^Vha village/human-snow}
{NEW:VILLAGE *^Vhr village/human-cottage-ruin}
Expand All @@ -276,6 +277,7 @@ C*,K*,X*,Q*,W*,Ai,M*,*^V*,*^B*,_off^_usr#enddef
{NEW:VILLAGE *^Vhha village/human-snow-hills}
{NEW:VILLAGE *^Vhhr village/human-hills-ruin}

{NEW:VILLAGE_TOD *^Vhc village/human-city}
{NEW:VILLAGE *^Vhc village/human-city}
{NEW:VILLAGE *^Vhca village/human-city-snow}
{NEW:VILLAGE *^Vhcr village/human-city-ruin}
Expand All @@ -284,10 +286,12 @@ C*,K*,X*,Q*,W*,Ai,M*,*^V*,*^B*,_off^_usr#enddef
{NEW:VILLAGE *^Vht village/tropical-forest}

#Crude villages (grassland)
{NEW:VILLAGE *^Vc village/hut}
{NEW:VILLAGE_TOD *^Vc village/hut}
{NEW:VILLAGE *^Vc village/hut}

{NEW:VILLAGE *^Vca village/hut-snow}

{NEW:VILLAGE_TOD *^Vl village/log-cabin}
{NEW:VILLAGE *^Vl village/log-cabin}
{NEW:VILLAGE *^Vla village/log-cabin-snow}

Expand All @@ -305,16 +309,18 @@ C*,K*,X*,Q*,W*,Ai,M*,*^V*,*^B*,_off^_usr#enddef
{NEW:VILLAGE *^Vd village/drake5}

#Orcish villages
{NEW:VILLAGE_TOD *^Vo village/orc}
{NEW:VILLAGE *^Vo village/orc}

{NEW:VILLAGE *^Voa village/orc-snow}

#Elven villages
#10% 25% 25% 40%
{NEW:VILLAGE *^Ve village/elven}{VILLAGE_PROBABILITY 10}
{NEW:VILLAGE *^Ve village/elven3}{VILLAGE_PROBABILITY 28}
{NEW:VILLAGE *^Ve village/elven4}{VILLAGE_PROBABILITY 38}
{NEW:VILLAGE *^Ve village/elven2}
{NEW:VILLAGE_TOD *^Ve village/elven}
#{NEW:VILLAGE *^Ve village/elven}{VILLAGE_PROBABILITY 10}
#{NEW:VILLAGE *^Ve village/elven3}{VILLAGE_PROBABILITY 28}
#{NEW:VILLAGE *^Ve village/elven4}{VILLAGE_PROBABILITY 38}
{NEW:VILLAGE *^Ve village/elven}

#10% 25% 25% 40%
{NEW:VILLAGE *^Vea village/elven-snow}{VILLAGE_PROBABILITY 10}
Expand All @@ -323,6 +329,7 @@ C*,K*,X*,Q*,W*,Ai,M*,*^V*,*^B*,_off^_usr#enddef
{NEW:VILLAGE *^Vea village/elven-snow2}

#Desert villages
{NEW:VILLAGE_TOD *^Vda village/desert}
{NEW:VILLAGE *^Vda village/desert}
{NEW:VILLAGE *^Vdr village/desert-ruin}
{NEW:VILLAGE *^Vdt village/desert-camp}
Expand All @@ -332,14 +339,15 @@ C*,K*,X*,Q*,W*,Ai,M*,*^V*,*^B*,_off^_usr#enddef
{NEW:VILLAGE *^Vud village/dwarven}

#Swamp village
{NEW:VILLAGE_TOD *^Vhs village/swampwater}
{NEW:VILLAGE *^Vhs village/swampwater}

#Merfolk village
# {NEW:VILLAGE *^Vm village/coast}{VILLAGE_PROBABILITY 20}
# {NEW:VILLAGE *^Vm village/coast2}{VILLAGE_PROBABILITY 24}
# {NEW:VILLAGE *^Vm village/coast3}{VILLAGE_PROBABILITY 29}
# {NEW:VILLAGE *^Vm village/coast4}{VILLAGE_PROBABILITY 35}
{NEW:VILLAGE_TOD_P *^Vm 80 village/coast}
{NEW:VILLAGE_TOD *^Vm village/coast}
{NEW:VILLAGE *^Vm village/coast_5-A ANIM=[01~04] TIME=140}

#
Expand Down Expand Up @@ -787,9 +795,6 @@ C*,K*,X*,Q*,W*,Ai,M*,*^V*,*^B*,_off^_usr#enddef
# New Generic Castle-to Chasm transition
{TRANSITION_COMPLETE_LF (Cha,Kha,Coa,Koa,Cea,Kea) Qx* -89 transition2 chasm/regular-snow-castle}
{TRANSITION_COMPLETE_LF (!,Cud,Kud,!,C*,K*) Qxe -89 transition2 chasm/earthy-castle}
# Xo* included for now, because castle chasm looks better than regular chasm, but eventually need dedicated images
# {TRANSITION_COMPLETE_LF (!,Cud,Kud,!,C*,K*,Xo*) Qx* -89 transition2 chasm/regular-castle}
# moved it down lower
{TRANSITION_COMPLETE_LF (!,Cud,Kud,!,C*,K*) Qx* -89 transition2 chasm/regular-castle}
{TRANSITION_COMPLETE_LF (!,Cud,Kud,!,C*,K*) Ql* -89 transition2 unwalkable/castle-lava-chasm}

Expand All @@ -808,7 +813,8 @@ C*,K*,X*,Q*,W*,Ai,M*,*^V*,*^B*,_off^_usr#enddef
{WALL_TRANSITION_LF Qxe (!,Qx*,Xv,_off^_usr) -290 ground chasm/earthy}
{WALL_TRANSITION_LF Qx* (!,Qx*,Xv,_off^_usr) -290 ground chasm/regular}

{TRANSITION_COMPLETE_LF (Xo*) Qx* -289 transition2 chasm/regular-castle}
{TRANSITION_COMPLETE_LF (Xo*) Ql -289 transition2 chasm/regular-wall}
{TRANSITION_COMPLETE_LF (Xo*) Qx* -289 transition2 chasm/regular-wall}


# Stone wall transitions
Expand Down
11 changes: 9 additions & 2 deletions data/core/terrain-graphics/new-macros.cfg
Expand Up @@ -2360,7 +2360,14 @@ X*#endarg
{NEW:VILLAGE {TERRAINLIST} {IMAGESTEM} (ANIM=[01~03]) (TIME={TIME})}
#enddef

#define NEW:VILLAGE_TOD_P TERRAINLIST PROB IMAGESTEM
#define NEW:VILLAGE_TOD TERRAINLIST IMAGESTEM

#arg PROB
25#endarg

#arg TIME
first_watch,dusk,dusk1,dusk2,short_dark,long_dark1,underground#endarg

[terrain_graphics]
map="
, *
Expand All @@ -2383,7 +2390,7 @@ X*#endarg
base=90,144
center=90,144
[variant]
tod=first_watch,midnight,second_watch,dusk,dusk2,short_dark,long_dark1,long_dark2,long_dark3,long_dark4
tod={TIME}
name={IMAGESTEM}@V-night.png
[/variant]
[/image]
Expand Down

2 comments on commit 0cce7c8

@doofus-01
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grrr. I screwed up the chasm/stone_wall transition, it's line 811 in the terrain_graphics.cfg file. (It was for a PR that I've given up on for now, I probably switched local branches with my text editor open...) I'll fix it.

@CelticMinstrel
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you should get a text editor that detects when the file has changed on disk?

Please sign in to comment.