summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
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
2020-03-08Refactor unit_walktoxy_timerskyleo2-156/+159
2020-03-08Update Coding Style in unit->step_timerskyleo1-9/+9
2020-03-08Update error-code and some Coding Style in unit->step_timerskyleo1-33/+23
2020-03-08Change returning error-code in unit->walktoxy_subskyleo1-3/+3
2020-03-08Update Coding Style in unit->walktoxy_subskyleo1-10/+11
2020-03-08Rename reused var appropriately in unit->walktoxy_subskyleo1-11/+12
2020-03-08Move declarations to initializations in unit->walktoxy_subskyleo1-8/+6
2020-03-08Add documentation for unit->walktoxy_subskyleo1-0/+5
2020-03-08Refactor unit->bl2udskyleo1-9/+20
2020-03-08Merge pull request #2612 from skyleo/basilica_target_checkHaru1-4/+5
Fix Basilica unintentionally restraining boss mobs
2020-03-08Merge pull request #2650 from Emistry/constant_itemboundtypeHaru1-0/+7
Added Item Bound Type constants
2020-03-08Merge pull request #2645 from 4144/updatepacketsHaru10-34/+338
Update packets up to 2020-03-04
2020-03-08Added Item Bound Type constantsEmistry Haoyan1-0/+7
- improve readability.
2020-03-07Item with favorite flag can't sell to NPC.Emistry Haoyan1-0/+3
- disable selling of favorite item to NPC.
2020-03-07Apply code style to pc_isequip() functionKenpachi Developer1-52/+66
2020-03-07Apply code style to pc_equipitem() functionKenpachi Developer1-97/+109
2020-03-07Apply code style to pc_unequipitem() functionKenpachi Developer1-68/+75
2020-03-07Change execution order in pc_isequip() functionKenpachi Developer1-17/+18
Validating, if the item is disabled by the map's zone, should be done prior to the validation of the character's status changes. If not, equipment, enabled by Super Novice Spirit, is able to bypass the map zone restriction.