Merge branch 'develop' of https://github.com/SemvdH/Proftaak-RH-B4 into develop

This commit is contained in:
Sem van der Hoeven
2020-09-18 12:53:17 +02:00
2 changed files with 31 additions and 18 deletions

View File

@@ -13,12 +13,13 @@ namespace RH_Engine
internal class Program
{
private static PC[] PCs = {
new PC("DESKTOP-M2CIH87", "Fabian"),
//new PC("DESKTOP-M2CIH87", "Fabian"),
new PC("T470S", "Shinichi"),
new PC("DESKTOP-DHS478C", "semme"),
new PC("DESKTOP-TV73FKO", "Wouter"),
new PC("NA", "Ralf"),
new PC("NA", "Bart") };
//new PC("DESKTOP-DHS478C", "semme"),
//new PC("DESKTOP-TV73FKO", "Wouter"),
//new PC("NA", "Ralf"),
//new PC("NA", "Bart")
};
private static void Main(string[] args)
{
TcpClient client = new TcpClient("145.48.6.10", 6666);
@@ -95,15 +96,25 @@ namespace RH_Engine
//string command = createGraphics.TerrainCommand(new int[] { 256, 256 }, heigths);
string groundId = GetId(CreateGraphics.STANDARD_SUN, stream, createGraphics);
Console.WriteLine("id: " + groundId);
string command = createGraphics.DeleteGroundPaneCommand(groundId);
string groundId = GetId("GroundPlane", stream, createGraphics);
Console.WriteLine("ground id: " + groundId);
string command;
//command = createGraphics.DeleteGroundPaneCommand(groundId);
//string command = createGraphics.ResetScene();
command = createGraphics.SkyboxCommand(DateTime.Now.Millisecond % 24);
Console.WriteLine("tunnelID is: " + tunnelID);
WriteTextMessage(stream, command);
Console.WriteLine(ReadPrefMessage(stream));
command = createGraphics.ModelCommand();
WriteTextMessage(stream, command);
Console.WriteLine(ReadPrefMessage(stream));
}
/// <summary>