Complete disaster-recovery snapshot: engine/game source, game data assets, VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive. Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false, no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
43 lines
739 B
Plaintext
43 lines
739 B
Plaintext
//This sets up a region to send help messages for text objects and other things that don't have a hook to rollover
|
|
//object oInfoRegion = s_InfoRegion
|
|
//oInfoRegion. location =
|
|
//oInfoRegion. nWidth =
|
|
//oInfoRegion. nHeight =
|
|
//oInfoRegion. nHelpID =
|
|
//initialize(oInfoRegion)
|
|
|
|
s_InfoRegion
|
|
{
|
|
GUI_CREATE
|
|
{
|
|
int nWidth
|
|
int nHeight
|
|
int nHelpID
|
|
string szText
|
|
catchup = 0
|
|
|
|
}
|
|
GUI_INIT
|
|
{
|
|
region = 0,0 to nWidth,nHeight
|
|
|
|
}
|
|
REGION_ENTERED
|
|
{
|
|
if(nHelpID)
|
|
{
|
|
oRollover.nHelpID = nHelpID
|
|
mail (nMSG_INPUT_RESID,oRollover)
|
|
}
|
|
else
|
|
if(szText)
|
|
{
|
|
oRollover.szText = szText
|
|
mail (nMSG_INPUT_STRING,oRollover)
|
|
}
|
|
}
|
|
REGION_EXITED
|
|
{
|
|
mail (nMSG_CLEARHELP,oRollover)
|
|
}
|
|
} |