Skip to content

Commit

Permalink
IWYU + compilation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
felix642 committed Jan 5, 2025
1 parent 7775059 commit 3356102
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/fheroes2/gui/ui_tool.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@

#include "image.h"
#include "math_base.h"
#include "settings.h"
#include "timing.h"
#include "ui_base.h"
#include "ui_text.h"

enum InterfaceType : uint8_t;

namespace fheroes2
{
class MovableSprite : public Sprite
Expand Down
5 changes: 4 additions & 1 deletion src/fheroes2/system/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
***************************************************************************/

#include <algorithm>
#include <cassert>
#include <cstdlib>
#include <fstream>
#include <sstream>
Expand Down Expand Up @@ -930,11 +931,13 @@ bool Settings::isEvilInterfaceEnabled() const
return race == Race::WRLK || race == Race::NECR || race == Race::BARB;
}
}
return false;
break;
}
default:
assert( 0 );
}

return false;
}

bool Settings::isEditorAnimationEnabled() const
Expand Down

0 comments on commit 3356102

Please sign in to comment.