Wanne
91087ca8c0
************************************************************
...
* Merged Source Code from Development Trunk: Revision 4063 *
************************************************************
- Source Code is merged from: https://81.169.133.124/source/ja2/branches/Wanne/JA2%201.13%20MP
- This will be the Source for the Beta 2011 Test
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4064 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2011-01-18 09:11:09 +00:00
Wanne
09ad70f868
*************************************************************************
...
** Merged source code from development (MP+BMP) trunk (Revision: 3352) **
** https://81.169.133.124/source/ja2/branches/Wanne/JA2%201.13%20MP **
*************************************************************************
1 (Rev. 3343)
Changes:
Control hardcoded list of unclickable ("bad") sectors via XML file. (by Realist)
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>)
Files:
/branches/Wanne/JA2 1.13 MP/Build/Strategic/Map Screen Interface Map.cpp
/branches/Wanne/JA2 1.13 MP/Build/Strategic/Strategic Movement Costs.cpp
/branches/Wanne/JA2 1.13 MP/Build/Strategic/mapscreen.cpp
/branches/Wanne/JA2 1.13 MP/GameDir/Data/TableData/Map
/branches/Wanne/JA2 1.13 MP/GameDir/Data/TableData/Map/MovementCosts.xml
/branches/Wanne/JA2 1.13 MP/GameDir/Data-1.13/TableData/Map
/branches/Wanne/JA2 1.13 MP/GameDir/Data-1.13/TableData/Map/MovementCosts.xml
2 (Rev. 3344)
Changes:
Move hardcoded underground sectors initialization to Lua script file. (by Realist)
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.
Files:
/branches/Wanne/JA2 1.13 MP/Build/Strategic/Campaign Init.cpp
/branches/Wanne/JA2 1.13 MP/Build/Strategic/Campaign Types.h
/branches/Wanne/JA2 1.13 MP/Build/Strategic/Queen Command.cpp
/branches/Wanne/JA2 1.13 MP/Build/Strategic/Strategic AI.cpp
/branches/Wanne/JA2 1.13 MP/Build/Strategic/Strategic_2005Express.vcproj
/branches/Wanne/JA2 1.13 MP/Build/Strategic/Strategic_VS2008.vcproj
/branches/Wanne/JA2 1.13 MP/Build/Strategic/UndergroundInit.cpp
/branches/Wanne/JA2 1.13 MP/Build/Strategic/UndergroundInit.h
/branches/Wanne/JA2 1.13 MP/Build/Strategic/strategicmap.cpp
/branches/Wanne/JA2 1.13 MP/Build/Tactical/Soldier Init List.cpp
/branches/Wanne/JA2 1.13 MP/GameDir/Data/Scripts
/branches/Wanne/JA2 1.13 MP/GameDir/Data/Scripts/initunderground.lua
/branches/Wanne/JA2 1.13 MP/GameDir/Data-1.13/Scripts
/branches/Wanne/JA2 1.13 MP/GameDir/Data-1.13/Scripts/initunderground.lua
3 (Rev. 3345)
Changes:
Bugfix: In Method CreateDestroyMouseRegionsForFacilityAssignmentMenu() (by Headrock)
Files:
/branches/Wanne/JA2 1.13 MP/Build/Strategic/Assignments.cpp
4 (Rev. 3346)
Changes:
Changed order of properties in GameSettings.cpp (by Headrock)
HAM 3.6 fixes (by Headrock)
Sorted Data-1.13\ja2_options.ini (by Headrock)
Files:
/branches/Wanne/JA2 1.13 MP/Build/GameSettings.cpp
/branches/Wanne/JA2 1.13 MP/Build/GameSettings.h
/branches/Wanne/JA2 1.13 MP/Build/Laptop/BobbyRGuns.cpp
/branches/Wanne/JA2 1.13 MP/Build/Strategic/Assignments.cpp
/branches/Wanne/JA2 1.13 MP/Build/Strategic/MilitiaSquads.cpp
/branches/Wanne/JA2 1.13 MP/Build/Strategic/Strategic Mines.cpp
/branches/Wanne/JA2 1.13 MP/Build/Strategic/Town Militia.cpp
/branches/Wanne/JA2 1.13 MP/Build/Tactical/Campaign.cpp
/branches/Wanne/JA2 1.13 MP/Build/Tactical/Interface Enhanced.cpp
/branches/Wanne/JA2 1.13 MP/Build/Tactical/Interface Items.cpp
/branches/Wanne/JA2 1.13 MP/Build/Tactical/Items.cpp
/branches/Wanne/JA2 1.13 MP/Build/Tactical/Items.h
/branches/Wanne/JA2 1.13 MP/Build/Tactical/Overhead.cpp
/branches/Wanne/JA2 1.13 MP/Build/Tactical/Soldier Control.cpp
/branches/Wanne/JA2 1.13 MP/Build/Tactical/Soldier Profile.cpp
/branches/Wanne/JA2 1.13 MP/Build/Tactical/Weapons.cpp
/branches/Wanne/JA2 1.13 MP/Build/TileEngine/Explosion Control.cpp
/branches/Wanne/JA2 1.13 MP/GameDir/Data-1.13/Ja2_Options.INI
/branches/Wanne/JA2 1.13 MP/GameDir/INIEditorJA2Options.xml
5 (Rev. 3347)
Changes:
Bugfix: 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)
Re-ordered Data/Ja2_Options.INI (by Headrock)
Files:
/branches/Wanne/JA2 1.13 MP/Build/Tactical/Enemy Soldier Save.cpp
/branches/Wanne/JA2 1.13 MP/GameDir/Data/Ja2_Options.INI
6 (Rev. 3348)
Changes:
Translated missing HAM 3.6 German Texts (by systemfehler)
Files:
/branches/Wanne/JA2 1.13 MP/Build/Utils/_GermanText.cpp
7 (Rev. 3351)
Changes:
PlusAI 1.0 Patch (by Headrock)
Files:
/branches/Wanne/JA2 1.13 MP/Build/Tactical/Points.cpp
/branches/Wanne/JA2 1.13 MP/Build/Tactical/Points.h
/branches/Wanne/JA2 1.13 MP/Build/TacticalAI/Attacks.cpp
/branches/Wanne/JA2 1.13 MP/Build/TacticalAI/DecideAction.cpp
/branches/Wanne/JA2 1.13 MP/Build/TacticalAI/FindLocations.cpp
/branches/Wanne/JA2 1.13 MP/Build/TacticalAI/ai.h
8 (Rev. 3352)
Changes:
Bugfix: The DEBUG only setting "fEnableInventoryPoolQ" is now only enabled in a DEBUG version. In all other builds it is set to FALSE.
Files:
/branches/Wanne/JA2 1.13 MP/Build/GameSettings.cpp
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@3354 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2010-03-07 11:37:32 +00:00
Wanne
45d3a04362
Externalized "Bobby Ray tooltips show possible attachments" from HAM 3 (BOBBY_RAY_TOOLTIPS_SHOW_POSSIBLE_ATTACHMENTS)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@3174 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2009-09-04 07:37:11 +00:00
Wanne
a20ac7fb1c
- Bobby Ray Tooltips (Fixes) (by Headrock)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@3172 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2009-09-03 07:39:34 +00:00
Wanne
d86193fe97
Externalized Chinese specific (unicode) texts to _ChineseText.cpp and saved the Unicode files back to ASCII (thx to Kriplo)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2574 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2009-02-03 19:19:33 +00:00
Wanne
8b0305e221
Chinese specific update (by zww from tbs)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2566 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2009-01-31 18:20:16 +00:00
Wanne
bc7014a079
Bugfix: Lua shutdown (possible NULL reference)
...
Russian, French and Polish texts update
Fonts update (for future Italian version)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2463 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-12-29 14:08:35 +00:00
ChrisL
905ce20125
Enhanced Description Box, v1.3. By Headrock
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2414 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-11-13 01:11:59 +00:00
ChrisL
3cd3ef39cb
100AP project integration
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2402 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-11-06 00:46:54 +00:00
ChrisL
7bd9d49e7c
One more change to BRs to display the correct AP label.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2382 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-10-21 17:09:37 +00:00
ChrisL
e7049a63db
Fixed a glitch with the AP display in BRs.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2380 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-10-21 16:55:32 +00:00
ChrisL
33a9f17760
Bugfix to resolve an assertion error relating to the helicopter.
...
Change to BobbyRays information as proposed by Headrock.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2379 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-10-17 15:56:58 +00:00
ChrisL
6d31772abd
Altered the pName field from Pockets.xml to a CHAR16 value so it will support multilingual code.
...
Updated the Pockets.xml reader function so that we can include a german.pockets.xml and russian.pockets.xml (and any other language we eventually choose to support) just like we have with Items.xml.
I moved the "Sold Item" and "Delete Item" phrases to the language specific cpp files.
I updated the SHIFT+N hotkey so that it will now work from the strategic screen. On tactical it handles the entire team. On strategic, it handles only the one merc who is currently active.
I fixed a problem with the ALT+W cheat key so that it cycles properly.
I fixed a problem with the backpack buttons where the button key wasn't being properly deleted. This could sometimes cause an "overload" which would result in a crash.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1873 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-03-09 17:26:55 +00:00
lalien
43ca24dda8
Merged New Inventory Project into main branch
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1871 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-03-08 15:15:25 +00:00
Wanne
c55b927f8b
- bugfix: Bobby Rays filter buttons (again). Now it should work
...
- bugfix: Hand to hand combat (knifes, claws, ...) was disabled in auto battle. This was done in revision 51 because of CTDs that always occured there. I enabled hand to hand combat and tested ~50 auto battles. No single CTD. It seems that the CTD has been fixed since revision 51.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1788 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-02-09 09:41:24 +00:00
Wanne
bb1b1eaf7e
- bugfix: Filter buttons under used category
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1782 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-02-07 07:58:03 +00:00
Wanne
ce31084ae7
Removed most of my thousands "WANNE" comments which goes back 2 years when I changed to higher resolutions. These were only internal comments for me, so they didn't include any useful meaning for others.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1172 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2007-08-07 21:39:23 +00:00
Overhaul
7a27e7105d
New attack busy system
...
Added missing #includes
Added LUA scripting and console
Changed the way tracers are visualized, so they work more like real tracers instead of a light fountain
Fixed signedness of many grid variables used in GetMouseMapPos calls
Fixed enemy weapon choosing: Sometimes a mortar is chosen but later rejected, but the grenade class was not reset. Caused assertion failure
Added checks so enemies don't try to chuck RPG grenades with their hands
Now possible to shoot a someone in the head if he's in water
Fixed InitSightArrays to also clear soldier interrupt duel points. This was causing an assertion failure elsewhere in the code because the interrupt list still had soldiers on it sometimes when this function was called.
Soldiers are much less willing to forfeit their turn over an attempt to use more APs than they have
Removed early setting of muzzle flash. This would allow enemies to get an interrupt before you even fired.
Fixed item dropping by AI. If AI tried to drop something while standing it would cause deadlock
Change to greatly speed up closing the sector inventory window in an unloaded sector
Added conditional compile flag to always give robot weapon ready advantage, even for 360 degree sighting
Check builddefines.h for the conditional flags. Of greatest interest might be LUA_CONSOLE. This will cause the game to bring up a command console when run. However this console is severely lacking in many areas. If anybody knows of an open-source terminal/console that could be used instead, it would be appreciated. The existing console does bad things when you try to close it, and since it counts as a separate app, it pauses the game while it has focus.
LUA scripting is very limited, basically just proof of concept. There is one global variable, the Soldiers array. An array index gives you the soldier in that slot in the currently loaded sector. The soldier has a few things that can be accessed: name (short name); fullname (long name); grid (current grid #, can be changed); walkto(grid) (function to walk to another grid); runto(grid) (function to run to another grid)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@924 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2007-06-09 09:01:04 +00:00
lalien
0530b53b9c
bug fixes from Overhaul:
...
- Data type changes
- Templates removed
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@871 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2007-05-09 13:16:37 +00:00
lalien
3f37673034
- added VS2005 compability fix from Space Viking
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@766 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2007-03-10 18:46:57 +00:00
Wanne
805e9de8d7
new exe 656
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@666 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2007-01-18 19:02:29 +00:00
Wanne
358fc9e31c
- feature: Added filter buttons for Misc items to Bobby Rays
...
new exe build (656)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@657 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2007-01-07 21:03:32 +00:00
Wanne
3d1337ebeb
- feature: Added armor filter buttons (helm, vest, legging, plate) to Bobby Rays
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@655 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2007-01-07 15:56:55 +00:00
Wanne
f64eaf15d8
- Bugfix: Bobby Rays ammo filter
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@470 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-08-25 16:27:18 +00:00
Wanne
b7efb446e8
- Bugfix: Bobby Ray's Ammo filter was not working properly
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@468 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-08-25 12:36:13 +00:00
Wanne
f8582530ab
- Bugfix: Bobby Rays Filter buttons
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@458 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-08-21 06:11:00 +00:00
Wanne
0eadcefc0d
Bobby Rays Filter Buttons: Removed "Heavy Weapons" filter from ammo, renamed "LMG" to "MG", removed "Ammo" filter from Used items.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@457 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-08-20 19:46:17 +00:00
MaddMugsy
78a7d89dad
-fixed BR item display error
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@430 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-08-13 08:09:59 +00:00
Wanne
fa0744a0d9
Bobby Rays: Added "Heavy Weapons" Filter to the Guns and Ammo.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@429 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-08-12 11:41:39 +00:00
Wanne
c739efc56e
Bobby Ray: Filter Guns, Ammo and Used!
...
Filters for Armour and Misc will follow
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@423 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-08-11 10:21:36 +00:00
lalien
d390d4a266
- Added menu option to show weapon ranges in tiles/meters
...
- Allowed to enter tactical view for any visited sector
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@234 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-15 14:22:18 +00:00
lalien
68510dd26d
- Added menu option to show/remove item shadow
...
- fixed menu descriptions
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@233 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-15 11:48:10 +00:00
MaddMugsy
72ad53d95e
-removed disk space check because it was pissing me off and coming up with a warning despite the fact that I have 12 GB space free
...
-changed weapon ranges in tooltips to tiles to match the ranges in the item description screen
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@231 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-14 02:24:57 +00:00
lalien
ea7e68297c
- Bobby Ray's tool tips for GL fixed
...
- bug fix: CTD when shoot at soldier and see items afterwards (happens not always)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@189 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-07 18:44:37 +00:00
lalien
330286c6e0
- tool tips for Bobby Ray updated
...
- tool tips for items updated
- finding tunnel vision bonus changed
- rooftop vision bonus changed to % instead of tiles
- vision range bonus changed to % instead of tiles
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@135 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-05-30 17:55:48 +00:00
lalien
c139b9df23
- tool tips for Bobby Ray updated
...
- refresh for laptop screens fixed
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@134 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-05-29 22:49:53 +00:00
lalien
1ba75f9745
- tool tips for Bobby Ray added
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@133 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-05-29 21:15:42 +00:00
lalien
30710d5228
Little Alien
...
- Externalized settings for Madlab quest, Mike and Iggy
- Externalized visibility decrease for rain
Madd Mugsy
- Bug fix - "Auto" mode was turning off on Full Auto only weapons when you equipped a second gun
- Fixed - 10 Tons of Guns code now affects EnemyGunChoices and EnemyItemChoices
- Enemy reinforcements restricted from appearing in Omerta
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@75 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-05-21 00:07:05 +00:00
lalien
8d448f9c64
Data and Source v1.13 Mod High Resolution version from 2006-04-15
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@25 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-04-19 18:16:27 +00:00
lalien
e54aeb96aa
Original Source for 1.13 Mod High Resolution version from 12/06/05
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@21 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-04-19 11:32:51 +00:00