Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Removed maps that have too many sectors" change breaks map name display #20

Open
ImagoTrigger opened this issue Oct 9, 2014 · 2 comments
Assignees
Labels

Comments

@ImagoTrigger
Copy link
Member

newgamescreen.mdl:

MapTypeNames = ["Single Ring", "Double Ring", "Pinwheel", "Diamond Ring", "Snowflake", "Brawl", "Big Ring", "HiLo", "Star", "InsideOut", "Grid"];
MapTypeValues = [0, 1, 2, 3, 4, 6, 7, 8, 10, 11, 12];

needs to match

IGC/igc.h:

const MapMakerID c_mmSingleRing = 0;
const MapMakerID c_mmDoubleRing = 1;
const MapMakerID c_mmPinWheel = 2;
const MapMakerID c_mmDiamondRing = 3;
const MapMakerID c_mmSnowFlake = 4;
const MapMakerID c_mmSplitBase = 5;
const MapMakerID c_mmBrawl = 6;
const MapMakerID c_mmBigRing = 7;
const MapMakerID c_mmHiLo = 8;
const MapMakerID c_mmHiHigher = 9;
const MapMakerID c_mmStar = 10;
const MapMakerID c_mmInsideOut = 11;
const MapMakerID c_mmGrid = 12;
const MapMakerID c_mmEastWest = 13;
const MapMakerID c_mmLargeSplit = 14;
const MapMakerID c_mmMax = 15;

and IGC/mapmaker.cpp:

switch(pmp->mmMapType)
{
    MakeMap(SingleRing)
    MakeMap(DoubleRing)
    MakeMap(PinWheel)
    MakeMap(DiamondRing)
    MakeMap(SnowFlake)
    MakeMap(SplitBase)
    MakeMap(Brawl)
    MakeMap(BigRing)
    MakeMap(HiLo)
    MakeMap(HiHigher)
    MakeMap(Star)
    MakeMap(InsideOut)
    MakeMap(Grid)
    MakeMap(EastWest)
    MakeMap(LargeSplit)
    default:
        assert (false);
}

Thanks for playing!

@Astn
Copy link
Member

Astn commented Oct 13, 2014

Gah

@ImagoTrigger
Copy link
Member Author

couple ways to fix this... should we each try?

Astn pushed a commit that referenced this issue Dec 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants