1
Mega Tokyo SCI Archive / Re:New SCI Studio
« on: February 03, 2003, 09:33:30 AM »
Ah sweet, thanks a bunch Brian.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
SetCursor(gNormalCursor)
(while(temp0)
//do something
)

(class Options of Dialog
(properties
Active FALSE
bDialog 0
)
(method(draw)
(var hDialog, hIcon)
= hDialog (Dialog:new())
(send hDialog:
text("Options")
)
= hIcon (DIcon:new())
(send hIcon:
value(OPT_EXIT)
)
(send hDialog:add(hIcon) setSize() open(nwNORMAL 15)
= Active TRUE
= bDialog hDialog
)
(method(hide)
(send bDialog:dispose())
= Active FALSE
)
(method(handleEvent pEvent)
(var temp0, temp1)
= temp0 (send bDialog:first())
(while(temp0)
= temp1 NodeValue(temp0)
(if( (<= (send pEvent:x) (send temp1:nsRight)) and (< (send temp1:nsLeft) (send pEvent:x)) and (<= (send pEvent:y) (send temp1:nsBottom)) and (< (send temp1:nsTop) (send pEvent:y)) )
(self:doAction( (send temp1:value) )
)
= temp0 (send bDialog:next(temp0))
)
)
(method(doAction action)
(switch(action)
(case OPT_EXIT
(self:hide())
)
)
)
)

(send hDialog:dispose()) and it works but the game crashes after that. I used Sierra's debugger, and it appeared to close ok, but it was after it closed that it would crash.(switch (gPreviousRoomNumber)
(case 1
(send gEgo:
posn(110 100)
loop(0)
)
)
)
SMF 2.0.19 |
SMF © 2021, Simple Machines
Simple Audio Video Embedder
Page created in 0.07 seconds with 20 queries.