[Scummvm-devel] Re: =?iso-8859-2?Q?[Scummvm-devel]=A0Re:=A0[Scummvm-devel]Re:=A0CVS:=A0scummv?= m/scumm�intern.h,2.117,2.118� =?iso-8859-2?Q?[Scummvm-devel]�Re:�[Scummvm-devel]Re:�CVS:�scummvm/scumm?= =?iso-8859-2?Q?=A0intern.h=2C2.117=2C2.118=A0script=5Fv6.cpp=2C1.205=2C1.?= =?iso-8859-2?Q?[Scummvm-devel]�Re:�[Scummvm-devel]Re:�CVS:�scummvm/scumm�intern.h,2.117,2.118�script_v6.cpp,1.205,1.206?= =?iso-8859-2?Q?=A0script=5Fv8.cpp=2C2.199=2C2.20?=

Pawel Kolodziejski pablo at omega.xtr.net.pl
Mon Nov 10 05:36:09 CET 2003


>>
>> Am Montag, 10.11.03 um 08:49 Uhr schrieb Pawel Kolodziejski:
>>
>>>>
>>>> Am Sonntag, 09.11.03 um 23:12 Uhr schrieb Pawel Kolodziejski:
>>>>
>>>>> Update of /cvsroot/scummvm/scummvm/scumm
>>>>> In directory sc8-pr-cvs1:/tmp/cvs-serv7950
>>>>>
>>>>> Modified Files:
>>>>> 	intern.h script_v6.cpp script_v8.cpp
>>>>> Log Message:
>>>>> renamed some opcodes and added sobopcode comments
>>>>>
>> And what about o6_if/o6_ifNot ? They are misleading, IMHO. o6_if jumps
>> if the condition is true. This is actually the opposite of what one
>> would expect of an if statement (which does *not* jump if the condition
>> is true). Of course they don't appear in descumm output normally
>> (luckily).
>>
>
> it should'n be like this ?
>
> if (condition)
>    jump
> else
>    skipjump
>
"if" opcode is with "jump" opcode. if i right undestand you in script
language logic, script do "jump" if condition is false, right ?

BTW if you don't like "if" instead "jump" than all rest conditions opcodes
should be changed: isLess, isGreater, isLessEqual, isGreaterEqual,
isEqual, isNotEqual to jumpIfLess, ....






More information about the Scummvm-devel mailing list