Initial public release of rem-essentials
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
#pragma once
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include "rem/fl_types.h"
|
||||
#include "rem/st6.h"
|
||||
|
||||
namespace rem::features
|
||||
{
|
||||
struct PlayerData
|
||||
{
|
||||
BYTE x00[0x264];
|
||||
UINT currentShipId;
|
||||
BYTE x268[0xBC];
|
||||
UINT shipIdOnLand;
|
||||
};
|
||||
|
||||
struct BaseGood
|
||||
{
|
||||
BYTE x00[0x8];
|
||||
UINT goodId;
|
||||
float price;
|
||||
int minQuantity;
|
||||
int maxQuantity;
|
||||
DWORD unknown18;
|
||||
|
||||
bool IsShipCandidate() const
|
||||
{
|
||||
return unknown18 == 0 || unknown18 == 2;
|
||||
}
|
||||
};
|
||||
|
||||
struct BaseGoodCollection
|
||||
{
|
||||
UINT baseName;
|
||||
UINT launchpadName;
|
||||
DWORD unknown08;
|
||||
float unknown0C;
|
||||
st6::list<BaseGood> goods;
|
||||
|
||||
bool HasShipPackageWithGood(UINT goodId);
|
||||
};
|
||||
|
||||
struct MarketGood
|
||||
{
|
||||
BYTE x00[0x10];
|
||||
DWORD type;
|
||||
};
|
||||
|
||||
struct BaseMarket
|
||||
{
|
||||
UINT baseName;
|
||||
BaseGoodCollection* baseGoods;
|
||||
};
|
||||
|
||||
void InitShipBuyKickFix();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user