140 lines
2.9 KiB
Plaintext
140 lines
2.9 KiB
Plaintext
subclass gDialogList of Set
|
|
{
|
|
scratch = $0
|
|
pModule = $ffff ; -1
|
|
pLine = $ffff ; -1
|
|
elements = $0
|
|
size = $0
|
|
nextNode = $0
|
|
|
|
dispose()
|
|
add()
|
|
}
|
|
|
|
subclass VerbDialog 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
|
|
pObject = $0
|
|
|
|
new()
|
|
dispose()
|
|
}
|
|
|
|
subclass GetAmount 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
|
|
pDirectObject = $0
|
|
|
|
new()
|
|
changeState()
|
|
handleEvent()
|
|
}
|
|
|
|
subclass GetManaAmount 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
|
|
pDirectObject = $0
|
|
|
|
new()
|
|
changeState()
|
|
handleEvent()
|
|
}
|
|
|
|
subclass ScriptPrompt of Code
|
|
{
|
|
scratch = $0
|
|
pModule = $ffff ; -1
|
|
pLine = $ffff ; -1
|
|
pMax = $0
|
|
pPrint = $0
|
|
pStr = $0
|
|
pPrompt = $0
|
|
pClient = $0
|
|
|
|
doit()
|
|
dispose()
|
|
}
|
|
|
|
string_0100 = "gDialogList"
|
|
string_010c = "VerbDialog"
|
|
string_0117 = "You don't have any gold!"
|
|
string_0130 = "Okay"
|
|
string_0135 = "You have %s gold coins available to transfer.\n" \
|
|
"\n" \
|
|
"Amount:"
|
|
string_016c = "ALL"
|
|
string_0170 = " OK "
|
|
string_0175 = "Cancel"
|
|
string_017c = "Transaction Failed!\n" \
|
|
"You don't have that much!"
|
|
string_01aa = "Transaction Failed!\n" \
|
|
"Unknown transaction!"
|
|
string_01d3 = "GetAmount"
|
|
string_01dd = "You don't have any mana crystals!"
|
|
string_01ff = "You have %s mana crystals available to transfer.\n" \
|
|
"\n" \
|
|
"Amount:"
|
|
string_0239 = "GetManaAmount"
|
|
string_0247 = "ScriptPrompt"
|
|
|