405 lines
8.8 KiB
Plaintext
405 lines
8.8 KiB
Plaintext
instance CDActiveSlots of Set
|
|
{
|
|
scratch = $0
|
|
pModule = $ffff ; -1
|
|
pLine = $ffff ; -1
|
|
elements = $0
|
|
size = $0
|
|
nextNode = $0
|
|
}
|
|
|
|
subclass CDSlot of Obj
|
|
{
|
|
scratch = $0
|
|
pModule = $ffff ; -1
|
|
pLine = $ffff ; -1
|
|
x = $0
|
|
y = $0
|
|
pOwner = $0
|
|
|
|
init()
|
|
setOwner()
|
|
}
|
|
|
|
subclass CDSlotList of Set
|
|
{
|
|
scratch = $0
|
|
pModule = $ffff ; -1
|
|
pLine = $ffff ; -1
|
|
elements = $0
|
|
size = $0
|
|
nextNode = $0
|
|
|
|
init()
|
|
findSlot()
|
|
findClosestSlot()
|
|
}
|
|
|
|
subclass ContainerButton of Button
|
|
{
|
|
scratch = $0
|
|
pModule = $ffff ; -1
|
|
pLine = $ffff ; -1
|
|
top = $0
|
|
left = $0
|
|
bottom = $0
|
|
right = $0
|
|
canTrack = $1
|
|
canDrag = $0
|
|
state = $3 ; z
|
|
priority = $0
|
|
plane = $0
|
|
x = $0
|
|
y = $0
|
|
z = $0
|
|
scaleX = $80 ; 128, lastKey
|
|
scaleY = $80 ; 128, lastKey
|
|
maxScale = $80 ; 128, lastKey
|
|
fixPriority = $0
|
|
seenRect = $0
|
|
view = $ffff ; -1
|
|
loop = $0
|
|
cel = $0
|
|
bitmap = $0
|
|
scaleSignal = $0
|
|
magnifier = $0
|
|
signal = $0
|
|
client = $0
|
|
clut = $0
|
|
value = $0
|
|
font = $0
|
|
dimmed = $0
|
|
fore = $ffff ; -1
|
|
back = $ffff ; -1
|
|
skip = $fe ; 254, strIndex
|
|
borderColor = $ffff ; -1
|
|
hiColor = $0
|
|
borderSize = $1
|
|
drawCode = $0
|
|
handler = $0
|
|
helpStr = $0
|
|
key = $0
|
|
text = $0
|
|
mode = $1
|
|
wide = $0
|
|
btnType = $0
|
|
textRect = $0
|
|
iconView = $0
|
|
normalColor = $ffff ; -1
|
|
selectColor = $ffff ; -1
|
|
chosenColor = $ffff ; -1
|
|
dimColor = $ffff ; -1
|
|
buttonSet = $0
|
|
buttonPtr = $0
|
|
checkMark = $0
|
|
lastState = $0
|
|
textOffsetX = $0
|
|
textOffsetY = $0
|
|
pObj = $0
|
|
pOldBM = $0
|
|
|
|
init()
|
|
doit()
|
|
dispose()
|
|
handleEvent()
|
|
onMe()
|
|
hide()
|
|
draw()
|
|
}
|
|
|
|
instance containerUpButton of Button
|
|
{
|
|
scratch = $0
|
|
pModule = $ffff ; -1
|
|
pLine = $ffff ; -1
|
|
top = $0
|
|
left = $0
|
|
bottom = $0
|
|
right = $0
|
|
canTrack = $1
|
|
canDrag = $0
|
|
state = $3 ; z
|
|
priority = $0
|
|
plane = $0
|
|
x = $0
|
|
y = $0
|
|
z = $0
|
|
scaleX = $80 ; 128, lastKey
|
|
scaleY = $80 ; 128, lastKey
|
|
maxScale = $80 ; 128, lastKey
|
|
fixPriority = $0
|
|
seenRect = $0
|
|
view = $232d ; 9005
|
|
loop = $0
|
|
cel = $0
|
|
bitmap = $0
|
|
scaleSignal = $0
|
|
magnifier = $0
|
|
signal = $0
|
|
client = $0
|
|
clut = $0
|
|
value = $0
|
|
font = $0
|
|
dimmed = $0
|
|
fore = $ffff ; -1
|
|
back = $ffff ; -1
|
|
skip = $fe ; 254, strIndex
|
|
borderColor = $ffff ; -1
|
|
hiColor = $0
|
|
borderSize = $1
|
|
drawCode = $0
|
|
handler = $0
|
|
helpStr = $0
|
|
key = $0
|
|
text = $0
|
|
mode = $1
|
|
wide = $0
|
|
btnType = $0
|
|
textRect = $0
|
|
iconView = $0
|
|
normalColor = $ffff ; -1
|
|
selectColor = $ffff ; -1
|
|
chosenColor = $ffff ; -1
|
|
dimColor = $ffff ; -1
|
|
buttonSet = $0
|
|
buttonPtr = $0
|
|
checkMark = $0
|
|
lastState = $0
|
|
textOffsetX = $0
|
|
textOffsetY = $0
|
|
|
|
doit()
|
|
contains()
|
|
onMe()
|
|
}
|
|
|
|
instance containerDownButton of Button
|
|
{
|
|
scratch = $0
|
|
pModule = $ffff ; -1
|
|
pLine = $ffff ; -1
|
|
top = $0
|
|
left = $0
|
|
bottom = $0
|
|
right = $0
|
|
canTrack = $1
|
|
canDrag = $0
|
|
state = $3 ; z
|
|
priority = $0
|
|
plane = $0
|
|
x = $0
|
|
y = $0
|
|
z = $0
|
|
scaleX = $80 ; 128, lastKey
|
|
scaleY = $80 ; 128, lastKey
|
|
maxScale = $80 ; 128, lastKey
|
|
fixPriority = $0
|
|
seenRect = $0
|
|
view = $232d ; 9005
|
|
loop = $1
|
|
cel = $0
|
|
bitmap = $0
|
|
scaleSignal = $0
|
|
magnifier = $0
|
|
signal = $0
|
|
client = $0
|
|
clut = $0
|
|
value = $0
|
|
font = $0
|
|
dimmed = $0
|
|
fore = $ffff ; -1
|
|
back = $ffff ; -1
|
|
skip = $fe ; 254, strIndex
|
|
borderColor = $ffff ; -1
|
|
hiColor = $0
|
|
borderSize = $1
|
|
drawCode = $0
|
|
handler = $0
|
|
helpStr = $0
|
|
key = $0
|
|
text = $0
|
|
mode = $1
|
|
wide = $0
|
|
btnType = $0
|
|
textRect = $0
|
|
iconView = $0
|
|
normalColor = $ffff ; -1
|
|
selectColor = $ffff ; -1
|
|
chosenColor = $ffff ; -1
|
|
dimColor = $ffff ; -1
|
|
buttonSet = $0
|
|
buttonPtr = $0
|
|
checkMark = $0
|
|
lastState = $0
|
|
textOffsetX = $0
|
|
textOffsetY = $0
|
|
|
|
doit()
|
|
contains()
|
|
onMe()
|
|
}
|
|
|
|
instance containerCloseButton of Button
|
|
{
|
|
scratch = $0
|
|
pModule = $ffff ; -1
|
|
pLine = $ffff ; -1
|
|
top = $0
|
|
left = $0
|
|
bottom = $0
|
|
right = $0
|
|
canTrack = $1
|
|
canDrag = $0
|
|
state = $3 ; z
|
|
priority = $0
|
|
plane = $0
|
|
x = $0
|
|
y = $0
|
|
z = $0
|
|
scaleX = $80 ; 128, lastKey
|
|
scaleY = $80 ; 128, lastKey
|
|
maxScale = $80 ; 128, lastKey
|
|
fixPriority = $0
|
|
seenRect = $0
|
|
view = $232d ; 9005
|
|
loop = $2
|
|
cel = $0
|
|
bitmap = $0
|
|
scaleSignal = $0
|
|
magnifier = $0
|
|
signal = $0
|
|
client = $0
|
|
clut = $0
|
|
value = $0
|
|
font = $0
|
|
dimmed = $0
|
|
fore = $ffff ; -1
|
|
back = $ffff ; -1
|
|
skip = $fe ; 254, strIndex
|
|
borderColor = $ffff ; -1
|
|
hiColor = $0
|
|
borderSize = $1
|
|
drawCode = $0
|
|
handler = $0
|
|
helpStr = $0
|
|
key = $0
|
|
text = $0
|
|
mode = $1
|
|
wide = $0
|
|
btnType = $0
|
|
textRect = $0
|
|
iconView = $0
|
|
normalColor = $ffff ; -1
|
|
selectColor = $ffff ; -1
|
|
chosenColor = $ffff ; -1
|
|
dimColor = $ffff ; -1
|
|
buttonSet = $0
|
|
buttonPtr = $0
|
|
checkMark = $0
|
|
lastState = $0
|
|
textOffsetX = $0
|
|
textOffsetY = $0
|
|
|
|
contains()
|
|
onMe()
|
|
process()
|
|
}
|
|
|
|
subclass ContainerDisplay of FancyDialog
|
|
{
|
|
scratch = $0
|
|
pModule = $ffff ; -1
|
|
pLine = $ffff ; -1
|
|
elements = $0
|
|
size = $0
|
|
nextNode = $0
|
|
title = $0
|
|
font = $0
|
|
plane = $0
|
|
curItem = $0
|
|
caller = $0
|
|
seconds = $0
|
|
lastSeconds = $0
|
|
ticks = $0
|
|
state = $0
|
|
eatTheMice = $0
|
|
modal = $1
|
|
hidden = $0
|
|
keepDialog = $0
|
|
priority = $0
|
|
savedCursor = $0
|
|
prevItem = $0
|
|
selectHandler = $0
|
|
curShowMouseObj = $0
|
|
retObject = $0
|
|
retSelector = $0
|
|
disposeList = $0
|
|
pContainer = $0
|
|
pBtnList = $0
|
|
pSlot = $0
|
|
pIsRoot = $0
|
|
pDispose = $0
|
|
pCloseBtn = $0
|
|
|
|
init()
|
|
dispose()
|
|
handleEvent()
|
|
process()
|
|
setSize()
|
|
addObj()
|
|
deleteObj()
|
|
accept()
|
|
getVerb()
|
|
buttonsDoit()
|
|
}
|
|
|
|
subclass BContainer of WorldObjectBase
|
|
{
|
|
scratch = $0
|
|
pModule = $ffff ; -1
|
|
pLine = $ffff ; -1
|
|
pName = $0
|
|
pSelf = $0
|
|
pType = $1
|
|
pContents = $0
|
|
pDisplay = $0
|
|
pBulk = $1
|
|
pWeight = $1
|
|
pBulkCap = $5 ; scaleY
|
|
pWeightCap = $5 ; scaleY
|
|
|
|
init()
|
|
doit()
|
|
dispose()
|
|
buildVerbList()
|
|
handlesAction()
|
|
fromPacket()
|
|
getServIDs()
|
|
give()
|
|
take()
|
|
drop()
|
|
beExamined()
|
|
add()
|
|
delete()
|
|
addBulk()
|
|
addWeight()
|
|
subBulk()
|
|
subWeight()
|
|
tooBulky()
|
|
tooHeavy()
|
|
showContents()
|
|
hideContents()
|
|
}
|
|
|
|
string_02fa = "CDActiveSlots"
|
|
string_0308 = "CDSlot"
|
|
string_030f = "CDSlotList"
|
|
string_031a = "ContainerButton"
|
|
string_032a = "containerUpButton"
|
|
string_033c = "containerDownButton"
|
|
string_0350 = "containerCloseButton"
|
|
string_0365 = "ContainerDisplay"
|
|
string_0376 = "%s showContents called on non-ego with BCharacter"
|
|
string_03a8 = "BContainer"
|
|
|