Changed WriteCALL functions
Changed sunPoint to a plain uint so one can manually place their own dummy offset if needbe, without using the point system.
This commit is contained in:
parent
07646b11b3
commit
8c655bb110
1 changed files with 3 additions and 3 deletions
|
@ -173,14 +173,14 @@ namespace arookas {
|
||||||
}
|
}
|
||||||
public sunPoint WriteCALL(int count) {
|
public sunPoint WriteCALL(int count) {
|
||||||
mText.Writer.Write8(0x1C);
|
mText.Writer.Write8(0x1C);
|
||||||
sunPoint point = OpenPoint();
|
var point = OpenPoint();
|
||||||
mText.Writer.Write32(0); // dummy
|
mText.Writer.Write32(0); // dummy
|
||||||
mText.Writer.WriteS32(count);
|
mText.Writer.WriteS32(count);
|
||||||
return point;
|
return point;
|
||||||
}
|
}
|
||||||
public void WriteCALL(sunPoint point, int count) {
|
public void WriteCALL(uint offset, int count) {
|
||||||
mText.Writer.Write8(0x1C);
|
mText.Writer.Write8(0x1C);
|
||||||
mText.Writer.Write32(point.Offset);
|
mText.Writer.Write32(offset);
|
||||||
mText.Writer.WriteS32(count);
|
mText.Writer.WriteS32(count);
|
||||||
}
|
}
|
||||||
public void WriteFUNC(int index, int count) {
|
public void WriteFUNC(int index, int count) {
|
||||||
|
|
Loading…
Reference in a new issue