Due to lazy copy&paste sliding up/down speed was divided by 2 - fixed
This commit is contained in:
parent
9280731d60
commit
bdade98976
|
@ -1,5 +1,9 @@
|
||||||
D2X-Rebirth Changelog
|
D2X-Rebirth Changelog
|
||||||
|
|
||||||
|
20110310
|
||||||
|
--------
|
||||||
|
main/kconfig.c: Due to lazy copy&paste sliding up/down speed was divided by 2 - fixed
|
||||||
|
|
||||||
20110306
|
20110306
|
||||||
--------
|
--------
|
||||||
main/songs.c: Be safer not interrupting other ports of descent or the original MS-DOS game when it comes to reading song files: Try reading from MISSION_NAME.sngdxx to have a way reading a song file for a specific mission outside the mission's HOG, next try reading from descent.sngdxx which shall serve as an alternative song file specifically for DXX and then try descent.sng. This should give authors enough possibilities to add OSTs for all different versions of the game without the need to publish different versions of their missions
|
main/songs.c: Be safer not interrupting other ports of descent or the original MS-DOS game when it comes to reading song files: Try reading from MISSION_NAME.sngdxx to have a way reading a song file for a specific mission outside the mission's HOG, next try reading from descent.sngdxx which shall serve as an alternative song file specifically for DXX and then try descent.sng. This should give authors enough possibilities to add OSTs for all different versions of the game without the need to publish different versions of their missions
|
||||||
|
|
|
@ -1387,8 +1387,8 @@ void kconfig_read_controls(d_event *event, int automap_flag)
|
||||||
Controls.vertical_thrust_time += (Controls.mouse_axis[kc_mouse[13].value]*PlayerCfg.MouseSens[3])/8;
|
Controls.vertical_thrust_time += (Controls.mouse_axis[kc_mouse[13].value]*PlayerCfg.MouseSens[3])/8;
|
||||||
}
|
}
|
||||||
// From keyboard/buttons...
|
// From keyboard/buttons...
|
||||||
if ( Controls.slide_up_state ) Controls.vertical_thrust_time += speed_factor*FrameTime/2;
|
if ( Controls.slide_up_state ) Controls.vertical_thrust_time += speed_factor*FrameTime;
|
||||||
if ( Controls.slide_down_state ) Controls.vertical_thrust_time -= speed_factor*FrameTime/2;
|
if ( Controls.slide_down_state ) Controls.vertical_thrust_time -= speed_factor*FrameTime;
|
||||||
// From joystick...
|
// From joystick...
|
||||||
if ( !kc_joystick[20].value ) // If not inverted...
|
if ( !kc_joystick[20].value ) // If not inverted...
|
||||||
Controls.vertical_thrust_time += (Controls.joy_axis[kc_joystick[19].value]*PlayerCfg.JoystickSens[3])/8;
|
Controls.vertical_thrust_time += (Controls.joy_axis[kc_joystick[19].value]*PlayerCfg.JoystickSens[3])/8;
|
||||||
|
|
Loading…
Reference in a new issue