Clientevent refactor (#6320)
authorLoïc Blot <nerzhul@users.noreply.github.com>
Mon, 28 Aug 2017 18:02:23 +0000 (20:02 +0200)
committerGitHub <noreply@github.com>
Mon, 28 Aug 2017 18:02:23 +0000 (20:02 +0200)
commit5f38fe33f89e87b56ab95370c2f07fe6117b5eb0
treee2a497bb99f37ce6baae56d2979a2ae957829dc2
parent6fd8a27c91b09f51693243586af3615f962d1730
Clientevent refactor (#6320)

* Refactor clientevent structure

* Move structure outside of client header

* Create client events on heap not stack, this remove the ClientEvent object copy

* Use clientEventHandler to route events
src/client.cpp
src/client.h
src/client/clientevent.h [new file with mode: 0644]
src/game.cpp
src/network/clientpackethandler.cpp
src/particles.cpp
src/script/lua_api/l_client.cpp