1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-01-06 04:13:10 +00:00
openmw/apps/openmw/mwclass
florent.teppe 65cdd489fb create a specific esm reader function for RefID to avoid allocation for string and then again for RefId
Fixed some types

removed useless header

applied clang format

fixed compile tests

fixed clang tidy, and closer to logic before this MR

Removed hardcoded refids

unless there is a returned value we don't use static RefIds
can use == between RefId and hardcoded string

Fix clang format

Fixed a few instances where std::string was used, when only const std::string& was needed

removed unused variable
2022-12-27 19:15:57 +01:00
..
activator.cpp create a specific esm reader function for RefID to avoid allocation for string and then again for RefId 2022-12-27 19:15:57 +01:00
activator.hpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
actor.cpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
actor.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
apparatus.cpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
apparatus.hpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
armor.cpp Fixed search random, it is a prefix so not a refId 2022-12-27 19:15:55 +01:00
armor.hpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
bodypart.cpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
bodypart.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
book.cpp Fixed search random, it is a prefix so not a refId 2022-12-27 19:15:55 +01:00
book.hpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
classes.cpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
classes.hpp moved concrete record classes to separate sub-system (mwclass) 2010-08-03 13:17:31 +02:00
classmodel.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
clothing.cpp Changed more hardcoded RefId to be static to avoid multiple runtime creations 2022-12-27 19:15:56 +01:00
clothing.hpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
container.cpp create a specific esm reader function for RefID to avoid allocation for string and then again for RefId 2022-12-27 19:15:57 +01:00
container.hpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
creature.cpp create a specific esm reader function for RefID to avoid allocation for string and then again for RefId 2022-12-27 19:15:57 +01:00
creature.hpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
creaturelevlist.cpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
creaturelevlist.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
door.cpp create a specific esm reader function for RefID to avoid allocation for string and then again for RefId 2022-12-27 19:15:57 +01:00
door.hpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
ingredient.cpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
ingredient.hpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
itemlevlist.cpp Make Class::getName return string_view 2022-08-16 21:15:03 +02:00
itemlevlist.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
light.cpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
light.hpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
lockpick.cpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
lockpick.hpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
misc.cpp create a specific esm reader function for RefID to avoid allocation for string and then again for RefId 2022-12-27 19:15:57 +01:00
misc.hpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
npc.cpp create a specific esm reader function for RefID to avoid allocation for string and then again for RefId 2022-12-27 19:15:57 +01:00
npc.hpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
potion.cpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
potion.hpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
probe.cpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
probe.hpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
repair.cpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
repair.hpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
static.cpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
static.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
weapon.cpp removed clear() function, the only way to change the Id from the outside is from the assignment operator 2022-12-27 19:15:55 +01:00
weapon.hpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00