2 Copyright (C) 2016-2017 - Lugaru contributors (see AUTHORS file)
4 This file is part of Lugaru.
6 Lugaru is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 Lugaru is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with Lugaru. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef _PERSONTYPE_HPP_
21 #define _PERSONTYPE_HPP_
23 #include "Animation/Animation.hpp"
24 #include "Audio/Sounds.hpp"
25 #include "Math/XYZ.hpp"
36 // head, body, arms, legs
38 animation_type animRun;
39 animation_type animRunning;
40 animation_type animCrouch;
41 animation_type animStop;
42 animation_type animLanding;
43 animation_type animLandingHard;
44 animation_type animFightIdle;
45 animation_type animBounceIdle;
46 animation_type animTalkIdle;
48 sound_type soundsAttack[4];
49 sound_type soundsTalk[2];
51 std::string figureFileName;
52 std::string lowFigureFileName;
53 std::string clothesFileName;
54 std::string modelFileNames[7];
55 std::string lowModelFileName;
56 std::string modelClothesFileName;
58 std::vector<std::string> skins;
60 GLubyte bloodText[512 * 512 * 3] = { 0 };
63 bool hasAnimTalkIdle();
65 static std::vector<PersonType> types;