shithub: rott

Download patch

ref: cd1931f7b95d8941bf20d57875698b06ea1f6cd5
parent: 3008d25a3cf10a3521516d5de7bd5bf4228e7629
author: levesqu8 <levesqu8@msu.edu>
date: Mon Nov 13 16:52:46 EST 2017

Merge with adjFOV

--- a/rott/rt_cfg.c
+++ b/rott/rt_cfg.c
@@ -119,7 +119,7 @@
 boolean autoAimMissileWeps = 0;
 boolean autoAim = 1;
 boolean enableExtraPistolDrops = 0;
-int scaleOffset = 0;
+int FocalWidthOffset = 0;
 
 boolean joystickenabled  = 0;
 boolean joypadenabled    = 0;
@@ -534,7 +534,7 @@
         
         //Read in scaleOffset
         
-        ReadInt("scaleOffset", &scaleOffset);
+        ReadInt("FocalWidthOffset", &FocalWidthOffset);
 
         // Read in MouseEnabled
         ReadBoolean("MouseEnabled",&mouseenabled);
@@ -1784,7 +1784,7 @@
     //Write out scaleOffset
     SafeWriteString(file,"\n;\n");
     SafeWriteString(file,"; Field Of View offset\n");
-    WriteParameter(file,"scaleOffset     ",scaleOffset);
+    WriteParameter(file,"FocalWidthOffset     ",FocalWidthOffset);
     
     // Write out MouseEnabled