Upload files to "Heap"

This commit is contained in:
threememories 2026-04-27 01:19:09 +00:00
parent f90a885271
commit d8dad8633d
5 changed files with 645 additions and 0 deletions

57
Heap/Heap40012.txt Normal file
View File

@ -0,0 +1,57 @@
subclass BWearable of WorldObjectBase
{
scratch = $0
pModule = $ffff ; -1
pLine = $ffff ; -1
pName = $0
pSelf = $0
pType = $3 ; z
pAreaWorn = $0
pDamageMod = $0
pIsWorn = $0
pWearer = $0
pLayer = $0
pActionOffset = $0
pMask = $0
pContainerButton= $0
init()
buildVerbList()
handlesAction()
updateDisplay()
updateAction()
fromPacket()
preDispose()
setAreaWorn()
bePutOn()
beTakenOff()
updateContainerButton()
}
subclass BLinkedWearable of BWearable
{
scratch = $0
pModule = $ffff ; -1
pLine = $ffff ; -1
pName = $0
pSelf = $0
pType = $3 ; z
pAreaWorn = $0
pDamageMod = $0
pIsWorn = $0
pWearer = $0
pLayer = $0
pActionOffset = $0
pMask = $0
pContainerButton= $0
pLinkPoint = $1
pGrabLoop = $1
pGrabAction = $ffff ; -1
updateDisplay()
updateAction()
}
string_0068 = "BWearable"
string_0072 = "BLinkedWearable"

27
Heap/Heap40013.txt Normal file
View File

@ -0,0 +1,27 @@
subclass BCarryable of WorldObjectBase
{
scratch = $0
pModule = $ffff ; -1
pLine = $ffff ; -1
pName = $0
pSelf = $0
pType = $0
pWeight = $0
pBulk = $0
pShow = $1
pOwner = $0
pContainerButton= $0
dispose()
buildVerbList()
fromPacket()
preDispose()
setOwner()
canApproach()
canFace()
generatePolygon()
updateContainerButton()
}
string_002e = "BCarryable"

404
Heap/Heap40014.txt Normal file
View File

@ -0,0 +1,404 @@
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"

98
Heap/Heap40015.txt Normal file
View File

