forked from SWY1985/CivOne
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
284 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// CivOne | ||
// | ||
// To the extent possible under law, the person who associated CC0 with | ||
// CivOne has waived all copyright and related or neighboring rights | ||
// to CivOne. | ||
// | ||
// You should have received a copy of the CC0 legalcode along with this | ||
// work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | ||
|
||
using CivOne.Enums; | ||
using CivOne.Templates; | ||
|
||
namespace CivOne.Tiles | ||
{ | ||
internal class Arctic : BaseTile | ||
{ | ||
public Arctic(int x, int y, bool special) : base(x, y, special) | ||
{ | ||
Type = Terrain.Arctic; | ||
Name = "Arctic"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// CivOne | ||
// | ||
// To the extent possible under law, the person who associated CC0 with | ||
// CivOne has waived all copyright and related or neighboring rights | ||
// to CivOne. | ||
// | ||
// You should have received a copy of the CC0 legalcode along with this | ||
// work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | ||
|
||
using CivOne.Enums; | ||
using CivOne.Templates; | ||
|
||
namespace CivOne.Tiles | ||
{ | ||
internal class Desert : BaseTile | ||
{ | ||
public Desert(int x, int y, bool special) : base(x, y, special) | ||
{ | ||
Type = Terrain.Desert; | ||
Name = "Desert"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// CivOne | ||
// | ||
// To the extent possible under law, the person who associated CC0 with | ||
// CivOne has waived all copyright and related or neighboring rights | ||
// to CivOne. | ||
// | ||
// You should have received a copy of the CC0 legalcode along with this | ||
// work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | ||
|
||
using CivOne.Enums; | ||
using CivOne.Templates; | ||
|
||
namespace CivOne.Tiles | ||
{ | ||
internal class Forest : BaseTile | ||
{ | ||
public Forest(int x, int y, bool special) : base(x, y, special) | ||
{ | ||
Type = Terrain.Forest; | ||
Name = "Forest"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// CivOne | ||
// | ||
// To the extent possible under law, the person who associated CC0 with | ||
// CivOne has waived all copyright and related or neighboring rights | ||
// to CivOne. | ||
// | ||
// You should have received a copy of the CC0 legalcode along with this | ||
// work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | ||
|
||
using CivOne.Enums; | ||
using CivOne.Templates; | ||
|
||
namespace CivOne.Tiles | ||
{ | ||
internal class Grassland : BaseTile | ||
{ | ||
private Terrain CalculateTileType() | ||
{ | ||
if ((((X * 7) + (Y * 11)) & 0x02) == 0) | ||
return Terrain.Grassland2; | ||
return Terrain.Grassland1; | ||
} | ||
|
||
public Grassland(int x, int y) : base(x, y, false) | ||
{ | ||
Type = CalculateTileType(); | ||
Name = "Grassland"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// CivOne | ||
// | ||
// To the extent possible under law, the person who associated CC0 with | ||
// CivOne has waived all copyright and related or neighboring rights | ||
// to CivOne. | ||
// | ||
// You should have received a copy of the CC0 legalcode along with this | ||
// work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | ||
|
||
using CivOne.Enums; | ||
using CivOne.Templates; | ||
|
||
namespace CivOne.Tiles | ||
{ | ||
internal class Hills : BaseTile | ||
{ | ||
public Hills(int x, int y, bool special) : base(x, y, special) | ||
{ | ||
Type = Terrain.Hills; | ||
Name = "Hills"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// CivOne | ||
// | ||
// To the extent possible under law, the person who associated CC0 with | ||
// CivOne has waived all copyright and related or neighboring rights | ||
// to CivOne. | ||
// | ||
// You should have received a copy of the CC0 legalcode along with this | ||
// work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | ||
|
||
using CivOne.Enums; | ||
using CivOne.Templates; | ||
|
||
namespace CivOne.Tiles | ||
{ | ||
internal class Jungle : BaseTile | ||
{ | ||
public Jungle(int x, int y, bool special) : base(x, y, special) | ||
{ | ||
Type = Terrain.Jungle; | ||
Name = "Jungle"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// CivOne | ||
// | ||
// To the extent possible under law, the person who associated CC0 with | ||
// CivOne has waived all copyright and related or neighboring rights | ||
// to CivOne. | ||
// | ||
// You should have received a copy of the CC0 legalcode along with this | ||
// work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | ||
|
||
using CivOne.Enums; | ||
using CivOne.Templates; | ||
|
||
namespace CivOne.Tiles | ||
{ | ||
internal class Mountains : BaseTile | ||
{ | ||
public Mountains(int x, int y, bool special) : base(x, y, special) | ||
{ | ||
Type = Terrain.Mountains; | ||
Name = "Mountains"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// CivOne | ||
// | ||
// To the extent possible under law, the person who associated CC0 with | ||
// CivOne has waived all copyright and related or neighboring rights | ||
// to CivOne. | ||
// | ||
// You should have received a copy of the CC0 legalcode along with this | ||
// work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | ||
|
||
using CivOne.Enums; | ||
using CivOne.Templates; | ||
|
||
namespace CivOne.Tiles | ||
{ | ||
internal class Ocean : BaseTile | ||
{ | ||
public Ocean(int x, int y, bool special) : base(x, y, special) | ||
{ | ||
Type = Terrain.Ocean; | ||
Name = "Ocean"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// CivOne | ||
// | ||
// To the extent possible under law, the person who associated CC0 with | ||
// CivOne has waived all copyright and related or neighboring rights | ||
// to CivOne. | ||
// | ||
// You should have received a copy of the CC0 legalcode along with this | ||
// work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | ||
|
||
using CivOne.Enums; | ||
using CivOne.Templates; | ||
|
||
namespace CivOne.Tiles | ||
{ | ||
internal class Plains : BaseTile | ||
{ | ||
public Plains(int x, int y, bool special) : base(x, y, special) | ||
{ | ||
Type = Terrain.Plains; | ||
Name = "Plains"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// CivOne | ||
// | ||
// To the extent possible under law, the person who associated CC0 with | ||
// CivOne has waived all copyright and related or neighboring rights | ||
// to CivOne. | ||
// | ||
// You should have received a copy of the CC0 legalcode along with this | ||
// work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | ||
|
||
using CivOne.Enums; | ||
using CivOne.Templates; | ||
|
||
namespace CivOne.Tiles | ||
{ | ||
internal class River : BaseTile | ||
{ | ||
public River(int x, int y, bool special) : base(x, y, special) | ||
{ | ||
Type = Terrain.River; | ||
Name = "River"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// CivOne | ||
// | ||
// To the extent possible under law, the person who associated CC0 with | ||
// CivOne has waived all copyright and related or neighboring rights | ||
// to CivOne. | ||
// | ||
// You should have received a copy of the CC0 legalcode along with this | ||
// work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | ||
|
||
using CivOne.Enums; | ||
using CivOne.Templates; | ||
|
||
namespace CivOne.Tiles | ||
{ | ||
internal class Swamp : BaseTile | ||
{ | ||
public Swamp(int x, int y, bool special) : base(x, y, special) | ||
{ | ||
Type = Terrain.Swamp; | ||
Name = "Swamp"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// CivOne | ||
// | ||
// To the extent possible under law, the person who associated CC0 with | ||
// CivOne has waived all copyright and related or neighboring rights | ||
// to CivOne. | ||
// | ||
// You should have received a copy of the CC0 legalcode along with this | ||
// work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | ||
|
||
using CivOne.Enums; | ||
using CivOne.Templates; | ||
|
||
namespace CivOne.Tiles | ||
{ | ||
internal class Tundra : BaseTile | ||
{ | ||
public Tundra(int x, int y, bool special) : base(x, y, special) | ||
{ | ||
Type = Terrain.Tundra; | ||
Name = "Tundra"; | ||
} | ||
} | ||
} |