OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
tiki_main.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_main.h : TIKI main
24
25#pragma once
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31 extern int cache_numskel;
32 extern int cache_maxskel;
33 extern skelcache_t skelcache[];
34
35 void TIKI_AddPointToBounds(float *v, float *mins, float *maxs);
36 void TIKI_Message(const char *fmt, ...);
37 void TIKI_Warning(const char *fmt, ...);
38 void TIKI_Error(const char *fmt, ...);
39 void
40 TIKI_SetupIndividualSurface(const char *filename, dtikisurface_t *surf, const char *name, dloadsurface_t *loadsurf);
41 size_t TIKI_CalcAnimDefSize(dloaddef_t *ld);
42 dtikianim_t *TIKI_FillTIKIStructureSkel(dloaddef_t *ld);
43 void TIKI_SwapSkel(skelHeader_t* pheader);
44
45#ifdef __cplusplus
46}
47#endif
Definition tiki.h:105
Definition tiki_shared.h:198
Definition tiki_shared.h:426