Skip to content

Commit

Permalink
CRAB: Use scummsys instead of including standard library headers dire…
Browse files Browse the repository at this point in the history
…ctly
  • Loading branch information
hax0kartik committed Jun 5, 2023
1 parent ff613cc commit 03b75da
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion engines/crab/PathfindingGrid.h
Expand Up @@ -31,7 +31,6 @@
#ifndef CRAB_PATHFINDINGGRID_H
#define CRAB_PATHFINDINGGRID_H

#include <math.h>
#include "crab/PathfindingGraphNode.h"
#include "crab/common_header.h"

Expand Down
3 changes: 1 addition & 2 deletions engines/crab/common_header.h
Expand Up @@ -31,8 +31,7 @@
#ifndef CRAB_COMMON_HEADER_H
#define CRAB_COMMON_HEADER_H

#include <limits>

#include "common/scummsys.h"
#include "common/path.h"
#include "common/str.h"
#include "common/hashmap.h"
Expand Down
3 changes: 1 addition & 2 deletions engines/crab/numstr.h
Expand Up @@ -30,7 +30,6 @@

#ifndef CRAB_NUMSTR_H
#define CRAB_NUMSTR_H
#include <cstring>
#include "crab/common_header.h"

namespace Crab {
Expand Down Expand Up @@ -64,7 +63,7 @@ Common::String NumberToString(T Number) {
return revStr;
}

template<typename T>
template<typename T>
inline T StringToNumber(char *Text) {
int res = 0;
if (sscanf(Text, "%d", &res) > 0)
Expand Down

0 comments on commit 03b75da

Please sign in to comment.