.editorconfig already enforces it but it's getting changed piecemeal in
every commit. just get it done with.
the script:
```
find . -type f -not -path "./.git/*" -not -path "./.vs/*" | while read -r file; do
isFile=$(file -0 "$file" | cut -d $'\0' -f2)
case "$isFile" in
(*text*)
echo "$file is text"
if [[ $(tail -c 1 "$file" | wc -l) -ne 1 ]]; then
echo "" >> "$file"
fi
;;
(*)
echo "file isn't text"
;;
esac
done
```
Fixed old-style behavior when creating a soldier struct (caused memory corruption and leaks)
Fixed soldiers unable to fire if an error happened while firing the off-hand weapon
Fix animation system problems with soldiers interrupted while changing stance, such as twitching and not being able to navigate around obstacles
Prevent splitting money while an item is in the hand, which would result in losing the original item
Fix reverse of X,Y when checking visibility through a roof, which could make soldiers falsely visible/invisible
Prevent militia from simply waiting on the border when enemies are known to be in the sector
Fix stack overflow for soldier inventory debug display
Optimized A* pathing and cleaned up VS2K5 specific code
AI can now use all climb points for climbable buildings, not just a random few
Fix to not allow flat roof butted against slanted roof to be identified as a climb point
Prevent soldiers who cause an interrupt from a special action from continuing on their path after being interrupted
Prevent soldiers who enter or leave deep water from moving a space too far and turning back
Prevent soldiers from trying to crouch while in shallow water
Make soldier turn in the closest direction when he must get up from prone and turn then fall back to prone
Allow a soldier to swat for a tile before returning to prone if unable to return to prone immediately after a turn
Fix civilians that should show up in a sector, missing because of others that aren't
Fix a memset on a C++ class
Place Skyrider in a sector near his helecopter once available and the helicopter is present
Fix soldier corruption if too many shots burst-spread into too few tiles
Include both first and last tile in spread when some locations must be skipped
Fix to shoot at last location in burst
Fix to remove other previous spread locations when calculating a new spread
Fix to reload or rechamber off-hand when necessary, such as having a pistol shotgun in that hand
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1532 3b4a5df2-a311-0410-b5c6-a8a6f20db521
*********************************************************
* 2006/03/16 *
* RoWa21 *
* Developed in VS 2003 *
*********************************************************
- Changed missing screens to the High-Resolution
- Tactical Screen
- Shopkeeper Interface,
- Credits Screen,
- AutoResolve Screen
- ...
- Some bugfixing with the screens
- Centered message boxes
- ...
- Merged lalienxx's features (BUT NO BURST AND NO MP3/OGG SUPPORT!)
- Rain and lightning visual and sound effects
- Visibility radius decrease when rainig
- Weapon relyability decrease when rainig
- Possibility to spot the enemy at night with lightning
- New settings in the ja2.ini file for the rain
- Aiming without shooting with "L" key
- Move the cursor over an enemy and press the "L" key.
- Added judges bugfixing
- Swapped internal shopkeeper character numbering to match the Prof.dat in 1.13 (Gabby/Smithy)
- Added status of the items to item 'tooltip'
- If it is an ammo, the number of available rounds appear
- A stack of items now always shows the minimum repair status
- No more carrying a stack of grenades into battle only to find most are duds
- Made tactical map loading code more robust against maps with bogus buildings
- Made tactical map loading code more robust against maps with characters with bogus locations or schedules
- Changed the location of the savegame structure
- Each mode contains its own savegame folder in its own data-folder
- Some general bugfixing
- See Bugfixing.xls on the ftp
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@24 3b4a5df2-a311-0410-b5c6-a8a6f20db521