Skip to content

Commit

Permalink
[core] Update more vana_time includes
Browse files Browse the repository at this point in the history
  • Loading branch information
zach2good committed Feb 15, 2023
1 parent 00ba3a4 commit 0f01578
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 18 deletions.
7 changes: 5 additions & 2 deletions src/map/roe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,17 @@
===========================================================================
*/

#include "roe.h"

#include "common/vana_time.h"

#include <ctime>

#include "lua/luautils.h"
#include "packets/chat_message.h"
#include "roe.h"
#include "utils/charutils.h"
#include "utils/zoneutils.h"
#include "vana_time.h"

#include "packets/char_spells.h"
#include "packets/roe_questlog.h"
Expand Down
4 changes: 3 additions & 1 deletion src/map/timetriggers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@
*/

#include "timetriggers.h"

#include "common/vana_time.h"

#include "lua/luautils.h"
#include "vana_time.h"

std::unique_ptr<CTriggerHandler> CTriggerHandler::_instance;

Expand Down
8 changes: 5 additions & 3 deletions src/map/transport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,17 @@

#include "transport.h"

#include "../common/timer.h"
#include "common/timer.h"
#include "common/vana_time.h"

#include <cstdlib>

#include "entities/charentity.h"
#include "map.h"
#include "packets/entity_update.h"
#include "packets/event.h"
#include "utils/zoneutils.h"
#include "vana_time.h"
#include "zone.h"
#include <cstdlib>

std::unique_ptr<CTransportHandler> CTransportHandler::_instance;

Expand Down
13 changes: 7 additions & 6 deletions src/map/utils/gardenutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@

#include "gardenutils.h"

#include "common/vana_time.h"

#include <cmath>

#include "../entities/charentity.h"
#include "../item_container.h"
#include "../items/item_flowerpot.h"
#include "../map.h"
#include "../packets/inventory_item.h"
#include "../vana_time.h"
#include "entities/charentity.h"
#include "item_container.h"
#include "items/item_flowerpot.h"
#include "map.h"
#include "packets/inventory_item.h"

#define MAX_RESULTID 2500

Expand Down
14 changes: 8 additions & 6 deletions src/map/utils/guildutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,19 @@
===========================================================================
*/

#include "guildutils.h"

#include "common/vana_time.h"

#include <vector>

#include "../items/item_shop.h"
#include "items/item_shop.h"

#include "../guild.h"
#include "../item_container.h"
#include "../map.h"
#include "../vana_time.h"
#include "charutils.h"
#include "guildutils.h"
#include "guild.h"
#include "item_container.h"
#include "itemutils.h"
#include "map.h"
#include "serverutils.h"

// TODO: During the closure of the guild, all viewing products of the goods are sent 0x86 with information about the closure of the guild
Expand Down

0 comments on commit 0f01578

Please sign in to comment.