Basically, what I mean is that even if I were to use a single define name for every flag available in the interpreter, then I would have reached my limit for define names that the AGI Studio compiler was coded to handle (I say that because the 255 limit is hard-coded in AGI Studio; there's no reason why it should be that way).
If I were then to try to say
#define ego o0
then I would get an error message saying basically "too many defines".
This is a significant problem because I prefer to do things such as:
#include "RoomDefs.txt" // for RM_INSIDE_HOUSE
#define DOOR_RANGE_LEFT 100
#define DOOR_RANGE_TOP 40
#define DOOR_RANGE_RIGHT 110
#define DOOR_RANGE_BOTTOM 45
#define MSG_NOT_CLOSE_ENOUGH m1
...
if (said("open", "door"))
{
if (posn(ego,
DOOR_RANGE_LEFT, DOOR_RANGE_TOP,
DOOR_RANGE_RIGHT, DOOR_RANGE_BOTTOM))
{
// pretend there's door opening code here
// and that the new room code is in the right
// place
new.room(RM_INSIDE_HOUSE);
}
else
{
print(MSG_NOT_CLOSE_ENOUGH);
}
}
#message 1 "Get closer."
instead of writing things like this:
if (said("open", "door"))
{
if (posn(ego, 100, 40, 110, 45))
{
new.room(3);
}
else
{
print("Get closer.");
}
}
This problem is not preventing me from doing any work on my game at the moment, because I have broken the defines down into multiple files. But it will become a problem in the future, and it would be better if a solution were already on hand once it does.