Coverage Report

Created: 2026-04-29 07:04

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/assimp/code/AssetLib/MDL/HalfLife/HL1ImportSettings.h
Line
Count
Source
1
/*
2
---------------------------------------------------------------------------
3
Open Asset Import Library (assimp)
4
---------------------------------------------------------------------------
5
6
Copyright (c) 2006-2026, assimp team
7
8
All rights reserved.
9
10
Redistribution and use of this software in source and binary forms,
11
with or without modification, are permitted provided that the following
12
conditions are met:
13
14
* Redistributions of source code must retain the above
15
  copyright notice, this list of conditions and the
16
  following disclaimer.
17
18
* Redistributions in binary form must reproduce the above
19
  copyright notice, this list of conditions and the
20
  following disclaimer in the documentation and/or other
21
  materials provided with the distribution.
22
23
* Neither the name of the assimp team, nor the names of its
24
  contributors may be used to endorse or promote products
25
  derived from this software without specific prior
26
  written permission of the assimp team.
27
28
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
29
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
30
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
31
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
32
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
33
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
34
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
35
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
36
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
37
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
38
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39
---------------------------------------------------------------------------
40
*/
41
42
/** @file HL1ImportSettings.h
43
 *  @brief Half-Life 1 MDL loader configuration settings.
44
 */
45
46
#ifndef AI_HL1IMPORTSETTINGS_INCLUDED
47
#define AI_HL1IMPORTSETTINGS_INCLUDED
48
49
#include <string>
50
51
namespace Assimp {
52
namespace MDL {
53
namespace HalfLife {
54
55
struct HL1ImportSettings {
56
    HL1ImportSettings() :
57
76.0k
        read_animations(false),
58
76.0k
        read_animation_events(false),
59
76.0k
        read_blend_controllers(false),
60
76.0k
        read_sequence_groups_info(false),
61
76.0k
        read_sequence_transitions(false),
62
76.0k
        read_attachments(false),
63
76.0k
        read_bone_controllers(false),
64
76.0k
        read_hitboxes(false),
65
76.0k
        read_textures(false),
66
76.0k
        read_misc_global_info(false),
67
76.0k
        transform_coord_system(true) {
68
76.0k
    }
69
70
    bool read_animations;
71
    bool read_animation_events;
72
    bool read_blend_controllers;
73
    bool read_sequence_groups_info;
74
    bool read_sequence_transitions;
75
    bool read_attachments;
76
    bool read_bone_controllers;
77
    bool read_hitboxes;
78
    bool read_textures;
79
    bool read_misc_global_info;
80
    bool transform_coord_system;
81
};
82
83
} // namespace HalfLife
84
} // namespace MDL
85
} // namespace Assimp
86
87
#endif // AI_HL1IMPORTSETTINGS_INCLUDED