MiniQuake2

src/miniquake2/game/base/spawn_registry.ml

Provides miniquake2 game base spawn registry facilities for this project.

Package
miniquake2.game.base.spawn_registry
Reachable
Yes

Imports

Declarations

createRegistry

function createRegistry()

Create registry.

View source

defaultRegistry

function defaultRegistry()

Performs the defaultRegistry operation for the miniquake2 game base spawn registry module.

View source

find

function find(registry, className)

Finds find used by the miniquake2 game base spawn registry module.

ParameterTypeDefaultDescription
registrydynamic—registry value consumed by this operation.
classNamedynamic—className value consumed by this operation.

View source

MOVETYPE_NONE

const MOVETYPE_NONE = 0

Defines the movetype none constant used by the miniquake2 game base spawn registry module.

View source

MOVETYPE_PUSH

const MOVETYPE_PUSH = 7

Defines the movetype push constant used by the miniquake2 game base spawn registry module.

View source

register

function register(registry, className, spawnFunction)

Register state.

ParameterTypeDefaultDescription
registrydynamic—registry value consumed by this operation.
classNamedynamic—className value consumed by this operation.
spawnFunctiondynamic—spawnFunction value consumed by this operation.

View source

SP_brush_component

function SP_brush_component(entity)

Spawn brush component.

ParameterTypeDefaultDescription
entitydynamic—entity value consumed by this operation.

View source

SP_consumed

function SP_consumed(entity)

Spawn consumed.

ParameterTypeDefaultDescription
entitydynamic—entity value consumed by this operation.

View source

SP_func_door

function SP_func_door(entity)

Spawn func door.

ParameterTypeDefaultDescription
entitydynamic—entity value consumed by this operation.

View source

SP_func_water

function SP_func_water(entity)

Spawn func water.

ParameterTypeDefaultDescription
entitydynamic—entity value consumed by this operation.

View source

SP_gameplay_item

function SP_gameplay_item(entity)

Spawn gameplay item.

ParameterTypeDefaultDescription
entitydynamic—entity value consumed by this operation.

View source

SP_info_player

function SP_info_player(entity)

Spawn info player.

ParameterTypeDefaultDescription
entitydynamic—entity value consumed by this operation.

View source

SP_info_player_start

function SP_info_player_start(entity)

Spawn info player start.

ParameterTypeDefaultDescription
entitydynamic—entity value consumed by this operation.

View source

SP_light

function SP_light(entity)

Spawn light.

ParameterTypeDefaultDescription
entitydynamic—entity value consumed by this operation.

View source

SP_misc_actor

function SP_misc_actor(entity)

Spawn misc actor.

ParameterTypeDefaultDescription
entitydynamic—entity value consumed by this operation.

View source

SP_monster

function SP_monster(entity)

Spawn monster.

ParameterTypeDefaultDescription
entitydynamic—entity value consumed by this operation.

View source

SP_target_speaker

function SP_target_speaker(entity)

Spawn target speaker.

ParameterTypeDefaultDescription
entitydynamic—entity value consumed by this operation.

View source

SP_trigger_once

function SP_trigger_once(entity)

Spawn trigger once.

ParameterTypeDefaultDescription
entitydynamic—entity value consumed by this operation.

View source

SP_world_component

function SP_world_component(entity)

Spawn world component.

ParameterTypeDefaultDescription
entitydynamic—entity value consumed by this operation.

View source

SP_worldspawn

function SP_worldspawn(entity)

Spawn worldspawn.

ParameterTypeDefaultDescription
entitydynamic—entity value consumed by this operation.

View source