mirror of
https://github.com/Ragora/T2-CPP.git
synced 2026-02-21 07:33:36 +00:00
Added new Move Code
Added Move Code, TS callback, and commands to interface with Move code.
This commit is contained in:
parent
2ee8c36a90
commit
81a28fe3ba
7 changed files with 212 additions and 3 deletions
38
CommonAPI/Common/include/DXAPI/Move.h
Normal file
38
CommonAPI/Common/include/DXAPI/Move.h
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
#pragma once
|
||||
|
||||
#include <DXAPI/Point3F.h>
|
||||
#include <DXAPI/GameBase.h>
|
||||
|
||||
#include <LinkerAPI.h>
|
||||
namespace DX
|
||||
{
|
||||
|
||||
struct Move {
|
||||
int px;
|
||||
int py;
|
||||
int pz;
|
||||
int pyaw;
|
||||
int ppitch;
|
||||
int proll;
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
float yaw;
|
||||
float pitch;
|
||||
float roll;
|
||||
int unused;
|
||||
int count;
|
||||
bool freelook;
|
||||
bool triggers[6];
|
||||
|
||||
};
|
||||
struct AIMove {
|
||||
unsigned int id;
|
||||
Move move;
|
||||
bool used;
|
||||
};
|
||||
float clampFloat(float in);
|
||||
float clampMove(float in);
|
||||
void generateNullMove(Move * ret);
|
||||
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue