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
int aiParam.selectSituation(AI ai, int index_start, int index_end, int type) | |
{ | |
int current_index = index_start;//r31 | |
int r27 = 0;//unknown | |
if (current_index < index_end) | |
{ | |
int sits_remain = index_end - index_start;//r26 | |
while (sits_remain >= 0) | |
{ | |
AI.Param param_data; |
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
public static uint[][] STransGroups = new uint[][] | |
{ | |
{ 0x1e000069, 0x1e000067, 0x1e000066, 0x1e000068, 0x1e000063, 0x1e000064, 0x1e000065, 0x1e000094, 0x1e000062 }, | |
{ 0x1e000076, 0x1e000074 }, | |
{ 0x1e00006d }, | |
{ 0x1e00007b, 0x1e000082, 0x1e000059, 0x1e00005c, 0x1e00005f, 0x1e000056, 0x1e000072, 0x1e000073, 0x1e00007d, 0x1e000057, 0x1e000081, 0x1e000055, 0x1e00007e, 0x1e000080, 0x1e000053, 0x1e000052 }, | |
{ 0x1e000026, 0x1e000027, 0x1e000028 }, | |
{ 0x1e000029 }, | |
{ 0x1e00002c, 0x1e00002b }, | |
{ 0x1e000039, 0x1e00003b, 0x1e00003a, 0x1e000031, 0x1e00002d, 0x1e000034, 0x1e00002f, 0x1e00003c }, |
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
struct shieldData { | |
int type | |
short startIndex | |
short count | |
float posX | |
float unk1 | |
float unk2 | |
float unk3 | |
float reflectDmgMul | |
float reflectSpdMul |
This file has been truncated, but you can view the full file.
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
public struct MotData | |
{ | |
public uint hash; | |
public uint flags; | |
public MotData(uint hash, uint flags) | |
{ | |
this.hash = hash; | |
this.flags = flags; | |
} |
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
float Sine(float x) { | |
if (fabs(x) > 0.0002441406) | |
{ | |
if (fabs(x) < 0.7853982) | |
{ | |
float sq = x * x; | |
x *= ((sq * -0.0001950181 + 0.008332016) * sq + -0.16666651) * sq + 1.0; | |
} | |
else if (x *= 0.6366197 > 1.0737418E+09) | |
x = 0; |
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
static uint[] hashTable = new uint[] { 0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f, 0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988, 0x09b64c2b, 0x7eb17cbd, 0xe7b82d07, 0x90bf1d91, 0x1db71064, 0x6ab020f2, 0xf3b97148, 0x84be41de, 0x1adad47d, 0x6ddde4eb, 0xf4d4b551, 0x83d385c7, 0x136c9856, 0x646ba8c0, 0xfd62f97a, 0x8a65c9ec, 0x14015c4f, 0x63066cd9, 0xfa0f3d63, 0x8d080df5, 0x3b6e20c8, 0x4c69105e, 0xd56041e4, 0xa2677172, 0x3c03e4d1, 0x4b04d447, 0xd20d85fd, 0xa50ab56b, 0x35b5a8fa, 0x42b2986c, 0xdbbbc9d6, 0xacbcf940, 0x32d86ce3, 0x45df5c75, 0xdcd60dcf, 0xabd13d59, 0x26d930ac, 0x51de003a, 0xc8d75180, 0xbfd06116, 0x21b4f4b5, 0x56b3c423, 0xcfba9599, 0xb8bda50f, 0x2802b89e, 0x5f058808, 0xc60cd9b2, 0xb10be924, 0x2f6f7c87, 0x58684c11, 0xc1611dab, 0xb6662d3d, 0x76dc4190, 0x01db7106, 0x98d220bc, 0xefd5102a, 0x71b18589, 0x06b6b51f, 0x9fbfe4a5, 0xe8b8d433, 0x7807c9a2, 0x0f00f934, 0x9609a88e, 0xe10e9818, 0x7f6a0dbb, 0x086d3d2d, 0x91646c97, 0xe6635c01, 0x6b6b51f4, 0x1c6c6162, 0 |
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
public struct MotData | |
{ | |
public uint hash; | |
public uint flags; | |
public MotData(uint hash, uint flags) | |
{ | |
this.hash = hash; | |
this.flags = flags; | |
} |
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
//index 1 is the node for rotation | |
//index 2 is the node for position | |
public static int[][] attached_bones = new int[][] | |
{ | |
new int[] { -1, -1 }, | |
new int[] { 2000, 25 }, | |
new int[] { 2000, 3 }, | |
new int[] { -1, -1 }, | |
new int[] { 2001, 0 }, | |
new int[] { -1, -1 }, |
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
offset_ | |
offset2_ | |
power_ | |
size_ | |
vector_ | |
r_eff_ | |
r_fix_ | |
r_add_ | |
slip_ | |
stop_frame_ |
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
namespace ParseHashes | |
{ | |
class Hash | |
{ | |
public static uint CRC32(string word) | |
{ | |
uint hash = 0xffffffff; | |
for (int i = 0; i < word.Length; i++) | |
hash = (hash >> 8) ^ hashTable[(hash ^ word[i]) & 0xff]; | |
return ~hash; |
OlderNewer