mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 04:19:19 +02:00
basic particle system implementation
This commit is contained in:
@@ -17,6 +17,7 @@ http://mozilla.org/MPL/2.0/.
|
||||
#include "simulationtime.h"
|
||||
#include "simulationenvironment.h"
|
||||
#include "lightarray.h"
|
||||
#include "particles.h"
|
||||
#include "Train.h"
|
||||
#include "Driver.h"
|
||||
#include "DynObj.h"
|
||||
@@ -235,6 +236,8 @@ driver_mode::update() {
|
||||
simulation::Region->update_sounds();
|
||||
audio::renderer.update( deltarealtime );
|
||||
|
||||
// NOTE: particle system runs on simulation time, but needs actual camera position to determine how to update each particle source
|
||||
simulation::Particles.update();
|
||||
GfxRenderer.Update( deltarealtime );
|
||||
|
||||
simulation::is_ready = true;
|
||||
|
||||
Reference in New Issue
Block a user