mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
****************************************************************************
** Merged Source Code from Development trunk, for the Spring 2011 Release ** **************************************************************************** o Development Trunk (Revision: 4444): https://81.169.133.124/source/ja2/branches/Wanne/JA2%201.13%20MP o This trunk (the official 1.13 source trunk) will only be used for fixing bugs. No new features will be added here. New Features are only included in the Development trunk o !!! After we have fixed a bug here in this trunk, we should MANUALLY merge the bugfix in the development trunk !!! git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4446 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -30,6 +30,10 @@
|
||||
|
||||
#include "Strategic Event Handler.h"
|
||||
#include "connect.h"
|
||||
#include "GameSettings.h"
|
||||
#include <vfs/Core/vfs.h>
|
||||
#include <vfs/Core/vfs_file_raii.h>
|
||||
#include <vfs/Core/File/vfs_file.h>
|
||||
|
||||
/*
|
||||
typedef struct
|
||||
@@ -334,7 +338,7 @@ MOUSE_REGION gSelectedUpDownArrowOnScrollAreaRegion[2];
|
||||
void SelectUpDownArrowOnScrollAreaRegionCallBack(MOUSE_REGION * pRegion, INT32 iReason );
|
||||
|
||||
//Dealtar's Airport Externalization.
|
||||
UINT16 gusCurShipmentDestinationID;
|
||||
INT16 gusCurShipmentDestinationID;
|
||||
extern CPostalService gPostalService;
|
||||
UINT8 guiNumOfDisplayedCities=0;
|
||||
vector<PDestinationStruct> gDestinationTable;
|
||||
@@ -2219,15 +2223,29 @@ void AddJohnsGunShipment()
|
||||
|
||||
// want to add two guns (Automags, AUTOMAG_III), and four clips of ammo.
|
||||
|
||||
|
||||
|
||||
|
||||
Temp[0].usItemIndex = AUTOMAG_III;
|
||||
Temp[0].ubNumberPurchased = 2;
|
||||
Temp[0].bItemQuality = 100;
|
||||
Temp[0].usBobbyItemIndex = 0;// does this get used anywhere???
|
||||
Temp[0].fUsed = FALSE;
|
||||
|
||||
|
||||
// memcpy( &(LaptopSaveInfo.BobbyRayOrdersOnDeliveryArray[ cnt ].BobbyRayPurchase[0]), &Temp, sizeof(BobbyRayPurchaseStruct) );
|
||||
|
||||
Temp[1].usItemIndex = CLIP762N_5_AP;
|
||||
// WANNE: We have to check if profile 1.13 is available or not, to get the correct ammo
|
||||
BOOLEAN isData113ProfileAvailable = FALSE;
|
||||
if(getVFS()->getProfileStack()->getProfile(L"v1.13") != NULL)
|
||||
isData113ProfileAvailable = TRUE;
|
||||
else
|
||||
isData113ProfileAvailable = FALSE;
|
||||
|
||||
if (isData113ProfileAvailable)
|
||||
Temp[1].usItemIndex = 557;
|
||||
else
|
||||
Temp[1].usItemIndex = CLIP762N_5_AP;
|
||||
|
||||
Temp[1].ubNumberPurchased = 2;
|
||||
Temp[1].bItemQuality = 5;
|
||||
Temp[1].usBobbyItemIndex = 0;// does this get used anywhere???
|
||||
|
||||
Reference in New Issue
Block a user