Browse Source

Extract sound effects enum into its own file

Avoids depending on all of `effects` in places where we only need the
enum.
pull/7612/head
Gleb Mazovetskiy 1 year ago
parent
commit
a12b5368c3
  1. 1035
      Source/effects.h
  2. 2
      Source/monstdat.h
  3. 1041
      Source/sound_effect_enums.h
  4. 2
      Source/spelldat.h
  5. 2
      Source/textdat.h

1035
Source/effects.h

File diff suppressed because it is too large Load Diff

2
Source/monstdat.h

@ -5,7 +5,9 @@
*/ */
#pragma once #pragma once
#include <cstddef>
#include <cstdint> #include <cstdint>
#include <string>
#include <vector> #include <vector>
#include "cursor.h" #include "cursor.h"

1041
Source/sound_effect_enums.h

File diff suppressed because it is too large Load Diff

2
Source/spelldat.h

@ -13,7 +13,7 @@
#include <expected.hpp> #include <expected.hpp>
#include "effects.h" #include "sound_effect_enums.h"
#include "utils/enum_traits.h" #include "utils/enum_traits.h"
namespace devilution { namespace devilution {

2
Source/textdat.h

@ -7,7 +7,7 @@
#include <cstdint> #include <cstdint>
#include "effects.h" #include "sound_effect_enums.h"
namespace devilution { namespace devilution {

Loading…
Cancel
Save