Dancing Hoskuld
Deity
Update
- New tech quotes provided by Yudishtira to get rid of those TBD's.
- New tech quotes provided by Yudishtira to get rid of those TBD's.
Update:
-Added Go To City mission.
Is there a place to find out exactly what this does?
I hope mousing over the mission will give you some info and if not, then here is what it does:Is there a place to find out exactly what this does?
I hope mousing over the mission will give you some info and if not, then here is what it does:
It is a move to mission that gives you a popup to select the target city so you can give move commands beyond viewport boundaries.
I hope mousing over the mission will give you some info and if not, then here is what it does:
It is a move to mission that gives you a popup to select the target city so you can give move commands beyond viewport boundaries.
The hover text does explain it.
The latest rev, 5176 "Tweaked the Heavy Tank", seems to have broken something. Getting noisy Dieselpunk XML errors on loading mod.
Yes, something went horribly wrong with my copy/paste there. It should be fixed in a minute or so.
Still not correct (hint: there was a reason that variable was only initialized in that if).-Fixed small error with Go To City mission.
Still not correct (hint: there was a reason that variable was only initialized in that if).
You moved command specific code out of the if that checks if it is a command.Gah. It is only supposed to be given a value inside the command loop, right?
You moved command specific code out of the if that checks if it is a command.
At the same time you did not actually intercept your mission at all. You skip sending it as a command which it would not have been anyway in the original code (as you made a mission, not a command). It is still sent as a mission net message (which it should not be at that point before the popup).
if (GC.getActionInfo(iAction).getCommandType() != NO_COMMAND)
{
bSkip = false;
if (GC.getActionInfo(iAction).getCommandType() == COMMAND_LOAD)
{
CvPopupInfo* pInfo = new CvPopupInfo(BUTTONPOPUP_LOADUNIT);
if (NULL != pInfo)
{
gDLL->getInterfaceIFace()->addPopup(pInfo);
bSkip = true;
}
}
}
//ls612: City Go To in Viewports
if (GC.getActionInfo(iAction).getMissionType() == MISSION_GOTO)
{
bSkip = false;
CvPopupInfo* pInfo = new CvPopupInfo(BUTTONPOPUP_GOTO_CITY);
if (NULL != pInfo)
{
gDLL->getInterfaceIFace()->addPopup(pInfo);
bSkip = true;
}
}
No, I suggest you look at the changes in your original commit and check what code is in what if.So it should look like this?