JS: Remove unused radius from convex hulls and mesh data

It seemed useful at the time.

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Fix Action binding bug

This fixes the bug where the outputs of one entity apply to all entities
that us the same display model.

The bug was that caching the OutputHandle cached in the DisplayModel, not
the binding, thus saving DisplayModel wide state.

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Disable (by flag) the CRC check on binary file load

This significantly speeds load time, and can be re-enabled with a compile
time flag.

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Include submesh convex hulls in binary file format

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Add final convex hull to binary mesh format

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: directly compare ticks in ScriptEntity after conversion to seconds-based calculations

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: use scheduleProcess to avoid holding a Thread for the entire run

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: the Simulation::exitAtStop keyword has been superceded by the batch run parameter

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: move the trace and verify events inputs to be static

Preparation patch for removing the automatically created Simulation object.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: make the start and end hours available statically from Simulation

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: make the initialzation hours available statically

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: make the run duration hours available statically

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: remove more direct references to DisplayEntity.simulation

- mae the realtime enable and factor controls available statically

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: restore the Simulation exitAtStop keyword

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: remove a copy of the printInputReport keyword state held in InputAgent

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: mark the last Simulation inputs as static

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: preparation patch to make .start a static entrypoint

Spawn the doEnd event without holding on to a Simulation instance

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: make the start entryPoint static and no longer tied to a default Simulation object

Model initailizatioon now entirely based on scheduleProcess:

- earlyInit called on all entities at time = 0 (SimulationInit)
- startUp called on all entities called at the startHours time (SimulationStart)
- doEnd called on all entities at the endHours time (SimulationEnd)

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: temporarily punch a hole to allow GUIFrame to test the internal runToTime debug state

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: make Simulation a default-defined object rather than creating it in code

- no longer need special init/clear paths for this one object
- no more static simulation in DisplayEntity

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>