mirror of
https://github.com/space-wizards/RobustToolboxTemplateSingleplayer.git
synced 2026-02-10 16:24:49 -05:00
Update template to latest RobustToolbox version.
This commit is contained in:
parent
338a7455ac
commit
2e6af3eb52
8 changed files with 109 additions and 179 deletions
|
|
@ -1,43 +1,42 @@
|
|||
using Robust.Client;
|
||||
|
||||
namespace Template.Game
|
||||
namespace Template.Game;
|
||||
|
||||
internal static class Program
|
||||
{
|
||||
internal static class Program
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
ContentStart.StartLibrary(args, new GameControllerOptions()
|
||||
{
|
||||
ContentStart.StartLibrary(args, new GameControllerOptions()
|
||||
{
|
||||
// DEVNOTE: Your options here!
|
||||
// DEVNOTE: Your options here!
|
||||
|
||||
// We disable sandboxing given we're using RobustToolbox as a library, and we won't be on the hub.
|
||||
Sandboxing = false,
|
||||
// We disable sandboxing given we're using RobustToolbox as a library, and we won't be on the hub.
|
||||
Sandboxing = false,
|
||||
|
||||
// Projects with this prefix will be loaded by the engine.
|
||||
ContentModulePrefix = "Template.",
|
||||
// Projects with this prefix will be loaded by the engine.
|
||||
ContentModulePrefix = "Template.",
|
||||
|
||||
// Name of the folder where the game will be built in. Also check Template.Game.csproj:9!
|
||||
ContentBuildDirectory = "Template.Game",
|
||||
// Name of the folder where the game will be built in. Also check Template.Game.csproj:9!
|
||||
ContentBuildDirectory = "Template.Game",
|
||||
|
||||
// Default window name. This can also be changed on runtime with the IClyde service.
|
||||
DefaultWindowTitle = "RobustToolbox Template Game",
|
||||
// Default window name. This can also be changed on runtime with the IClyde service.
|
||||
DefaultWindowTitle = "RobustToolbox Template Game",
|
||||
|
||||
// This template is singleplayer-only, so we disable connecting to a server from program arguments.
|
||||
DisableCommandLineConnect = true,
|
||||
// This template is singleplayer-only, so we disable connecting to a server from program arguments.
|
||||
DisableCommandLineConnect = true,
|
||||
|
||||
// Name of the folder where the user's data (config, etc) will be stored.
|
||||
UserDataDirectoryName = "Template Game",
|
||||
// Name of the folder where the user's data (config, etc) will be stored.
|
||||
UserDataDirectoryName = "Template Game",
|
||||
|
||||
// Name of the configuration file in the user's data directory.
|
||||
ConfigFileName = "config.toml",
|
||||
// Name of the configuration file in the user's data directory.
|
||||
ConfigFileName = "config.toml",
|
||||
|
||||
//SplashLogo = new ResourcePath("/path/to/splash/logo.png"),
|
||||
//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"),
|
||||
// Check "RobustToolbox/Resources/Textures/Logo/icon" for an example window icon set.
|
||||
//WindowIconSet = new ResourcePath("/path/to/folder/with/window/icon/set"),
|
||||
|
||||
// There are a few more options, be sure to check them all!
|
||||
});
|
||||
}
|
||||
// There are a few more options, be sure to check them all!
|
||||
});
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue