This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
The-Powder-Toy/src/simulation
Tamás Bálint Misius 2e2c3181b5
Fix custom elements disappearing on load (fixes #908)
Some checks on particles, most importantly whether their element IDs refers to an enabled element, were done _before_ in-save element IDs are mapped to in-simulation element IDs. This resulted in some particles being removed if their IDs were unlucky enough.
2023-02-28 12:29:26 +01:00
..
elements Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
gravity Clean up FFT gravity 2023-02-01 19:56:55 +01:00
simtools Preprocessor purge round 9: XCELLS and YCELLS 2023-01-27 09:26:39 +01:00
Air.cpp Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
Air.h Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
BuiltinGOL.h Custom GOL (#731) 2020-10-08 20:23:59 +02:00
CoordStack.h Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
Editing.cpp Clean up brush code 2023-02-22 09:58:03 +01:00
Element.cpp Custom GOL (#731) 2020-10-08 20:23:59 +02:00
Element.h Preprocessor purge round 2: #pragma once 2023-01-27 09:26:38 +01:00
ElementClasses.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
ElementClasses.h Preprocessor purge round 2: #pragma once 2023-01-27 09:26:38 +01:00
ElementCommon.h Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
ElementDefs.h Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
ElementGraphics.h Preprocessor purge round 2: #pragma once 2023-01-27 09:26:38 +01:00
ElementNumbers.template.h Mesonification 2020-12-14 20:16:52 +01:00
GOLString.cpp Refactor preferences 2023-01-27 09:26:41 +01:00
GOLString.h Preprocessor purge round 15: FONTEDITOR, RENDERER 2023-01-27 09:26:40 +01:00
MenuSection.h Preprocessor purge round 2: #pragma once 2023-01-27 09:26:38 +01:00
meson.build Group gravity files into their own directory 2023-01-27 23:04:27 +01:00
NoToolClasses.cpp Move more stuff to Editing.cpp 2023-01-27 09:27:32 +01:00
Particle.cpp Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
Particle.h Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
Sample.h Preprocessor purge round 2: #pragma once 2023-01-27 09:26:38 +01:00
SaveRenderer.cpp Fix memory leak in SaveRenderer (not cleaned up on exit) 2023-01-26 22:41:38 -05:00
SaveRenderer.h Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
Sign.cpp Clean up GameSave somewhat 2022-11-10 15:15:10 +01:00
Sign.h Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
SimTool.cpp Group gravity files into their own directory 2023-01-27 23:04:27 +01:00
SimTool.h Preprocessor purge round 2: #pragma once 2023-01-27 09:26:38 +01:00
Simulation.cpp Fix custom elements disappearing on load (fixes #908) 2023-02-28 12:29:26 +01:00
Simulation.h Clean up brush code 2023-02-22 09:58:03 +01:00
SimulationData.cpp Custom GOL (#731) 2020-10-08 20:23:59 +02:00
SimulationData.h Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
Snapshot.h Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
SnapshotDelta.cpp Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
SnapshotDelta.h Optimise undo history memory usage 2021-08-04 17:19:15 +02:00
Stickman.h Preprocessor purge round 2: #pragma once 2023-01-27 09:26:38 +01:00
StructProperty.h Preprocessor purge round 2: #pragma once 2023-01-27 09:26:38 +01:00
ToolClasses.cpp Ditch element and tool classes 2020-01-09 19:22:11 +01:00
ToolClasses.h Preprocessor purge round 2: #pragma once 2023-01-27 09:26:38 +01:00
ToolCommon.h Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
ToolNumbers.template.h Mesonification 2020-12-14 20:16:52 +01:00
WallType.h Preprocessor purge round 2: #pragma once 2023-01-27 09:26:38 +01:00