コード例 #1
0
ファイル: BumpImageChunk.cs プロジェクト: RichardBradley/MMEd
 private static BumpTypeInfo[] MakeBumpTypes()
 {
     mBumpTypes       = new BumpTypeInfo[64];
     mBumpTypes[0x00] = new BumpTypeInfo("plain", 0x000000);
     mBumpTypes[0x01] = new BumpTypeInfo("wall", 0xff00ff, "Impassable wall");
     mBumpTypes[0x02] = new BumpTypeInfo("milk", 0xf8e8d8);
     mBumpTypes[0x03] = new BumpTypeInfo("syrup", 0xa87020);
     mBumpTypes[0x04] = new BumpTypeInfo("ketchup", 0xff0000);
     mBumpTypes[0x05] = new BumpTypeInfo("roadBorder", 0x89cba0);
     mBumpTypes[0x06] = new BumpTypeInfo("roadBorder2", 0x89cbbf);
     mBumpTypes[0x07] = new BumpTypeInfo("water", 0x4551ec);
     mBumpTypes[0x08] = new BumpTypeInfo("hole", 0xffffff, "A void or hole in the surface");
     mBumpTypes[0x09] = new BumpTypeInfo("lilyPad", 0x33ff33, "NB This doesn't do much on a random pool course");
     mBumpTypes[0x0A] = new BumpTypeInfo("grassStalk", 0x00ff00);
     mBumpTypes[0x0B] = new BumpTypeInfo("jumpWhoosh3", 0xffd400, "A super speedup if you're going fast enough (found on the jump between tables in Rack)");
     mBumpTypes[0x0C] = new BumpTypeInfo("unknown0C", 0x606060, "This is common before/after jumpWhoosh bumps, but its purpose has not yet been identified");
     mBumpTypes[0x0D] = new BumpTypeInfo("roadBorderPool", 0x89cbde, "Edge of the track in a pool table course");
     mBumpTypes[0x0E] = new BumpTypeInfo("poolPocket", 0xeeeeee, "A pool pocket - death trap");
     mBumpTypes[0x0F] = new BumpTypeInfo("lowSurvivalHeight", 0x00dddd, "Driving off the edge of this means you die even if you don't fall very far. (Also without it,the edge of the Rack & Roll table sometimes appears over the car rather than under it)");
     mBumpTypes[0x10] = new BumpTypeInfo("swapVehicle", 0x229022, "Toggle between player 1 and 2 cars");
     mBumpTypes[0x11] = new BumpTypeInfo("clearGoo", 0xffeedd);
     mBumpTypes[0x12] = new BumpTypeInfo("powderSpill", 0x3333ff);
     mBumpTypes[0x13] = new BumpTypeInfo("greenGoo", 0x33ff33);
     mBumpTypes[0x14] = new BumpTypeInfo("redGoo", 0xff3333, "Makes you invisible");
     mBumpTypes[0x15] = new BumpTypeInfo("roadBorderLab", 0x89cbfd);
     mBumpTypes[0x16] = new BumpTypeInfo("jumpWhoosh", 0xffe400);
     mBumpTypes[0x17] = new BumpTypeInfo("sludge", 0x707070, "Slows you down if you're going fast enough");
     mBumpTypes[0x18] = new BumpTypeInfo("shrinkRay", 0x22ff22, "This looks like it's the beam that shrinks & teleports you in Interesting Voyage, although just driving through it on Rack & Roll doesn't do anything interesting");
     mBumpTypes[0x19] = new BumpTypeInfo("enterTestTube", 0xff9900);
     mBumpTypes[0x1A] = new BumpTypeInfo("unknown1a", 0x808080, "In Rack & Roll, this has no discernable effect");
     mBumpTypes[0x1B] = new BumpTypeInfo("teleport7", 0xff9900, "Teleport to world coord approx (21000, 4300) facing towards (0, 0); as used in the Interesting Voyage microscope");
     mBumpTypes[0x1C] = new BumpTypeInfo("microGooEdge", 0xaaaa00);
     mBumpTypes[0x1D] = new BumpTypeInfo("microGooMiddle", 0x888800);
     mBumpTypes[0x1E] = new BumpTypeInfo("exitMicroscope", 0xff7700, "Ascend vertically; screen blanks; reappear, rather smaller, at world coord approx (3000, 8300)");
     mBumpTypes[0x1F] = new BumpTypeInfo("unknown1f", 0x909090, "Some sort of teleport with funny screen movements, but a bit hard to tell what");
     mBumpTypes[0x20] = new BumpTypeInfo("jumpWhoosh2", 0xfff400, "Allegedly like jumpWhoosh. But appears to have a one-way property in some cases, and energetic attempts to violate this result in a \"splash\"");
     mBumpTypes[0x21] = new BumpTypeInfo("enterTeleport", 0xff8800, "Screen jumps to somewhere over y=10000; some funny stuff with camera angles happens; cars suddenly reappear at world coord approx (920, 1600)");
     mBumpTypes[0x22] = new BumpTypeInfo("lilyPadEdge", 0x66FF66, "Land/water boundary, can be jumped");
     mBumpTypes[0x23] = new BumpTypeInfo("sand", 0xc9b549);
     mBumpTypes[0x24] = new BumpTypeInfo("jumpWheee", 0xffc400, "You jump a bit and go 'Wheee!'");
     mBumpTypes[0x25] = new BumpTypeInfo("teleport6", 0xffff00, "Teleport to world coord approx (7060, 11450) facing towards (0?, 0?)");
     mBumpTypes[0x26] = new BumpTypeInfo("jumpWheee2", 0xffb400, "You jump a bit and go 'Wheee!'");
     mBumpTypes[0x27] = new BumpTypeInfo("splash2", 0x4455ff, "A big \"splash\" - death trap");
     mBumpTypes[0x28] = new BumpTypeInfo("teleport1", 0xffaa00, "Teleport to world coord approx (175, 7000) facing towards (10000, 0)");
     mBumpTypes[0x29] = new BumpTypeInfo("teleport2", 0xffdd00, "Teleport to world coord approx (115, 2645) facing towards (10000, 0)");
     mBumpTypes[0x2A] = new BumpTypeInfo("teleport3", 0xffbb00, "Teleport to world coord approx (5100, 11000) facing towards (0, 0)");
     mBumpTypes[0x2B] = new BumpTypeInfo("teleport4", 0xffee00, "Teleport to world coord approx (2550, 7000) facing towards (0, 0)");
     mBumpTypes[0x2C] = new BumpTypeInfo("teleport5", 0xffcc00, "Teleport to world coord approx (2640, 2700) facing towards (10000, 0)");
     mBumpTypes[0x2D] = new BumpTypeInfo("splash", 0x4444ff, "A \"splash\" - death trap");
     return(mBumpTypes);
 }
