mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
**********************************************************
** Big Maps Projects code (incl. Multiplayer v1.5 ** ********************************************************** - Merged Big Maps Project code from BMP+MP trunk (Revision: 3340) o Complete SVN Revision history: https://81.169.133.124/source/ja2/branches/Wanne/JA2%201.13%20MP - Before THIS merge, I made a branch of the existing 1.13 source o SVN Branch: https://81.169.133.124/source/ja2/branches/JA2_rev.3336/src - Removed old VS 6.0 and VS 2003 project and solutions files, because compilation is broken long time ago - I will add VS 2010 projects and solution file in the next few days git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@3341 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -117,7 +117,7 @@ UINT8 ubRefuelList[ NUMBER_OF_REFUEL_SITES ][ 2 ] =
|
||||
};
|
||||
|
||||
|
||||
INT16 sRefuelStartGridNo[ NUMBER_OF_REFUEL_SITES ] ={
|
||||
INT32 sRefuelStartGridNo[ NUMBER_OF_REFUEL_SITES ] ={
|
||||
9001, // drassen
|
||||
13067, // estoni
|
||||
};
|
||||
@@ -1924,7 +1924,7 @@ BOOLEAN CanHelicopterTakeOff( void )
|
||||
return( FALSE );
|
||||
}
|
||||
|
||||
void AddHeliPeice( INT16 sGridNo, UINT16 sOStruct )
|
||||
void AddHeliPeice( INT32 sGridNo, UINT16 sOStruct )
|
||||
{
|
||||
UINT16 usDummy;
|
||||
|
||||
@@ -1939,7 +1939,7 @@ void AddHeliPeice( INT16 sGridNo, UINT16 sOStruct )
|
||||
|
||||
void AddHelicopterToMaps( BOOLEAN fAdd, UINT8 ubSite )
|
||||
{
|
||||
INT16 sGridNo = sRefuelStartGridNo[ ubSite ];
|
||||
INT32 sGridNo = sRefuelStartGridNo[ ubSite ];
|
||||
INT16 sOStruct = 0;
|
||||
INT16 sGridX, sGridY;
|
||||
INT16 sCentreGridX, sCentreGridY;
|
||||
@@ -1962,10 +1962,10 @@ void AddHelicopterToMaps( BOOLEAN fAdd, UINT8 ubSite )
|
||||
{
|
||||
AddHeliPeice( sGridNo, sOStruct );
|
||||
AddHeliPeice( sGridNo, ( UINT16 )( sOStruct + 1));
|
||||
AddHeliPeice( (INT16)( sGridNo - 800 ), ( UINT16 )( sOStruct + 2 ));
|
||||
AddHeliPeice( ( sGridNo - 800 ), ( UINT16 )( sOStruct + 2 ));
|
||||
AddHeliPeice( sGridNo, ( UINT16 )(sOStruct + 3 ));
|
||||
AddHeliPeice( sGridNo, ( UINT16 )(sOStruct + 4));
|
||||
AddHeliPeice( (INT16)( sGridNo - 800 ), ( UINT16 )(sOStruct + 5));
|
||||
AddHeliPeice( ( sGridNo - 800 ), ( UINT16 )(sOStruct + 5));
|
||||
|
||||
InvalidateWorldRedundency();
|
||||
SetRenderFlags( RENDER_FLAG_FULL );
|
||||
@@ -1979,7 +1979,7 @@ void AddHelicopterToMaps( BOOLEAN fAdd, UINT8 ubSite )
|
||||
{
|
||||
sGridNo = MAPROWCOLTOPOS( sGridY, sGridX );
|
||||
|
||||
BumpAnyExistingMerc( sGridNo );
|
||||
BumpAnyExistingMerc( sGridNo );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user