Integrate view-map into ordoor
Now we can view scenario maps from the main game interface. We can't cancel out of a scenario yet, though.
This commit is contained in:
@@ -29,7 +29,10 @@ func (f *Flow) linkLevelPly() {
|
||||
// FIXME: we should select a savegame if Mighty Hero is selected here
|
||||
// FIXME: we should show a movie here. Need an internal SMK player first
|
||||
// FIXME: we should set up new game state here!
|
||||
f.onClick(levelPly, "2.7", f.setDriver(bridge)) // Select button
|
||||
f.onClick(levelPly, "2.7", func() { // Select button
|
||||
f.ship.NextScenario = f.generic.CampaignMaps[0]
|
||||
f.setDriverNow(bridge)
|
||||
})
|
||||
|
||||
// Link children
|
||||
f.linkBridge()
|
||||
|
Reference in New Issue
Block a user