[openjk] 28/130: Add pointer to saved game object for game interface
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 f839070c8853b9d2027f4842cc4948da10fb7e0e
Author: bibendovsky <bibendovsky at hotmail.com>
Date: Sat Jul 9 18:27:12 2016 +0300
Add pointer to saved game object for game interface
---
code/game/g_public.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/code/game/g_public.h b/code/game/g_public.h
index 4d667bc..8c178f0 100644
--- a/code/game/g_public.h
+++ b/code/game/g_public.h
@@ -25,6 +25,10 @@ along with this program; if not, see <http://www.gnu.org/licenses/>.
#define __G_PUBLIC_H__
// g_public.h -- game module information visible to server
+
+#include "qcommon/ojk_sg_wrappers_fwd.h"
+
+
#define GAME_API_VERSION 8
// entity->svFlags
@@ -186,6 +190,8 @@ typedef struct {
int (*ReadFromSaveGame)(unsigned int chid, void *pvAddress, int iLength, void **ppvAddressPtr );
int (*ReadFromSaveGameOptional)(unsigned int chid, void *pvAddress, int iLength, void **ppvAddressPtr );
+ ojk::SavedGame* saved_game;
+
// add commands to the console as if they were typed in
// for map changing, etc
void (*SendConsoleCommand)( const char *text );
--
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