@ -0,0 +1,98 @@
local[$169] =
{
$ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff,
$ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff,
$ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff,
$ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff, $ffff,
$fa0, $7, $0, $1388, $7, $0, $155e, $a, $0, $173e, $5, $0, $fdc, $14, $0, $13a6,
$8, $0, $157c, $f, $0, $175c, $f, $0, $1018, $8, $0, $13c4, $8, $0, $159a, $b,
$0, $177a, $7, $0, $1054, $9, $0, $13e2, $7, $0, $15b8, $c, $0, $1798, $7, $0,
$1090, $c, $0, $1400, $5, $0, $15d6, $d, $0, $17b6, $6, $0, $10cc, $5, $0, $1414,
$7, $0, $15f4, $8, $0, $17d4, $6, $0, $1108, $9, $0, $1432, $5, $0, $1612, $c,
$0, $17f2, $7, $0, $1144, $10, $0, $0, $0, $0, $1630, $d, $0, $0, $0, $0,
$1180, $9, $0, $1450, $7, $0, $164e, $7, $0, $182e, $5, $0, $11bc, $10, $0, $146e,
$8, $0, $166c, $b, $0, $184c, $c, $0, $11f8, $8, $0, $148c, $8, $0, $168a, $8,
$0, $186a, $6, $0, $1234, $c, $0, $14aa, $7, $0, $16a8, $a, $0, $1888, $6, $0,
$1270, $12, $0, $14c8, $5, $0, $16c6, $e, $0, $18a6, $7, $0, $12ac, $5, $0, $14dc,
$7, $0, $16e4, $6, $0, $18c4, $6, $0, $12e8, $e, $0, $14fa, $5, $0, $1702, $e,
$0, $18e2, $8, $0, $1324, $f, $0, $0, $0, $0, $1af4, $f, $0, $1edc, $f, $0,
$1c, $3b, $3a, $64, $63, $62, $59, $5a, $69, $68, $40, $3f, $36, $35, $2b, $30,
$31, $44, $45, $49, $4a, $4e, $4f, $53, $54, $5d, $5e, $6a, $6b, $9, $35, $36,
$68, $69, $53, $54, $4e, $4f, $62, $4, $6b, $6a, $69, $68, $6, $63, $62, $69,
$68, $54, $53, $4, $6b, $6a, $69, $68, $6, $6b, $6a, $69, $68, $55, $36, $0,
$300, $301, $302, $303, $304, $305, $306, $307, $308, $309, $30a, $0, $30d, $30e, $30f, $310,
$311, $312, $313, $314, $a85c, $a85d, $a85e, $a85f, $a8c0, $a8c1, $a8c2, $a8c3, $a8c4, $7545, $7547, $7549,
$754b, $754d, $754f, $7551, $7553, $7555, $7557, $7559, $a860
}
subclass BHead of BWearable
{
scratch = $0
pModule = $ffff ; -1
pLine = $ffff ; -1
pName = $0
pSelf = $0
pType = $2
pAreaWorn = $1b39 ; 6969
pDamageMod = $0
pIsWorn = $0
pWearer = $0
pLayer = $64 ; 100, 'd', moveDone
pActionOffset = $0
pMask = $0
pContainerButton= $0
pHeadNum = $0
pHairNum = $0
pBrowNum = $0
pEyeNum = $0
pNoseNum = $0
pEarNum = $0
pMouthNum = $0
pFaceHairNum = $0
pSkinColor = $1
pHairColor = $0
pEyeColor = $0
pRace = $1
pSex = $1
pHeadView = $ffff ; -1
pHairView = $ffff ; -1
pBrowView = $ffff ; -1
pEyeView = $ffff ; -1
pNoseView = $ffff ; -1
pEarView = $ffff ; -1
pMouthView = $ffff ; -1
pFaceHairView = $ffff ; -1
pBitmapArray = $0
pOriginPoints = $0
init()
dispose()
handlesAction()
updateDisplay()
updateAction()
fromPacket()
calcViews()
calcView()
setHairColor()
setEyeColor()
setSkinColor()
setSex()
setRace()
nextFeature()
prevFeature()
deltaFeatureSelect()
checkExclusion()
checkExclusions()
checkFeatureRanges()
checkFeatureRange()
updateFeature()
fixExclusions()
updateBitmaps()
generateBitmap()
buildPacket()
copy()
}
string_0334 = "BHead::deltaFeatureSelect (unknown color feature)"
string_0366 = "BHead"

59
Heap/Heap40016.txt Normal file
View File

@ -0,0 +1,59 @@
instance blankText of Str
{
scratch = $0
pModule = $ffff ; -1
pLine = $ffff ; -1
data = string_007a ; ""
type = $3 ; z
}
subclass BDescribed of WorldObjectBase
{
scratch = $0
pModule = $ffff ; -1
pLine = $ffff ; -1
pName = $0
pSelf = $0
pType = $16 ; 22, lsLeft
pText = $0
pIsBook = $0
init()
dispose()
handlesAction()
fromPacket()
see()
setText()
}
instance GetDescriptionScript of Script
{
scratch = $0
pModule = $ffff ; -1
pLine = $ffff ; -1
client = $0
state = $ffff ; -1
start = $0
timer = $0
cycles = $0
seconds = $0
lastSeconds = $0
ticks = $0
lastTicks = $0
register = $0
script = $0
caller = $0
next = $0
number = $0
pRoom = $0
changeState()
}
string_007a = ""
string_007b = "blankText"
string_0085 = "Trying to see a BDescribed with script attached to pSelf."
string_00bf = "BDescribed"
string_00ca = "Okay"
string_00cf = "GetDescriptionScript"