summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2020-04-05Merge pull request #2656 from Kenpachi2k13/getiteminfo_fixHaru1-2/+2
Fix overflowing pointer in getiteminfo() script command
2020-04-05Merge pull request #2655 from Kenpachi2k13/mem_leak_fixHaru1-0/+1
Fix memory leak in npc_expanded_barter_fromsql() function
2020-04-05Merge pull request #2581 from 4144/backtraceHaru1-4/+21
Add proper backtrace logging even if functions is hidden.
2020-03-30Disable libbacktrace by defaultHaru1-6/+12
It's currently only tested on linux, and doesn't work yet on macOS (tested on 10.15). Further work is necessary Signed-off-by: Haru <haru@dotalux.com>
2020-03-30Fix Makefile-based compilation on platforms that use libbacktrace with a ↵Haru1-1/+1
different executable format than elf
2020-03-30Add libbacktraceAndrei Karas1-4/+15
2020-03-21Move misplaced condition in unit_walktobl() functionKenpachi Developer1-2/+5
2020-03-14Fix wrong return-value on success by unit->walktoblskyleo1-1/+1
This bugged aggressive monsters for example, as they wouldn't move to you and just do a move animation on 1 cell, stationary. Introduced by fe378985d5267bee1f73049c826ad4f1e9c2b9c4
2020-03-12Use script_pushstrcopy() instead of script_pushstr() for returning item namesKenpachi Developer1-2/+2
2020-03-11Free StringBuf is case of error in npc_expanded_barter_fromsql() functionKenpachi Developer1-0/+1
2020-03-09Merge pull request #2651 from Emistry/clif_selllist_favoriteHaru1-0/+3
Item with favorite flag can't sell to NPC.
2020-03-09Merge pull request #2648 from Kenpachi2k13/itemskill_fixHaru6-11/+13
Fix itemskill() script command
2020-03-09Merge pull request #2642 from Kenpachi2k13/zone_disabled_items_fixHaru2-222/+317
Fix (un)equip script execution for map zone restrcited items
2020-03-09Merge pull request #2639 from Kenpachi2k13/getiteminfo_extensionHaru2-22/+56
Extend getiteminfo() script command
2020-03-09Merge pull request #2638 from Kenpachi2k13/increase_max_mob_list_per_mapHaru1-0/+8
Increase MAX_MOB_LIST_PER_MAP to 115 in pre-RE mode
2020-03-08Merge pull request #2633 from Kenpachi2k13/pc_setpos_return_valuesHaru1-9/+17
Add new return values to pc_setpos() function
2020-03-08Merge pull request #2628 from Kenpachi2k13/unitiswalkingHaru1-0/+33
Add unitiswalking() script command
2020-03-08Correct some typos in doc of unit->walk_toxy_timerskyleo1-2/+2
2020-03-08Change bl parameter to be const in unit->getdirskyleo2-3/+3
2020-03-08Handle not known values of bl->type with assertionskyleo1-1/+4
2020-03-08Expect bl to be not NULL in unit->bl2udskyleo1-3/+2
2020-03-08Change src parameter to be const in map_calc_dirskyleo2-2/+2
2020-03-08Add unit->cbl2ud for when using const block_listskyleo2-0/+34
2020-03-08Change the name of all functions which got their return-value meaning changedskyleo8-81/+81
2020-03-08Execute map->freeblock_unlock() if assertion failsLeo Pflug1-6/+24
2020-03-08Rename UNIT_UNITDEFINES_H to MAP_UNITDEFINES_HLeo Pflug1-3/+3
2020-03-08Do not split assignment on commaLeo Pflug1-2/+2
2020-03-08Undo removal of attack->dir_unknownLeo Pflug2-1/+8
2020-03-08Remove unnecessary parameter of set_mobstateskyleo1-9/+9
2020-03-08Add documentation for unit->walktobl_timerskyleo1-0/+9
2020-03-08Rename unit->walktobl_sub to unit->walktobl_timerskyleo2-7/+7
2020-03-08Update Coding Style for unit->walktobl_subskyleo1-6/+4
2020-03-08Add nullpo_retr for unit_data in unit->walktobl_subskyleo1-2/+6
2020-03-08Update Coding Style for set_mobstateskyleo1-3/+7
2020-03-08Add documentation for set_mobstateskyleo1-1/+6
2020-03-08Add TODO-comment suggesting enum for unit->walktoxyskyleo1-0/+1
2020-03-08Add documentation for unit->walktoxyskyleo1-6/+13
2020-03-08Update Coding Style of unit->walktoxyskyleo1-15/+21
2020-03-08Remove "already refactored" commentskyleo1-1/+1
2020-03-08Change returning error-code in unit->walktoxy to obey code-style guidelinesskyleo6-27/+35
2020-03-08Correct checks mistreating non-boolean values in unit->walktoxyskyleo1-5/+5
2020-03-08Cleanup nullpointer checks in unit->walktoxyskyleo1-2/+3
2020-03-08Use *DWord functions for saving x & y into data of unit->delay_walktoxy_timerskyleo1-4/+5
2020-03-08Add documentation for unit->delay_walktoxy_timerskyleo1-0/+8
2020-03-08Change returning error-code in unit->delay_walktoxy_timer to obey code-style ↵skyleo1-2/+2
guidelines
2020-03-08Move bitwise-operations into named variables in unit->delay_walktoxy_timerskyleo1-1/+3
2020-03-08Apply code-style to nullpointer-checks in unit->delay_walktoxy_timerskyleo1-2/+1
2020-03-08Remove refactor-continue commentskyleo1-1/+0
2020-03-08Refactor code using directions to use enum unit_dirskyleo11-205/+207
This removes a lot of duplicated code, especially related to people not using the arrays dirx and diry. Assertions for whenever these arrays are used have been added as well, to ensure valid index range. Some trailing white space has been removed as well.
2020-03-08Add enum unit_dir and make direction functions use itskyleo5-57/+135
Without a doubt the readability of code will be increased by this greatly