[openjk] 41/130: Remove wrappers and old save code leftovers
Simon McVittie
smcv at debian.org
Fri Oct 28 11:09:16 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 a1ef2822e6ed7d0f62cd96bb4bfc7a99ca652bbb
Author: bibendovsky <bibendovsky at hotmail.com>
Date: Sat Jul 16 19:56:17 2016 +0300
Remove wrappers and old save code leftovers
---
codeJK2/game/Q3_Interface.cpp | 3 ---
codeJK2/game/g_public.h | 5 -----
2 files changed, 8 deletions(-)
diff --git a/codeJK2/game/Q3_Interface.cpp b/codeJK2/game/Q3_Interface.cpp
index 7d2c82c..7a6a73c 100644
--- a/codeJK2/game/Q3_Interface.cpp
+++ b/codeJK2/game/Q3_Interface.cpp
@@ -9262,10 +9262,7 @@ void Interface_Init( interface_export_t *pe )
pe->I_FreeVariable = Q3_FreeVariable;
//Save / Load functions
- pe->I_WriteSaveData = gi.AppendToSaveGame;
- pe->I_ReadSaveData = gi.ReadFromSaveGame;
pe->I_LinkEntity = ICARUS_LinkEntity;
-
pe->saved_game = gi.saved_game;
gclient_t *client;
diff --git a/codeJK2/game/g_public.h b/codeJK2/game/g_public.h
index f09e3e0..960e5d8 100644
--- a/codeJK2/game/g_public.h
+++ b/codeJK2/game/g_public.h
@@ -174,11 +174,6 @@ typedef struct {
// Savegame handling
//
- qboolean (*AppendToSaveGame)(unsigned int chid, const void *data, int length);
-
- int (*ReadFromSaveGame)(unsigned int chid, void *pvAddress, int iLength, void **ppvAddressPtr );
- int (*ReadFromSaveGameOptional)(unsigned int chid, void *pvAddress, int iLength, void **ppvAddressPtr );
-
ojk::ISavedGame* saved_game;
// add commands to the console as if they were typed in
--
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