ds1editorapp

package
v0.0.0-...-f1a302c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package ds1editorapp assembles the standalone DS1 authoring tool. It is intentionally separate from clientapp: maps are content artifacts, not a running game session.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultOutputDirectory

func DefaultOutputDirectory() (string, error)

DefaultOutputDirectory provides a user-owned location outside mounted game data when the command has not received an explicit --output path.

func MountedRoots

func MountedRoots(value string) ([]string, error)

MountedRoots resolves comma-separated source mounts for write protection.

func Run

func Run(options Options) error

Run owns a single editor process and never initializes client sessions, records, network transport, saves, ECS, or gameplay systems.

Types

type Options

type Options struct {
	Content            *content.FS
	OutputDirectory    string
	ReadOnlyRoots      []string
	WindowWidth        int
	WindowHeight       int
	Borderless         bool
	OutputPalette      string
	DisableNativeAudio bool
}

Options names the authoring-only policy supplied by tools/ds1-editor. Content remains mounted read-only; OutputDirectory is the only write root.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL