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:
arookas 2016-02-01 12:20:55 -05:00
parent 07646b11b3
commit 8c655bb110

View file

@ -173,14 +173,14 @@ namespace arookas {
}
public sunPoint WriteCALL(int count) {
mText.Writer.Write8(0x1C);
sunPoint point = OpenPoint();
var point = OpenPoint();
mText.Writer.Write32(0); // dummy
mText.Writer.WriteS32(count);
return point;
}
public void WriteCALL(sunPoint point, int count) {
public void WriteCALL(uint offset, int count) {
mText.Writer.Write8(0x1C);
mText.Writer.Write32(point.Offset);
mText.Writer.Write32(offset);
mText.Writer.WriteS32(count);
}
public void WriteFUNC(int index, int count) {