more level decorations

GitOrigin-RevId: b6446a7451f877fc7c46a35a49d450dd1f3b9c26
This commit is contained in:
Colin McMillen 2020-02-20 13:23:57 -05:00
parent f1b71ca87d
commit c4e211e750
2 changed files with 27 additions and 11 deletions

View File

@ -5,19 +5,19 @@
};
public const string DEMO = @"
1
7 <=============>
6 { { { } { ;
5 } ; ; ; }
4 } ; }
3 }
2
3
4
5
6
7
8 <=X=X=X=> <=============> (__________)
9 / \
0 | |
1 | |
1
0 <=X=X=X=> <=============> (__________)
5 / \
4 | |
3 | |
2 | |
3 dfffxfffxfffb dfffxfffxfffb v v
w wr wqw t wew ww dfffxfffxfffb v twq r wtwv
=================> <=============> <================================================================================================
..................~`~`~`...............^^^^.................................................................................................
..................======....................................................................................................................";

View File

@ -38,6 +38,14 @@ namespace SemiColinGames {
public static Terrain Fence = new Terrain('f', false);
public static Terrain FencePost = new Terrain('x', false);
public static Terrain FenceR = new Terrain('b', false);
public static Terrain VineTop = new Terrain('{', false);
public static Terrain VineMid = new Terrain(';', false);
public static Terrain VineBottom = new Terrain('}', false);
public static Terrain GrassTall = new Terrain('q', false);
public static Terrain GrassShort = new Terrain('w', false);
public static Terrain Shoots = new Terrain('e', false);
public static Terrain Bush = new Terrain('r', false);
public static Terrain Mushroom = new Terrain('t', false);
public bool IsObstacle { get; private set; }
@ -87,6 +95,14 @@ namespace SemiColinGames {
{ Terrain.Fence, GetTextureSource(Textures.Grassland, 6, 4) },
{ Terrain.FencePost, GetTextureSource(Textures.Grassland, 7, 4) },
{ Terrain.FenceR, GetTextureSource(Textures.Grassland, 8, 4) },
{ Terrain.VineTop, GetTextureSource(Textures.Ruins, 12, 5) },
{ Terrain.VineMid, GetTextureSource(Textures.Ruins, 12, 6) },
{ Terrain.VineBottom, GetTextureSource(Textures.Ruins, 12, 7) },
{ Terrain.GrassTall, GetTextureSource(Textures.Grassland, 13, 0) },
{ Terrain.GrassShort, GetTextureSource(Textures.Grassland, 14, 0) },
{ Terrain.Shoots, GetTextureSource(Textures.Grassland, 15, 0) },
{ Terrain.Bush, GetTextureSource(Textures.Grassland, 13, 2) },
{ Terrain.Mushroom, GetTextureSource(Textures.Grassland, 17, 2) },
};
}