Commit Graph

14 Commits

Author SHA1 Message Date
Alex Szpakowski da046b39f0 possibly fix a Windows compile error 2019-09-26 20:38:02 -03:00
Alex Szpakowski 271f0af7b7 Avoid lua_pushlightuserdata in enet's wrapper code (issue #1515). 2019-09-26 20:11:25 -03:00
Alex Szpakowski 08b3635e4e enet: Fix a memory leak when peer:send fails (thanks pfirsich!) 2018-01-06 01:03:41 -04:00
Bart van Strien 452a8a877e Don't set the enet global when requiring enet
--HG--
branch : minor
2016-11-02 13:08:56 +01:00
Alex Szpakowski 889aaceabf enet: remove deprecated host:socket_get_address (replaced by host:get_socket_address).
--HG--
branch : minor
2016-10-30 01:08:46 -03:00
Bart van Strien 3cb777e2b7 Add basic lua 5.3 support 2015-06-16 10:25:41 +02:00
Alex Szpakowski 7bcb48c562 Fixed compilation (resolves issue #938.) 2014-10-13 03:20:47 -03:00
Dalton Nell 3bc28345aa Added function host:destroy(), added error handling for trying to work with a destroyed host, and fixed awkward naming of socket_get_address (it now matches the rest of the lib and official documentation as get_socket_address now). 2014-10-10 12:35:33 -06:00
Alex Szpakowski fc77e8f9f0 Throw away the first 3 love.math.random results after seeding it (xorshift outputs less random results the first few times when the seed is very similar to a previous one) 2014-03-15 21:43:25 -03:00
Alex Szpakowski 314a528996 Fixed loading BC4 compressed textures 2014-03-10 21:36:14 -03:00
Alex Szpakowski 6a22afb3a9 Make the ENet wrapper define LUA_COMPAT_ALL before including Lua’s headers (see issue #787) 2013-11-07 23:26:24 -04:00
Alex Szpakowski f9ce521794 Fixed a bug when requiring enet 2013-07-17 03:38:15 -03:00
Bart van Strien 29fd6b98f8 Replace (C99/C++11) snprintf with lua_pushfstring 2013-07-10 16:24:29 +02:00
Martin Felis 14ca401158 Add enet and lua-enet 2013-07-10 15:42:50 +02:00