You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
718 B
49 lines
718 B
#ifndef _STRUCTS_H_ |
|
#define _STRUCTS_H_ |
|
|
|
#include <stdint.h> |
|
|
|
struct MMF_Name_Single |
|
{ |
|
uint32_t Process; |
|
uint8_t Name[64]; |
|
uint8_t Active; |
|
}; |
|
|
|
struct MMF_Name |
|
{ |
|
uint32_t ProcessID; |
|
MMF_Name_Single Names[100]; |
|
}; |
|
|
|
struct MMF_ICommand_Single |
|
{ |
|
uint8_t Active; |
|
uint32_t Targets; |
|
uint32_t SendProcess; |
|
uint8_t Command[248]; |
|
}; |
|
|
|
struct MMF_ICommand |
|
{ |
|
uint32_t ProcessID; |
|
uint32_t Position; |
|
MMF_ICommand_Single Command[100]; |
|
}; |
|
|
|
struct MMF_IFollow |
|
{ |
|
uint16_t Zone; |
|
uint32_t FollowID; |
|
uint32_t Follow; |
|
int32_t PosX; |
|
int32_t PosZ; |
|
}; |
|
|
|
struct MMF_Global |
|
{ |
|
MMF_Name Name; |
|
MMF_ICommand Command; |
|
MMF_IFollow Follow; |
|
}; |
|
#endif |