ANet 1.5.2.0 is now out of the beta phase and was finally released today!
A short overview of what have been changed since 1.4.4.0:+ The function sock_recv() returns now also the destination port of the received data packet.
+ After every level change, enet_ent_sync() has to be called now (--> should be called in EVENT_LEVEL after the level was successfully loaded). This behavior is new since 1.5.0.0 but wasn't documented.
+ The player var and player string feature was removed. The player name feature was completly rewritten. The length of the player name is now unlimited.
+ The entity system was completly rewritten. The traffic consumption was greatly reduced which leads into much faster synchronisation. Entities now have to be registered by enet_reg_ent() like an event before they can be created. The function enet_ent_register() was removed. enet_send_flags() produces one Byte less traffic per call now. Instead of enet_ent_create(), enet_svent_create() and enet_clent_create() and instead of enet_ent_remove(), enet_svent_remove() and enet_clent_remove() have been added. enet_ent_synchronize() was renamed to enet_ent_sync().
+ Most of the overloaded functions of enet_sendto() have been removed because they have been wrong selected by the Lite-C compiler.
For updating, download the ANet Demo and follow the instructions in the readme file.
ANet Homepage:
www.anet-plugin.comPlease notice, that all examples have been updated to the new version BUT not the tutorial of the 3d chat example (although the source code itself was updated). The reason is, that this tutorial will be soon replaced with a newer one.