Nuclide
Software Development Kit for id Technology (BETA)
activities.h
1/*
2 * Copyright (c) 2016-2024 Vera Visions LLC.
3 *
4 * Permission to use, copy, modify, and distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMP␆␆LIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
13 * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
14 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15*/
16
83void Activities_Init(void);
84
86void Activities_Shutdown(void);
87
93float Activities_GetSequenceForEntity(ncEntity targetEntity, string actNameCheck);
94
95
102float Activities_GetSequenceForEntityDef(ncEntity targetEntity, string actNameCheck, string subDef);
103
104#define ACTIVITY_NOTFOUND -1 // end of activities
ncEntity is the lowest of the user-accessible entity class.
Definition: Entity.h:75
float Activities_GetSequenceForEntityDef(ncEntity targetEntity, string actNameCheck, string subDef)
Looks up the animation sequence by name of activity in another entityDef (or fireInfo),...
Definition: activities.qc:97
float Activities_GetSequenceForEntity(ncEntity targetEntity, string actNameCheck)
Looks up the animation sequence for an entity by name of activity.
Definition: activities.qc:58
void Activities_Shutdown(void)
Shuts the Activities system down.
Definition: activities.qc:27
void Activities_Init(void)
Initializes the sub-system for Activities.
Definition: activities.qc:20