Yeah I believe it's all hardcoded, including the level width in screens.
Anyway, the structure for Muds:
Mudokon
short magic;
short size=3000;
long id=3100 0000
//x%25=1
short x;
short y;
short x2=x+25;
short y2=y+20;
short unknown;
short type; //0 Mining, 1 cleaning , 2 "Angry worker", 3 Red Ring Giver, 4 Yellow Ring Giver,
short direction;
short voicePitch; //Some values do not work are reset to default, I'll research more about it later.
short unknown;
short unknown;
short unknown;
short unknown;
short mood; //0 normal, 1 angry, 2 sad, 3 crazy, 4 sick
short blind; //0 is normal, 1 is blind;
short mood2; //0 normal, 1 slapper
short unknown;
short unknown;
short unknown;
|