summaryrefslogtreecommitdiff
path: root/src/map/storage.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/storage.hpp')
-rw-r--r--src/map/storage.hpp29
1 files changed, 17 insertions, 12 deletions
diff --git a/src/map/storage.hpp b/src/map/storage.hpp
index 702c908..f3875c8 100644
--- a/src/map/storage.hpp
+++ b/src/map/storage.hpp
@@ -1,5 +1,4 @@
-#ifndef TMWA_MAP_STORAGE_HPP
-#define TMWA_MAP_STORAGE_HPP
+#pragma once
// storage.hpp - Storage handling.
//
// Copyright © ????-2004 Athena Dev Teams
@@ -21,19 +20,25 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
-# include "../sanity.hpp"
+#include "fwd.hpp"
-# include "map.hpp"
+#include "../generic/fwd.hpp"
+#include "../mmo/fwd.hpp"
+
+#include "clif.t.hpp"
+
+
+namespace tmwa
+{
int storage_storageopen(dumb_ptr<map_session_data> sd);
-int storage_storageadd(dumb_ptr<map_session_data> sd, int index, int amount);
-int storage_storageget(dumb_ptr<map_session_data> sd, int index, int amount);
+int storage_storageadd(dumb_ptr<map_session_data> sd, IOff0 index, int amount);
+int storage_storageget(dumb_ptr<map_session_data> sd, SOff0 index, int amount);
int storage_storageclose(dumb_ptr<map_session_data> sd);
void do_final_storage(void);
-struct storage *account2storage(int account_id);
-struct storage *account2storage2(int account_id);
+Storage *account2storage(AccountId account_id);
+Storage *account2storage2(AccountId account_id);
int storage_storage_quit(dumb_ptr<map_session_data> sd);
-int storage_storage_save(int account_id, int final);
-int storage_storage_saved(int account_id);
-
-#endif // TMWA_MAP_STORAGE_HPP
+int storage_storage_save(AccountId account_id, int final);
+int storage_storage_saved(AccountId account_id);
+} // namespace tmwa