neat

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package neat implements an map pre-processor for GoldSrc.

Index

Constants

This section is empty.

Variables

Functions

func Neatify

func Neatify(qm *qmap.QMap, mod *os.Root) error

Types

type Master

type Master struct {
	Classname *string `qmap:"classname,neat_master"`
	Origin    valve.Position

	GlobalState string `qmap:"globalstate"`
	Target      string
	TargetName  string `qmap:"targetname"`
}

func (Master) Validate

func (ent Master) Validate() error

type Message

type Message struct {
	Classname *string `qmap:"classname,neat_message"`
	Origin    valve.Position

	TargetName   string `qmap:"targetname"`
	Target       string
	Message      string
	Delay        float32
	Flags        int                `qmap:"spawnflags"`
	Sound        string             `qmap:"messagesound"`
	Volume       string             `qmap:"messagevolume"`
	Attenuation  valve.Attenuation  `qmap:"messageattenuation"`
	TriggerState valve.TriggerState `qmap:"triggerstate"`
}

func (Message) Validate

func (ent Message) Validate(titles map[string]goldsrc.Title) error

Jump to

Keyboard shortcuts

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