From: Laszlo T. <ave...@us...> - 2005-01-22 20:36:32
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/Core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4002/plugins/Core Modified Files: Interface.cpp ItemMgr.h Log Message: Calling Item constructor in Core, so it runs well on win32 Index: Interface.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/Core/Interface.cpp,v retrieving revision 1.250 retrieving revision 1.251 diff -C2 -d -r1.250 -r1.251 *** Interface.cpp 22 Jan 2005 20:28:49 -0000 1.250 --- Interface.cpp 22 Jan 2005 20:36:22 -0000 1.251 *************** *** 2618,2622 **** } ! item = sm->GetItem(); if (item == NULL) { FreeInterface( sm ); --- 2618,2622 ---- } ! item = sm->GetItem(new Item() ); if (item == NULL) { FreeInterface( sm ); Index: ItemMgr.h =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/Core/ItemMgr.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ItemMgr.h 22 Jan 2005 20:28:59 -0000 1.4 --- ItemMgr.h 22 Jan 2005 20:36:22 -0000 1.5 *************** *** 44,48 **** virtual ~ItemMgr(void); virtual bool Open(DataStream* stream, bool autoFree = true) = 0; ! virtual Item* GetItem() = 0; }; --- 44,48 ---- virtual ~ItemMgr(void); virtual bool Open(DataStream* stream, bool autoFree = true) = 0; ! virtual Item* GetItem(Item *s) = 0; }; |