Author Topic: SCI 1.1 - DrawPic & dpOPEN_INSTANTLY  (Read 61 times)

0 Members and 1 Guest are viewing this topic.

Offline gumby

SCI 1.1 - DrawPic & dpOPEN_INSTANTLY
« on: November 04, 2017, 08:39:36 AM »
I'm having a problem when calling DrawPic with dpOPEN_INSTANTLY (defined as -1 in sci.sh) - I get the request room pic, but it's flipped horizontally when displayed.

Here's my code (in the room instance):
Code: [Select]
(method (handleEvent pEvent)
(super handleEvent: pEvent)
(switch ((gUser curEvent?) message?)
(V_LOOK
   (DrawPic 5 dpOPEN_INSTANTLY)
)
)
)


EDIT: I found a workaround, used the dpOPEN_NO_TRANSITION (100) option instead.
« Last Edit: November 04, 2017, 09:17:07 AM by gumby »


In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition

Offline lskovlun

Re: SCI 1.1 - DrawPic & dpOPEN_INSTANTLY
« Reply #1 on: November 04, 2017, 10:15:10 AM »
I suspect this constant should be removed from the SCI1.1 template game entirely. Its value is -1, which means that all the modifier flags (there are four of them, some seem to be mutually exclusive) are set.


SMF 2.0.11 | SMF © 2015, Simple Machines
Simple Audio Video Embedder

Page created in 0.096 seconds with 22 queries.