コード例 #2
0
ファイル: BumpImageChunk.cs プロジェクト: RichardBradley/MMEd
 private static BumpTypeInfo[] MakeBumpTypes()
 {
     mBumpTypes = new BumpTypeInfo[64];
       mBumpTypes[0x00] = new BumpTypeInfo("plain", 0x000000);
       mBumpTypes[0x01] = new BumpTypeInfo("wall", 0xff00ff, "Impassable wall");
       mBumpTypes[0x02] = new BumpTypeInfo("milk", 0xf8e8d8);
       mBumpTypes[0x03] = new BumpTypeInfo("syrup", 0xa87020);
       mBumpTypes[0x04] = new BumpTypeInfo("ketchup", 0xff0000);
       mBumpTypes[0x05] = new BumpTypeInfo("roadBorder", 0x89cba0);
       mBumpTypes[0x06] = new BumpTypeInfo("roadBorder2", 0x89cbbf);
       mBumpTypes[0x07] = new BumpTypeInfo("water", 0x4551ec);
       mBumpTypes[0x08] = new BumpTypeInfo("hole", 0xffffff, "A void or hole in the surface");
       mBumpTypes[0x09] = new BumpTypeInfo("lilyPad", 0x33ff33, "NB This doesn't do much on a random pool course");
       mBumpTypes[0x0A] = new BumpTypeInfo("grassStalk", 0x00ff00);
       mBumpTypes[0x0B] = new BumpTypeInfo("jumpWhoosh3", 0xffd400, "A super speedup if you're going fast enough (found on the jump between tables in Rack)");
       mBumpTypes[0x0C] = new BumpTypeInfo("unknown0C", 0x606060, "This is common before/after jumpWhoosh bumps, but its purpose has not yet been identified");
       mBumpTypes[0x0D] = new BumpTypeInfo("roadBorderPool", 0x89cbde, "Edge of the track in a pool table course");
       mBumpTypes[0x0E] = new BumpTypeInfo("poolPocket", 0xeeeeee, "A pool pocket - death trap");
       mBumpTypes[0x0F] = new BumpTypeInfo("lowSurvivalHeight", 0x00dddd, "Driving off the edge of this means you die even if you don't fall very far. (Also without it,the edge of the Rack & Roll table sometimes appears over the car rather than under it)");
       mBumpTypes[0x10] = new BumpTypeInfo("swapVehicle", 0x229022, "Toggle between player 1 and 2 cars");
       mBumpTypes[0x11] = new BumpTypeInfo("clearGoo", 0xffeedd);
       mBumpTypes[0x12] = new BumpTypeInfo("powderSpill", 0x3333ff);
       mBumpTypes[0x13] = new BumpTypeInfo("greenGoo", 0x33ff33);
       mBumpTypes[0x14] = new BumpTypeInfo("redGoo", 0xff3333, "Makes you invisible");
       mBumpTypes[0x15] = new BumpTypeInfo("roadBorderLab", 0x89cbfd);
       mBumpTypes[0x16] = new BumpTypeInfo("jumpWhoosh", 0xffe400);
       mBumpTypes[0x17] = new BumpTypeInfo("sludge", 0x707070, "Slows you down if you're going fast enough");
       mBumpTypes[0x18] = new BumpTypeInfo("shrinkRay", 0x22ff22, "This looks like it's the beam that shrinks & teleports you in Interesting Voyage, although just driving through it on Rack & Roll doesn't do anything interesting");
       mBumpTypes[0x19] = new BumpTypeInfo("enterTestTube", 0xff9900);
       mBumpTypes[0x1A] = new BumpTypeInfo("unknown1a", 0x808080, "In Rack & Roll, this has no discernable effect");
       mBumpTypes[0x1B] = new BumpTypeInfo("teleport7", 0xff9900, "Teleport to world coord approx (21000, 4300) facing towards (0, 0); as used in the Interesting Voyage microscope");
       mBumpTypes[0x1C] = new BumpTypeInfo("microGooEdge", 0xaaaa00);
       mBumpTypes[0x1D] = new BumpTypeInfo("microGooMiddle", 0x888800);
       mBumpTypes[0x1E] = new BumpTypeInfo("exitMicroscope", 0xff7700, "Ascend vertically; screen blanks; reappear, rather smaller, at world coord approx (3000, 8300)");
       mBumpTypes[0x1F] = new BumpTypeInfo("unknown1f", 0x909090, "Some sort of teleport with funny screen movements, but a bit hard to tell what");
       mBumpTypes[0x20] = new BumpTypeInfo("jumpWhoosh2", 0xfff400, "Allegedly like jumpWhoosh. But appears to have a one-way property in some cases, and energetic attempts to violate this result in a \"splash\"");
       mBumpTypes[0x21] = new BumpTypeInfo("enterTeleport", 0xff8800, "Screen jumps to somewhere over y=10000; some funny stuff with camera angles happens; cars suddenly reappear at world coord approx (920, 1600)");
       mBumpTypes[0x22] = new BumpTypeInfo("lilyPadEdge", 0x66FF66, "Land/water boundary, can be jumped");
       mBumpTypes[0x23] = new BumpTypeInfo("sand", 0xc9b549);
       mBumpTypes[0x24] = new BumpTypeInfo("jumpWheee", 0xffc400, "You jump a bit and go 'Wheee!'");
       mBumpTypes[0x25] = new BumpTypeInfo("teleport6", 0xffff00, "Teleport to world coord approx (7060, 11450) facing towards (0?, 0?)");
       mBumpTypes[0x26] = new BumpTypeInfo("jumpWheee2", 0xffb400, "You jump a bit and go 'Wheee!'");
       mBumpTypes[0x27] = new BumpTypeInfo("splash2", 0x4455ff, "A big \"splash\" - death trap");
       mBumpTypes[0x28] = new BumpTypeInfo("teleport1", 0xffaa00, "Teleport to world coord approx (175, 7000) facing towards (10000, 0)");
       mBumpTypes[0x29] = new BumpTypeInfo("teleport2", 0xffdd00, "Teleport to world coord approx (115, 2645) facing towards (10000, 0)");
       mBumpTypes[0x2A] = new BumpTypeInfo("teleport3", 0xffbb00, "Teleport to world coord approx (5100, 11000) facing towards (0, 0)");
       mBumpTypes[0x2B] = new BumpTypeInfo("teleport4", 0xffee00, "Teleport to world coord approx (2550, 7000) facing towards (0, 0)");
       mBumpTypes[0x2C] = new BumpTypeInfo("teleport5", 0xffcc00, "Teleport to world coord approx (2640, 2700) facing towards (10000, 0)");
       mBumpTypes[0x2D] = new BumpTypeInfo("splash", 0x4444ff, "A \"splash\" - death trap");
       return mBumpTypes;
 }