-
Notifications
You must be signed in to change notification settings - Fork 2
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
22 changed files
with
623 additions
and
1,060 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#include "MKCharacter.h" | ||
#include "dcf2.h" | ||
void MKCharacter::SetLife(float life) | ||
{ | ||
((void(__fastcall*)(MKCharacter*, float))_addr(0x1472C7DD0))(this, life); | ||
} | ||
|
||
void MKCharacter::SetScale(FVector * scale) | ||
{ | ||
((void(__fastcall*)(MKCharacter*, FVector*))_addr(0x149AEC310))(this, scale); | ||
} | ||
|
||
void MKCharacter::SetSpeed(float speed) | ||
{ | ||
((void(__fastcall*)(MKCharacter*, float))_addr(0x1472BD780))(this, speed); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#pragma once | ||
#include "MKStructs.h" | ||
#include "mk10utils.h" | ||
|
||
|
||
class MKCharacter { | ||
public: | ||
void SetLife(float life); | ||
void SetScale(FVector* scale); | ||
void SetSpeed(float speed); | ||
}; | ||
|
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#pragma once | ||
|
||
enum PLAYER_NUM | ||
{ | ||
INVALID_PLAYER_NUM = -1, | ||
PLAYER1, | ||
PLAYER2, | ||
PLAYER3, | ||
PLAYER4, | ||
MAX_PLAYERS, | ||
CPU_PLAYER, | ||
NOT_CPU_PLAYER, | ||
BACKGROUND_PLAYER | ||
}; | ||
|
||
|
||
struct FVector | ||
{ | ||
float X; | ||
float Y; | ||
float Z; | ||
}; | ||
|
||
struct FRotator | ||
{ | ||
int Pitch; | ||
int Yaw; | ||
int Roll; | ||
}; | ||
|
||
struct character_info { | ||
char name[16]; | ||
}; |
Oops, something went wrong.