1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-27 03:35:27 +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-10-11 13:46:21 +02:00
2021-04-30 20:11:41 +02:00
2021-04-30 20:11:41 +02:00
2021-04-30 20:11:41 +02:00
2021-08-07 10:06:56 +02:00
2021-04-30 20:11:41 +02:00
2019-02-19 18:40:33 +03:00
2021-10-11 13:46:21 +02:00
2021-10-11 13:46:21 +02:00
2019-10-19 12:51:37 +02:00
2021-10-11 13:46:21 +02:00
2021-06-23 23:13:59 +02:00
2021-06-23 23:13:59 +02:00
2013-03-23 08:16:46 +01:00
2020-10-09 19:20:50 +03:00
2013-05-19 23:19:48 +02:00
2019-02-19 18:40:33 +03:00
2020-04-26 21:13:59 +03:00
2021-09-29 19:25:11 +02:00
2021-10-11 13:46:21 +02:00
2021-02-04 21:25:38 +01:00
2021-02-04 21:25:38 +01:00
2021-10-11 13:46:21 +02:00
2019-02-19 18:40:33 +03:00
2021-06-23 23:13:59 +02:00