mirror of
https://codeberg.org/KeybadeBlox/JSRF-Decompilation.git
synced 2026-02-20 10:17:03 +03:00
Compile XDK code as C
It appears to be all C code (especially the non-C++ parts of the C runtime, of course), so we'll compile it as such.
This commit is contained in:
parent
149af27b9c
commit
d435282a8b
9 changed files with 48 additions and 23 deletions
35
decompile/src/XDK/D3D.h
Normal file
35
decompile/src/XDK/D3D.h
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
/* JSRF Decompilation: XDK/D3D.h
|
||||
Direct3D8 declarations.
|
||||
*/
|
||||
|
||||
#ifndef D3D_H
|
||||
#define D3D_H
|
||||
|
||||
#include "Win32.h"
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
typedef DWORD D3DCOLOR;
|
||||
|
||||
struct D3DVECTOR {
|
||||
float x, y, z ;
|
||||
};
|
||||
struct D3DVECTOR4 {
|
||||
float x, y, z, w;
|
||||
};
|
||||
|
||||
struct D3DRECT {
|
||||
LONG x1, y1, x2, y2;
|
||||
};
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue