[openjk] 27/130: Add missing methods

Simon McVittie smcv at debian.org
Fri Oct 28 11:09:14 UTC 2016


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository openjk.

commit 7cc517c4d6cc813b5fb9f78564b8543faef4ab18
Author: bibendovsky <bibendovsky at hotmail.com>
Date:   Sat Jul 9 18:26:38 2016 +0300

    Add missing methods
---
 code/cgame/FxScheduler.cpp | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/code/cgame/FxScheduler.cpp b/code/cgame/FxScheduler.cpp
index 62040c3..cf50709 100644
--- a/code/cgame/FxScheduler.cpp
+++ b/code/cgame/FxScheduler.cpp
@@ -1911,3 +1911,26 @@ void CFxScheduler::CreateEffect( CPrimitiveTemplate *fx, const vec3_t origin, ve
 		}
 	}
 }
+
+
+void SLoopedEffect::sg_export(
+    SgType& dst) const
+{
+    ::sg_export(mId, dst.mId);
+    ::sg_export(mBoltInfo, dst.mBoltInfo);
+    ::sg_export(mNextTime, dst.mNextTime);
+    ::sg_export(mLoopStopTime, dst.mLoopStopTime);
+    ::sg_export(mPortalEffect, dst.mPortalEffect);
+    ::sg_export(mIsRelative, dst.mIsRelative);
+}
+
+void SLoopedEffect::sg_import(
+    const SgType& src)
+{
+    ::sg_import(src.mId, mId);
+    ::sg_import(src.mBoltInfo, mBoltInfo);
+    ::sg_import(src.mNextTime, mNextTime);
+    ::sg_import(src.mLoopStopTime, mLoopStopTime);
+    ::sg_import(src.mPortalEffect, mPortalEffect);
+    ::sg_import(src.mIsRelative, mIsRelative);
+}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/openjk.git



More information about the Pkg-games-commits mailing list