pioneer/src/ship
Gliese852 20551ae2ea Improve Tradeships.lua
- Preparations:

Add method Ship:GetCargo
Add method Ship:GetDurationForDistance
Add method Ship:Create
Add method ui.treeNode & ui.treePop
Add method LuaObject::CreateInLua
Add functions for convenient selection of a random array element
Add some numerical utilites
Add a tool to easily draw a table from an array
Fix ui.Format.Number
Turn off the output when the ship changes frames
Reduce the detection range of hyperspace clouds
Remove the call LuaEvent::Emit immediately after exiting hyperspace
Split Tradeships.lua into 5 modules

- Tradeships

For current system, calculate all possible routes of tradeships,
durations, flows; arrange ships in space in such equilibrium state,
as if the have been flying about their business for a long time.

Calculate the average spawn interval for new ships, and parking
intervals, so that the stations are not overcrowded or empty.

Сreate a tab in the debug window with full information on
routes, ships, stations, remote systems.
2021-05-02 17:25:57 -04:00
..
CameraController.cpp Happy new year! 2021-01-03 19:40:16 +01:00
CameraController.h Happy new year! 2021-01-03 19:40:16 +01:00
PlayerShipController.cpp Don't persist signals past destruction of object they're attached to 2021-02-19 18:07:59 -05:00
PlayerShipController.h Happy new year! 2021-01-03 19:40:16 +01:00
PrecalcPath.cpp Improve Tradeships.lua 2021-05-02 17:25:57 -04:00
PrecalcPath.h Add class for pre-calculating spaceship path 2021-05-02 17:25:57 -04:00
Propulsion.cpp Happy new year! 2021-01-03 19:40:16 +01:00
Propulsion.h Happy new year! 2021-01-03 19:40:16 +01:00
ShipController.cpp Happy new year! 2021-01-03 19:40:16 +01:00
ShipController.h Happy new year! 2021-01-03 19:40:16 +01:00
ShipViewController.cpp Happy new year! 2021-01-03 19:40:16 +01:00
ShipViewController.h Happy new year! 2021-01-03 19:40:16 +01:00