Initial public release of rem-essentials

This commit is contained in:
2026-08-11 16:48:50 +02:00
commit d611924a5e
161 changed files with 9792 additions and 0 deletions
+58
View File
@@ -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();
}