HL1ImportSettings.h 2.8 KB

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