summaryrefslogtreecommitdiff
path: root/src/map/log.h
diff options
context:
space:
mode:
authorcodemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-15 22:50:27 +0000
committercodemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-15 22:50:27 +0000
commitf1e7f008b43f5fe7d78653d52afb65f30cde1f4b (patch)
tree58a6175ffe8d84f0bc944b364b85a5a482bd023c /src/map/log.h
parent76b827abe843bee3015418a094f9a92cfa37fbd0 (diff)
downloadhercules-f1e7f008b43f5fe7d78653d52afb65f30cde1f4b.tar.gz
hercules-f1e7f008b43f5fe7d78653d52afb65f30cde1f4b.tar.bz2
hercules-f1e7f008b43f5fe7d78653d52afb65f30cde1f4b.tar.xz
hercules-f1e7f008b43f5fe7d78653d52afb65f30cde1f4b.zip
Added More Options To log configAdded GM Command Logs
Added TXT Logs + TXT Log Options git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@197 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/log.h')
-rw-r--r--src/map/log.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/map/log.h b/src/map/log.h
index 4e34ef0cc..d4ad0bd66 100644
--- a/src/map/log.h
+++ b/src/map/log.h
@@ -1,6 +1,8 @@
#ifndef _LOG_H_
#define _LOG_H_
+#include "map.h"
+
#ifndef TXT_ONLY
extern char db_server_logdb[32];
@@ -16,12 +18,16 @@ int log_refine(struct map_session_data *sd, int n, int success);
int log_trade(struct map_session_data *sd,struct map_session_data *target_sd,int n,int amount);
int log_vend(struct map_session_data *sd,struct map_session_data *vsd,int n,int amount,int zeny);
int log_zeny(struct map_session_data *sd, struct map_session_data *target_sd,int amount);
+int log_atcommand(struct map_session_data *sd, const char *message);
int log_config_read(char *cfgName);
extern struct Log_Config {
- int branch, drop, mvpdrop, present, produce, refine, trade, vend, zeny;
- char log_branch_db[32], log_drop_db[32], log_mvpdrop_db[32], log_present_db[32], log_produce_db[32], log_refine_db[32], log_trade_db[32], log_vend_db[32];
+ int enable_logs;
+ int sql_logs;
+ int branch, drop, mvpdrop, present, produce, refine, trade, vend, zeny, gm;
+ char log_branch[32], log_drop[32], log_mvpdrop[32], log_present[32], log_produce[32], log_refine[32], log_trade[32], log_vend[32], log_gm[32];
+ char log_branch_db[32], log_drop_db[32], log_mvpdrop_db[32], log_present_db[32], log_produce_db[32], log_refine_db[32], log_trade_db[32], log_vend_db[32], log_gm_db[32];
} log_config;
#endif