[Scummvm-cvs-logs] CVS: scummvm/scumm saveload.cpp,1.47,1.48 script.cpp,1.42,1.43 scumm.h,1.132,1.133

Max Horn max at quendi.de
Wed Jan 15 12:42:02 CET 2003


At 14:36 Uhr -0600 15.01.2003, J.Brown (Ender) wrote:
>  > Hum, where does it use more than 16 local variables? The highest I
>>  see is access to localvar15, and that is in exactly one script,
>>  ROOM-010-cannon-v/LSCR-2008.lck. So why was that change made? If we
>>  error out due to not enough local vars, then most ceretainly
>>  something else is wrong, and this change is just hiding the symptoms
>>  and is not fixing the issue.
>
>This is Disk 2. During the ship-to-ship combat sequences, up to 22 is
>used. I've expanded this to 25 just to have a nice even number, and for
>breathing space.

Ah OK.

>
>>  Most probably, in saveload.cpp it should be 21, too, no?
>
>You tell me - is saveload 0-x based (in which case it should be 20...) or
>1-x based (21)?

Well you specify the number of elements, which used to be 17, now is 
21, and, if you change it again, will be 25 I guess.


Max
-- 
-----------------------------------------------
Max Horn
Software Developer




More information about the Scummvm-git-logs mailing list