mirror of
https://codeberg.org/KeybadeBlox/JSRF-Decompilation.git
synced 2026-02-20 10:17:03 +03:00
Move Std.hpp into CRT directory
It's also been renamed to stddef.h since all it contained was the definition of NULL, which lives in that header in a standard C library.
This commit is contained in:
parent
3c4f0e72b8
commit
adc30bb531
7 changed files with 15 additions and 17 deletions
|
|
@ -4,6 +4,7 @@ Game and GameObj classes that form the foundation of the JSRF game code.
|
|||
|
||||
#pragma bss_seg(".data")
|
||||
|
||||
#include "../XDK/CRT/stddef.h"
|
||||
#include "Core.hpp"
|
||||
|
||||
// Declarations for symbols not yet defined in their own source files
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ Game and GameObj classes that form the foundation of the JSRF game code.
|
|||
#define CORE_HPP
|
||||
|
||||
#include "../Smilebit/MMatrix.hpp"
|
||||
#include "../Std.hpp"
|
||||
#include "../XDK/CRT/stddef.h"
|
||||
#include "../XDK/D3D.h"
|
||||
#include "../XDK/Win32.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ Main function.
|
|||
|
||||
#pragma bss_seg(".data")
|
||||
|
||||
#include "../XDK/CRT/stddef.h"
|
||||
#include "Core.hpp"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ Smilebit's stack-based matrix math library.
|
|||
#pragma bss_seg (".data" )
|
||||
|
||||
|
||||
#include "../Std.hpp"
|
||||
#include "../XDK/CRT/stddef.h"
|
||||
#include "../XDK/Win32.h"
|
||||
#include "MMatrix.hpp"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
/* JSRF Decompilation: Std.hpp
|
||||
C(++) standard library definitions. Implemented in the repository instead of
|
||||
linking to an outside stdlib to ensure consistency (this may not actually be
|
||||
possible to accomplish, but we'll go for it for now).
|
||||
*/
|
||||
|
||||
#ifndef STD_HPP
|
||||
#define STD_HPP
|
||||
|
||||
#define NULL 0
|
||||
|
||||
#endif
|
||||
8
decompile/src/XDK/CRT/stddef.h
Normal file
8
decompile/src/XDK/CRT/stddef.h
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
/* JSRF Decompilation: XDK/CRT/stddef.h */
|
||||
|
||||
#ifndef STDDEF_H
|
||||
#define STDDEF_H
|
||||
|
||||
#define NULL 0
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue