1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-10 16:14:26 +00:00
Bo Svensson ef906cbfa8
improves MWClass mapping (#3166)
Currently, we use a peculiar mapping of ESM classes by their std::type_info::name. This mapping is an undefined behaviour because std::type_info::name is strictly implementation defined. It could return a non-unique value on some platforms. With this PR we use the unsigned int sRecordId of the ESM class as a more efficient lookup type that does not build on undefined behaviour. We can expect marginally faster save-game loading with these changes as well.
2021-10-11 13:46:21 +02:00
..
2017-04-13 22:33:13 +09:00
2019-02-19 18:40:33 +03:00
2013-04-28 14:59:15 +02:00
2019-02-19 18:40:33 +03:00
2019-02-23 08:02:12 +04:00
2019-02-19 18:40:33 +03:00
2021-06-23 23:13:59 +02:00
2021-10-11 13:46:21 +02:00
2021-10-11 13:46:21 +02:00
2019-08-25 15:21:00 +02:00
2021-07-12 20:51:13 +02:00
2021-04-30 20:49:22 +02:00
2021-04-30 20:49:22 +02:00
2020-01-09 22:17:01 +03:00
2021-10-11 13:46:21 +02:00
2021-10-11 13:46:21 +02:00
2019-02-19 18:40:33 +03:00
2021-10-05 12:02:49 +00:00
2015-03-06 21:36:42 +13:00
2020-10-27 19:23:07 +01:00
2021-10-11 13:46:21 +02:00