k-bar
k-bar
MonsterMHit and MonsterTrapHit merged now. Please suggest naming, placing in file and namespace and other remarks in review. This version of solution is based on *template function pattern* using *template...
For easier view of changes - look only at commit changes, because *Files changed* view mess this up.
if you wonder how it would look with virtuals instead function template: https://github.com/k-bar/devilutionX/commit/cb92aec7ef0509f375514d063a0c0bf9246ed7d3 https://github.com/k-bar/devilutionX/commit/e075fc42f9f4ba024712f7ef1adbe27dd6dbcb8f EDIT: constructor from 2nd commit actually should be merged here. It simplify again break barrel thing.
> not really, but i can tell you really like virtuals :) why not, go take a look it's prutty. But seriously I think it may be the way to...
Fix for melee (#4630) merged. Fix for missile will be prepared just after #4604
> I never thought of combining infravision and baserk, it's a shrewd strategy :D I found it by accident, when testing my other PR. Infra added for testing and screnshot...
> Is it normal to be able to cast spells on infra monsters through walls? you can cast it even without infra (same with stone curse, or heal other), nontheless...
> "Load Other" that would suggest you want to load other savegame? But currently you may want to also create new character. I think `back to menu` would be maybe...
nothing quicker than holding esc :) ...after hitting "New Game"
> and resumption is the more common action by a longshot. what makes you think that it is?