mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 09:52:28 +00:00
feat(binana): no special include directories now, you must pass GHIDRA or IDA as a definition into your preprocessor
This commit is contained in:
parent
de5bdadc78
commit
1042d9fa22
60 changed files with 3132 additions and 589 deletions
|
|
@ -1,43 +1,43 @@
|
|||
#ifndef TEMPEST_VECTOR_H
|
||||
#define TEMPEST_VECTOR_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct C2Vector C2Vector;
|
||||
typedef struct C2iVector C2iVector;
|
||||
typedef struct C3Vector C3Vector;
|
||||
typedef struct C4Vector C4Vector;
|
||||
typedef struct CImVector CImVector;
|
||||
|
||||
struct C2Vector {
|
||||
float x;
|
||||
float y;
|
||||
};
|
||||
|
||||
struct C2iVector {
|
||||
int32_t x;
|
||||
int32_t y;
|
||||
};
|
||||
|
||||
struct C3Vector {
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
};
|
||||
|
||||
struct C4Vector {
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
float w;
|
||||
};
|
||||
|
||||
struct CImVector {
|
||||
uint8_t b;
|
||||
uint8_t g;
|
||||
uint8_t r;
|
||||
uint8_t a;
|
||||
};
|
||||
|
||||
|
||||
#ifndef TEMPEST_VECTOR_H
|
||||
#define TEMPEST_VECTOR_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
DECLARE_STRUCT(C2Vector);
|
||||
DECLARE_STRUCT(C2iVector);
|
||||
DECLARE_STRUCT(C3Vector);
|
||||
DECLARE_STRUCT(C4Vector);
|
||||
DECLARE_STRUCT(CImVector);
|
||||
|
||||
struct C2Vector {
|
||||
float x;
|
||||
float y;
|
||||
};
|
||||
|
||||
struct C2iVector {
|
||||
int32_t x;
|
||||
int32_t y;
|
||||
};
|
||||
|
||||
struct C3Vector {
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
};
|
||||
|
||||
struct C4Vector {
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
float w;
|
||||
};
|
||||
|
||||
struct CImVector {
|
||||
uint8_t b;
|
||||
uint8_t g;
|
||||
uint8_t r;
|
||||
uint8_t a;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue