diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-14 16:18:26 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-14 16:18:26 +0000 |
commit | 581475bc6416790765c498aa3d611f6868ffb64a (patch) | |
tree | 347ebf88eaa76e50488f23989d67cad834f3c9b1 /src/map/log.h | |
parent | 600362764ce348c5c9de96eababff2e08bb90d4a (diff) | |
download | hercules-581475bc6416790765c498aa3d611f6868ffb64a.tar.gz hercules-581475bc6416790765c498aa3d611f6868ffb64a.tar.bz2 hercules-581475bc6416790765c498aa3d611f6868ffb64a.tar.xz hercules-581475bc6416790765c498aa3d611f6868ffb64a.zip |
Fixed some file types
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@172 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/log.h')
-rw-r--r-- | src/map/log.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/src/map/log.h b/src/map/log.h index 7047d980c..4e34ef0cc 100644 --- a/src/map/log.h +++ b/src/map/log.h @@ -1,27 +1,27 @@ -#ifndef _LOG_H_
-#define _LOG_H_
-
-#ifndef TXT_ONLY
-
-extern char db_server_logdb[32];
-
-#endif //NOT TXT_ONLY
-
-int log_branch(struct map_session_data *sd);
-int log_drop(struct map_session_data *sd, int monster_id, int *log_drop);
-int log_mvpdrop(struct map_session_data *sd, int monster_id, int *log_mvp);
-int log_present(struct map_session_data *sd, int source_type, int nameid);
-int log_produce(struct map_session_data *sd, int nameid, int slot1, int slot2, int slot3, int success);
-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_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];
-} log_config;
-
-#endif
+#ifndef _LOG_H_ +#define _LOG_H_ + +#ifndef TXT_ONLY + +extern char db_server_logdb[32]; + +#endif //NOT TXT_ONLY + +int log_branch(struct map_session_data *sd); +int log_drop(struct map_session_data *sd, int monster_id, int *log_drop); +int log_mvpdrop(struct map_session_data *sd, int monster_id, int *log_mvp); +int log_present(struct map_session_data *sd, int source_type, int nameid); +int log_produce(struct map_session_data *sd, int nameid, int slot1, int slot2, int slot3, int success); +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_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]; +} log_config; + +#endif |