Fix bug with critical hit chance calculation
add msvc140 cache files into gitignore
fix constant integer array issue with MSVC in input.cpp
solve almost all compile errors with msvc
write compiling guide for visual studio
add SDL into msvc compiling guide
astyle explosion.cpp and output.cpp/h
fix min(pow(x,x),x) build error with gcc
Original code: std::min(std::pow(0.8f, dis_item.damage), 1.0); results in compile error with msvc. Then, I edit it to std::min(std::pow(0.8f, dis_item.damage), 1.0f); then in Visual Studio, the code passes to build. But in GCC, there is a compile error. Finally, I edit it to (float)(std::min(std::pow(0.8, dis_item.damage), 1.0))
use unicode escape character to represent single char '…'
write localization guide with msvc
astyle code format for all files I changed
Merge branch 'master' of https://github.com/CleverRaven/Cataclysm-DDA …
…into melee_critical_hit_bugfix
fix reset_special_rng argument in shadow trapfunc
passing 0 produces a std::logic_error: 'basic_string::_S_construct null not valid'
When choosing a stackable item in the pick up menu, account for items…
… of that type already in the player's inventory when calculating the projected volume.
Account for stackable items when determining the projected volume.
Adds a helper function in the pickup class that changes the projected volume depending on whether the item is stackable or not and if any of that item is in the player's inventory.
Use a copy of the player to track projected weight and volume.
Add a position field in struct pickup_count; this field is used by Pickup::pick_up to keep track of the position of the item in the copy of the player's inventory.
Restore pickup.h to how it was (I thought I did that already, but app…
…arently I didn't)
Merge remote-tracking branch 'origin/pr/16847'
* origin/pr/16847: Fix bug with critical hit chance calculation
Merge remote-tracking branch 'origin/pr/16889'
Very minor restyling with merge. * origin/pr/16889: msvc optimization flags tune astyle code format for all files I changed astyle code format write localization guide with msvc use unicode escape character to represent single char '…' fix min(pow(x,x),x) build error with gcc astyle explosion.cpp and output.cpp/h add comment and fix the typo add SDL into msvc compiling guide write compiling guide for visual studio solve almost all compile errors with msvc fix constant integer array issue with MSVC in input.cpp add msvc140 cache files into gitignore
Keep terminal and oversized framebuffers at the same size to prevent
crashes from other windows using the oversized dimensions in the terminal buffer.
Merge remote-tracking branches 'origin/pr/16950' and 'origin/pr/16953'
* origin/pr/16950: fix reset_special_rng argument in shadow trapfunc add mischief to SIGNOFF * origin/pr/16953: Keep terminal and oversized framebuffers at the same size to prevent crashes from other windows using the oversized dimensions in the terminal buffer. Fix crash case where hit animations are used with custom fonts. Undo the refresh after the uimenu window is closed.