The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
December 06, 2022, 08:37:35 pm
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

  Show Posts
Pages: [1]
1  The Ur-Quan Masters Re-Release / Technical Issues / Fuel calculation bug - help me w/ this one ;) on: December 02, 2002, 12:31:06 pm
If anyone wants to replicate this, grab 8 fuel at the Sol starbase and autopilot to Zeta Centauri.  What I'd like to know is what the PC version and 3DO version say for the fuel calculation and if you can make it ;)   Current CVS checkout calculates to 7.8 fuel required when plotting the auto-pilot course on the starmap and you fall short since it actually takes 8.53 (Pulled from debugging the source... @ sis.c:646 if anyone's interested, look for the state of GlobData.SIS_state.FuelOnBoard.  It's decremented about 16 lines down from that at the += fuel_delta:

else if ((GLOBAL_SIS (FuelOnBoard) += fuel_delta) >
    (FuelCapacity = GetFTankCapacity (NULL_PTR)))
            GLOBAL_SIS (FuelOnBoard) = FuelCapacity;

An interesting note... if being pulled into an encounter in hyperspace moves you, it burns a little fuel, like .02 units, but it still uses some :)

TIA for the help...
Pages: [1]

Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!