Skip to content

Commit

Permalink
Add bitmap related namings
Browse files Browse the repository at this point in the history
  • Loading branch information
BigBang1112 committed Feb 8, 2025
1 parent f3adb17 commit 2caca5a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Src/GBX.NET/Engines/Plug/CPlugBitmapAddress.chunkl
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ CPlugBitmapAddress 0x09047000
int
byte
if U03 == 1
box?
box? UVTransfoIso3
if U03 == 2
mat4?
mat4? UVTransfoMat4

0x008
int
float

0x009
float
float BumpEnvScale
2 changes: 1 addition & 1 deletion Src/GBX.NET/Engines/Plug/CPlugBitmapRenderSub.chunkl
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ CPlugBitmapRenderSub 0x09091000
- inherits: CPlugBitmapRender

0x000
CMwNod
CPlugShader ShaderToForce
2 changes: 1 addition & 1 deletion Src/GBX.NET/Engines/Plug/CPlugBitmapSampler.chunkl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CPlugBitmapSampler 0x0907E000

0x002
id Name
CMwNod (external)
CPlugBitmap Bitmap (external)
uint
float

Expand Down
2 changes: 1 addition & 1 deletion Src/GBX.NET/Engines/Plug/CPlugBitmapSampler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public override void ReadWrite(CPlugBitmapSampler n, GbxReaderWriter rw)
base.ReadWrite(n, rw);

// CPlugBitmapSampler::IsBorderColorUsed
if ((((byte)U02 & 0x18) != 0x18) && (((byte)U02 & 0x60) != 0x60) && ((U02 & 0x1800) != 0x1800))
if ((((byte)U01 & 0x18) != 0x18) && (((byte)U01 & 0x60) != 0x60) && ((U01 & 0x1800) != 0x1800))
{
return;
}
Expand Down

0 comments on commit 2caca5a

Please sign in to comment.