{"push_id":567917707,"size":101,"distinct_size":0,"ref":"refs/heads/master","head":"6269e4380bf7eee82cba8522bb78e93f127eb19e","before":"47d6a587a3cd1cbac9ef8bf6ccfb98a4d8bbc419","commits":[{"sha":"4f94ccd729453f5ea04c4a2653292ad105f6d9e6","author":{"email":"7657dbf970f3c061a3bb1df10e28ae184caec21b@rambler.ru","name":"Darkyhard"},"message":"Tweak booby trap recipe.\n\nAllows using aluminum can and empty canister to make booby trap.","distinct":false,"url":"https://api.github.com/repos/KA101/Cataclysm-DDA/commits/4f94ccd729453f5ea04c4a2653292ad105f6d9e6"},{"sha":"defd0f2ca25231ac4e343895629352192b30c7e0","author":{"email":"fb68786887f16853e6d2ca2a3128fc2eef260c5c@users.noreply.github.com","name":"Brandon Kentel"},"message":"tweak to submap initialization","distinct":false,"url":"https://api.github.com/repos/KA101/Cataclysm-DDA/commits/defd0f2ca25231ac4e343895629352192b30c7e0"},{"sha":"772579c5547b0c3f179009da361d9ec9cf5a48c0","author":{"email":"fb68786887f16853e6d2ca2a3128fc2eef260c5c@users.noreply.github.com","name":"Brandon Kentel"},"message":"factor out some common code","distinct":false,"url":"https://api.github.com/repos/KA101/Cataclysm-DDA/commits/772579c5547b0c3f179009da361d9ec9cf5a48c0"},{"sha":"6a47151b00bc9ca06a645b13f558c8c43097d10a","author":{"email":"fb68786887f16853e6d2ca2a3128fc2eef260c5c@users.noreply.github.com","name":"Brandon Kentel"},"message":"small tweaks and const cleanup","distinct":false,"url":"https://api.github.com/repos/KA101/Cataclysm-DDA/commits/6a47151b00bc9ca06a645b13f558c8c43097d10a"},{"sha":"5e4e01beb873dafcfabea2cd3f2da00a734ac85a","author":{"email":"fb68786887f16853e6d2ca2a3128fc2eef260c5c@users.noreply.github.com","name":"Brandon Kentel"},"message":"small spacing tweak","distinct":false,"url":"https://api.github.com/repos/KA101/Cataclysm-DDA/commits/5e4e01beb873dafcfabea2cd3f2da00a734ac85a"},{"sha":"5633a1e23d120453f632253221e55dba633c4184","author":{"email":"fb68786887f16853e6d2ca2a3128fc2eef260c5c@users.noreply.github.com","name":"Brandon Kentel"},"message":"removed TODO, fixed warning","distinct":false,"url":"https://api.github.com/repos/KA101/Cataclysm-DDA/commits/5633a1e23d120453f632253221e55dba633c4184"},{"sha":"0818c7d09155e221dbd1298bcd5fe77e17299818","author":{"email":"fb68786887f16853e6d2ca2a3128fc2eef260c5c@users.noreply.github.com","name":"Brandon Kentel"},"message":"tweaks re: feedback","distinct":false,"url":"https://api.github.com/repos/KA101/Cataclysm-DDA/commits/0818c7d09155e221dbd1298bcd5fe77e17299818"},{"sha":"5a8436a26b74252cca6d570864af87adb53dd864","author":{"email":"fb68786887f16853e6d2ca2a3128fc2eef260c5c@users.noreply.github.com","name":"Brandon Kentel"},"message":"line wrapping tweak","distinct":false,"url":"https://api.github.com/repos/KA101/Cataclysm-DDA/commits/5a8436a26b74252cca6d570864af87adb53dd864"},{"sha":"eb392b50c05ab4a9f3aadf0f823299da2b207328","author":{"email":"0da15208cc1fb6a1921e6015a3d6bc1ef79a42a5@gmx.de","name":"Thomas Kirsten"},"message":"Add a Creature::set_killer function,\n\nwraps setting Creature::killer with the required checks.","distinct":false,"url":"https://api.github.com/repos/KA101/Cataclysm-DDA/commits/eb392b50c05ab4a9f3aadf0f823299da2b207328"},{"sha":"dd0aaf37d2e508aa9b43f840a0fb9cd60c1de70c","author":{"email":"0da15208cc1fb6a1921e6015a3d6bc1ef79a42a5@gmx.de","name":"Thomas Kirsten"},"message":"Wrap some access to monster::hp into calls to apply_damage","distinct":false,"url":"https://api.github.com/repos/KA101/Cataclysm-DDA/commits/dd0aaf37d2e508aa9b43f840a0fb9cd60c1de70c"},{"sha":"a8048aea07736dc4d550e7791caadf5cd9d4f8b8","author":{"email":"0da15208cc1fb6a1921e6015a3d6bc1ef79a42a5@gmx.de","name":"Thomas Kirsten"},"message":"Move the conversion of item-data to monster speed / hp into monster function.\n\nExactly the same logic as before but in the monster class, so it can easily access the protected / private members of the monster class.","distinct":false,"url":"https://api.github.com/repos/KA101/Cataclysm-DDA/commits/a8048aea07736dc4d550e7791caadf5cd9d4f8b8"},{"sha":"d1c31027f2a4bf4baea12cf1b41c0d6eb26bcaf2","author":{"email":"0da15208cc1fb6a1921e6015a3d6bc1ef79a42a5@gmx.de","name":"Thomas Kirsten"},"message":"Use Creature::get_hp() instead of direct accessing monster::hp\n\nSimilar: use Creature::get_hp_max() instead of accessing the mtype data.\n\nAdds two wrapper in the monster class: get_hp and get_hp_max without parameters. The interface in Creature defines both function with the (optional) body part parameters. But monsters don't have body parts, the parameter is ignored anyway.","distinct":false,"url":"https://api.github.com/repos/KA101/Cataclysm-DDA/commits/d1c31027f2a4bf4baea12cf1b41c0d6eb26bcaf2"},{"sha":"896ca93e02ac6c27701272759dfef22fb55ef2df","author":{"email":"0da15208cc1fb6a1921e6015a3d6bc1ef79a42a5@gmx.de","name":"Thomas Kirsten"},"message":"Avoid repeatedly calling game::zombie by storing the result temporarily.","distinct":false,"url":"https://api.github.com/repos/KA101/Cataclysm-DDA/commits/896ca93e02ac6c27701272759dfef22fb55ef2df"},{"sha":"fe42820fbe0342d4f916f7e46f284c46fd074ce1","author":{"email":"0da15208cc1fb6a1921e6015a3d6bc1ef79a42a5@gmx.de","name":"Thomas Kirsten"},"message":"Make monster::hp private\n\nAdds two function to access it:\nheal adds to hp (inverse of apply_damage)\nset_hp, because meddling with heal / apply_damage to create the desired final hp is just to troublesome.\n\nRemoves the outdated comment: there is no hurt function anywhere in the monster class anymore.","distinct":false,"url":"https://api.github.com/repos/KA101/Cataclysm-DDA/commits/fe42820fbe0342d4f916f7e46f284c46fd074ce1"},{"sha":"8c7dc5c65ccf30f477b934a166ddedb552fab6b3","author":{"email":"0da15208cc1fb6a1921e6015a3d6bc1ef79a42a5@gmx.de","name":"Thomas Kirsten"},"message":"Use a reference instead of a pointer in game::monmove","distinct":false,"url":"https://api.github.com/repos/KA101/Cataclysm-DDA/commits/8c7dc5c65ccf30f477b934a166ddedb552fab6b3"},{"sha":"f35209470fa2a9e8dd6ecd41295d1fce7eb51fac","author":{"email":"0da15208cc1fb6a1921e6015a3d6bc1ef79a42a5@gmx.de","name":"Thomas Kirsten"},"message":"Move the despawning of out-of-bounds monsters into a separate loop.\n\nThis keeps the monster indexes in the loop above correct.","distinct":false,"url":"https://api.github.com/repos/KA101/Cataclysm-DDA/commits/f35209470fa2a9e8dd6ecd41295d1fce7eb51fac"},{"sha":"2b09b9c7d8e1dda1e13a25b4174c94afc3ab4d30","author":{"email":"0da15208cc1fb6a1921e6015a3d6bc1ef79a42a5@gmx.de","name":"Thomas Kirsten"},"message":"Use the canonical way of checking a dead NPC after hitting it:\n\nCall is_dead_state() and (if so), call die(), but do not erase the npcs from the npcs vector. This is done later in the game::cleanup_dead.","distinct":false,"url":"https://api.github.com/repos/KA101/Cataclysm-DDA/commits/2b09b9c7d8e1dda1e13a25b4174c94afc3ab4d30"},{"sha":"fd56924916b9976ed4e75a4bdc07e175bc020be8","author":{"email":"0da15208cc1fb6a1921e6015a3d6bc1ef79a42a5@gmx.de","name":"Thomas Kirsten"},"message":"Move the repeated logic \"if(dead_state) die()\" into a creature function.","distinct":false,"url":"https://api.github.com/repos/KA101/Cataclysm-DDA/commits/fd56924916b9976ed4e75a4bdc07e175bc020be8"},{"sha":"53268e6fd51ee5175911fba57ebec3121bae9b69","author":{"email":"0da15208cc1fb6a1921e6015a3d6bc1ef79a42a5@gmx.de","name":"Thomas Kirsten"},"message":"Change player::hp_convert to hp_to_bp\n\nReturning the converted value instead of storing it in a by-reference parameter.","distinct":false,"url":"https://api.github.com/repos/KA101/Cataclysm-DDA/commits/53268e6fd51ee5175911fba57ebec3121bae9b69"},{"sha":"049b9f8a02b7aad7301fb71d5a784350bfae7efd","author":{"email":"0da15208cc1fb6a1921e6015a3d6bc1ef79a42a5@gmx.de","name":"Thomas Kirsten"},"message":"Replace usage of bodypart_to_hp_part with player::bp_to_hp\n\nBecause they are basically the same function.","distinct":false,"url":"https://api.github.com/repos/KA101/Cataclysm-DDA/commits/049b9f8a02b7aad7301fb71d5a784350bfae7efd"}]}