// Reviewed offsets from extern/dkr-decomp/include/structs.h. Both supported
// revisions use this layout. No anonymous/unknown fields are writable here.
// id, name, unit, offset, width, type, racer, writable, minimum, maximum
{1,"Position X","world",0x0c,4,1,false,false,-1e6,1e6},
{2,"Position Y","world",0x10,4,1,false,false,-1e6,1e6},
{3,"Position Z","world",0x14,4,1,false,false,-1e6,1e6},
{4,"Pitch","angle16",0x02,2,2,false,true,-32768,32767},
{5,"Yaw","angle16",0x00,2,2,false,true,-32768,32767},
{6,"Roll","angle16",0x04,2,2,false,true,-32768,32767},
{7,"Scale","ratio",0x08,4,1,false,true,0.01,16},
{8,"Opacity","byte",0x39,1,3,false,true,0,255},
{9,"Velocity X","world/tick",0x1c,4,1,false,true,-1000,1000},
{10,"Velocity Y","world/tick",0x20,4,1,false,true,-1000,1000},
{11,"Velocity Z","world/tick",0x24,4,1,false,true,-1000,1000},
{12,"Behaviour","id",0x48,2,2,false,false,-32768,32767},
{13,"Object ID","id",0x4a,2,3,false,false,0,65535},
{14,"Segment","id",0x2e,2,2,false,false,-1,32767},
{100,"Forward speed","world/tick",0x2c,4,1,true,true,-500,500},
{101,"Lateral speed","world/tick",0x30,4,1,true,true,-500,500},
{102,"Bananas","count",0x185,1,2,true,true,0,99},
{103,"Item type","id",0x172,1,2,true,true,0,4},
{104,"Item ammunition","count",0x173,1,2,true,true,0,10},
{105,"Item level","level",0x174,1,2,true,true,0,2},
{106,"Boost timer","ticks",0x1d3,1,2,true,true,0,120},
{107,"Shield timer","ticks",0x18e,2,2,true,true,0,3600},
{108,"AI skill","level",0x1cc,1,2,true,true,0,100},
{109,"Throttle","ratio",0xb4,4,1,true,true,0,1},
{110,"Brake","ratio",0xb8,4,1,true,true,0,1},
{111,"Buoyancy","ratio",0xc0,4,1,true,true,-100,100},
{112,"Player port","port",0x00,2,2,true,false,-1,3},
{113,"Racer index","id",0x02,1,2,true,false,0,7},
{114,"Character","id",0x03,1,2,true,false,0,127},
{115,"Vehicle","id",0x1d6,1,2,true,false,0,127},
{116,"Lap","index",0x193,1,2,true,false,0,99},
{117,"Checkpoint","index",0x190,2,2,true,false,-32768,32767},
{118,"Position","place",0x1ae,2,2,true,false,0,8},
{119,"Finished","bool",0x1d8,1,2,true,false,0,1},
{120,"Shield type","level",0x189,1,2,true,true,0,3},
{200,"Ambient lighting","ratio",0x28,4,1,false,true,0,2},
{201,"Diffuse lighting","ratio",0x2c,4,1,false,true,0,2},
{202,"Primary light red","byte",0x04,1,3,false,true,0,255},
{203,"Primary light green","byte",0x05,1,3,false,true,0,255},
{204,"Primary light blue","byte",0x06,1,3,false,true,0,255},
{205,"Primary light intensity","byte",0x07,1,3,false,true,0,255},
{206,"Light direction X","fixed8192",0x08,2,2,false,true,-8192,8192},
{207,"Light direction Y","fixed8192",0x0a,2,2,false,true,-8192,8192},
{208,"Light direction Z","fixed8192",0x0c,2,2,false,true,-8192,8192},
{300,"Trigger radius","world",0x10,4,2,false,true,1,32767},
{301,"Trigger vehicle","id",0x14,1,3,false,true,0,2},
