Jump to content

File - lazTurncoat


TonyE
 Share

Recommended Posts

lazTurncoat


To use: Extract the files to your ExportDLLs folder then start the game.  A separate window will appear.  When a base/Installation is destroyed, you can refresh the list of groups on that separate window (the lazarus Turncoat window), select the group, unit, then choose the new side alignment.  The unit will be undestroyed, runways re-established, and group's side changed.

 

HC ExportDLL for reviving destroyed Installations and switching the side to which they belong.
2020-06-10

Purpose:
for reviving destroyed Installations and potentially
 switching the side to which they belong.

Original Author:
 Anthony Eischens

Contributors:


Compiled with:
 Lazarus 2.0.8

Third party controls:
 Stratsims OSS shared pascal code
  https://tarzan.tgp.net:8443/svn/StratsimsOSS/HC/shared/pascal/trunk


License:
MIT (see License.txt) 

History:
lazTurncoat 20200824 HC 2020.009+
 Incremented DLL Version to 1
 Incremented DLL Interface version to 23
 First version
 The user should not switch the sides of an installation
  until it is destroyed.  This is to prevent orphaned Harpoon
  Events and other game structures.  If there is enough demand,
  that limitation could be removed in the future.
 


 

  • Like 1
Link to comment
Share on other sites

I forget you had make a new build and that corrected my error. I have put it to both HCDB and HCBII and it works. So with Eric's DB it seems to have not problems yet seen. I have also went and transferred aircraft to the reclaim bases with no problems.

Rainman you will I believe and found out will have to be up to date with the latest build  found in HC beta testing-general- current files to have this work. I believe it is 2020.009.

Link to comment
Share on other sites

  • 1 year later...

Version 3 uploaded

lazTurncoat 20211231 HC 2020.009+
 Incremented DLL Version to 3
 Fixed a crash bug in StartGroup to update the frmMain.PStartGroup
  pointer before refreshing the group list.  Otherwise one could
  try to create a list of installations based on an invalid
  head group in the game, hence crash (thanks eeustice)

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...