summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2024-04-13fix crash on quickloadStanislaw Halik
2024-04-13test/save: add explicit test for struct lightStanislaw Halik
2024-04-13add move assignment operator and ctor to scenery_protoStanislaw Halik
2024-04-13instantiate scenery in a uniform mannerStanislaw Halik
Now using world::make_scenery(). Add `std::monostate` to the `scenery_proto` variant to catch potential bugs.
2024-04-13use inheritance for scenery, not std::variantStanislaw Halik
It's still WIP because creating scenery has to branch on all subtypes. This needs to be taken care of generically in `world::make_object()`.
2024-04-11wStanislaw Halik
2024-04-11rewrite bitmask implStanislaw Halik
It's slower than the previous version but fixes a bug when stride isn't a multiple of 8. It can be improved further by setting `auto& byte` all at once instead of setting individual bits of multiple bytes in the innermost loop. ------------------------------------------------------------ New version Time CPU Iterations ------------------------------------------------------------ Bitmask_mean 1911 us 1893 us 5 Bitmask_median 1911 us 1885 us 5 Bitmask_stddev 2.00 us 18.7 us 5 Bitmask_cv 0.10 % 0.99 % 5 ------------------------------------------------------------- ------------------------------------------------------------ Buggy version Time CPU Iterations ------------------------------------------------------------ Bitmask_mean 841 us 841 us 5 Bitmask_median 839 us 837 us 5 Bitmask_stddev 3.29 us 7.80 us 5 Bitmask_cv 0.39 % 0.93 % 5 ------------------------------------------------------------ ----------------------------------------------------------- Naive version Time CPU Iterations ------------------------------------------------------------ Bitmask_mean 4006 us 3997 us 10 Bitmask_median 4006 us 3997 us 10 Bitmask_stddev 2.29 us 0.000 us 10 Bitmask_cv 0.06 % 0.00 % 10 ------------------------------------------------------------
2024-04-11fix msvc warningsStanislaw Halik
2024-04-11test: reorder tests based on execution speedStanislaw Halik
2024-04-11bench: adjust warmupsStanislaw Halik
2024-04-11bench: speed up when built with -O0Stanislaw Halik
2024-04-11compat: remove pointless unroll by twoStanislaw Halik
2024-04-11fix sprite bitmask generatorStanislaw Halik
This is WIP because it needs a more efficient algorithm.
2024-04-11aStanislaw Halik
2024-04-11editor: remove StaticArray usageStanislaw Halik
2024-04-11aStanislaw Halik
2024-04-10aStanislaw Halik
2024-04-10testsStanislaw Halik
2024-04-10fix crash on empty save sectionStanislaw Halik
2024-04-10cmakeStanislaw Halik
2024-04-10test++Stanislaw Halik
2024-04-09coverage++Stanislaw Halik
2024-04-09move template away from headerStanislaw Halik
Now uses explicit instantiation.
2024-04-09remove unused includesStanislaw Halik
2024-04-09coverage++Stanislaw Halik
2024-04-09test: add more coverage for deserializerStanislaw Halik
2024-04-09update commentStanislaw Halik
2024-04-09fix ci buildStanislaw Halik
2024-04-09add my linux userconfigStanislaw Halik
2024-04-09try to remove as dead codeStanislaw Halik
2024-04-09remove obsolete commentStanislaw Halik
2024-04-09workaround unconditional opencv enablingStanislaw Halik
This needs to be done better later.
2024-04-09fix gcc buildStanislaw Halik
2024-04-09serialize/save: rewrite to remove scenery's variantStanislaw Halik
Now it can use inheritance. Tests pass.
2024-04-09wa2Stanislaw Halik
2024-04-09waStanislaw Halik
2024-04-09wStanislaw Halik
2024-04-09cStanislaw Halik
2024-04-09wStanislaw Halik
2024-04-09wStanislaw Halik
2024-04-09aStanislaw Halik
2024-04-09wStanislaw Halik
2024-04-09bStanislaw Halik
2024-04-09wStanislaw Halik
2024-04-09aStanislaw Halik
2024-04-09wStanislaw Halik
2024-04-09bStanislaw Halik
2024-04-09wStanislaw Halik
2024-04-09wStanislaw Halik
2024-04-09waStanislaw Halik