summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-10-20Converted all the commented out mob_db/mob_db22 entries to the new formatHaru3-923/+7351
Signed-off-by: Haru <haru@dotalux.com>
2015-10-20Fixed an issue preventing the mob_db2 from being loadedHaru2-9/+6
Follow-up to 3feef93 (thanks to kyeme) Signed-off-by: Haru <haru@dotalux.com>
2015-10-20Merge pull request #778 from 4144/mobdbHaruna12-3822/+127368
Convert mob_db from txt to conf format.
2015-10-20Convert mob_db to new format.Andrei Karas5-3517/+126281
2015-10-20Add Mob_db converter from txt to conf.Andrei Karas2-0/+288
2015-10-19Update HPM hooks.Andrei Karas3-63/+251
2015-10-19Add support for mob_db in conf format.Andrei Karas2-242/+548
2015-10-19Merge pull request #804 from 4144/memmanagerHaruna103-150/+198
Fix reallocating memory without memory manager.
2015-10-19Fix reallocating memory without memory manager.Andrei Karas1-1/+49
2015-10-19rename malloc.c/h to memmgr.Andrei Karas103-149/+149
2015-10-17Fixed some VS project whitespace inconsistenciesHaru10-20/+20
- Fixes #792, special thanks to theultramage. Signed-off-by: Haru <haru@dotalux.com>
2015-10-17Fixed an error in the refine_db loaderHaru1-33/+52
- Fixes #800, special thanks to kyeme. - Also replaced some hardcoded numbers with constants. Signed-off-by: Haru <haru@dotalux.com>
2015-10-17Merge pull request #799 from 4144/fixwallHaruna1-1/+1
Fix crash while removing invisible wall.
2015-10-17Fix crash while removing invisible wall.Andrei Karas1-1/+1
2015-10-13Merge pull request #797 from 4144/insertcardHaruna1-1/+5
Return actual result from pc_insert_card.
2015-10-13Return actual result from pc_insert_card.Andrei Karas1-1/+5
2015-10-13ItemDB SQL SyncHercules.ws1-1/+14
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-10-13Merge pull request #794 from moguri85/masterDastgir4-15/+264
Added needed items and some npc fixes in Eden and other events
2015-10-13Fixed some missing stuffmoguri851-5/+23
2015-10-13Added Items needed in eden_iro.txtmoguri854-14/+245
Changed NPC id->constant in eden_iro.txt Fixed case warning errors on may_hats.txt and mushroom_event.txt
2015-10-11Fixed another compiler warning (follow-up to 5c22b63)Haru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Fixed various compiler warnings (follow-up to 5c22b63)Haru4-21/+21
Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Merge pull request #788 from MishimaHaruna/libconfigAndrei Karas11-138/+1010
Libconfig edits for mob_db.conf
2015-10-11Merge pull request #760 from HerculesWS/738-vectorsAndrei Karas48-1529/+1734
Change several variable-size array to VECTOR (common, char)
2015-10-11Added test_libconfig test suite.Haru4-14/+865
- To be used for regression tests when updating or editing libconfig. Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Added support to libconfig for key names containing '.' or beginnig with digits.Haru6-123/+144
- Note: Since '.' (period) is a valid character for key names, it is no longer a valid path separator for lookups. Please use '/' (forward slash) or ':' (semicolon) instead. Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Fixed an issue in the quest_db parsing function.Haru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Changed chr->server[].maps to a VECTORHaru3-35/+32
Signed-off-by: Haru <haru@dotalux.com>
2015-10-11HPM Hooks UpdateHaru4-18/+19
2015-10-11Changed various s_subnet arrays to VECTORsHaru2-83/+58
- sockt->lan_subnet was renamed to sockt->lan_subnets. - sockt->trusted_ip was renamed to sockt->trusted_ips. - sockt->allowed_ip was renamed to sockt->allowed_ips. - Convenience macros for checking IP ranges and subnets are provided (SUBNET_MATCH, APPLY_MASK). Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Cleanup of the HPluginData implementation (second part)Haru30-219/+242
- Changed the hplugin_data_store's array into a VECTOR. Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Cleanup of the HPluginData implementation (First part)Haru30-357/+246
- Several explicit casts are removed, to have a slightly better type-checking at compile time. - A destructor function is provided, to remove code duplication. Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Changed cmdline->args_data to a VECTORHaru3-21/+22
Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Fixed an issue preventing correct nesting of console commands into subcategoriesHaru1-1/+1
- The issue prevented the creation of multiple commands in the same subcategory through console->input->addCommand (i.e. "foo:bar:baz" and "foo:bar:quux" would instead create "foo:bar:baz" and "foo:quux") Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Changed struct CParseEntry::u.next to VECTOR and renamed to u.childrenHaru2-55/+93
Added a 'type' field to describe the command type (function, category) Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Changed console->input->cmds to a VECTOR and renamed to console->input->commandsHaru2-35/+35
Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Changed console->input->cmd_list to a VECTOR and renamed to ↵Haru2-64/+74
console->input->command_list Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Changed HPM->cmdline_plugins to a VECTOR and renamed to ↵Haru2-15/+9
HPM->cmdline_load_plugins Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Changed HPM->confs to a VECTOR and renamed to HPM->config_listenersHaru3-42/+53
Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Changed HPM->fnames to a vector type, renamed to HPM->filenamesHaru2-24/+41
- This is a generic vector. It doesn't make use of the VECTOR type because it needs to outlive the memory manager. Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Changed HPM->packets[] into an array of VECTORHaru6-87/+91
Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Changed HPM->symbols to a VECTORHaru2-24/+40
Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Replaced HPM->plugins with a VECTORHaru2-57/+93
Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Changed VECTOR/BHEAP/ARRAY macros to discourage usage of unsigned loop counters.Haru4-28/+44
Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Removed reserved identifiers from db.h (VECTOR, BHEAP implementations)Haru1-561/+738
- According to ISO/IEC 9899:1999 ('C99'), all identifiers that begin with an underscore and either an uppercase letter or another underscore are always reserved for any use. Signed-off-by: Haru <haru@dotalux.com>
2015-10-10Fixed issue #783Emistry1-1/+1
signed/unsigned mismatch.
2015-10-06HPM Hooks UpdateHercules.ws1-24/+24
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-10-06Merge pull request #682 from Smokexyz/masterHaruna9-129/+625
Convert refine_db.txt to refine_db.conf (libconfig)
2015-10-05Merge pull request #747 from 4144/setvarsHaruna5-88/+664
Split function set_reg and get_val into functions based on variable types.
2015-10-04HPM Hooks UpdateHercules.ws3-0/+32
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>