Skip to content

Commit

Permalink
extensions .h -> .hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
AppOfficer committed Dec 8, 2024
1 parent 85ac27b commit 47ffd51
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
8 changes: 4 additions & 4 deletions drafts/GameEngine.draft.h → drafts/GameEngine.draft.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
#ifndef LGEN_MODULE_GAMEENGINE_DRAFT
#define LGEN_MODULE_GAMEENGINE_DRAFT 1

#include "coord.h" // lib coord
#include "coord.hpp" // lib coord

#include "player.h" // players
#include "player.hpp" // players

#include "tile.h" // tiles
#include "tile.hpp" // tiles

#include "board.h" // boards
#include "board.hpp" // boards

#endif // LGEN_MODULE_GAMEENGINE_DRAFT
6 changes: 3 additions & 3 deletions drafts/board.h → drafts/board.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
#include <cassert>
#include <vector>

#include "coord.h"
#include "coord.hpp"

#include "player.h"
#include "tile.h"
#include "player.hpp"
#include "tile.hpp"

/// Game map board. Zoomable.
/// The %Board is a complex thing. Many systems are part of it (e.g. vision system).
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion drafts/player.h → drafts/player.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#define LGEN_MODULE_GE_PLAYER 1

#include <string>
#include "board.h"

/// Base struct for players.
class Player {
Expand Down
2 changes: 1 addition & 1 deletion drafts/tile.h → drafts/tile.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include <cstdint>

#include "player.h"
#include "player.hpp"

using army_t = int64_t;

Expand Down

0 comments on commit 47ffd51

Please sign in to comment.