Alex Szpakowski
d5245483ef
Updated version to 0.9.0 (codename TBD)
2013-03-03 19:55:37 -04:00
Bart van Strien
3d0c5761ce
Merge in default, update changelog
...
--HG--
branch : minor
2013-03-03 19:51:04 +01:00
vrld
d842c5d28d
Fix box muller transform in common/math.cpp.
...
Random numbers have to be in (0:1], not in [0:1).
2013-02-26 10:37:42 +01:00
Alex Szpakowski
96161c66f6
Updated copyright text for the new year
2013-02-05 05:32:49 -04:00
Alexander Szpakowski
e24d721381
Renamed all instances of 'ShaderEffect' (previously 'PixelEffect') to 'Shader'.
2013-01-16 07:21:41 -04:00
rude
c03e35b6cc
Merge default branch.
...
--HG--
branch : minor
2013-01-12 11:52:04 +01:00
Alexander Szpakowski
0611234067
changed PixelEffect name to ShaderEffect, added lua-side support for vert/frag shader combinations with love.graphics.newShaderEffect, added tentative support for single-file vertex+fragment shaders
2012-12-20 21:51:31 -04:00
Bart van Strien
68a895e7c6
Catch errors in love.font.newRasterizer, add luax_pconvobj which pcalls, allowing love.graphics.newFont to clean up before re-erroring
2012-12-15 14:26:46 +01:00
Bart van Strien
82ea98aa65
Disable Data:getPointer (issue #520 )
2012-12-15 14:13:23 +01:00
Bart van Strien
8867f6c329
Merge in default
...
--HG--
branch : minor
2012-10-14 17:23:35 +02:00
vrld
8ba6c2b523
Fix typos and compiler warnings (see comments to 2b3afd95a23f).
2012-09-11 14:29:05 +02:00
vrld
50fd169e07
Add random([[min], max]) and random_normal([o]).
...
Little helpers for drawing numbers from bounded uniform and Gaussian
distributions.
2012-09-10 19:45:54 +02:00
vrld
e9dcc16f16
Don't throw exception when loading module in thread.
...
The module registry throws an exception when trying to register a module
instances if an instance is already registered under the same name. This
backfired in love.thread when requiring love-modules.
2012-09-10 12:39:37 +02:00
vrld
1fd12e4596
Add Module::registerInstance() and Module::getInstance().
...
Module::registerInstance() registers a module instance which can later
be retrieved using Module::getInstance().
registerInstance() is called in luax_register_module().
getInstance() expects the full name (as returned by Module::getName())
of the requested module.
2012-08-05 16:03:37 +02:00
Bart van Strien
777e97de2e
Make Channels more thread-safe (I know, I know..)
...
--HG--
branch : minor
2012-07-04 20:22:54 +02:00
Bart van Strien
399a6a6614
Merge in channels from love-experiments
...
Rewritten love.thread and changed communication
method from weird system before, to channels.
--HG--
branch : minor
2012-07-04 17:15:16 +02:00
Bart van Strien
7793e7f02f
CRLF to LF
2012-07-04 14:40:24 +02:00
Marc Lepage
b788d379d4
Change delete to delete[] to match new[].
2012-07-02 02:09:04 -04:00
rude
81c38e22d0
Applied the new style guidelines.
...
Well, sort of. Lot's more to be done, but this is a start.
2012-06-28 23:52:33 +02:00
Bart van Strien
54e4d2da9a
Fix endianness check for ppc on gcc
2012-05-09 15:30:30 +02:00
Marcus Comstedt
82fb48738d
Use configure.in to test for endianness on UNIX
2012-05-08 16:12:33 +02:00
Bill Meltsner
d5b89886b6
Switch back to Clang for Mac OS X compilation, and add a new legendary hack to ensure it still runs on Leopard.
2012-03-02 19:00:03 -05:00
Bart van Strien
fbfd20a142
Move the references from _G to the registry
2012-01-12 11:24:05 +01:00
Bill Meltsner
be55579a22
Happy New Year, have an enormous diff
2012-01-09 02:41:11 -06:00
Bart van Strien
e0b420c988
Properly export love modules to lua, package.loaded is correct now
2012-01-07 14:08:41 +01:00
Bart van Strien
f72e61be06
Optimize string->enum conversion (issue #345 , thanks Kai)
2011-12-29 13:06:12 +01:00
Bart van Strien
cd330783f0
Apparently some compilers hate macros being redefined..
2011-12-27 23:04:50 +01:00
Bart van Strien
864c800e10
Fix some warnings
2011-12-27 21:25:06 +01:00
Bill Meltsner
ce682a45c6
add config.h #include to int.h
2011-12-22 02:43:58 -06:00
Bart van Strien
47561e8b14
Hopefully add cross-platform (u)int types:q
2011-12-20 20:53:26 +01:00
Bart van Strien
083dd11185
Switch to a custom event system, where SDL pumps into
...
To do this we needed to take ThreadVariant out of love.thread, and move it to common.
This also changes event names, instead of 1/2-letter abbreviations, full names!
2011-12-13 17:50:38 +01:00
Bart van Strien
0aae9684b3
Automated formatting fix
2011-11-16 11:32:41 +01:00
Bart van Strien
2fafab9a0e
Add luax_checkstring/pushstring functions that handle inline \0 characters
2011-11-15 21:37:11 +01:00
vrld
7eef68f4ec
Remove printing exception message to stderr.
2011-11-12 21:24:08 +01:00
vrld
7a513e1434
Make love::Exception safe(r).
...
Now allows exceptions of arbitrary length.
Now allows catching a non-reference, i.e. catch(love::Exception e).
2011-11-12 21:11:41 +01:00
vrld
aedf532cdc
Fix 3/4 of issue #327 : memory allocation issues.
2011-11-08 23:22:48 +01:00
Bill Meltsner
7a15953595
Add cstddef include so certain compilers don't complain about NULL not being declared
2011-10-13 12:38:19 -05:00
Bill Meltsner
57f9cf439e
Add LOVE_UNUSED macro to stamp out all those "unused parameter" warnings
2011-10-12 14:03:38 -05:00
Bill Meltsner
d40b25c1e6
Hindenmerge
2011-10-12 13:40:56 -05:00
Bill Meltsner
14348f6146
Create DrawQable class, make Image and Canvas DrawQable, and make love.graphics.drawq take a DrawQable as its first argument
2011-10-04 12:33:34 -04:00
Bart van Strien
9425c56de8
Null terminate version compatibility list
2011-10-04 15:19:17 +02:00
Bart van Strien
bd2172f826
Update version keeping
2011-10-02 17:00:09 +02:00
Bill Meltsner
d35dbaa28b
Add __eq metamethod to all objects (checks to see if the Proxy data they represent are equal)
...
--HG--
branch : box2d-update
2011-09-24 11:58:24 -04:00
Bill Meltsner
2e1b941bd6
Add Memoizer class
...
--HG--
branch : box2d-update
2011-09-24 11:51:06 -04:00
Bill Meltsner
71abae06c7
Implement Fixture class properly.
...
--HG--
branch : box2d-update
2011-09-23 18:01:40 -04:00
Bart van Strien
dc873c24f0
Some exception cleanup
2011-09-11 22:55:34 +02:00
Bill Meltsner
915e3e9d86
Updated to Box2D 2.2, added new joints, some other updates to match the API changes (still plenty more to go though)
...
--HG--
branch : box2d-update
2011-09-03 15:39:32 -04:00
Bart van Strien
09367dc3bd
Make love loaders the first 2, preventing lua loaders from loading the wrong files (issue #283 )
2011-08-22 18:04:19 +02:00
vrld
28b4008797
Rename Framebuffer to Canvas (issue #263 ). Move error reporting code.
...
Error reporting now resides in Graphics::newCanvas() instead of the
previous location wrap_newFramebuffer(). Changed error text for
"Error in implementation" to point to a possible fix.
2011-08-12 14:41:18 +02:00
rude
e1d1ebb2f1
Fix warnings in MSVC 2010.
2011-07-24 18:32:11 +02:00