mirror of
https://codeberg.org/KeybadeBlox/JSRF-Decompilation.git
synced 2026-02-20 02:07:02 +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
|
|
@ -38,11 +38,11 @@ src/JSRF/Jet2.exe: $(OBJ) $(LIB)
|
||||||
|
|
||||||
|
|
||||||
# Header files used for each object
|
# Header files used for each object
|
||||||
src/JSRF/Jet2.obj: src/JSRF/Core.hpp src/Std.hpp src/XDK/D3D.h\
|
src/JSRF/Jet2.obj: src/JSRF/Core.hpp src/XDK/CRT/stddef.h src/XDK/D3D.h\
|
||||||
src/XDK/Win32.h
|
src/XDK/Win32.h
|
||||||
|
|
||||||
src/JSRF/Core.obj: src/JSRF/Core.hpp src/Smilebit/MMatrix.hpp src/Std.hpp\
|
src/JSRF/Core.obj: src/JSRF/Core.hpp src/Smilebit/MMatrix.hpp\
|
||||||
src/XDK/D3D.h src/XDK/Win32.h
|
src/XDK/CRT/stddef.h src/XDK/D3D.h src/XDK/Win32.h
|
||||||
|
|
||||||
src/JSRF/GameData.obj: src/JSRF/GameData.hpp
|
src/JSRF/GameData.obj: src/JSRF/GameData.hpp
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ Game and GameObj classes that form the foundation of the JSRF game code.
|
||||||
|
|
||||||
#pragma bss_seg(".data")
|
#pragma bss_seg(".data")
|
||||||
|
|
||||||
|
#include "../XDK/CRT/stddef.h"
|
||||||
#include "Core.hpp"
|
#include "Core.hpp"
|
||||||
|
|
||||||
// Declarations for symbols not yet defined in their own source files
|
// 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
|
#define CORE_HPP
|
||||||
|
|
||||||
#include "../Smilebit/MMatrix.hpp"
|
#include "../Smilebit/MMatrix.hpp"
|
||||||
#include "../Std.hpp"
|
#include "../XDK/CRT/stddef.h"
|
||||||
#include "../XDK/D3D.h"
|
#include "../XDK/D3D.h"
|
||||||
#include "../XDK/Win32.h"
|
#include "../XDK/Win32.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ Main function.
|
||||||
|
|
||||||
#pragma bss_seg(".data")
|
#pragma bss_seg(".data")
|
||||||
|
|
||||||
|
#include "../XDK/CRT/stddef.h"
|
||||||
#include "Core.hpp"
|
#include "Core.hpp"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ Smilebit's stack-based matrix math library.
|
||||||
#pragma bss_seg (".data" )
|
#pragma bss_seg (".data" )
|
||||||
|
|
||||||
|
|
||||||
#include "../Std.hpp"
|
#include "../XDK/CRT/stddef.h"
|
||||||
#include "../XDK/Win32.h"
|
#include "../XDK/Win32.h"
|
||||||
#include "MMatrix.hpp"
|
#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