void operator()(Int32& i) const { i = _s->readSint32LE(); }
/** * Reads a point from a stream */ void RMPoint::readFromStream(Common::ReadStream &ds) { _x = ds.readSint32LE(); _y = ds.readSint32LE(); }
void RMRect::readFromStream(Common::ReadStream &ds) { _x1 = ds.readSint32LE(); _y1 = ds.readSint32LE(); _x2 = ds.readSint32LE(); _y2 = ds.readSint32LE(); }
static void saveOrLoadPtr(Common::ReadStream &stream, int16 *&p, int16 *base) { int32 offset = stream.readSint32LE(); p = base + offset; }