summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorglighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-10-29 06:33:43 +0000
committerglighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-10-29 06:33:43 +0000
commit07ff4adffb312e138502a83316dff13287a8d153 (patch)
tree4e4a9d6f582d20ea6ba1490fc31b2085453b9e1f /src/common
parent08080a5fc10eb6a9fdc2f1285ba32fda57684d29 (diff)
downloadhercules-07ff4adffb312e138502a83316dff13287a8d153.tar.gz
hercules-07ff4adffb312e138502a83316dff13287a8d153.tar.bz2
hercules-07ff4adffb312e138502a83316dff13287a8d153.tar.xz
hercules-07ff4adffb312e138502a83316dff13287a8d153.zip
-Add some src basic documentation.
-Change some remaining -1 for status ending timer. -Move some hardcoded msg in msg_athena -Small optimisation on battle_attr_fix git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16835 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r--src/common/db.c6
-rw-r--r--src/common/mmo.h14
2 files changed, 10 insertions, 10 deletions
diff --git a/src/common/db.c b/src/common/db.c
index a748cba5a..204c6d2ea 100644
--- a/src/common/db.c
+++ b/src/common/db.c
@@ -2743,7 +2743,7 @@ void* linkdb_search( struct linkdb_node** head, void *key)
while( node ) {
if( node->key == key ) {
if( node->prev && n > 5 ) {
- // 処理効率改善の為にheadに移動させる
+ //Moving the head in order to improve processing efficiency
if(node->prev) node->prev->next = node->next;
if(node->next) node->next->prev = node->prev;
node->next = *head;
@@ -2790,7 +2790,7 @@ void linkdb_replace( struct linkdb_node** head, void *key, void *data )
while( node ) {
if( node->key == key ) {
if( node->prev && n > 5 ) {
- // 処理効率改善の為にheadに移動させる
+ //Moving the head in order to improve processing efficiency
if(node->prev) node->prev->next = node->next;
if(node->next) node->next->prev = node->prev;
node->next = *head;
@@ -2804,7 +2804,7 @@ void linkdb_replace( struct linkdb_node** head, void *key, void *data )
node = node->next;
n++;
}
- // 見つからないので挿入
+ //Insert because it can not find
linkdb_insert( head, key, data );
}
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 944c94a72..8916cd9fb 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -536,15 +536,15 @@ struct fame_list {
char name[NAME_LENGTH];
};
-enum {
- GBI_EXP =1, // ギルドのEXP
- GBI_GUILDLV, // ギルドのLv
- GBI_SKILLPOINT, // ギルドのスキルポイント
- GBI_SKILLLV, // ギルドスキルLv
+enum { //Change Guild Infos
+ GBI_EXP =1, // Guild Experience (EXP)
+ GBI_GUILDLV, // Guild level
+ GBI_SKILLPOINT, // Guild skillpoints
+ GBI_SKILLLV, // Guild skilllv ?? seem unused
};
-enum {
- GMI_POSITION =0, // メンバーの役職変更
+enum { //Change Member Infos
+ GMI_POSITION =0,
GMI_EXP,
GMI_HAIR,
GMI_HAIR_COLOR,