[Scummvm-cvs-logs] CVS: scummvm script_v1.cpp,1.66,1.67

James Brown ender at users.sourceforge.net
Fri Apr 5 00:14:15 CEST 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv6466

Modified Files:
	script_v1.cpp 
Log Message:
Added Zak256/Indy3 walkbox locking support.



Index: script_v1.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/script_v1.cpp,v
retrieving revision 1.66
retrieving revision 1.67
diff -C2 -d -r1.66 -r1.67
*** script_v1.cpp	5 Apr 2002 04:14:47 -0000	1.66
--- script_v1.cpp	5 Apr 2002 08:13:53 -0000	1.67
***************
*** 1,2528 ****
! /* ScummVM - Scumm Interpreter
!  * Copyright (C) 2001  Ludvig Strigeus
!  * Copyright (C) 2001/2002 The ScummVM project
!  *
!  * This program is free software; you can redistribute it and/or
!  * modify it under the terms of the GNU General Public License
!  * as published by the Free Software Foundation; either version 2
!  * of the License, or (at your option) any later version.
! 
!  * This program is distributed in the hope that it will be useful,
[...5034 lines suppressed...]
! 	}
! 	warning("Unsupported oldRoomEffect");
! }
! 
! void Scumm::o5_pickupObjectOld() {
! 	int obj = getVarOrDirectWord(0x80);
! 	
! 	if(getObjectIndex(obj) == -1)
! 		return;
! 
! 	// warning("adding %d from %d to inventoryOld", obj, _currentRoom);
! 	addObjectToInventory(obj,_currentRoom);
! 	// warning("added to inventoryOld");
! 	removeObjectFromRoom(obj);
! 	putOwner(obj, _vars[VAR_EGO]);
! 	putClass(obj, 32, 1);
! 	putState(obj, 1);
! 	clearDrawObjectQueue();
! 	runHook(1);
! }





More information about the Scummvm-git-logs mailing list