Update template to latest RobustToolbox version.

- Converts template to use file-scoped namespaces.
- Add manifest.yml and comments for it.
This commit is contained in:
Vera Aguilera Puerto 2021-12-29 12:21:56 +01:00
parent b417f4355e
commit 729c2a6206
18 changed files with 197 additions and 272 deletions

View file

@ -1,27 +1,26 @@
using Robust.Client;
using Robust.Shared.Utility;
namespace Content.Client
namespace Content.Client;
internal static class Program
{
internal static class Program
public static void Main(string[] args)
{
public static void Main(string[] args)
{
ContentStart.Start(args);
ContentStart.Start(args);
/*
// DEVNOTE: If you want to use RobustToolbox as a library, use the method below instead.
// Keep in mind, this will make your game ineligible from appearing on the SS14 hub, specially if you
// disable sandboxing.
ContentStart.StartLibrary(args, new GameControllerOptions()
{
// DEVNOTE: Your options here.
Sandboxing = false,
SplashLogo = new ResourcePath("/path/to/splash/logo.png"),
// Check "RobustToolbox/Resources/Textures/Logo/icon" for an example window icon set.
WindowIconSet = new ResourcePath("/path/to/folder/with/window/icon/set"),
DefaultWindowTitle = "Robust Template"
});*/
}
/*
// DEVNOTE: If you want to use RobustToolbox as a library, use the method below instead.
// Keep in mind, this will make your game ineligible from appearing on the SS14 hub, specially if you
// disable sandboxing.
ContentStart.StartLibrary(args, new GameControllerOptions()
{
// DEVNOTE: Your options here.
Sandboxing = false,
SplashLogo = new ResourcePath("/path/to/splash/logo.png"),
// Check "RobustToolbox/Resources/Textures/Logo/icon" for an example window icon set.
WindowIconSet = new ResourcePath("/path/to/folder/with/window/icon/set"),
DefaultWindowTitle = "Robust Template"
});*/
}
}