The-Powder-Toy/src
Tamás Bálint Misius 7ef02a6c0b
Remove return value from Simulation::Load
Not useful anymore, it can only fail if the GameSave passed in is nullptr, which this commit guards against.

Also make Simulation::Load and Simulation::Save take block-oriented positions and rects.
2023-05-13 13:21:05 +02:00
..
bson Fix exit behaviour 2023-01-27 14:55:58 +01:00
bzip2 Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
client Fix various warnings that had piled up 2023-05-12 19:25:41 +02:00
common Fix some deprecation warnings 2023-05-12 18:53:48 +02:00
debug Use _rgb literals where possible 2023-04-30 14:22:56 +02:00
graphics Fix various warnings that had piled up 2023-05-12 19:25:41 +02:00
gui Remove return value from Simulation::Load 2023-05-13 13:21:05 +02:00
lua Remove return value from Simulation::Load 2023-05-13 13:21:05 +02:00
prefs Group platform files into their own directory 2023-01-27 17:31:40 +01:00
resampler Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
simulation Remove return value from Simulation::Load 2023-05-13 13:21:05 +02:00
tasks Use _rgb literals where possible 2023-04-30 14:22:56 +02:00
Activity.h Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
Config.template.h Add Simulation::frameCount, save blockair/blockairh and rng state 2023-04-15 22:19:50 +02:00
Controller.h Preprocessor purge round 2: #pragma once 2023-01-27 09:26:38 +01:00
Format.cpp Refactor PNG and working with alpha 2023-04-05 21:30:24 +02:00
Format.h Refactor PNG and working with alpha 2023-04-05 21:30:24 +02:00
meson.build Factor out game stuff from PowderToySDL.cpp 2023-01-27 09:29:19 +01:00
Misc.cpp Fix some deprecation warnings 2023-05-12 18:53:48 +02:00
Misc.h Fix some deprecation warnings 2023-05-12 18:53:48 +02:00
PowderToy.cpp Sanitize GameSave/SaveInfo/SaveFile ownership 2023-05-11 12:40:23 +02:00
PowderToyFontEditor.cpp Fix RNG usage 2023-04-15 18:22:03 +02:00
PowderToyRenderer.cpp Remove return value from Simulation::Load 2023-05-13 13:21:05 +02:00
PowderToySDL.cpp Remove Graphics::vid, Graphics::textwidthx, Graphics::textsize 2023-04-12 19:21:37 +02:00
PowderToySDL.h Fix exit behaviour 2023-01-27 14:55:58 +01:00
Probability.cpp Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
Probability.h Preprocessor purge round 19: Split and minimize usage of Config.h 2023-01-27 09:27:32 +01:00
SDLCompat.cpp fix windows / renderer compile (renderer requires sdl for now) 2018-05-25 21:19:44 -04:00
SimulationConfig.h Add new Vec2, Mat2, RGB, RGBA classes and deprecate some old functions 2023-04-05 02:29:35 +02:00
WindowIcon.cpp Refactor PNG and working with alpha 2023-04-05 21:30:24 +02:00
WindowIcon.h Move platform-specific code out of entrypoint TUs 2023-01-27 09:26:41 +01:00
X86KillDenormals.cpp Preprocessor purge round 13: X86 2023-01-27 09:26:40 +01:00
X86KillDenormals.h Preprocessor purge round 13: X86 2023-01-27 09:26:40 +01:00