Skip to content

Delay button in Launch Pad screen #892

@peyre

Description

@peyre

Anyone feeling generous today? I've started something and effed it up, don't know how to get out of it.

Since the VAB/VIB now has a Delay button as well as a Scrub one, I think it makes sense to add a Delay button to the Launch Facility screen as well. I've edited radar.cpp and got the easy stuff - drawing the buttons etc. - but now I've inserted the code from vab.cpp, it's erroring out. Modifying the code doesn't seem to help - I'm missing something here.

/home/leon/raceintospace/src/game/radar.cpp: In function ‘void PadDraw(char, char)’:
/home/leon/raceintospace/src/game/radar.cpp:67:9: error: ‘mission’ was not declared in this scope; did you mean ‘missions’?
   67 |     if (mission.MissionCode &&
      |         ^~~~~~~
      |         missions
make[2]: *** [src/game/CMakeFiles/raceintospace.dir/build.make:846: src/game/CMakeFiles/raceintospace.dir/radar.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:330: src/game/CMakeFiles/raceintospace.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementA request for a game enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions