Initial public release of rem-essentials
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
namespace rem::features
|
||||
{
|
||||
void InitAlchemyCrashFix();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
namespace rem::features
|
||||
{
|
||||
void InitFlplusplusTimestampedLogs();
|
||||
void InitFlplusplusConsoleLog();
|
||||
void InitFlplusplusSavePath();
|
||||
void InitFlplusplusRestartRegeneration();
|
||||
void InitFlplusplusGraphicsBaseFixes();
|
||||
void InitFlplusplusDetailScaling();
|
||||
void InitFlplusplusPngScreenshots();
|
||||
void InitFlplusplusScreenshotPath();
|
||||
void InitFlplusplusWineMp3CodecWarningFix();
|
||||
void InitFlplusplusStartLocationWarningFix();
|
||||
void InitFlplusplusFontFileLoading();
|
||||
void InitFlplusplusThnPlayer();
|
||||
void InitFlplusplusShipPreviewScroll();
|
||||
void InitFlplusplusFailedSaveDirIds();
|
||||
void InitFlplusplusTouchpadSupport();
|
||||
void InitFlplusplusCursorConfinement();
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
#pragma once
|
||||
|
||||
void InitBetterUpdates();
|
||||
void InitWaypointFixes();
|
||||
void InitWaypointNameFixes();
|
||||
void InitProjectilesSoundFix();
|
||||
void InitProjectilesServerFix();
|
||||
void InitBetterResolutions();
|
||||
void CleanupBetterResolutions();
|
||||
void InitTestSounds();
|
||||
void InitTradeLaneLightsFix();
|
||||
void InitCopyPasteFeature();
|
||||
void InitSlideUiAnimFix();
|
||||
void InitWeaponAnimFix();
|
||||
void InitFlashParticlesFix();
|
||||
void InitPrintRepRequirements();
|
||||
void InitPostGameDeadlockFix();
|
||||
void InitQuitMessageFix();
|
||||
void CleanupQuitMessageFix();
|
||||
void InitFlightControlsFix();
|
||||
void InitDynamicSolarInfocards();
|
||||
void InitSaveCrashFix();
|
||||
void InitAlchemyCrashFix();
|
||||
void InitBlankFactionNameFix();
|
||||
void InitServerFilterCrashFix();
|
||||
void InitServerFilterSpeedFix();
|
||||
void InitMissingDllCrashFix();
|
||||
void InitShieldCapacityFix();
|
||||
void InitDealerOpenFix();
|
||||
void InitDealerCrashFix();
|
||||
void InitShipBuyKickFix();
|
||||
void InitHostileGroupFormation();
|
||||
void InitHostileGroupMembersFix();
|
||||
void InitGroupMemberAttitudeFix();
|
||||
void InitMoreCursorColors();
|
||||
void InitBaseInfoSpacingFix();
|
||||
void InitPilotNamesFix();
|
||||
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
namespace rem::features
|
||||
{
|
||||
struct Waypoint
|
||||
{
|
||||
float pos[3];
|
||||
UINT system;
|
||||
UINT target;
|
||||
int waypointNumber;
|
||||
};
|
||||
|
||||
struct JumpDestinationSolar
|
||||
{
|
||||
BYTE x000[0x1B4];
|
||||
UINT destinationSystem;
|
||||
UINT destinationGate;
|
||||
};
|
||||
|
||||
void InitJumpDestinationWaypointFix();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include "rem/vftable.h"
|
||||
|
||||
#define REM_STDCALL __stdcall
|
||||
|
||||
namespace rem::features
|
||||
{
|
||||
void InitCursorVisibilityFix();
|
||||
void InitCursorBorderFlickerFix();
|
||||
void InitMouseWarpFix();
|
||||
}
|
||||
|
||||
struct IDirectInputDevice8_Rem
|
||||
{
|
||||
REM_FILL_VFTABLE(0)
|
||||
virtual void Vftable_10();
|
||||
virtual void Vftable_14();
|
||||
virtual void Vftable_18();
|
||||
virtual long REM_STDCALL Acquire();
|
||||
virtual long REM_STDCALL Unacquire();
|
||||
virtual void Vftable_24();
|
||||
virtual void Vftable_28();
|
||||
virtual void Vftable_2C();
|
||||
virtual void Vftable_30();
|
||||
virtual long REM_STDCALL SetCooperativeLevel(HWND hwnd, DWORD flags);
|
||||
};
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
namespace rem::features
|
||||
{
|
||||
void InitQuitMessageFix();
|
||||
void CleanupQuitMessageFix();
|
||||
}
|
||||
|
||||
@@ -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