redCorsair
Sailor
1.create the control in
init_pc.c (program/controls)
with smth like:
CI_CreateAndSetControls( "General", "NEXT_HOURS_Control", CI_GetKeyCode("KEY_9"), 0, true ); //skip hours //game time
2.then in seadogs.c (program)
in
void ProcessControls()
process your control simple,
case "NEXT_HOURS_Control" :
AddTimeToCurrent(5,0); //5 h & 0 min. - tis does daily updates too so it should be ok
//log_code here to show time in upper left - i guess
Log_SetStringToLog(XI_ConvertString("Time") + " " + "+5h");
break;
3.add the control text
-first add the text to the string resource file
(resource/ini/texts/english/ControlsNames
NEXT_HOURS_Control
{
skip 5 hours game time
}
4.i think that's it
have to see if that works
LE: ok,it works.
would you please add that to one of the future updates
if people agree on that .vote please.
init_pc.c (program/controls)
with smth like:
CI_CreateAndSetControls( "General", "NEXT_HOURS_Control", CI_GetKeyCode("KEY_9"), 0, true ); //skip hours //game time
2.then in seadogs.c (program)
in
void ProcessControls()
process your control simple,
case "NEXT_HOURS_Control" :
AddTimeToCurrent(5,0); //5 h & 0 min. - tis does daily updates too so it should be ok
//log_code here to show time in upper left - i guess
Log_SetStringToLog(XI_ConvertString("Time") + " " + "+5h");
break;
3.add the control text
-first add the text to the string resource file
(resource/ini/texts/english/ControlsNames
NEXT_HOURS_Control
{
skip 5 hours game time
}
4.i think that's it
have to see if that works
LE: ok,it works.
would you please add that to one of the future updates
if people agree on that .vote please.