1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-05 06:40:09 +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
..
2021-09-09 23:57:20 +02:00
2021-10-11 13:46:21 +02:00
2021-08-08 17:25:57 +01:00
2010-08-07 20:25:17 +02:00
2020-06-07 15:51:03 +04:00
2021-04-30 20:49:22 +02:00
2021-04-11 14:46:51 +02:00
2019-02-23 08:02:12 +04:00
2019-02-23 08:02:12 +04:00
2021-10-10 13:13:57 +02:00
2020-03-14 09:38:24 +01:00
2015-04-21 23:40:10 +02:00
2020-03-14 09:38:24 +01:00
2021-08-15 19:50:28 +02:00
2021-08-04 17:49:57 -07:00
2021-08-04 17:49:57 -07:00