-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
542 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
// reexport C2/D2 versions of functions as C1/D1 | ||
|
||
extern void _ZN16ResourceLocationD2Ev(void* a); | ||
void _ZN16ResourceLocationD1Ev(void* a) { | ||
_ZN16ResourceLocationD2Ev(a); | ||
extern void* _ZN16ResourceLocationD2Ev(void* a); | ||
void* _ZN16ResourceLocationD1Ev(void* a) { | ||
return _ZN16ResourceLocationD2Ev(a); | ||
} | ||
|
||
extern void _ZN4Json6ReaderD2Ev(void* a); | ||
void _ZN4Json6ReaderD1Ev(void* a) { | ||
_ZN4Json6ReaderD2Ev(a); | ||
extern void* _ZN4Json6ReaderD2Ev(void* a); | ||
void* _ZN4Json6ReaderD1Ev(void* a) { | ||
return _ZN4Json6ReaderD2Ev(a); | ||
} | ||
|
||
extern void* _ZN12ItemInstanceD2Ev(void* a); | ||
void* _ZN12ItemInstanceD1Ev(void* a) { | ||
return _ZN12ItemInstanceD2Ev(a); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
#pragma once | ||
class UIControl; | ||
class ClientInstance; | ||
|
||
class MinecraftUIRenderContext; | ||
class RectangleArea; | ||
|
||
class InventoryItemRenderer { | ||
public: | ||
char filler[48]; // 0 | ||
int itemId; // 48; from render | ||
char filler2[80-52]; // 52 | ||
char filler[52]; // 0 | ||
int itemId; // 52; from render | ||
char filler2[80-56]; // 56 | ||
std::string atlasName; // 80 from update | ||
void update(ClientInstance&, UIControl&); | ||
void render(MinecraftUIRenderContext&, ClientInstance&, UIControl&, int, RectangleArea&); | ||
}; | ||
static_assert(offsetof(InventoryItemRenderer, itemId) == 52, "itemId offset"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#pragma once | ||
|
||
class AbstractScene; | ||
class ScreenChooser { | ||
public: | ||
|
Oops, something went wrong.