From edc52497726139498bb68e3b3334a792b3602ede Mon Sep 17 00:00:00 2001 From: Tarek Soliman Date: Fri, 10 Feb 2012 21:14:48 -0600 Subject: JANITORIAL: Fix template definition whitespace --- engines/touche/saveload.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'engines/touche') diff --git a/engines/touche/saveload.cpp b/engines/touche/saveload.cpp index 7732c6deb9..a054299ecd 100644 --- a/engines/touche/saveload.cpp +++ b/engines/touche/saveload.cpp @@ -60,7 +60,7 @@ static void saveOrLoadPtr(Common::ReadStream &stream, int16 *&p, int16 *base) { p = base + offset; } -template +template static void saveOrLoad(S &s, Common::Rect &r) { saveOrLoad(s, r.left); saveOrLoad(s, r.top); @@ -68,13 +68,13 @@ static void saveOrLoad(S &s, Common::Rect &r) { saveOrLoad(s, r.bottom); } -template +template static void saveOrLoad(S &s, SequenceEntry &seq) { saveOrLoad(s, seq.sprNum); saveOrLoad(s, seq.seqNum); } -template +template static void saveOrLoad(S &s, KeyChar &key) { saveOrLoad(s, key.num); saveOrLoad(s, key.flags); @@ -134,14 +134,14 @@ static void saveOrLoad(S &s, KeyChar &key) { } } -template +template static void saveOrLoad(S &s, TalkEntry &entry) { saveOrLoad(s, entry.otherKeyChar); saveOrLoad(s, entry.talkingKeyChar); saveOrLoad(s, entry.num); } -template +template static void saveOrLoad(S &s, ProgramHitBoxData &data) { saveOrLoad(s, data.item); saveOrLoad(s, data.talk); @@ -156,14 +156,14 @@ static void saveOrLoad(S &s, ProgramHitBoxData &data) { } } -template +template static void saveOrLoad(S &s, Area &area) { saveOrLoad(s, area.r); saveOrLoad(s, area.srcX); saveOrLoad(s, area.srcY); } -template +template static void saveOrLoad(S &s, ProgramBackgroundData &data) { saveOrLoad(s, data.area); saveOrLoad(s, data.type); @@ -172,7 +172,7 @@ static void saveOrLoad(S &s, ProgramBackgroundData &data) { saveOrLoad(s, data.scaleDiv); } -template +template static void saveOrLoad(S &s, ProgramAreaData &data) { saveOrLoad(s, data.area); saveOrLoad(s, data.id); @@ -181,7 +181,7 @@ static void saveOrLoad(S &s, ProgramAreaData &data) { saveOrLoad(s, data.animNext); } -template +template static void saveOrLoad(S &s, ProgramWalkData &data) { saveOrLoad(s, data.point1); saveOrLoad(s, data.point2); @@ -190,7 +190,7 @@ static void saveOrLoad(S &s, ProgramWalkData &data) { saveOrLoad(s, data.area2); } -template +template static void saveOrLoad(S &s, ProgramPointData &data) { saveOrLoad(s, data.x); saveOrLoad(s, data.y); @@ -198,7 +198,7 @@ static void saveOrLoad(S &s, ProgramPointData &data) { saveOrLoad(s, data.order); } -template +template static void saveOrLoadCommonArray(Common::WriteStream &stream, A &array) { uint count = array.size(); assert(count < 0xFFFF); @@ -208,7 +208,7 @@ static void saveOrLoadCommonArray(Common::WriteStream &stream, A &array) { } } -template +template static void saveOrLoadCommonArray(Common::ReadStream &stream, A &array) { uint count = stream.readUint16LE(); if (count == array.size()) { @@ -218,7 +218,7 @@ static void saveOrLoadCommonArray(Common::ReadStream &stream, A &array) { } } -template +template static void saveOrLoadStaticArray(S &s, A &array, uint count) { for (uint i = 0; i < count; ++i) { saveOrLoad(s, array[i]); -- cgit v1.2.3