Advertisement
Lighta

storage.c raw doc

Mar 24th, 2012
98
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # This patch file was generated by NetBeans IDE
  2. # It uses platform neutral UTF-8 encoding and \n newlines.
  3. --- HEAD
  4. +++ Modified In Working Tree
  5. @@ -27,7 +27,7 @@
  6.  static DBMap* guild_storage_db; // int guild_id -> struct guild_storage*
  7.  
  8.  /*==========================================
  9. - * �q�ɓ��A�C�e���\�[�g
  10. + * Sort items in the warehouse
  11.   *------------------------------------------*/
  12.  static int storage_comp_item(const void *_i1, const void *_i2)
  13.  {
  14. @@ -54,9 +54,9 @@
  15.  }
  16.  
  17.  /*==========================================
  18. - * ����Ƃ�
  19. + * Init/Terminate
  20.   *------------------------------------------*/
  21. -int do_init_storage(void) // map.c::do_init()����Ă΂��
  22. +int do_init_storage(void) // Called from map.c::do_init()
  23.  {
  24.     guild_storage_db=idb_alloc(DB_OPT_RELEASE_DATA);
  25.     return 1;
  26. @@ -110,7 +110,9 @@
  27.     return 0;
  28.  }
  29.  
  30. -// helper function
  31. +/* helper function
  32. + * checking if 2 item structure are identique
  33. + */
  34.  int compare_item(struct item *a, struct item *b)
  35.  {
  36.     if( a->nameid == b->nameid &&
Advertisement
RAW Paste Data Copied
Advertisement