diff options
author | shennetsind <ind@henn.et> | 2013-05-04 20:36:29 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-05-04 20:36:29 -0300 |
commit | 3bfadf4d2329da54f2097e1f0fafba371347465f (patch) | |
tree | 6164b506bb8591979c77d459ad3b7d6f521d424b /src/map/mapreg.h | |
parent | 18b1965ce16909613f0a53515d40553742082ce2 (diff) | |
download | hercules-3bfadf4d2329da54f2097e1f0fafba371347465f.tar.gz hercules-3bfadf4d2329da54f2097e1f0fafba371347465f.tar.bz2 hercules-3bfadf4d2329da54f2097e1f0fafba371347465f.tar.xz hercules-3bfadf4d2329da54f2097e1f0fafba371347465f.zip |
Mapreg saving overhaul
Server only saves variables that were changed, not all of them. Special Thanks to Yommy <3~!
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/mapreg.h')
-rw-r--r-- | src/map/mapreg.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/map/mapreg.h b/src/map/mapreg.h index d5fadafc5..e83f9e053 100644 --- a/src/map/mapreg.h +++ b/src/map/mapreg.h @@ -1,9 +1,19 @@ -// Copyright (c) Athena Dev Teams - Licensed under GNU GPL -// For more information, see LICENCE in the main folder +// Copyright (c) Hercules Dev Team, licensed under GNU GPL. +// See the LICENSE file +// Portions Copyright (c) Athena Dev Teams #ifndef _MAPREG_H_ #define _MAPREG_H_ +struct mapreg_save { + int uid; + union { + int i; + char *str; + } u; + bool save; +}; + void mapreg_reload(void); void mapreg_final(void); void mapreg_init(void); |