OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
tiki_tag.h
1/*
2===========================================================================
3Copyright (C) 2023 the OpenMoHAA team
4
5This file is part of OpenMoHAA source code.
6
7OpenMoHAA source code is free software; you can redistribute it
8and/or modify it under the terms of the GNU General Public License as
9published by the Free Software Foundation; either version 2 of the License,
10or (at your option) any later version.
11
12OpenMoHAA source code is distributed in the hope that it will be
13useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with OpenMoHAA source code; if not, write to the Free Software
19Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20===========================================================================
21*/
22
23// tiki_tag.h : TIKI Tag
24
25#pragma once
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31 int TIKI_Tag_NameToNum(dtiki_t *pmdl, const char *name);
32 const char *TIKI_Tag_NumToName(dtiki_t *pmdl, int iTagNum);
33 SkelMat4 *TIKI_TransformInternal(dtiki_t *tiki, int entnum, int tagnum);
34 qboolean TIKI_IsOnGroundInternal(dtiki_t *tiki, int entnum, int tagnum, float threshold);
35 orientation_t TIKI_OrientationInternal(dtiki_t *tiki, int entnum, int tagnum, float scale);
36 void TIKI_SetPoseInternal(
37 void *skeletor, const frameInfo_t *frameInfo, const int *bone_tag, const vec4_t *bone_quat, float actionWeight
38 );
39 float TIKI_GetRadiusInternal(dtiki_t *tiki, int entnum, float scale);
40 float TIKI_GetCentroidRadiusInternal(dtiki_t *tiki, int entnum, float scale, float *centroid);
41 void TIKI_GetFrameInternal(dtiki_t *tiki, int entnum, skelAnimFrame_t *newFrame);
42 void TIKI_SetEyeTargetPos(dtiki_t *tiki, int entnum, vec3_t pos);
43
44#ifdef __cplusplus
45}
46#endif
Definition SkelMat4.h:355
Definition q_shared.h:1524