Files
RP412/MUNGA_L4/libDPL/dvs/VCBODAPP.H
T
CydandClaude Opus 4.8 4abbf8879f Initial import of Red Planet v4.10 Win32 source
Imports the current Win32 source for the pod-racing game 'Red Planet',
built on the MUNGA engine and its L4 (Win32/DirectX) platform layer:

- MUNGA / MUNGA_L4: cross-platform engine core and Win32 backend
- RP / RP_L4: Red Planet game logic and Win32 application
- DivLoader, Setup1: asset loader and installer project
- lib, MUNGA_L4/openal, MUNGA_L4/sos: third-party audio dependencies

Removed stale Subversion metadata and added .gitignore/.gitattributes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 07:59:51 -05:00

48 lines
1.3 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);