OpenMoHAA 0.82.1
Loading...
Searching...
No Matches
tiki_cache.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_cache.h : TIKI Cache
24
25#pragma once
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31 dtikianim_t *TIKI_FindTikiAnim(const char *path);
32 dtiki_t *TIKI_FindTiki(const char *path);
33 dtikianim_t *TIKI_RegisterTikiAnimFlags(const char *path, qboolean use);
34 dtikianim_t *TIKI_RegisterTikiAnim(const char *path);
35 dtiki_t *TIKI_RegisterTikiFlags(const char *path, qboolean use);
36 dtiki_t *TIKI_RegisterTiki(const char *path);
37 void TIKI_FreeAll();
38 void *TIKI_GetSkeletor(dtiki_t *tiki, int entnum);
39 static void TIKI_DeleteSkeletor(int entnum);
40 void TIKI_Begin(void);
41 void TIKI_End(void);
42 void TIKI_FinishLoad(void);
43 void TIKI_FreeImages(void);
44 void TIKI_TikiAnimList_f(void);
45 void TIKI_TikiList_f(void);
46
47#ifdef __cplusplus
48}
49#endif