💿🐜 Antkeeper source code https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
3.2 KiB

  1. /*
  2. * Copyright (C) 2023 Christopher J. Howard
  3. *
  4. * This file is part of Antkeeper source code.
  5. *
  6. * Antkeeper source code 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 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * Antkeeper source code 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.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with Antkeeper source code. If not, see <http://www.gnu.org/licenses/>.
  18. */
  19. #ifndef ANTKEEPER_GAME_ANT_PHENOME_HPP
  20. #define ANTKEEPER_GAME_ANT_PHENOME_HPP
  21. #include "game/ant/genes/ant-antennae-gene.hpp"
  22. #include "game/ant/genes/ant-body-size-gene.hpp"
  23. #include "game/ant/genes/ant-pupa-gene.hpp"
  24. #include "game/ant/genes/ant-diet-gene.hpp"
  25. #include "game/ant/genes/ant-egg-gene.hpp"
  26. #include "game/ant/genes/ant-eyes-gene.hpp"
  27. #include "game/ant/genes/ant-foraging-time-gene.hpp"
  28. #include "game/ant/genes/ant-founding-mode-gene.hpp"
  29. #include "game/ant/genes/ant-gaster-gene.hpp"
  30. #include "game/ant/genes/ant-head-gene.hpp"
  31. #include "game/ant/genes/ant-larva-gene.hpp"
  32. #include "game/ant/genes/ant-legs-gene.hpp"
  33. #include "game/ant/genes/ant-mandibles-gene.hpp"
  34. #include "game/ant/genes/ant-mesosoma-gene.hpp"
  35. #include "game/ant/genes/ant-nest-site-gene.hpp"
  36. #include "game/ant/genes/ant-ocelli-gene.hpp"
  37. #include "game/ant/genes/ant-pigmentation-gene.hpp"
  38. #include "game/ant/genes/ant-pilosity-gene.hpp"
  39. #include "game/ant/genes/ant-sculpturing-gene.hpp"
  40. #include "game/ant/genes/ant-sting-gene.hpp"
  41. #include "game/ant/genes/ant-waist-gene.hpp"
  42. #include "game/ant/genes/ant-wings-gene.hpp"
  43. #include "game/ant/ant-genome.hpp"
  44. #include "game/ant/ant-caste-type.hpp"
  45. /**
  46. * Complete set of ant phenes.
  47. */
  48. struct ant_phenome
  49. {
  50. /**
  51. * Constructs an ant phenome for a given caste.
  52. *
  53. * @param genome Ant genome.
  54. * @param caste Ant caste.
  55. */
  56. ant_phenome(const ant_genome& genome, ant_caste_type caste);
  57. /// Constructs an empty ant phenome.
  58. ant_phenome() = default;
  59. const ant_antennae_phene* antennae{nullptr};
  60. const ant_body_size_phene* body_size{nullptr};
  61. const ant_pupa_phene* pupa{nullptr};
  62. const ant_diet_phene* diet{nullptr};
  63. const ant_egg_phene* egg{nullptr};
  64. const ant_eyes_phene* eyes{nullptr};
  65. const ant_foraging_time_phene* foraging_time{nullptr};
  66. const ant_founding_mode_phene* founding_mode{nullptr};
  67. const ant_gaster_phene* gaster{nullptr};
  68. const ant_head_phene* head{nullptr};
  69. const ant_larva_phene* larva{nullptr};
  70. const ant_legs_phene* legs{nullptr};
  71. const ant_mandibles_phene* mandibles{nullptr};
  72. const ant_mesosoma_phene* mesosoma{nullptr};
  73. const ant_nest_site_phene* nest_site{nullptr};
  74. const ant_ocelli_phene* ocelli{nullptr};
  75. const ant_pigmentation_phene* pigmentation{nullptr};
  76. const ant_pilosity_phene* pilosity{nullptr};
  77. const ant_sculpturing_phene* sculpturing{nullptr};
  78. const ant_sting_phene* sting{nullptr};
  79. const ant_waist_phene* waist{nullptr};
  80. const ant_wings_phene* wings{nullptr};
  81. };
  82. #endif // ANTKEEPER_GAME_ANT_PHENOME_HPP