1. TEMP should be the address of a bitmap but in fact isn't
Where do you declare the bmaps?
SpeedRunShapes[0] = "shape1.tga";
SpeedRunShapes[1] = "shape2.tga";
SpeedRunShapes[2] = "shape3.tga";
SpeedRunShapes[3] = "shape4.tga";
SpeedRunShapes[4] = "shape5.tga";
SpeedRunShapes[5] = "shape6.tga";
If you do them outside of a function, then that is the problem. You can't do that
. You need to create them inside a function (using bmap_create).