mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-11 16:24:45 +00:00
rogueviz:: ads:: keep_ship_angle parameter
This commit is contained in:
parent
3508ff4fd5
commit
039f1fba29
@ -217,7 +217,7 @@ bool ads_turn(int idelta) {
|
|||||||
|
|
||||||
if(auto_rotate)
|
if(auto_rotate)
|
||||||
current.T = cspin(1, 0, tc) * current.T;
|
current.T = cspin(1, 0, tc) * current.T;
|
||||||
else if(!paused)
|
else if(!paused && !keep_ship_angle)
|
||||||
ang += tc / degree;
|
ang += tc / degree;
|
||||||
|
|
||||||
if(!paused) {
|
if(!paused) {
|
||||||
|
@ -89,6 +89,8 @@ player_data pdata, ads_max_pdata, ads_tank_pdata, ds_max_pdata, ds_tank_pdata;
|
|||||||
|
|
||||||
bool auto_angle = true;
|
bool auto_angle = true;
|
||||||
|
|
||||||
|
bool keep_ship_angle = false;
|
||||||
|
|
||||||
ld rock_density = 0.25;
|
ld rock_density = 0.25;
|
||||||
ld rock_max_rapidity = 1.5;
|
ld rock_max_rapidity = 1.5;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user