-
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
bartz24games@gmail.com
committed
Jun 5, 2022
1 parent
bf99fca
commit 76db02f
Showing
95 changed files
with
4,591 additions
and
71 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
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,11 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net5.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Bartz24.Data\Bartz24.Data.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
4 changes: 1 addition & 3 deletions
4
Bartz24.FF13_2_LR/DataStoreZTRText.cs → Bartz24.FF13Series/DataStoreZTRText.cs
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net5.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Bartz24.Data\Bartz24.Data.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
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,30 @@ | ||
using Bartz24.Data; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Bartz24.FF13 | ||
{ | ||
public class DataStoreBtCharaSpec : DataStoreWDBEntry | ||
{ | ||
public uint sDropItem0_pointer | ||
{ | ||
get { return Data.ReadUInt(0xF0); } | ||
set { Data.SetUInt(0xF0, value); } | ||
} | ||
public string sDropItem0_string { get; set; } | ||
public uint sDropItem1_pointer | ||
{ | ||
get { return Data.ReadUInt(0xF4); } | ||
set { Data.SetUInt(0xF4, value); } | ||
} | ||
public string sDropItem1_string { get; set; } | ||
|
||
public override int GetDefaultLength() | ||
{ | ||
return 0x168; | ||
} | ||
} | ||
} |
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,24 @@ | ||
using Bartz24.Data; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Bartz24.FF13 | ||
{ | ||
public class DataStoreBtScene : DataStoreWDBEntry | ||
{ | ||
public uint sDrop100Id_pointer | ||
{ | ||
get { return Data.ReadUInt(0x34); } | ||
set { Data.SetUInt(0x34, value); } | ||
} | ||
public string sDrop100Id_string { get; set; } | ||
|
||
public override int GetDefaultLength() | ||
{ | ||
return 0x60; | ||
} | ||
} | ||
} |
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,96 @@ | ||
using Bartz24.Data; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Bartz24.FF13 | ||
{ | ||
public enum CrystariumType : byte | ||
{ | ||
HP = 1, | ||
Strength = 2, | ||
Magic = 3, | ||
Accessory = 4, | ||
ATBLevel = 5, | ||
Ability = 6, | ||
RoleLevel = 7, | ||
Unknown = 0 | ||
} | ||
|
||
public enum Role : byte | ||
{ | ||
None = 0, | ||
Commando = 2, | ||
Ravager = 3, | ||
Sentinel = 1, | ||
Synergist = 4, | ||
Medic = 6, | ||
Saboteur = 5 | ||
} | ||
public class DataStoreCrystarium : DataStoreWDBEntry | ||
{ | ||
public uint iCPCost | ||
{ | ||
get { return Data.ReadUInt(0x0); } | ||
set { Data.SetUInt(0x0, value); } | ||
} | ||
|
||
public string sAbility_string { get; set; } | ||
|
||
public uint sAbility_pointer | ||
{ | ||
get { return Data.ReadUInt(0x4); } | ||
set { Data.SetUInt(0x4, value); } | ||
} | ||
|
||
public ushort iValue | ||
{ | ||
get { return Data.ReadUShort(0x8); } | ||
set { Data.SetUShort(0x8, value); } | ||
} | ||
|
||
public CrystariumType iType | ||
{ | ||
get { return (CrystariumType)Data.ReadByte(0xA); } | ||
set { Data.SetByte(0xA, (byte)value); } | ||
} | ||
|
||
public byte iStage | ||
{ | ||
get { return (byte)(Data.ReadByte(0xB) / 0x10); } | ||
set { Data.SetByte(0xB, (byte)(value * 0x10 + (byte)iRole)); } | ||
} | ||
|
||
public Role iRole | ||
{ | ||
get { return (Role)(Data.ReadByte(0xB) % 0x10); } | ||
set { Data.SetByte(0xB, (byte)(iStage * 0x10 + (byte)value)); } | ||
} | ||
|
||
public override int GetDefaultLength() | ||
{ | ||
return 0xC; | ||
} | ||
|
||
public void SwapStats(DataStoreCrystarium other) | ||
{ | ||
CrystariumType type = other.iType; | ||
ushort value = other.iValue; | ||
other.iType = this.iType; | ||
other.iValue = this.iValue; | ||
this.iType = type; | ||
this.iValue = value; | ||
} | ||
|
||
public void SwapStatsAbilities(DataStoreCrystarium other) | ||
{ | ||
SwapStats(other); | ||
|
||
string abilityName = other.sAbility_string; | ||
other.sAbility_string = this.sAbility_string; | ||
this.sAbility_string = abilityName; | ||
} | ||
} | ||
} |
Oops, something went wrong.