Home
last modified time | relevance | path

Searched refs:instanceMax (Results 1 – 25 of 28) sorted by relevance

12

/dports/games/libretro-scummvm/scummvm-7b1e929/engines/glk/alan3/
H A Dcontainer.cpp44 for (uint instanceIndex = 1; instanceIndex <= header->instanceMax; instanceIndex++) in countInContainer()
60 for (instanceIndex = 1; instanceIndex <= header->instanceMax; instanceIndex++) in sumAttributeInContainer()
74 for (i = 1; i <= header->instanceMax; i++) in containerIsEmpty()
122 for (i = 1; i <= header->instanceMax; i++) { in containerSize()
143 for (i = 1; i <= header->instanceMax; i++) { in list()
H A Dliteral.cpp43 return literalIndex + header->instanceMax; in instanceFromLiteral()
77 return instance - header->instanceMax; in literalFromInstance()
H A Dinstance.cpp77 parent = literals[instance - header->instanceMax]._class; in isA()
105 return instance > (int)header->instanceMax; in isLiteral()
127 if (instance > 0 && instance <= (int)header->instanceMax) { in setInstanceAttribute()
165 return getAttribute(admin[header->instanceMax].attributes, attribute); in literalAttribute()
178 if (instance > 0 && instance <= (int)header->instanceMax) { in getInstanceAttribute()
211 } else if (instance > (int)header->instanceMax) { in verifyInstance()
519 sayInteger(literals[literal - header->instanceMax].value); in sayLiteral()
828 for (i = 1; i <= header->instanceMax; i++) in describeInstances()
834 for (i = 1; i <= header->instanceMax; i++) in describeInstances()
866 for (i = 1; i <= header->instanceMax; i++) in describeInstances()
[all …]
H A Ddebug.cpp81 for (i = 1; i <= header->instanceMax; i++) { in showContents()
99 header->instanceMax * sizeof(InstanceEntry) / sizeof(Aword) + 1; in idOfInstance()
153 for (ins = 1; ins <= header->instanceMax; ins++) { in listInstances()
170 if (ins > (int)header->instanceMax || ins < 1) { in showInstance()
212 for (obj = 1; obj <= header->instanceMax; obj++) in listObjects()
320 for (loc = 1; loc <= header->instanceMax; loc++) in listLocations()
352 for (act = 1; act <= header->instanceMax; act++) in listActors()
977 for (i = 1; i < header->instanceMax; i++) in handleInstancesCommand()
H A Dmain.cpp462 for (i = 1; i <= header->instanceMax; i++) { in sizeOfAttributeData()
484 for (i = 1; i <= header->instanceMax; i++) { in initializeAttributes()
509 admin = (AdminEntry *)allocate((header->instanceMax + 1) * sizeof(AdminEntry)); in initDynamicData()
519 for (instanceId = 1; instanceId <= header->instanceMax; instanceId++) in initDynamicData()
548 for (instanceId = 1; instanceId <= header->instanceMax; instanceId++) { in initializeInstances()
812 for (uint i = 1; i <= header->instanceMax; i++) { in run()
H A Dtypes.h50 #define MAXINSTANCE (header->instanceMax)
H A Dstate.cpp218 gameState.admin = (AdminEntry *)duplicate(admin, (header->instanceMax + 1) * sizeof(AdminEntry)); in collectInstanceData()
322 (header->instanceMax + 1)*sizeof(AdminEntry)); in recallInstances()
H A Dacode.h535 Aword instanceMax; /* Highest number of an instance */ member
592 Aword instanceMax; /* Highest number of an instance */ member
648 Aword instanceMax; /* Highest number of an instance */ member
H A Dlocation.cpp115 for (i = 1; i <= header->instanceMax; i++) in look()
H A Dinter.cpp481 int instanceMax = isPreBeta3(header->version) ? header->instanceMax : header->instanceMax - 1; in interpret() local
482 if (traceInstructionOption) printf("MAXINSTANCE \t\t\t\t=%d\t", instanceMax); in interpret()
483 push(stack, instanceMax); in interpret()
H A Dsave.cpp72 for (uint i = 1; i <= header->instanceMax; i++) in syncGame()
H A Dexe.cpp502 for (i = 1; i <= header->instanceMax; i++) { in getContainerMember()
525 for (i = 1; i <= header->instanceMax; i++) in empty()
/dports/games/scummvm/scummvm-2.5.1/engines/glk/alan3/
H A Dcontainer.cpp44 for (uint instanceIndex = 1; instanceIndex <= header->instanceMax; instanceIndex++) in countInContainer()
60 for (instanceIndex = 1; instanceIndex <= header->instanceMax; instanceIndex++) in sumAttributeInContainer()
74 for (i = 1; i <= header->instanceMax; i++) in containerIsEmpty()
122 for (i = 1; i <= header->instanceMax; i++) { in containerSize()
143 for (i = 1; i <= header->instanceMax; i++) { in list()
H A Dliteral.cpp43 return literalIndex + header->instanceMax; in instanceFromLiteral()
77 return instance - header->instanceMax; in literalFromInstance()
H A Dinstance.cpp77 parent = literals[instance - header->instanceMax]._class; in isA()
105 return instance > (int)header->instanceMax; in isLiteral()
127 if (instance > 0 && instance <= (int)header->instanceMax) { in setInstanceAttribute()
165 return getAttribute(admin[header->instanceMax].attributes, attribute); in literalAttribute()
178 if (instance > 0 && instance <= (int)header->instanceMax) { in getInstanceAttribute()
211 } else if (instance > (int)header->instanceMax) { in verifyInstance()
526 sayInteger(literals[literal - header->instanceMax].value); in sayLiteral()
835 for (i = 1; i <= header->instanceMax; i++) in describeInstances()
841 for (i = 1; i <= header->instanceMax; i++) in describeInstances()
873 for (i = 1; i <= header->instanceMax; i++) in describeInstances()
[all …]
H A Ddebug.cpp81 for (i = 1; i <= header->instanceMax; i++) { in showContents()
99 header->instanceMax * sizeof(InstanceEntry) / sizeof(Aword) + 1; in idOfInstance()
153 for (ins = 1; ins <= header->instanceMax; ins++) { in listInstances()
170 if (ins > (int)header->instanceMax || ins < 1) { in showInstance()
212 for (obj = 1; obj <= header->instanceMax; obj++) in listObjects()
320 for (loc = 1; loc <= header->instanceMax; loc++) in listLocations()
352 for (act = 1; act <= header->instanceMax; act++) in listActors()
977 for (i = 1; i < header->instanceMax; i++) in handleInstancesCommand()
H A Dmain.cpp462 for (i = 1; i <= header->instanceMax; i++) { in sizeOfAttributeData()
484 for (i = 1; i <= header->instanceMax; i++) { in initializeAttributes()
509 admin = (AdminEntry *)allocate((header->instanceMax + 1) * sizeof(AdminEntry)); in initDynamicData()
519 for (instanceId = 1; instanceId <= header->instanceMax; instanceId++) in initDynamicData()
548 for (instanceId = 1; instanceId <= header->instanceMax; instanceId++) { in initializeInstances()
812 for (uint i = 1; i <= header->instanceMax; i++) { in run()
H A Dtypes.h50 #define MAXINSTANCE (header->instanceMax)
H A Dstate.cpp218 gameState.admin = (AdminEntry *)duplicate(admin, (header->instanceMax + 1) * sizeof(AdminEntry)); in collectInstanceData()
322 (header->instanceMax + 1)*sizeof(AdminEntry)); in recallInstances()
H A Dacode.h535 Aword instanceMax; /* Highest number of an instance */ member
592 Aword instanceMax; /* Highest number of an instance */ member
648 Aword instanceMax; /* Highest number of an instance */ member
H A Dlocation.cpp115 for (i = 1; i <= header->instanceMax; i++) in look()
H A Dinter.cpp497 int instanceMax = isPreBeta3(header->version) ? header->instanceMax : header->instanceMax - 1; in interpret() local
498 if (traceInstructionOption) printf("MAXINSTANCE \t\t\t\t=%d\t", instanceMax); in interpret()
499 push(stack, instanceMax); in interpret()
H A Dsave.cpp72 for (uint i = 1; i <= header->instanceMax; i++) in syncGame()
H A Dexe.cpp502 for (i = 1; i <= header->instanceMax; i++) { in getContainerMember()
525 for (i = 1; i <= header->instanceMax; i++) in empty()
H A Dreverse.cpp587 …reverseTable(hdr->instanceTableAddress + hdr->instanceMax * sizeof(InstanceEntry) / sizeof(Aword) … in reverseInstanceIdTable()

12