Files
TeslaRel410/CODE/RP/MUNGA_L4/libDPL/dvs/VCBODAPP.H
T
CydandClaude Fable 5 fdd9ac9d97 Initial import: Tesla Release 4.10 (Tesla:BattleTech & Tesla:Red Planet)
Archival snapshot of the Virtual World Entertainment Tesla cockpit
software, 1994-1996: MUNGA engine and L4 pod layer source (Borland
C++ 5.0), BT/RP game code, and game content (models, audio, maps,
gauges, Division renderer data). Includes third-party libraries:
Division dVS/DPL graphics, HMI SOS audio, WATTCP networking.

Files are preserved byte-for-byte (.gitattributes disables all
line-ending conversion). README.md documents the layout, target
hardware, and toolchain.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 13:21:58 -05:00

48 lines
1.4 KiB
C++

typedef struct
{
int state;
void *collideEntity;
void *pickEntity;
void *pickRelocateHandle;
void *relocateData;
}VCBodyPartAppInfo;
typedef struct
{
VCEntity *entity;
VCAttribute *bodyPart;
VCBody *body;
}VCBodyAppCallbackData;
typedef struct
{
VCAttribute *bodyPart;
VCBody *body;
}VCBodyAppRelocateData;
#define VC_BODYAPP_COLLIDED 0x00000001
#define VC_BODYAPP_PICK_PRESSED 0x00000002
typedef void (*VCBodyTouchFunc)(VCBodyAppCallbackData *callbackData, void *data);
typedef void (*VCBodyUnTouchFunc)(VCBodyAppCallbackData *callbackData, void *data);
typedef void (*VCBodyPickFunc)(VCBodyAppCallbackData *callbackData, void *data);
typedef void (*VCBodyDropFunc)(VCBodyAppCallbackData *callbackData, void *data);
typedef void (*VCBodyMoveFunc)(VCBodyAppCallbackData *callbackData, void *data);
typedef struct
{
void *touchFunc;
void *unTouchFunc;
void *pickFunc;
void *dropFunc;
void *moveFunc;
} VCBodyFuncInfo;
void *VCBody_AttachInteractionCallbacks(VCBody *body, VCBodyTouchFunc touchFunc,
VCBodyUnTouchFunc unTouchFunc, VCBodyPickFunc pickFunc,
VCBodyDropFunc dropFunc, VCBodyMoveFunc moveFunc, void *data);
void VCBody_DetachInteractionCallbacks(VCBody *body, void *callbackHandle);