[Scummvm-tracker] [ScummVM] #10789: QFG4: Peering through doors at absent bats in the castle
Vhati
trac at scummvm.org
Sat Dec 1 04:01:49 CET 2018
#10789: QFG4: Peering through doors at absent bats in the castle
-----------------------------+---------------------------------------------
Reporter: Vhati | Owner: (none)
Type: defect | Status: new
Priority: low | Component: Engine: SCI
Resolution: | Keywords: SCI32 original has-pull-request
Game: Quest for |
Glory 4 |
-----------------------------+---------------------------------------------
Comment (by Vhati):
script 663 - rm663::init()
{{{
(method (init)
(if (or (== global12 660) (== global12 661))
(global0 posn: 30 129)
(= local0 1)
(global0 hide:)
else
(global0 posn: 278 133)
)
(global0
init:
setScaler: Scaler 100 100 189 0
normalize: (if (== global12 660) 4 else 5)
)
(super init: &rest)
(global2
addObstacle:
((Polygon new:)
type: 2
init: 57 130 0 172 0 0 319 0 319 189 299
189 252 130 130 123 72 121
yourself:
)
((Polygon new:)
type: 2
init: 87 133 221 135 214 160 198 169 169
179 118 180 97 168 82 146
yourself:
)
)
(pDoor approachVerbs: 4 32 init:)
(pFire ignoreActors: approachVerbs: 4 init: setCycle: Fwd)
(pSecretDoor2 ignoreActors: init:)
(pCrest init: ignoreActors: approachVerbs: 4)
(vFirePlace ignoreActors: init:)
(vBookCase ignoreActors: init:)
(vRightDoor
ignoreActors:
approachVerbs: 4 32
setPri: (if local0 97 else 207)
init:
)
(doorTeller init: vRightDoor 640 2 155)
(vRug ignoreActors: init:)
(vTheTable ignoreActors: approachVerbs: 4 init:)
(vCeiling ignoreActors: init:)
(vRightCeiling ignoreActors: init:)
(vSecretDoor ignoreActors: init:)
(vBook ignoreActors: init:)
(fChair1 approachVerbs: 4 init:)
(fChair2 approachVerbs: 4 init:)
(fChair3 approachVerbs: 4 init:)
(global2 setScript: sComeOnIn)
)
}}}
Subroutining "(... ignoreActors: init:)" was not as efficient as I'd need.
At least for only four Views: vCeiling through vBook.
\\
\\
Then there's the matter of getting sPeepingTom's loffsa address to set its
"register" property. *sigh*
--
Ticket URL: <https://bugs.scummvm.org/ticket/10789#comment:5>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list