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
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
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
vrld
24a52f056b
Add pixel effects (love-glsl)
2011-07-24 14:03:46 +02:00
vrld
d420d68048
Add shear transformation and transform object (issue #152 ).
...
Add origin parameters to love.graphics.print.
New shear parameters kx,ky for:
- love.graphics.draw,
- love.graphics.drawq,
- love.graphics.print,
- SpriteBatch:add,
- SpriteBatch:addq.
Transform objects apply to:
- love.graphics.draw,
- love.graphics.drawq,
- love.graphics.print.
2011-07-05 14:33:34 +02:00
Bart van Strien
a012a4408e
New no-game screen (credits go to rude), updated version number and codename
2011-06-23 17:08:26 +02:00
Bart van Strien
3460bf918c
Enabled headless build in autotools
2011-06-08 17:14:41 +02:00
Przemysław Grzywacz
1d5fca6f46
Multiple thread backends.
2011-06-08 16:54:35 +02:00
Bill Meltsner
2e9e5a1502
make po2 stuff better
2011-05-15 16:33:38 -04:00
Bill Meltsner
2e675a40c0
do a bit of type cleanup
2011-05-08 18:41:42 -04:00
Bart van Strien
4fd9888a16
Merge in minor branch, now minor is our next development target
2011-05-07 14:12:41 +02:00
Bill Meltsner
61af1dfe27
Nuke MemoryData, as it's been superseded by base64
...
--HG--
branch : minor
2011-03-28 10:28:45 -04:00