-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
8 changed files
with
52 additions
and
97 deletions.
There are no files selected for viewing
Submodule YRpp
updated
9 files
+8 −0 | AnimClass.h | |
+0 −1 | BounceClass.h | |
+34 −34 | ControlClass.h | |
+3 −0 | FootClass.h | |
+78 −4 | Matrix3D.h | |
+0 −74 | Quaternion.h | |
+1 −1 | TechnoClass.h | |
+3 −0 | WeaponTypeClass.h | |
+0 −1 | YRpp.props |
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,72 +1,11 @@ | ||
#include <Utilities/Macro.h> | ||
#include "New/Entity/PhobosStorageClass.h" | ||
|
||
namespace StorageClass_Wrappers | ||
{ | ||
int __fastcall GetTotalValue(PhobosStorageClass* pThis) | ||
{ | ||
return pThis->GetTotalValue(); | ||
} | ||
|
||
double __fastcall GetTotalAmount(PhobosStorageClass* pThis) | ||
{ | ||
return pThis->GetTotalAmount(); | ||
} | ||
|
||
double __fastcall GetAmount(PhobosStorageClass* pThis, void*, int index) | ||
{ | ||
return pThis->GetAmount(index); | ||
} | ||
|
||
float __fastcall IncreaseAmount(PhobosStorageClass* pThis, void*, float amount, int index) | ||
{ | ||
return pThis->IncreaseAmount(amount, index); | ||
} | ||
|
||
float __fastcall DecreaseAmount(PhobosStorageClass* pThis, void*, float amount, int index) | ||
{ | ||
return pThis->DecreaseAmount(amount, index); | ||
} | ||
|
||
PhobosStorageClass* __fastcall Operator_Plus(PhobosStorageClass* ppThis, void*, PhobosStorageClass* retstr, PhobosStorageClass* ppThat) | ||
{ | ||
*retstr = *ppThis + *ppThat; | ||
return retstr; | ||
} | ||
|
||
PhobosStorageClass* __fastcall Operator_PlusEquals(PhobosStorageClass* ppThis, void*, PhobosStorageClass* retstr, PhobosStorageClass* ppThat) | ||
{ | ||
*ppThis += *ppThat; | ||
*retstr = *ppThis; | ||
return ppThis; | ||
} | ||
|
||
PhobosStorageClass* __fastcall Operator_Minus(PhobosStorageClass* ppThis, void*, PhobosStorageClass* retstr, PhobosStorageClass* ppThat) | ||
{ | ||
*retstr = *ppThis - *ppThat; | ||
return retstr; | ||
} | ||
|
||
PhobosStorageClass* __fastcall Operator_MinusEquals(PhobosStorageClass* ppThis, void*, PhobosStorageClass* retstr, PhobosStorageClass* ppThat) | ||
{ | ||
*ppThis -= *ppThat; | ||
*retstr = *ppThis; | ||
return ppThis; | ||
} | ||
|
||
int __fastcall FirstUsedSlot(PhobosStorageClass* pThis) | ||
{ | ||
return pThis->FirstUsedSlot(); | ||
} | ||
} | ||
|
||
DEFINE_JUMP(LJMP, 0x6C9600, GET_OFFSET(StorageClass_Wrappers::GetTotalValue)) | ||
DEFINE_JUMP(LJMP, 0x6C9650, GET_OFFSET(StorageClass_Wrappers::GetTotalAmount)) | ||
DEFINE_JUMP(LJMP, 0x6C9680, GET_OFFSET(StorageClass_Wrappers::GetAmount)) | ||
DEFINE_JUMP(LJMP, 0x6C9690, GET_OFFSET(StorageClass_Wrappers::IncreaseAmount)) | ||
DEFINE_JUMP(LJMP, 0x6C96B0, GET_OFFSET(StorageClass_Wrappers::DecreaseAmount)) | ||
DEFINE_JUMP(LJMP, 0x6C96E0, GET_OFFSET(StorageClass_Wrappers::Operator_Plus)) | ||
DEFINE_JUMP(LJMP, 0x6C9740, GET_OFFSET(StorageClass_Wrappers::Operator_PlusEquals)) | ||
DEFINE_JUMP(LJMP, 0x6C9780, GET_OFFSET(StorageClass_Wrappers::Operator_Minus)) | ||
DEFINE_JUMP(LJMP, 0x6C97E0, GET_OFFSET(StorageClass_Wrappers::Operator_MinusEquals)) | ||
DEFINE_JUMP(LJMP, 0x6C9820, GET_OFFSET(StorageClass_Wrappers::FirstUsedSlot)) | ||
DEFINE_JUMP(LJMP, 0x6C9600, GET_PTR(&PhobosStorageClass::GetTotalValue)) | ||
DEFINE_JUMP(LJMP, 0x6C9650, GET_PTR(&PhobosStorageClass::GetTotalAmount)) | ||
DEFINE_JUMP(LJMP, 0x6C9680, GET_PTR(&PhobosStorageClass::GetAmount)) | ||
DEFINE_JUMP(LJMP, 0x6C9690, GET_PTR(&PhobosStorageClass::IncreaseAmount)) | ||
DEFINE_JUMP(LJMP, 0x6C96B0, GET_PTR(&PhobosStorageClass::DecreaseAmount)) | ||
DEFINE_JUMP(LJMP, 0x6C9740, GET_PTR(&PhobosStorageClass::operator+=)) | ||
DEFINE_JUMP(LJMP, 0x6C97E0, GET_PTR(&PhobosStorageClass::operator-=)) | ||
DEFINE_JUMP(LJMP, 0x6C9820, GET_PTR(&PhobosStorageClass::FirstUsedSlot)) |
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