Optimize function name search for all modules not only uo by using an additional map, replaced c array with vector for functionsdef.
Simplified pragma pack order. (MSVC version is supported in all
compilers)
Removed compilerassert.h (asserteql,..) replaced with static_assert
Removed some old #ifs
Authors are not forced to use the clang-format setting, but should
atleast be inspired by the style.
The only thing which is now not allowed are tabs for ident/alignment!
It can be enabled by using the new pol.cfg option "ProfileCProps".
For better results, should be enabled before startup.
Impacts on performance very slightly, but consumes an average of
300 bytes of extra RAM for every CProp used.
New polsys.em function LogCPropProfile() can be called to dump
the profiling information into cpprofile.log.
It is very unlikely to grow to more than 256 elements any time soon.
This should save 3 bytes for every single object that derived from it.
Also added explicit int conversions and a not, for better robustness.
new experimental setting pol.cfg ThreadDecayStatistics 1/0 (default 0)
SingleThreadDecay only spawns one thread for decay instead of one thread per realm (reduces thread switches)
ThreadDecayStatistics only works with active SingleThreadDecay log statistics about the decay cycles. Need to collect live data before starting the next step of optimizing decay.
Currently plib/systemstate, pol/uvars, pol/ucfg, pol/multi/multidef
Next step should be to split them based on usage, since its currently a bit of include hell...
Added option "ShowRealmInfo" to spam the console with information about
realms in pol.cfg
Added number of offline mobiles and multis to the information from
polsys::Realms()
Added new method ListOfflineMobilesInRealm() in uo.em.
Encapsulated the Realm counts to be sure no one's changing them from the
outside.
Added missing core-changes entry ;)
Improved the tracking of offline chars in realms, so that shadowrealms
can't be destroyed while chars are still inside.
Next step: do the same for multis and add a command to list the offline
chars.
returns like TypeOf() the type of given parameter, but returns instead of a string an integer (see basic.em constants)
since integer comparison are way faster then string comparison this function should always be used for comparisons