From: Jaka K. <lyn...@us...> - 2011-01-05 20:42:40
|
gemrb: Infinity Engine emulator The branch master has been updated via 938e85066c6c3ccf1b4dcfd5d0a25d9ba7a793f0 (commit) Summary of changes: gemrb/core/Scriptable/PCStatStruct.cpp | 16 ---------------- 1 files changed, 0 insertions(+), 16 deletions(-) from 833a1eaa218fe9fa003f6a3042b4b62ba6d01fd2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=938e85066c6c3ccf1b4dcfd5d0a25d9ba7a793f0 commit 938e85066c6c3ccf1b4dcfd5d0a25d9ba7a793f0 Author: Jaka Kranjc <lyn...@us...> Date: Wed Jan 5 21:45:33 2011 +0100 removed an obsolete, commented out function in PCStatStruct diff --git a/gemrb/core/Scriptable/PCStatStruct.cpp b/gemrb/core/Scriptable/PCStatStruct.cpp index a17359b..32338e5 100644 --- a/gemrb/core/Scriptable/PCStatStruct.cpp +++ b/gemrb/core/Scriptable/PCStatStruct.cpp @@ -151,22 +151,6 @@ void PCStatsStruct::InitQuickSlot(unsigned int which, int slot, int headerindex) } } -/* this function is obsolete, use initquickslot with slot=-1 -void PCStatsStruct::SetSlotIndex(unsigned int which, ieWord headerindex) -{ - //this is not correct, not the slot, but a separate headerindex should be here - switch(which) { - case ACT_QSLOT1: QuickItemHeaders[0]=headerindex; return; - case ACT_QSLOT2: QuickItemHeaders[1]=headerindex; return; - case ACT_QSLOT3: QuickItemHeaders[2]=headerindex; return; - case ACT_QSLOT4: QuickItemHeaders[3]=headerindex; return; - case ACT_QSLOT5: QuickItemHeaders[4]=headerindex; return; - } - ///it shouldn't reach this point - abort(); -} -*/ - //returns both the inventory slot and the header index associated to a quickslot void PCStatsStruct::GetSlotAndIndex(unsigned int which, ieWord &slot, ieWord &headerindex) { ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |