Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-13 | fix crash on quickload | Stanislaw Halik | |
2024-04-13 | test/save: add explicit test for struct light | Stanislaw Halik | |
2024-04-13 | add move assignment operator and ctor to scenery_proto | Stanislaw Halik | |
2024-04-13 | instantiate scenery in a uniform manner | Stanislaw Halik | |
Now using world::make_scenery(). Add `std::monostate` to the `scenery_proto` variant to catch potential bugs. | |||
2024-04-13 | use inheritance for scenery, not std::variant | Stanislaw 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-11 | w | Stanislaw Halik | |
2024-04-11 | rewrite bitmask impl | Stanislaw 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-11 | fix msvc warnings | Stanislaw Halik | |
2024-04-11 | test: reorder tests based on execution speed | Stanislaw Halik | |
2024-04-11 | bench: adjust warmups | Stanislaw Halik | |
2024-04-11 | bench: speed up when built with -O0 | Stanislaw Halik | |
2024-04-11 | compat: remove pointless unroll by two | Stanislaw Halik | |
2024-04-11 | fix sprite bitmask generator | Stanislaw Halik | |
This is WIP because it needs a more efficient algorithm. | |||
2024-04-11 | a | Stanislaw Halik | |
2024-04-11 | editor: remove StaticArray usage | Stanislaw Halik | |
2024-04-11 | a | Stanislaw Halik | |
2024-04-10 | a | Stanislaw Halik | |
2024-04-10 | tests | Stanislaw Halik | |
2024-04-10 | fix crash on empty save section | Stanislaw Halik | |
2024-04-10 | cmake | Stanislaw Halik | |
2024-04-10 | test++ | Stanislaw Halik | |
2024-04-09 | coverage++ | Stanislaw Halik | |
2024-04-09 | move template away from header | Stanislaw Halik | |
Now uses explicit instantiation. | |||
2024-04-09 | remove unused includes | Stanislaw Halik | |
2024-04-09 | coverage++ | Stanislaw Halik | |
2024-04-09 | test: add more coverage for deserializer | Stanislaw Halik | |
2024-04-09 | update comment | Stanislaw Halik | |
2024-04-09 | fix ci build | Stanislaw Halik | |
2024-04-09 | add my linux userconfig | Stanislaw Halik | |
2024-04-09 | try to remove as dead code | Stanislaw Halik | |
2024-04-09 | remove obsolete comment | Stanislaw Halik | |
2024-04-09 | workaround unconditional opencv enabling | Stanislaw Halik | |
This needs to be done better later. | |||
2024-04-09 | fix gcc build | Stanislaw Halik | |
2024-04-09 | serialize/save: rewrite to remove scenery's variant | Stanislaw Halik | |
Now it can use inheritance. Tests pass. | |||
2024-04-09 | wa2 | Stanislaw Halik | |
2024-04-09 | wa | Stanislaw Halik | |
2024-04-09 | w | Stanislaw Halik | |
2024-04-09 | c | Stanislaw Halik | |
2024-04-09 | w | Stanislaw Halik | |
2024-04-09 | w | Stanislaw Halik | |
2024-04-09 | a | Stanislaw Halik | |
2024-04-09 | w | Stanislaw Halik | |
2024-04-09 | b | Stanislaw Halik | |
2024-04-09 | w | Stanislaw Halik | |
2024-04-09 | a | Stanislaw Halik | |
2024-04-09 | w | Stanislaw Halik | |
2024-04-09 | b | Stanislaw Halik | |
2024-04-09 | w | Stanislaw Halik | |
2024-04-09 | w | Stanislaw Halik | |
2024-04-09 | wa | Stanislaw Halik | |