Commit Graph

25 Commits

Author SHA1 Message Date
bjorn 4a47afca38 Organize api folder; 2019-05-19 00:31:42 -07:00
bjorn 6fdeda9e61 Make lovrRelease non-generic;
We know what type we're releasing 99% of the time, we don't need to
play a guessing game in lovrRelease, just have the caller say which
destructor to use.

There is lovrGenericRelease for situations where we need it, which
does the slower lookup of the destructor.
2019-04-05 03:41:03 -07:00
bjorn 90d6e2b407 Make binding functions static; 2019-02-17 14:52:22 -08:00
bjorn bf89216997 Explicitly convert lua_Numbers to floats; 2019-01-29 22:04:04 -08:00
bjorn 90cacd03ca Handle numbers more consistently in Lua API;
I still don't know if I should cast or not, but at least now things
will be consistently right or wrong.
2019-01-11 22:37:54 -08:00
bjorn 7a866552e9 Fix remaining physics leaks; 2018-08-22 09:29:34 -07:00
bjorn 1f00948da0 Fix world/collider memory leaks; 2018-08-18 21:16:19 -07:00
bjorn d6daa885c8 Simplify luax_checktype and inheritance; 2018-07-24 21:15:07 -07:00
bjorn 83ddb82162 Simplify Lua object management; 2018-07-24 20:13:54 -07:00
bjorn 1d20e49829 Move api header; 2017-12-10 12:41:43 -08:00
bjorn ecde864ec4 Use spooky BOOleans everywhere; 2017-10-31 01:14:09 -07:00
bjorn 1d1277ba76 Fix World:raycast; 2017-09-03 17:01:48 -07:00
bjorn 827c92cc38 Collider constructor accepts position; 2017-06-10 14:17:59 -07:00
bjorn 39400776dc Semantic tags; 2017-05-25 15:01:40 -07:00
bjorn f3df7aa114 World:raycast; 2017-05-24 17:40:32 -07:00
bjorn 07ede6b2dc Custom friction and resitution; 2017-05-24 17:40:32 -07:00
bjorn 5640b1d048 Organization; World:destroy; 2017-05-19 22:11:49 -06:00
bjorn 2c89aa4663 s/Body/Collider; 2017-05-19 20:11:58 -06:00
bjorn 661e9188c7 Custom collision handling; 2017-05-19 15:04:34 -06:00
bjorn c06a13f124 World:isSleepingAllowed; World:setSleepingAllowed; 2017-05-15 23:08:27 -06:00
bjorn ca7b93e150 World:getAngularDamping; World:setAngularDamping; 2017-05-15 23:07:54 -06:00
bjorn b840fb0a44 World:getLinearDamping; World:setLinearDamping; 2017-05-15 23:05:48 -06:00
bjorn 053ccb18bc World:update; 2017-05-15 23:04:05 -06:00
bjorn 3c8f4bd63b World:getGravity; World:setGravity; 2017-05-15 23:03:01 -06:00
bjorn 70bc90154b World; 2017-05-15 23:02:08 -06:00