mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
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
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ void RenderBobbyR();
|
|||||||
#define BOBBYR_NUM_VERTICAL_TILES 4
|
#define BOBBYR_NUM_VERTICAL_TILES 4
|
||||||
|
|
||||||
#define BOBBYR_GRIDLOC_X LAPTOP_SCREEN_UL_X + 4
|
#define BOBBYR_GRIDLOC_X LAPTOP_SCREEN_UL_X + 4
|
||||||
#define BOBBYR_GRIDLOC_Y LAPTOP_SCREEN_WEB_UL_Y + 45
|
#define BOBBYR_GRIDLOC_Y LAPTOP_SCREEN_WEB_UL_Y + 5 //LAPTOP_SCREEN_WEB_UL_Y + 45
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
+17
-9
@@ -28,6 +28,8 @@ BOOLEAN EnterBobbyRAmmo()
|
|||||||
{
|
{
|
||||||
VOBJECT_DESC VObjectDesc;
|
VOBJECT_DESC VObjectDesc;
|
||||||
|
|
||||||
|
//gfBigImageMouseRegionCreated = FALSE;
|
||||||
|
|
||||||
// load the background graphic and add it
|
// load the background graphic and add it
|
||||||
VObjectDesc.fCreateFlags=VOBJECT_CREATE_FROMFILE;
|
VObjectDesc.fCreateFlags=VOBJECT_CREATE_FROMFILE;
|
||||||
FilenameForBPP("LAPTOP\\ammobackground.sti", VObjectDesc.ImageFile);
|
FilenameForBPP("LAPTOP\\ammobackground.sti", VObjectDesc.ImageFile);
|
||||||
@@ -40,12 +42,14 @@ BOOLEAN EnterBobbyRAmmo()
|
|||||||
|
|
||||||
InitBobbyBrTitle();
|
InitBobbyBrTitle();
|
||||||
|
|
||||||
|
guiPrevAmmoFilterMode = -1;
|
||||||
|
guiCurrentAmmoFilterMode = -1;
|
||||||
|
|
||||||
SetFirstLastPagesForNew( IC_AMMO );
|
SetFirstLastPagesForNew( IC_AMMO, guiCurrentAmmoFilterMode );
|
||||||
// CalculateFirstAndLastIndexs();
|
|
||||||
|
|
||||||
//Draw menu bar
|
//Draw menu bar
|
||||||
InitBobbyMenuBar( );
|
InitBobbyMenuBar( );
|
||||||
|
InitBobbyRAmmoFilterBar();
|
||||||
|
|
||||||
RenderBobbyRAmmo( );
|
RenderBobbyRAmmo( );
|
||||||
|
|
||||||
@@ -58,6 +62,9 @@ void ExitBobbyRAmmo()
|
|||||||
DeleteVideoObjectFromIndex(guiAmmoGrid);
|
DeleteVideoObjectFromIndex(guiAmmoGrid);
|
||||||
DeleteBobbyMenuBar();
|
DeleteBobbyMenuBar();
|
||||||
|
|
||||||
|
// WANNE
|
||||||
|
DeleteBobbyRAmmoFilter();
|
||||||
|
|
||||||
DeleteBobbyBrTitle();
|
DeleteBobbyBrTitle();
|
||||||
DeleteMouseRegionForBigImage();
|
DeleteMouseRegionForBigImage();
|
||||||
|
|
||||||
@@ -71,23 +78,24 @@ void HandleBobbyRAmmo()
|
|||||||
|
|
||||||
void RenderBobbyRAmmo()
|
void RenderBobbyRAmmo()
|
||||||
{
|
{
|
||||||
HVOBJECT hPixHandle;
|
HVOBJECT hPixHandle;
|
||||||
|
|
||||||
WebPageTileBackground(BOBBYR_NUM_HORIZONTAL_TILES, BOBBYR_NUM_VERTICAL_TILES, BOBBYR_BACKGROUND_WIDTH, BOBBYR_BACKGROUND_HEIGHT, guiAmmoBackground);
|
WebPageTileBackground(BOBBYR_NUM_HORIZONTAL_TILES, BOBBYR_NUM_VERTICAL_TILES, BOBBYR_BACKGROUND_WIDTH, BOBBYR_BACKGROUND_HEIGHT, guiAmmoBackground);
|
||||||
|
|
||||||
//Display title at top of page
|
//Display title at top of page
|
||||||
DisplayBobbyRBrTitle();
|
//DisplayBobbyRBrTitle();
|
||||||
|
|
||||||
// GunForm
|
// GunForm
|
||||||
GetVideoObject(&hPixHandle, guiAmmoGrid);
|
GetVideoObject(&hPixHandle, guiAmmoGrid);
|
||||||
BltVideoObject(FRAME_BUFFER, hPixHandle, 0, BOBBYR_GRIDLOC_X, BOBBYR_GRIDLOC_Y, VO_BLT_SRCTRANSPARENCY,NULL);
|
BltVideoObject(FRAME_BUFFER, hPixHandle, 0, BOBBYR_GRIDLOC_X, BOBBYR_GRIDLOC_Y, VO_BLT_SRCTRANSPARENCY,NULL);
|
||||||
|
|
||||||
DisplayItemInfo(IC_AMMO);
|
|
||||||
|
|
||||||
|
DisplayItemInfo(IC_AMMO, guiCurrentAmmoFilterMode);
|
||||||
UpdateButtonText(guiCurrentLaptopMode);
|
UpdateButtonText(guiCurrentLaptopMode);
|
||||||
MarkButtonsDirty( );
|
UpdateAmmoFilterButtons(guiCurrentAmmoFilterMode, guiPrevAmmoFilterMode);
|
||||||
|
|
||||||
|
MarkButtonsDirty( );
|
||||||
RenderWWWProgramTitleBar( );
|
RenderWWWProgramTitleBar( );
|
||||||
InvalidateRegion(LAPTOP_SCREEN_UL_X,LAPTOP_SCREEN_WEB_UL_Y,LAPTOP_SCREEN_LR_X,LAPTOP_SCREEN_WEB_LR_Y);
|
InvalidateRegion(LAPTOP_SCREEN_UL_X,LAPTOP_SCREEN_WEB_UL_Y,LAPTOP_SCREEN_LR_X,LAPTOP_SCREEN_WEB_LR_Y);
|
||||||
fReDrawScreenFlag = TRUE;
|
fReDrawScreenFlag = TRUE;
|
||||||
fPausedReDrawScreenFlag = TRUE;
|
fPausedReDrawScreenFlag = TRUE;
|
||||||
}
|
}
|
||||||
|
|||||||
+11
-4
@@ -38,11 +38,14 @@ BOOLEAN EnterBobbyRArmour()
|
|||||||
CHECKF(AddVideoObject(&VObjectDesc, &guiArmourGrid));
|
CHECKF(AddVideoObject(&VObjectDesc, &guiArmourGrid));
|
||||||
|
|
||||||
InitBobbyBrTitle();
|
InitBobbyBrTitle();
|
||||||
|
|
||||||
|
guiPrevArmourFilterMode = -1;
|
||||||
|
guiCurrentArmourFilterMode = -1;
|
||||||
|
|
||||||
//Draw menu bar
|
//Draw menu bar
|
||||||
InitBobbyMenuBar( );
|
InitBobbyMenuBar( );
|
||||||
|
|
||||||
SetFirstLastPagesForNew( IC_ARMOUR );
|
SetFirstLastPagesForNew( IC_ARMOUR, guiCurrentArmourFilterMode );
|
||||||
// CalculateFirstAndLastIndexs();
|
|
||||||
|
|
||||||
RenderBobbyRArmour( );
|
RenderBobbyRArmour( );
|
||||||
|
|
||||||
@@ -74,15 +77,19 @@ void RenderBobbyRArmour()
|
|||||||
WebPageTileBackground(BOBBYR_NUM_HORIZONTAL_TILES, BOBBYR_NUM_VERTICAL_TILES, BOBBYR_BACKGROUND_WIDTH, BOBBYR_BACKGROUND_HEIGHT, guiArmourBackground);
|
WebPageTileBackground(BOBBYR_NUM_HORIZONTAL_TILES, BOBBYR_NUM_VERTICAL_TILES, BOBBYR_BACKGROUND_WIDTH, BOBBYR_BACKGROUND_HEIGHT, guiArmourBackground);
|
||||||
|
|
||||||
//Display title at top of page
|
//Display title at top of page
|
||||||
DisplayBobbyRBrTitle();
|
//DisplayBobbyRBrTitle();
|
||||||
|
|
||||||
// GunForm
|
// GunForm
|
||||||
GetVideoObject(&hPixHandle, guiArmourGrid);
|
GetVideoObject(&hPixHandle, guiArmourGrid);
|
||||||
BltVideoObject(FRAME_BUFFER, hPixHandle, 0, BOBBYR_GRIDLOC_X, BOBBYR_GRIDLOC_Y, VO_BLT_SRCTRANSPARENCY,NULL);
|
BltVideoObject(FRAME_BUFFER, hPixHandle, 0, BOBBYR_GRIDLOC_X, BOBBYR_GRIDLOC_Y, VO_BLT_SRCTRANSPARENCY,NULL);
|
||||||
|
|
||||||
DisplayItemInfo(IC_ARMOUR);
|
DisplayItemInfo(IC_ARMOUR, guiCurrentArmourFilterMode);
|
||||||
|
|
||||||
UpdateButtonText(guiCurrentLaptopMode);
|
UpdateButtonText(guiCurrentLaptopMode);
|
||||||
|
// TODO
|
||||||
|
|
||||||
|
//UpdateGunFilterButtons(guiCurrentArmourFilterMode, guiPrevArmourFilterMode);
|
||||||
|
|
||||||
MarkButtonsDirty( );
|
MarkButtonsDirty( );
|
||||||
RenderWWWProgramTitleBar( );
|
RenderWWWProgramTitleBar( );
|
||||||
InvalidateRegion(LAPTOP_SCREEN_UL_X,LAPTOP_SCREEN_WEB_UL_Y,LAPTOP_SCREEN_LR_X,LAPTOP_SCREEN_WEB_LR_Y);
|
InvalidateRegion(LAPTOP_SCREEN_UL_X,LAPTOP_SCREEN_WEB_UL_Y,LAPTOP_SCREEN_LR_X,LAPTOP_SCREEN_WEB_LR_Y);
|
||||||
|
|||||||
+1033
-104
File diff suppressed because it is too large
Load Diff
+19
-4
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#define BOBBYR_GUNS_BUTTON_FONT FONT10ARIAL
|
#define BOBBYR_GUNS_BUTTON_FONT FONT10ARIAL
|
||||||
#define BOBBYR_GUNS_TEXT_COLOR_ON FONT_NEARBLACK
|
#define BOBBYR_GUNS_TEXT_COLOR_ON FONT_NEARBLACK // FONT_DKGREEN
|
||||||
#define BOBBYR_GUNS_TEXT_COLOR_OFF FONT_NEARBLACK
|
#define BOBBYR_GUNS_TEXT_COLOR_OFF FONT_NEARBLACK
|
||||||
//#define BOBBYR_GUNS_TEXT_COLOR_ON FONT_MCOLOR_DKWHITE
|
//#define BOBBYR_GUNS_TEXT_COLOR_ON FONT_MCOLOR_DKWHITE
|
||||||
//#define BOBBYR_GUNS_TEXT_COLOR_OFF FONT_MCOLOR_WHITE
|
//#define BOBBYR_GUNS_TEXT_COLOR_OFF FONT_MCOLOR_WHITE
|
||||||
@@ -38,6 +38,13 @@ void ExitBobbyRGuns();
|
|||||||
void HandleBobbyRGuns();
|
void HandleBobbyRGuns();
|
||||||
void RenderBobbyRGuns();
|
void RenderBobbyRGuns();
|
||||||
|
|
||||||
|
// WANNE
|
||||||
|
BOOLEAN DeleteBobbyRGunsFilter();
|
||||||
|
BOOLEAN DeleteBobbyRAmmoFilter();
|
||||||
|
BOOLEAN DeleteBobbyRUsedFilter();
|
||||||
|
BOOLEAN InitBobbyRGunsFilterBar();
|
||||||
|
BOOLEAN InitBobbyRAmmoFilterBar();
|
||||||
|
BOOLEAN InitBobbyRUsedFilterBar();
|
||||||
|
|
||||||
BOOLEAN DisplayBobbyRBrTitle();
|
BOOLEAN DisplayBobbyRBrTitle();
|
||||||
BOOLEAN DeleteBobbyBrTitle();
|
BOOLEAN DeleteBobbyBrTitle();
|
||||||
@@ -45,16 +52,24 @@ BOOLEAN InitBobbyBrTitle();
|
|||||||
BOOLEAN InitBobbyMenuBar( );
|
BOOLEAN InitBobbyMenuBar( );
|
||||||
BOOLEAN DeleteBobbyMenuBar();
|
BOOLEAN DeleteBobbyMenuBar();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//BOOLEAN DisplayWeaponInfo();
|
//BOOLEAN DisplayWeaponInfo();
|
||||||
BOOLEAN DisplayItemInfo(UINT32 uiItemClass);
|
BOOLEAN DisplayItemInfo(UINT32 uiItemClass, INT32 iFilter);
|
||||||
void DeleteMouseRegionForBigImage();
|
void DeleteMouseRegionForBigImage();
|
||||||
void UpdateButtonText(UINT32 uiCurPage);
|
void UpdateButtonText(UINT32 uiCurPage);
|
||||||
|
|
||||||
|
// WANNE
|
||||||
|
void UpdateAmmoFilterButtons(INT32 iNewButton, INT32 iOldButton);
|
||||||
|
void UpdateGunFilterButtons(INT32 iNewButton, INT32 iOldButton);
|
||||||
|
void UpdateUsedFilterButtons();
|
||||||
|
|
||||||
void EnterInitBobbyRGuns();
|
void EnterInitBobbyRGuns();
|
||||||
void DailyUpdateOfBobbyRaysUsedInventory();
|
void DailyUpdateOfBobbyRaysUsedInventory();
|
||||||
UINT16 CalcBobbyRayCost( UINT16 usIndex, UINT16 usBobbyIndex, BOOLEAN fUsed);
|
UINT16 CalcBobbyRayCost( UINT16 usIndex, UINT16 usBobbyIndex, BOOLEAN fUsed);
|
||||||
//void CalculateFirstAndLastIndexs();
|
//void CalculateFirstAndLastIndexs();
|
||||||
void SetFirstLastPagesForUsed();
|
void SetFirstLastPagesForUsed(INT32 iFilter);
|
||||||
void SetFirstLastPagesForNew( UINT32 uiClass );
|
void SetFirstLastPagesForNew( UINT32 uiClass, INT32 iFilter );
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -38,10 +38,14 @@ BOOLEAN EnterBobbyRMisc()
|
|||||||
CHECKF(AddVideoObject(&VObjectDesc, &guiMiscGrid));
|
CHECKF(AddVideoObject(&VObjectDesc, &guiMiscGrid));
|
||||||
|
|
||||||
InitBobbyBrTitle();
|
InitBobbyBrTitle();
|
||||||
|
|
||||||
|
guiPrevMiscFilterMode = -1;
|
||||||
|
guiCurrentMiscFilterMode = -1;
|
||||||
|
|
||||||
//Draw menu bar
|
//Draw menu bar
|
||||||
InitBobbyMenuBar( );
|
InitBobbyMenuBar( );
|
||||||
|
|
||||||
SetFirstLastPagesForNew( IC_BOBBY_MISC );
|
SetFirstLastPagesForNew( IC_BOBBY_MISC, guiCurrentMiscFilterMode );
|
||||||
// CalculateFirstAndLastIndexs();
|
// CalculateFirstAndLastIndexs();
|
||||||
|
|
||||||
RenderBobbyRMisc( );
|
RenderBobbyRMisc( );
|
||||||
@@ -71,15 +75,17 @@ void RenderBobbyRMisc()
|
|||||||
WebPageTileBackground(BOBBYR_NUM_HORIZONTAL_TILES, BOBBYR_NUM_VERTICAL_TILES, BOBBYR_BACKGROUND_WIDTH, BOBBYR_BACKGROUND_HEIGHT, guiMiscBackground);
|
WebPageTileBackground(BOBBYR_NUM_HORIZONTAL_TILES, BOBBYR_NUM_VERTICAL_TILES, BOBBYR_BACKGROUND_WIDTH, BOBBYR_BACKGROUND_HEIGHT, guiMiscBackground);
|
||||||
|
|
||||||
//Display title at top of page
|
//Display title at top of page
|
||||||
DisplayBobbyRBrTitle();
|
//DisplayBobbyRBrTitle();
|
||||||
|
|
||||||
// GunForm
|
// GunForm
|
||||||
GetVideoObject(&hPixHandle, guiMiscGrid);
|
GetVideoObject(&hPixHandle, guiMiscGrid);
|
||||||
BltVideoObject(FRAME_BUFFER, hPixHandle, 0, BOBBYR_GRIDLOC_X, BOBBYR_GRIDLOC_Y, VO_BLT_SRCTRANSPARENCY,NULL);
|
BltVideoObject(FRAME_BUFFER, hPixHandle, 0, BOBBYR_GRIDLOC_X, BOBBYR_GRIDLOC_Y, VO_BLT_SRCTRANSPARENCY,NULL);
|
||||||
|
|
||||||
DisplayItemInfo(IC_BOBBY_MISC);
|
DisplayItemInfo(IC_BOBBY_MISC, guiCurrentMiscFilterMode);
|
||||||
|
|
||||||
UpdateButtonText(guiCurrentLaptopMode);
|
UpdateButtonText(guiCurrentLaptopMode);
|
||||||
|
// TODO
|
||||||
|
|
||||||
MarkButtonsDirty( );
|
MarkButtonsDirty( );
|
||||||
RenderWWWProgramTitleBar( );
|
RenderWWWProgramTitleBar( );
|
||||||
InvalidateRegion(LAPTOP_SCREEN_UL_X,LAPTOP_SCREEN_WEB_UL_Y,LAPTOP_SCREEN_LR_X,LAPTOP_SCREEN_WEB_LR_Y);
|
InvalidateRegion(LAPTOP_SCREEN_UL_X,LAPTOP_SCREEN_WEB_UL_Y,LAPTOP_SCREEN_LR_X,LAPTOP_SCREEN_WEB_LR_Y);
|
||||||
|
|||||||
+14
-4
@@ -26,6 +26,8 @@ BOOLEAN EnterBobbyRUsed()
|
|||||||
{
|
{
|
||||||
VOBJECT_DESC VObjectDesc;
|
VOBJECT_DESC VObjectDesc;
|
||||||
|
|
||||||
|
//gfBigImageMouseRegionCreated = FALSE;
|
||||||
|
|
||||||
// load the background graphic and add it
|
// load the background graphic and add it
|
||||||
VObjectDesc.fCreateFlags=VOBJECT_CREATE_FROMFILE;
|
VObjectDesc.fCreateFlags=VOBJECT_CREATE_FROMFILE;
|
||||||
FilenameForBPP("LAPTOP\\usedbackground.sti", VObjectDesc.ImageFile);
|
FilenameForBPP("LAPTOP\\usedbackground.sti", VObjectDesc.ImageFile);
|
||||||
@@ -38,11 +40,14 @@ BOOLEAN EnterBobbyRUsed()
|
|||||||
|
|
||||||
InitBobbyBrTitle();
|
InitBobbyBrTitle();
|
||||||
|
|
||||||
SetFirstLastPagesForUsed();
|
guiPrevUsedFilterMode = -1;
|
||||||
// CalculateFirstAndLastIndexs();
|
guiCurrentUsedFilterMode = -1;
|
||||||
|
|
||||||
|
SetFirstLastPagesForUsed(guiCurrentUsedFilterMode);
|
||||||
|
|
||||||
//Draw menu bar
|
//Draw menu bar
|
||||||
InitBobbyMenuBar( );
|
InitBobbyMenuBar( );
|
||||||
|
InitBobbyRUsedFilterBar();
|
||||||
|
|
||||||
RenderBobbyRUsed( );
|
RenderBobbyRUsed( );
|
||||||
|
|
||||||
@@ -54,6 +59,9 @@ void ExitBobbyRUsed()
|
|||||||
DeleteVideoObjectFromIndex(guiUsedBackground);
|
DeleteVideoObjectFromIndex(guiUsedBackground);
|
||||||
DeleteVideoObjectFromIndex(guiUsedGrid);
|
DeleteVideoObjectFromIndex(guiUsedGrid);
|
||||||
DeleteBobbyMenuBar();
|
DeleteBobbyMenuBar();
|
||||||
|
|
||||||
|
DeleteBobbyRUsedFilter();
|
||||||
|
|
||||||
DeleteBobbyBrTitle();
|
DeleteBobbyBrTitle();
|
||||||
DeleteMouseRegionForBigImage();
|
DeleteMouseRegionForBigImage();
|
||||||
|
|
||||||
@@ -72,15 +80,17 @@ void RenderBobbyRUsed()
|
|||||||
WebPageTileBackground(BOBBYR_NUM_HORIZONTAL_TILES, BOBBYR_NUM_VERTICAL_TILES, BOBBYR_BACKGROUND_WIDTH, BOBBYR_BACKGROUND_HEIGHT, guiUsedBackground);
|
WebPageTileBackground(BOBBYR_NUM_HORIZONTAL_TILES, BOBBYR_NUM_VERTICAL_TILES, BOBBYR_BACKGROUND_WIDTH, BOBBYR_BACKGROUND_HEIGHT, guiUsedBackground);
|
||||||
|
|
||||||
//Display title at top of page
|
//Display title at top of page
|
||||||
DisplayBobbyRBrTitle();
|
//DisplayBobbyRBrTitle();
|
||||||
|
|
||||||
// GunForm
|
// GunForm
|
||||||
GetVideoObject(&hPixHandle, guiUsedGrid);
|
GetVideoObject(&hPixHandle, guiUsedGrid);
|
||||||
BltVideoObject(FRAME_BUFFER, hPixHandle, 0, BOBBYR_GRIDLOC_X, BOBBYR_GRIDLOC_Y, VO_BLT_SRCTRANSPARENCY,NULL);
|
BltVideoObject(FRAME_BUFFER, hPixHandle, 0, BOBBYR_GRIDLOC_X, BOBBYR_GRIDLOC_Y, VO_BLT_SRCTRANSPARENCY,NULL);
|
||||||
|
|
||||||
DisplayItemInfo(BOBBYR_USED_ITEMS);
|
DisplayItemInfo(BOBBYR_USED_ITEMS, guiCurrentUsedFilterMode);
|
||||||
|
|
||||||
UpdateButtonText(guiCurrentLaptopMode);
|
UpdateButtonText(guiCurrentLaptopMode);
|
||||||
|
UpdateUsedFilterButtons();
|
||||||
|
|
||||||
MarkButtonsDirty( );
|
MarkButtonsDirty( );
|
||||||
RenderWWWProgramTitleBar( );
|
RenderWWWProgramTitleBar( );
|
||||||
InvalidateRegion(LAPTOP_SCREEN_UL_X,LAPTOP_SCREEN_WEB_UL_Y,LAPTOP_SCREEN_LR_X,LAPTOP_SCREEN_WEB_LR_Y);
|
InvalidateRegion(LAPTOP_SCREEN_UL_X,LAPTOP_SCREEN_WEB_UL_Y,LAPTOP_SCREEN_LR_X,LAPTOP_SCREEN_WEB_LR_Y);
|
||||||
|
|||||||
@@ -267,6 +267,24 @@ extern BOOLEAN fFirstTimeInGameScreen;
|
|||||||
#define LAPTOP__NEW_EMAIL_ICON_X iScreenWidthOffset + 67
|
#define LAPTOP__NEW_EMAIL_ICON_X iScreenWidthOffset + 67
|
||||||
#define LAPTOP__NEW_EMAIL_ICON_Y LAPTOP__NEW_FILE_ICON_Y
|
#define LAPTOP__NEW_EMAIL_ICON_Y LAPTOP__NEW_FILE_ICON_Y
|
||||||
|
|
||||||
|
// WANNE
|
||||||
|
INT32 guiCurrentGunFilterMode;
|
||||||
|
INT32 guiPrevGunFilterMode;
|
||||||
|
|
||||||
|
INT32 guiCurrentAmmoFilterMode;
|
||||||
|
INT32 guiPrevAmmoFilterMode;
|
||||||
|
|
||||||
|
INT32 guiCurrentUsedFilterMode;
|
||||||
|
INT32 guiPrevUsedFilterMode;
|
||||||
|
|
||||||
|
INT32 guiCurrentArmourFilterMode;
|
||||||
|
INT32 guiPrevArmourFilterMode;
|
||||||
|
|
||||||
|
INT32 guiCurrentMiscFilterMode;
|
||||||
|
INT32 guiPrevMiscFilterMode;
|
||||||
|
|
||||||
|
BOOLEAN gbMessageDisplayed;
|
||||||
|
|
||||||
|
|
||||||
// Mode values
|
// Mode values
|
||||||
UINT32 guiCurrentLaptopMode;
|
UINT32 guiCurrentLaptopMode;
|
||||||
|
|||||||
@@ -47,6 +47,24 @@ void ClearOutTempLaptopFiles( void );
|
|||||||
|
|
||||||
void HaventMadeImpMercEmailCallBack();
|
void HaventMadeImpMercEmailCallBack();
|
||||||
|
|
||||||
|
// WANNE
|
||||||
|
extern INT32 guiCurrentGunFilterMode;
|
||||||
|
extern INT32 guiPrevGunFilterMode;
|
||||||
|
|
||||||
|
extern INT32 guiCurrentAmmoFilterMode;
|
||||||
|
extern INT32 guiPrevAmmoFilterMode;
|
||||||
|
|
||||||
|
extern INT32 guiCurrentUsedFilterMode;
|
||||||
|
extern INT32 guiPrevUsedFilterMode;
|
||||||
|
|
||||||
|
extern INT32 guiCurrentArmourFilterMode;
|
||||||
|
extern INT32 guiPrevArmourFilterMode;
|
||||||
|
|
||||||
|
extern INT32 guiCurrentMiscFilterMode;
|
||||||
|
extern INT32 guiPrevMiscFilterMode;
|
||||||
|
|
||||||
|
extern BOOLEAN gbMessageDisplayed;
|
||||||
|
|
||||||
extern UINT32 guiCurrentLaptopMode;
|
extern UINT32 guiCurrentLaptopMode;
|
||||||
extern UINT32 guiPreviousLaptopMode;
|
extern UINT32 guiPreviousLaptopMode;
|
||||||
extern INT32 giCurrentSubPage;
|
extern INT32 giCurrentSubPage;
|
||||||
|
|||||||
@@ -746,6 +746,34 @@ enum
|
|||||||
};
|
};
|
||||||
extern STR16 BobbyROrderFormText[];
|
extern STR16 BobbyROrderFormText[];
|
||||||
|
|
||||||
|
// WANNE
|
||||||
|
enum
|
||||||
|
{
|
||||||
|
// Guns
|
||||||
|
BOBBYR_FILTER_GUNS_PISTOL,
|
||||||
|
BOBBYR_FILTER_GUNS_M_PISTOL,
|
||||||
|
BOBBYR_FILTER_GUNS_SMG,
|
||||||
|
BOBBYR_FILTER_GUNS_RIFLE,
|
||||||
|
BOBBYR_FILTER_GUNS_SN_RIFLE,
|
||||||
|
BOBBYR_FILTER_GUNS_AS_RIFLE,
|
||||||
|
BOBBYR_FILTER_GUNS_LMG,
|
||||||
|
BOBBYR_FILTER_GUNS_SHOTGUN,
|
||||||
|
// Ammo
|
||||||
|
BOBBYR_FILTER_AMMO_PISTOL,
|
||||||
|
BOBBYR_FILTER_AMMO_M_PISTOL,
|
||||||
|
BOBBYR_FILTER_AMMO_SMG,
|
||||||
|
BOBBYR_FILTER_AMMO_RIFLE,
|
||||||
|
BOBBYR_FILTER_AMMO_SN_RIFLE,
|
||||||
|
BOBBYR_FILTER_AMMO_AS_RIFLE,
|
||||||
|
BOBBYR_FILTER_AMMO_LMG,
|
||||||
|
BOBBYR_FILTER_AMMO_SHOTGUN,
|
||||||
|
// Used
|
||||||
|
BOBBYR_FILTER_USED_GUNS,
|
||||||
|
BOBBYR_FILTER_USED_AMMO,
|
||||||
|
BOBBYR_FILTER_USED_ARMOR,
|
||||||
|
BOBBYR_FILTER_USED_MISC,
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
//BobbyRGuns.c
|
//BobbyRGuns.c
|
||||||
enum
|
enum
|
||||||
@@ -786,6 +814,9 @@ enum
|
|||||||
|
|
||||||
extern STR16 BobbyRText[];
|
extern STR16 BobbyRText[];
|
||||||
|
|
||||||
|
// WANNE
|
||||||
|
extern STR16 BobbyRFilter[];
|
||||||
|
|
||||||
|
|
||||||
//BobbyR.c
|
//BobbyR.c
|
||||||
enum
|
enum
|
||||||
|
|||||||
@@ -2798,6 +2798,36 @@ STR16 BobbyROrderFormText[] =
|
|||||||
L"Zendingen",
|
L"Zendingen",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// WANNE
|
||||||
|
STR16 BobbyRFilter[] =
|
||||||
|
{
|
||||||
|
// Guns
|
||||||
|
L"Pistol",
|
||||||
|
L"M. Pistol",
|
||||||
|
L"SMG",
|
||||||
|
L"Rifle",
|
||||||
|
L"SN Rifle",
|
||||||
|
L"AS Rifle",
|
||||||
|
L"LMG",
|
||||||
|
L"Shotgun",
|
||||||
|
|
||||||
|
// Ammo
|
||||||
|
L"Pistol",
|
||||||
|
L"M. Pistol",
|
||||||
|
L"SMG",
|
||||||
|
L"Rifle",
|
||||||
|
L"SN Rifle",
|
||||||
|
L"AS Rifle",
|
||||||
|
L"LMG",
|
||||||
|
L"Shotgun",
|
||||||
|
|
||||||
|
// Used
|
||||||
|
L"Guns",
|
||||||
|
L"Ammo",
|
||||||
|
L"Armor",
|
||||||
|
L"Misc",
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
// This text is used when on the various Bobby Ray Web site pages that sell items
|
// This text is used when on the various Bobby Ray Web site pages that sell items
|
||||||
|
|
||||||
|
|||||||
@@ -2798,6 +2798,36 @@ STR16 BobbyROrderFormText[] =
|
|||||||
L"Shipments",
|
L"Shipments",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// WANNE
|
||||||
|
STR16 BobbyRFilter[] =
|
||||||
|
{
|
||||||
|
// Guns
|
||||||
|
L"Pistol",
|
||||||
|
L"M. Pistol",
|
||||||
|
L"SMG",
|
||||||
|
L"Rifle",
|
||||||
|
L"SN Rifle",
|
||||||
|
L"AS Rifle",
|
||||||
|
L"LMG",
|
||||||
|
L"Shotgun",
|
||||||
|
|
||||||
|
// Ammo
|
||||||
|
L"Pistol",
|
||||||
|
L"M. Pistol",
|
||||||
|
L"SMG",
|
||||||
|
L"Rifle",
|
||||||
|
L"SN Rifle",
|
||||||
|
L"AS Rifle",
|
||||||
|
L"LMG",
|
||||||
|
L"Shotgun",
|
||||||
|
|
||||||
|
// Used
|
||||||
|
L"Guns",
|
||||||
|
L"Ammo",
|
||||||
|
L"Armor",
|
||||||
|
L"Misc",
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
// This text is used when on the various Bobby Ray Web site pages that sell items
|
// This text is used when on the various Bobby Ray Web site pages that sell items
|
||||||
|
|
||||||
|
|||||||
@@ -2787,6 +2787,36 @@ STR16 BobbyROrderFormText[] =
|
|||||||
L"Envois",
|
L"Envois",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// WANNE
|
||||||
|
STR16 BobbyRFilter[] =
|
||||||
|
{
|
||||||
|
// Guns
|
||||||
|
L"Pistol",
|
||||||
|
L"M. Pistol",
|
||||||
|
L"SMG",
|
||||||
|
L"Rifle",
|
||||||
|
L"SN Rifle",
|
||||||
|
L"AS Rifle",
|
||||||
|
L"LMG",
|
||||||
|
L"Shotgun",
|
||||||
|
|
||||||
|
// Ammo
|
||||||
|
L"Pistol",
|
||||||
|
L"M. Pistol",
|
||||||
|
L"SMG",
|
||||||
|
L"Rifle",
|
||||||
|
L"SN Rifle",
|
||||||
|
L"AS Rifle",
|
||||||
|
L"LMG",
|
||||||
|
L"Shotgun",
|
||||||
|
|
||||||
|
// Used
|
||||||
|
L"Guns",
|
||||||
|
L"Ammo",
|
||||||
|
L"Armor",
|
||||||
|
L"Misc",
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
// This text is used when on the various Bobby Ray Web site pages that sell items
|
// This text is used when on the various Bobby Ray Web site pages that sell items
|
||||||
|
|
||||||
|
|||||||
@@ -2659,6 +2659,36 @@ STR16 BobbyROrderFormText[] =
|
|||||||
L"Lieferungen",
|
L"Lieferungen",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// WANNE
|
||||||
|
STR16 BobbyRFilter[] =
|
||||||
|
{
|
||||||
|
// Guns
|
||||||
|
L"Pistole",
|
||||||
|
L"M. Pistole",
|
||||||
|
L"SMG",
|
||||||
|
L"Gewehr",
|
||||||
|
L"SS Gewehr",
|
||||||
|
L"Sturmgew.",
|
||||||
|
L"LMG",
|
||||||
|
L"Schrotfl.",
|
||||||
|
|
||||||
|
// Ammo
|
||||||
|
L"Pistole",
|
||||||
|
L"M. Pistole",
|
||||||
|
L"SMG",
|
||||||
|
L"Gewehr",
|
||||||
|
L"SS Gewehr",
|
||||||
|
L"Sturmgew.",
|
||||||
|
L"LMG",
|
||||||
|
L"Schrotfl.",
|
||||||
|
|
||||||
|
// Used
|
||||||
|
L"Feuerwfn.",
|
||||||
|
L"Munition",
|
||||||
|
L"Rüstung",
|
||||||
|
L"Sonstiges",
|
||||||
|
};
|
||||||
|
|
||||||
// This text is used when on the various Bobby Ray Web site pages that sell items
|
// This text is used when on the various Bobby Ray Web site pages that sell items
|
||||||
STR16 BobbyRText[] =
|
STR16 BobbyRText[] =
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2782,6 +2782,36 @@ STR16 BobbyROrderFormText[] =
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
// WANNE
|
||||||
|
STR16 BobbyRFilter[] =
|
||||||
|
{
|
||||||
|
// Guns
|
||||||
|
L"Pistol",
|
||||||
|
L"M. Pistol",
|
||||||
|
L"SMG",
|
||||||
|
L"Rifle",
|
||||||
|
L"SN Rifle",
|
||||||
|
L"AS Rifle",
|
||||||
|
L"LMG",
|
||||||
|
L"Shotgun",
|
||||||
|
|
||||||
|
// Ammo
|
||||||
|
L"Pistol",
|
||||||
|
L"M. Pistol",
|
||||||
|
L"SMG",
|
||||||
|
L"Rifle",
|
||||||
|
L"SN Rifle",
|
||||||
|
L"AS Rifle",
|
||||||
|
L"LMG",
|
||||||
|
L"Shotgun",
|
||||||
|
|
||||||
|
// Used
|
||||||
|
L"Guns",
|
||||||
|
L"Ammo",
|
||||||
|
L"Armor",
|
||||||
|
L"Misc",
|
||||||
|
};
|
||||||
|
|
||||||
// This text is used when on the various Bobby Ray Web site pages that sell items
|
// This text is used when on the various Bobby Ray Web site pages that sell items
|
||||||
|
|
||||||
STR16 BobbyRText[] =
|
STR16 BobbyRText[] =
|
||||||
|
|||||||
@@ -2780,6 +2780,36 @@ STR16 BobbyROrderFormText[] =
|
|||||||
L"Dostawy",
|
L"Dostawy",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// WANNE
|
||||||
|
STR16 BobbyRFilter[] =
|
||||||
|
{
|
||||||
|
// Guns
|
||||||
|
L"Pistol",
|
||||||
|
L"M. Pistol",
|
||||||
|
L"SMG",
|
||||||
|
L"Rifle",
|
||||||
|
L"SN Rifle",
|
||||||
|
L"AS Rifle",
|
||||||
|
L"LMG",
|
||||||
|
L"Shotgun",
|
||||||
|
|
||||||
|
// Ammo
|
||||||
|
L"Pistol",
|
||||||
|
L"M. Pistol",
|
||||||
|
L"SMG",
|
||||||
|
L"Rifle",
|
||||||
|
L"SN Rifle",
|
||||||
|
L"AS Rifle",
|
||||||
|
L"LMG",
|
||||||
|
L"Shotgun",
|
||||||
|
|
||||||
|
// Used
|
||||||
|
L"Guns",
|
||||||
|
L"Ammo",
|
||||||
|
L"Armor",
|
||||||
|
L"Misc",
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
// This text is used when on the various Bobby Ray Web site pages that sell items
|
// This text is used when on the various Bobby Ray Web site pages that sell items
|
||||||
|
|
||||||
|
|||||||
@@ -2789,6 +2789,37 @@ STR16 BobbyROrderFormText[] =
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
// WANNE
|
||||||
|
STR16 BobbyRFilter[] =
|
||||||
|
{
|
||||||
|
// Guns
|
||||||
|
L"Pistol",
|
||||||
|
L"M. Pistol",
|
||||||
|
L"SMG",
|
||||||
|
L"Rifle",
|
||||||
|
L"SN Rifle",
|
||||||
|
L"AS Rifle",
|
||||||
|
L"LMG",
|
||||||
|
L"Shotgun",
|
||||||
|
|
||||||
|
// Ammo
|
||||||
|
L"Pistol",
|
||||||
|
L"M. Pistol",
|
||||||
|
L"SMG",
|
||||||
|
L"Rifle",
|
||||||
|
L"SN Rifle",
|
||||||
|
L"AS Rifle",
|
||||||
|
L"LMG",
|
||||||
|
L"Shotgun",
|
||||||
|
|
||||||
|
// Used
|
||||||
|
L"Guns",
|
||||||
|
L"Ammo",
|
||||||
|
L"Armor",
|
||||||
|
L"Misc",
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
// This text is used when on the various Bobby Ray Web site pages that sell items
|
// This text is used when on the various Bobby Ray Web site pages that sell items
|
||||||
|
|
||||||
STR16 BobbyRText[] =
|
STR16 BobbyRText[] =
|
||||||
|
|||||||
@@ -12,7 +12,6 @@
|
|||||||
#include "wcheck.h"
|
#include "wcheck.h"
|
||||||
#include "worlddef.h"
|
#include "worlddef.h"
|
||||||
#include "renderworld.h"
|
#include "renderworld.h"
|
||||||
#include "input.h"
|
|
||||||
#include "font.h"
|
#include "font.h"
|
||||||
#include "screenids.h"
|
#include "screenids.h"
|
||||||
#include "screens.h"
|
#include "screens.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user