New Map Editor Release (Build: 3358)
New Features
-------
- Map Editor can now load/save big sector maps.
- Control hardcoded list of unclickable ("bad") sectors via XML file.
o On the strategic map, the player cannot click or highlight specific
sectors (e.g. A4, A5). Introduce a <BadSector> tag in MovementCosts.xml
that flags a sector as "bad". (<BadSector>1</BadSector>)
- Move hardcoded underground sectors initialization to Lua script file. (by Realist)
o Locate "initunderground.lua" at data-xyz\scripts ("xyz" subject to change).
Lua script allows easily adding underground sectors at arbitrary locations and defining enemy garrisons and creature population.
Also enables underground bloodcat population.
- Changed order of properties in GameSettings.cpp
- Sorted Data-1.13\ja2_options.ini
- Translated missing HAM 3.6 German Texts
Bugfixes
------
- In Method CreateDestroyMouseRegionsForFacilityAssignmentMenu()
- HAM 3.6 fixes
- Turns out that the program is saving the number of used Placement Slots to the temp file fine,
but if that number is equal to the limit of how many enemies/civvies are allowed in a sector by the INI settings,
it leads to an assertion error instead when trying to re-load that sector. (by Headrock)
- The DEBUG only setting "fEnableInventoryPoolQ" is now only enabled in a DEBUG version.
In all other builds it is set to FALSE.
Info Map Editor
-------
Q: How can I create Big Maps with the Editor?
A: 1.) Start the new Map Editor.exe file
2.) The Map Editor should load a map automatically
3.) You see now 2 new text boxes (Rows, Cols) in the taskbar
4.) Enter the size of the new map in the Rows text box. It should not be greater than 2000
Cols always have the same size than Rows. That's why you can't enter a number for Cols.
Normal maps have a size of 160 rows X 160 cols
5.) Now click on New map" or load an existing map
6.) The map should have now the new size you entered for Rows
If you loaded a map, the original map is placed in the center of the new big map
7.) Make any changes you like to the map
8.) Save the map. Depending on the mapsize it could take some minutes
9.) The map will be saved in the Profiles folder
Q: How can I easy navigate in the editor in big maps?
A: 1.) Use the arrow keys to scroll. For fast scrolling press SHIFT + Arrow keys.
2.) Press "i" and you get an overview of the map.
Use the Arrow keys to scroll. By pressing also SHIFT you scroll much faster
Q: What is the version 1.12 checkbox?
A: If this checkbox is checked, the map will be saved in version 1.13 (vanilla JA2) format
Q: What limitions for big maps has the current Map Editor?
A: 1.) Radar maps are not created correctly for big maps. Only the upper left corner of the map is shown in the radar map
2.) NPC-Scripts are bound to grid numbers. They are not yet converted to the new grid numbers when altering a normal map
3.) There are a lot of hardcoded grid numbers in the source code, so they only work with normal maps
4.) For now you should only create big maps, that do not have any NPCs on it, that trigger special actions
For outdoor maps or town maps (that do not have any NPCs special actions) big maps work fine
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1213 4f8fa57e-7814-0410-bad4-adc449f26b7c
New Features
-------
- Added Big Maps Project support. You will not see any differences until I release the new Big Maps project Map Editor
o This will allow playing really big tactical maps (up to 2000 rows X 2000 cols, instead of "normal" 160 rows X 160 cols)
- Added Multiplayer v1.5
o Most important feature in this version is the synchronization of explosives (grenades, TNT, ...) and fixes some bugs
Info
-------
- Because of the Big Maps Project integration most of the structures have changed and you HAVE TO START A NEW GAME
o If you don't want to use the new EXE, I have renamed the previous release EXE to "ja2_3329.exe" and you can continue playing with your existing savegames.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1211 4f8fa57e-7814-0410-bad4-adc449f26b7c
Bugfixes
--------
- Fixed NPC and PC movement errors
- Fixed boxers in San Mona do not leave the boxing ring after the fight
- Fixed Darren does not pay the cash after you won the boxing fight
- Removed a line of code which fiddled with chance to hit calculation.
- Cover Display now works correctly with multiple enemies.
- Cover Display has no problems with stance anymore.
- Enhanced IMP Creation: When choosing female, after leaving color choosing, the "email" button is removed. That's because the code tries to remove a button which do not exist (for big/small body) so it grabs the first one around (fixed by Sandro)
- Fixed CTD when throwing item (grenade, rock, throwing knife, ...) in tactical when item description box is open
New Features
------------
- HAM 3.6 (by Headrock)
o For more infos see: http://www.ja-galaxy-forum.com/board/ubbthreads.php?ubb=showflat&Number=243620&page=1&fpart=1
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1208 4f8fa57e-7814-0410-bad4-adc449f26b7c
Changes
-------
- Updated Cover system (by CptMorre)
o made display cover system performance independant of map size.
* New settings *
o gGameExternalOptions.ubStanceEffectiveness = iniReader.ReadInteger("JA2 Tactical Settings", "STANCE_EFFECTIVENESS", 10, 0, 100);
How much the stance influences the view range reduction. Prone will give you 10% (default) view reduction / cover.
o gGameExternalOptions.ubLBEEffectiveness = iniReader.ReadInteger("JA2 Tactical Settings", "LBE_EFFECTIVENESS", 50, 0, 100);
Dual welding the longest sniper rifles with full attachements, having a third backup sniper rifle, one combat pack and one backpack will give a 50% (default) sight penalty with the default settings.
* Removed settings *
o gGameExternalOptions.fMovementSightAdjustment = iniReader.ReadBoolean("JA2 Tactical Settings", "MOVEMENT_SIGHT_ADJUSTMENT", TRUE);
o gGameExternalOptions.fStanceSightAdjustment = iniReader.ReadBoolean("JA2 Tactical Settings", "STANCE_SIGHT_ADJUSTMENT", TRUE);
o gGameExternalOptions.fLBESightAdjustment = iniReader.ReadBoolean("JA2 Tactical Settings", "LBE_SIGHT_ADJUSTMENT", TRUE);
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1202 4f8fa57e-7814-0410-bad4-adc449f26b7c
Bugfixes
--------
- Win 98 Bugfix: ja2.ini option to disable UNICODE (VFS_NO_UNICODE)
- When VFS_NO_UNICODE = FALSE, files will be opened with default encoding (instead of UTF8/16) in the source code
- EDB: Rendering of "Hide Muzzle Flash" icon
- Enemies should also drop LBE gear
- Refreshing bug in strategy merc list in resolution 640x480 and 800x600
- Character in running state will loose breath points each turn if no action is performed
- Automatic cancellation of running if the merc is in a running state and was not moved since last turn
- Bobby Ray Tooltips fixes
- Fixed bug, where enemies do not climb on rooftops anymore, when ASTAR is disabled
- Source code is now compiled with vanilla JA2 pathing instead of A*
New Features
------------
- Externalized "Bobby Ray tooltips show possible attachments" from HAM 3 (BOBBY_RAY_TOOLTIPS_SHOW_POSSIBLE_ATTACHMENTS)
- New Cover System (by CptMoore)
. There are 8 new ja2_options.ini entries in the "JA2 Tactical Settings" section
o STEALTH_TRAIT_COVER_VALUE, STEALTH_EFFECTIVENESS, TREE_COVER_EFFECTIVENESS, CAMOUFLAGE_EFFECTIVENESS, COVER_DISPLAY_UPDATE_WAIT
o MOVEMENT_SIGHT_ADJUSTMENT, STANCE_SIGHT_ADJUSTMENT, LBE_SIGHT_ADJUSTMENT
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1196 4f8fa57e-7814-0410-bad4-adc449f26b7c
Bugfixes
--------
o IMP Creation -> String Array for holding the Attribute selection text was too short and so we got a buffer overrun in Debug version
o At the end of an underground battle, all stationary enemy garrisons in the SURFACE sector directly above disappear completely
o Temporary fix in method "NumEnemiesInSector()" to avoid assertion errors if the "source" sector was along the map's edge
o IMP Creation: Moved second info text for skill page some pixels up, because in Russian version text is longer
o If user changes shipping destination location in "ShippingDestinations.xml", Bobby Ray was still under construction if the "original" shipping destination was not under players control.
o Bugfix: Adding or removing "possible placement locations" for bloodcats, in any of the bloodcat maps, causes the program to create 0 bloodcats as a "defense mechanism"
o Some minor VFS fixes
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1172 4f8fa57e-7814-0410-bad4-adc449f26b7c
New Features
------------
- Spread Patterns MOD
o TableData/SpreadPattern.xml & additional (optional) <spreadPattern> Tag in TableData/Items.xml
Bugfixes
--------
o Mine income was not correctly initialized in GameSettings
o Need for soldier sleep was calculated wrong
o Stop Time when Skyrider arrives in the destination sector
o On "sell all" also unreachable items were sold
o Stop time compression when shipment and email arrives
o Fixed duplication of items from shipment. This bug occured, when loading a savegame with at least 2 depending shipment orders
o Re-enabled stealing from delivery sector (ja2_options.ini: STEALING_FROM_SHIPMENTS_DISABLED)
o Re-enabled & externalized chance that whole shipment is lost (ja2_options.ini: CHANCE_OF_SHIPMENT_LOST)
o Re-enabled delivery from John Kulba
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1159 4f8fa57e-7814-0410-bad4-adc449f26b7c
Bugfixes
--------
o EDB: Autofire and Burst now have their own penalties (there are updated "Data-1.13\Interface" files)
o JA2 Game Intro is working again
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1137 4f8fa57e-7814-0410-bad4-adc449f26b7c
New Features
------------
Virtual File System (VFS)
o INFO: Using the VFS we have an elegant way for defining MOD hierarchy
o Additional INI Files (e.g: vfs_config.JA2Vanilla.ini, vfs_config.JA2113.ini) for setting up different MODs
o The file ja2.ini now contains a property called "VFS_CONFIG_INI" where you can select the INI of your MOD instead of the "CUSTOM_DATA_LOCATION"
o For additional informations on the VFS see "Docs\VirtualFileSystem_Setup.txt" inside your JA2 install directory
Multiplayer v1.2
o File Transfer for sharing files from the server with the other clients
o A lot of Bugfixes
o Improved GUI
o For additional informations on Multiplayer and File Transfer see "Docs\Multiplayer_*.txt" inside your JA2 install directory
Bugfixes
--------
o Enhanced IMP Creation
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1135 4f8fa57e-7814-0410-bad4-adc449f26b7c
New Features
------------
Enhanced IMP Creation
o INFO: Customize your IMP more personally (hair, clothes, ...)
o Soldier Tooltips can now be toggled on/off in the option screen
o Removed "Random IMP personality" from option screen
o Removed CUSTOM_PERSONALITY, CUSTOM_ATTITUDE, ALLOW_SOLDIER_TOOL_TIPS, IMP_STARTING_LEVEL from ja2_option.ini
o Added IMP_STARTING_LEVEL_COST_MULTIPLIER, IMP_BONUS_POINTS_FOR_DISABILITY, IMP_BONUS_POINTS_PER_SKILL_NOT_TAKEN to ja2_options.ini
o New Files in the Data\Laptop folder
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1133 4f8fa57e-7814-0410-bad4-adc449f26b7c
Bugfix: Tactical Interface is still locked after QuickLoad (by Zathras)
The valid range for Price_Modifier is (-1)-100. -1 & 0 were added as options some time back to allow the game to dynamically adjust the Price_Modifier value based on game progress.
Translated new text for Multiplayer and HAM.
Updates to the HAM/100AP integration.
Added Min/Max Suppression Tolerance values (from Headrock).
Bugfix: Took away the ability to reload a weapon from the item description box while using an ammo crate.
Corretion to the 100AP/HAM integration.
Made an APBPConstant a little clearer. Before it was labeled as part of the suppression system when in reality it's not.
Fixes/Improvements to Option screen (by Arynn)
Added the new strings from the multiplayer branch
Added the new strings from the multiplayer branch
Updated a few "wrong" default values to "correct" ones. In multiplayer we read the default ja2_options.ini. Problem was, that min. and max. CTH was set to 0, which resulted in zero CTH
Translated MP Text in _GermanText.cpp
A few minor adjustments
Disabled some of the charges associated with the Increased Aiming Costs option.
Corrected a AP display issue when you had to turn while a weapon was not in a ready position.
Found a bug in the russian text file that was preventing the creation of russian builds.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1113 4f8fa57e-7814-0410-bad4-adc449f26b7c
New Features:
- Headrock's HAM 2.8:
- Zathras' Multiplayer UI Patch
Bugfixes:
- New option "Force turn mode" is always disabled when playing a multiplayer game
- Max Merc limit in multiplayer was not evaluated when hiring merc
- Press "ESC" while green progress bar on laptop loads -> Buttons are still visible although Laptop is closes
- Fixed szSoundEffects definition
- Minor fix to allow the bullet graphic to render properly when the shopkeeper panel is open.
- Fixed a bug when creating the application, it was only possible to start ONE instance of the game. Now it is possible to start as many instances of the game you would like.
- Temporary fix for game freeze when a path contains duplicate tiles
Also non English Versions (German and Russian) of ja2.exe are available
How to update these Versions from SVN, take a look at the Bears Pit thread:
http://www.ja-galaxy-forum.com/board/ubbthreads.php?ubb=showflat&Number=201700&page=1#Post201700
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1104 4f8fa57e-7814-0410-bad4-adc449f26b7c
Bugfixes:
- CTD when enemies retreat (by Heinz)
- Open IMP page in laptop and then close laptop using key ESC. You will see button for closing window on strategic map... if you press this button you will have CTD.
- Mercs randomly drop aimed weapons automatically under some weird circumstances
- Merc are now a little more "talkactive"
- Fixed error creating new soldiers in DoReinforcementAsPendingEnemy
- Fixed some bugs in Shopkeeper interface.
- Fixed CTD when pressing Alt-Y not in cheat mode
- Save/load screen shouldn't appear during quickload
- Fix movement cost problems in 100AP. Externalized the movement cost modifiers and changed the run modifier from a divisor to a flat modifier like other forms of movement use.
- Added a condition which should stop the blue asterisk from appearing on an item unless that item is of item class IC_LBEGEAR.
New:
- AI Viewer: To use the AI Viewer build a Debug Version, go to the Strategy Screen and press F12
- Quest Debug System: Quest Debug System dialog is opened by switching to the Tactical screen and press F11.
- New option screen with "Next" and "Prev" button. This allows "unlimited" of options in the option screen
- "Forced turn base mode" option in the option screen and also available via keyboard shortcut (CTRL+ALT+SHIFT+T) in tactical. This forces the game to go in turn based mode when there are enemies in the sector.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1097 4f8fa57e-7814-0410-bad4-adc449f26b7c
- Space Viking's many mercs changes plus numerous generic bug fixes
- Bug fix for invalid coordinates problems (outside valid range of 1-16)
- fixed mistakes in UFS web page (was missing ","), add missing line (by inshy)
- added russian layout for IMP Begin screen, now russian users can type name of they heroes using russian letters. Fixed position for male\female text in russian version (by Heinz)
- fixed wrong position for items in inventory (by Heinz)
- Bugfix: Fixed Runtime Error in Strategy Screen when user plays in 640x480 and moves cursor over merc list (by Heinz)
- Chinese specific update (by zww from tbs)
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1079 4f8fa57e-7814-0410-bad4-adc449f26b7c
- An AP value was being recast to INT8 which caused some issues with more then 127APs.
- Altered the RemoveRegion failsafe so use the REGION_EXISTS flag. This seems to resolve the "timed" crash and/or infinite loop that people have been reporting with sector inventory.
- Added a cheat hotkey that creates a huge variety of items for troubleshooting sector inventory with multiple pages.
- Added maximum and minimum values for the AP_BONUS settings in the INI file.
- Merged the two parts of RenderItemDescriptionBox function (strategic and tactical) into a single function. Now any change automatically effects both version of the box.
- Fixed some Polish and Russian translations
- Fixed description text in "ja2_options.ini" for property "USE_ENHANCED_DESCRIPTION_BOX"
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1060 4f8fa57e-7814-0410-bad4-adc449f26b7c
- Fixed a CTD that occurs when you fail to attach an item
- Multiplayer: Override panel key is now bound only to key "7" instead of 5, 6 and 7
- Fixed a 100AP conversion issue for morale and suppression fire.
- Fixed a CTD caused by trying to "pickup" an item from sector inventory while simultaneously looking at that items description box.
- Upgraded an INT8 to INT16 in training functions to try and catch a problem with INI values being set too high.
- Fixed some display values in EDB to properly switch between 100AP and 25AP.
*** New INI Editor ***
- INI Editor now works fine in 800x600 resolution
- Property Value Section now contains a scrollbar
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1054 4f8fa57e-7814-0410-bad4-adc449f26b7c
*** New ja2.exe build (2415) ***
- Enhanced Description Box (by Headrock)
- Can be toggled on/off in the game settings
- Can be customized in the ja2_options.ini (USE_ENHANCED_DESCRIPTION_BOX)
- Further infos: http://www.bookgallery.co.il/JA2PublicPosts/DescBox.asp
- 100 AP System
- Now the default system
- Can be changed back to 25 AP System in the Data-1.13\APBPConstants.ini
- Just change the property AP_MAXIMUM = 25 and you have the 25 AP System back
German and Russian EXE can be found here:
http://ja2.h758491.serverkompetenz.net/Wanne/Build_2415/
*** New XML Editor ***
- Supports the 100 AP system
- Minor adjustments
*** New INI Editor ***
- Also works as a MOD Loader.
- New entry in the ja2.ini (DEFAULT_JA2_EXECUTABLE). Used for starting JA2 v1.13 from the INI Editor
- Supports 100 AP System (APBPConstants.ini)
- Configure and start JA2 v1.13 from the INI Editor
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1049 4f8fa57e-7814-0410-bad4-adc449f26b7c
--Editor fixes from Kriplo
Implementation for mouse wheel support
Implementation for mouse middle button support
Fix for adding on roof tiles
Fix assertion when leave editor mode
On saving map check of entry points are add
Fix for to many ToolTip messages in place walls
Fix assertion on loading map without entry points
Fix assertion in Sector Summary if DevInfo directory not exist
Fix for problem of losing map edgepoints
Fix problem with losing stuff from LBE
Fix crash in meanwhile
--Game fixes from Headrock
Fixed a typo in the Health experience calcuation for strategic movement
Added "Draw" cost to weapons help data
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1044 4f8fa57e-7814-0410-bad4-adc449f26b7c
- Support for specific cities.xml (eg. Russian.Cities.xml)
- Fixes for new fonts
- Fixed the sector inventory so that you can right click to look at an item's description even if you don't have an On Duty merc in the sector. You still need a merc in sector, but they can be involved in another activity where before they also had to be part of an active unit.
- Fixed Russian texts
- Possible fix for the intermittent sector inventory right-click issue.
- Fixed the display AP cost for shooting (when you also have to change facing and/or ready a weapon) so that it correctly matches the APs that are really charged.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1034 4f8fa57e-7814-0410-bad4-adc449f26b7c
- Adjusted the ChangeDropPackStatus function to account for "range to backpack" when enemies are in sector.
- Corrected a graphic rendering issue with attachment alignment on the strategic screen.
- Corrected a problem with IMP hiring that caused an assertion error when trying to use the last female IMP profile ID.
- Fix CTDs in Multiplayer (and Singleplayer)
- Random number and CTH adjustments.
- OIV Graphic alignment correction.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1030 4f8fa57e-7814-0410-bad4-adc449f26b7c
- Corrected a display problem with the KeyRing popup when playing in OIV mode.
- Dirty fix: Removed "Assertion" that could occur when entering a sector.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1025 4f8fa57e-7814-0410-bad4-adc449f26b7c
- added INI option for new tracer bullets (USE_BULLET_TRACERS)
- updated German.Items.xml
- fixed one spelling mistake in Items.xml
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@999 4f8fa57e-7814-0410-bad4-adc449f26b7c
bugfix: Minor adjustment to the NIV mode 800x600 thigh and combat pack pocket coordinates on the tactical panel so that the stealing menu doesn't inadvertantly "double hatch" our pockets and make them look solid black.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@997 4f8fa57e-7814-0410-bad4-adc449f26b7c
*** ja2.exe ***
Bugfixes:
- Fixed item "beaming" bugs that allowed items to be grabbed from a sector your merc wasn't currently in.
- Resolved a problem where ItemSize=99 items would cause a CTD because of a mission condition.
- Adjusted the ALT+W function so it runs a bit better.
- Merc with no ammo in autocombat leads to CTDs.
- Character names which are too long at IMP activation screen leads to CTDs.
- SHIFT+N allowed both sun goggles and NVGs to be worn at the same time.
*** Map Editor.exe ***
Bugfixes:
- Fixed the map editor so that "Nada" items don't appear in the item lists.
- Made an adjustment to the editor so that map version checking takes place when rebuilding the DevInfo folder.
This will allow maps to update properly if you switch between maps alot, while not forcing a major version update
when it's not needed.
- Minor update so that sector A9 will be the default map when a major version update has completed.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@996 4f8fa57e-7814-0410-bad4-adc449f26b7c
- Fixed a CTD that occurs when closing sector inventory while the item description window is open.
- Added a new ALLOW_SECTOR_DESCRIPTION_WINDOW flag to the ja2_options.ini that allows players to turn off the stack popup and item description functionality for the sector inventory panel.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@989 4f8fa57e-7814-0410-bad4-adc449f26b7c
- Fix for AI seeking climb point in toxic gas
- Fix for civilians trying to climb the roof to seek noise
- Fix for punching and stabbing
- Fix for chance to hit being 1% at distances > 52
- Fix for militia transported to NOWHERE during autoresolve in a different than current sector
- INS-key for overhead map is back!
- Weapon CTH at extreme range now calculated with soldier's real sight max
- Fix for 1% chance to hit target when distance is > 52
- Camo and other effects are taken into account when aiming at a body part
- Max Distance Visible is more consistent in being calculated based on the soldier and direction rather than a fixed number
- removed breath reduction for soldiers that are not in loaded sector
- added bug fix from build 1240 (fixed freeze in tactical - enemy soldier attempted to throw item at himself (save from pyg))
- Bugfix in ChooseFaceGearForSoldierCreateStruct(). Wrong HeadPos was set.
- Fixed bug where wrong chance to hit was displayed by completing AXP's previous bugfix.
- Bug fix for militia movement on strategic screen not setting group ID for battles.
- Added AStar pathfinding.
- Fixed buffer overrun for LUA strings
- Made direction variables more consistent as unsigned chars. Several function prototypes updated for this.
- Many memory leaks plugged: External options, video overlays, laptop file lists, tactical message queue, strategic pathing, autobandage, merc hiring, detailed placements, crate in Drassen, tactical placement
- New functions and attributes for soldiers in LUA (still for debugging at best): Soldier.APs (current APs), Soldier.changestance (changes stance, uses game heights)
- File catalog ignores .SVN directories (game load speedup)
- Fix CTD in mouse regions
- JA2 window now refuses to move to negative coords
- Checks to prevent DirectX-related infinite loops due to minimizing and task switching
- Invading enemies should now appear on the borders even when reinforcements disabled in .ini
- Suppression should no longer work on mercs in medium water
- Infant/Young creatures use restored spit instead of Molotov
- Creatures begin with their 'guns' (spit) 'locked and loaded' (cartridge in chamber)
- Further fix to AXP and AlaarDB's weapon ready check: Now 'firing' is always counted as 'ready'.
- Prevent mercs from falling and flying back through obstacles
- Check whether battle group is even set before testing its location for battle setup
- Burst spread locations now limited to 6, the limit within the soldier struct
- Extra burst spread locations zeroed out so that they aren't used unless necessary
- Spread code now only shoots at locations in the spread, and will shoot at all 6
- Only mercs in the sector where autobandage happens will be made to stand up after it's done
- Throwing a grenade at the tail of the plane in Drassen should not result in a CTD
- Reset attack busy count when loading a new sector
- Fixed a problem with wrong variable name, and modified infant spit index to match the new Vanilla friendly index
- Fixed CTD in editor when changing detailed civ placement from wheelchair to jeep
- Fixed memory corruption in detailed placement due to old-inventory behavior
- Added Editor.slf to files JA2/Editor will load from
- Fixed FindBestPath to not search for a path to NOWHERE
- bugfix: Sam sites with index >=5 lacks ability to train militia
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@877 4f8fa57e-7814-0410-bad4-adc449f26b7c
- Fix for freeze when AI killed by mines or other self-inflicted wounds
- Added Breath APs fix
- Fix for mouse movement when clicking on mercs. In windowed mode would move the cursor to odd places on screen
- Enemy group invasion tactics fixed. Now reinforcements come from all directions, same as from surrounding stationary reinforcements
- Fix for mercs turing lame
- allowed militia to wear camo
- Fix for uninitialized group in reinforcements
- Fix AI deadlock when multiple soldiers occupy the same tile
- Fix to reset Pablo so that future thefts can also be punished
- Fix for missing enemies in mobile group when player invades
- bugfix: Sometimes if you press with the right mouse button on the radarmap, the overhead map view was not displayed
- Fix for enemy invasions and reinforcements
- bugfix: HE Ammo Bug
- Fix for the "CONT" that won't go away
- Fix points calculation in BaseAPsToShootOrStab
- Tweaks to inventory, soldier, and merc profile structs
- Fix for divide by 0 in CalcBestShot
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@854 4f8fa57e-7814-0410-bad4-adc449f26b7c
- new shortcut: Ctrl+Del in sector inventory deletes all items in sector
- Fix squad oversizing based on user prefs
- Fix militia issue in auto-resolve: Militia were not always being promoted even when it said they were. Since first X slots are for militia already in the sector, militia from other sectors are not sorted by rank. This actually affects battle outcome!
- Added fix to editor to skip cached tiles in RaiseWorldLand. Otherwise it can crash when invoked within the game.
- fixed some variables not being initialized
- Efficiency improvements for soldier->soldier sighting
- fixed memory leak in new inventory
- fixed some variables not being initialized
- fixed swapped parameter in LOS.cpp
- added variable range check in lighting.cpp, the cause of wrong index value still not fixed
- Fix for slow bullets and other anims
- Fix problem with items with default attachments not comparing to base items correctly
- Removed an inconsistency between quickload and regular load
- Turned on heap checking for debug builds. *Could cause memory to run low if game runs for extended periods
- Fixed assertion message for case where soldier groups try to cross impassible terrain
- Fixed inventory memory leak
- Fix sticky keys due to loading screens
- Fix infinite loop/hang after an assertion failure
- Fix problems with missing tile effect in places such as Alma and Tixa underground
- Also fixes potential problem with buffer overruns
- Don't have monster spit cause fiery explosions
- More detailed error messages for failed saves
- Yet another phantom militia fix
- Fix for incorrect, sometimes negative, values of items sold to locals
- Editor: Disable light sprites that are not in bounds. Actually happens in some sectors (ie Drassen)
- Editor: Fix for use of uninitialized variable in undo
- Editor: Fix for clipping bounds that are offscreen (causes crash)
- Fix for AP bonus reading from INI
- Fix mine indexes when looking for creature infestation of mines
- Final (?) fix for militia reinforcements. Also a change: If you refuse reinforcements, none will come for the entirety of the battle
- Increase size of cover and LOS grids to fit max radius
- Fix for uninitialized light level in DistanceVisible
- Move CheckForEndOfBattle to end of ReduceAttackBusy, to remove a possible militia invalidate upon promotion
- Change the way Alt-L handles reloading
- added range check for light sprites
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@848 4f8fa57e-7814-0410-bad4-adc449f26b7c