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!
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...
Moved the inlined functions from header to source. If they become a
performance problem, we can deal with it later.
Renamed get_func to a more descriptive get_handler_callback (ditto for
get_func_v2).
Normalized the name of isDefined() -> is_defined().
Extracted a few functions, which makes the main code cleaner. Once
PacketVersion is used by the PacketRegistry, many of those functions
will be further simplified. Still in progress.
Changed them to use the PacketRegistry. The length of variable packets
is set to -2 (MSGLEN_2BYTELEN_DATA), as is done for the normal packets,
so no special treatment is needed.
Created a new file (msghandl.cpp) and moved the code from pol.cpp there.
Moved related files to the "network" folder, where they belong. Fixed
include names... (we should make this relative to the project root!)
movement code speedup: instead of storing new Mapshape simply store pointers
reordered some class/structs (data alignment)
Mutex class freebsd compatible
mdump: invalid scope for pointer
some Constructor member reorders for linux
some unsigned < 0 checks removed
some nullpointer checks added
CallOutgoingPacketExportedFunction splitted into critical and noncritical part
npcs now use there boost for movement checks
pkt.sendpacket() & SendPacket() now accepts client or character
r/o members:
ip, acctname, clientversion, clientinfo, clienttype, clientver_detail, uo_expansion_client
methods:
compareversion()
used as prelogin param for packethooks instead of old struct (so you can send packets)
Added: character.client
returns ClientRef object or error
Note: This or next release duplicate members/methods get deleted from chr (except acctname)