Bart van Strien
360c190ef7
Move po2ifying to Image, Quads broken at the moment
2011-05-15 23:31:12 +02:00
Bill Meltsner
2e9e5a1502
make po2 stuff better
2011-05-15 16:33:38 -04:00
Bart van Strien
af809ab210
Switch to bitwise ops to po2ify
2011-05-15 22:10:17 +02:00
Bart van Strien
cf60754ef0
Make love.image automatically pad ImageData (and thus all images) to PO2.
...
Two notes:
- I don't think I ever clear the textures, so are they only transparent by coincidence?
- Maybe it's best if we surround the actually po2-ifying with ifs if we ever find a way to test if it's needed.
2011-05-13 15:55:41 +02:00
Bart van Strien
4fd9888a16
Merge in minor branch, now minor is our next development target
2011-05-07 14:12:41 +02:00
Bart van Strien
316ca607df
Oops
2011-04-23 19:18:05 +02:00
Bart van Strien
d60ad99da1
Prevent old DevIL errors from causing love errors
2011-04-23 19:16:17 +02:00
Bart van Strien
cdf85280b6
Fix 2 compiler warnings
2011-04-08 09:12:30 +02:00
Bart van Strien
d55941f7fa
No more crashes when there is no memory for newImageData (issue #209 )
2011-04-07 19:22:55 +02:00
rude
3fe9b2ff16
Reverted module selection feature. This is not really desired.
...
Users (or lovers) do not get to choose which implementation of
a module they would like to use.
The abstraction is for dealing with portability issues, not
for giving people the ability to choose an alternative
(inferior) backend. The best choice for any platform/situation
should at all times be the *default* for that platform/situation.
If this is not the case; it's a bug (that is easily fixed).
Any module should provide the functionality promised in the docs.
The lover (or user) should not care how, and if [s]he does, [s]he
does still not get to choose.
Also, a related note: duplication of wrapper code is something I
especially wanted to avoid when I first (or should I say ...
"eventually") formed the current architecture.
--HG--
branch : minor
2011-03-26 17:06:05 +01:00
Bill Meltsner
cee7a4ccdb
Removed EncodedImageData, added three new encoded image formats, and changed the way screenshots work - saving screenshots will be broken until we have some way of flipping ImageData, though
...
--HG--
branch : minor
2011-03-19 23:41:07 -05:00
Bart van Strien
b4139ffab5
Rename loaders to fit their locations
...
--HG--
branch : minor
2011-03-13 20:25:35 +01:00
Bart van Strien
ff387790ce
Move luaopen_love_image from love.image to love.image.devil
...
--HG--
branch : minor
2011-03-13 19:51:08 +01:00
Bill Meltsner
f512bd192f
added TGA alpha support as per Boolsheet's patch in issue #156
2011-02-11 11:40:37 -05:00
Bill Meltsner
fde708160e
bringing in the new year by changing every 2010 to 2011
2011-01-15 14:40:27 -06:00
vrld
c5eb50d0d5
Fix issue #158 by forcing the image origin to be upper left.
2011-01-09 18:24:02 +01:00
Bart van Strien
8ae53765c7
Images are now bound before they are encoded ( fixes #95 )
2010-10-23 18:24:52 +02:00
Bill Meltsner
9a76ac7bea
You can no longer access out-of-range pixels in ImageData
2010-10-19 17:15:27 -04:00
Bart van Strien
2107f6810b
Fixed memory leak in EncodedImageData, thanks Michael R
2010-09-07 17:16:58 +02:00
Bill Meltsner
e3a5aacd5a
Overhauled ImageRasterizer, fixed a bunch of other crap, getting ready to poke around in love.graphics
2010-04-14 21:51:35 -04:00
Bill Meltsner
b1dac7f381
EncodedImageData was implemented really stupidly. Now it's less stupid.
2010-04-11 23:09:29 -04:00
rude
78c783bb57
Fixed ImageFont.
2010-03-03 20:38:21 +01:00
bart@bartbes.ath.cx
736f7ab1a2
love.thread can now share full userdata
2010-02-14 17:41:11 +01:00
Bill Meltsner
73aba4bdd4
eliminated a whole bunch of gcc warnings
2010-02-09 13:21:25 -05:00
rude
72efaa283f
Fixed crash on attempt to open non-existent file.
2010-02-03 20:48:58 +01:00
rude
aa01c984b9
Updated all dates to 2010.
2010-01-31 16:54:47 +01:00
rude
435fc43f68
Fixed love.keyboard.setKeyRepeat, fixed issues with Body:getWhatever, and made the save directory settable.
2009-10-29 22:34:54 +01:00
rude
87e3c4131c
Finally abstracted constants properly. Changed how the event module works; wasn't really abstract before. Removed libs we're not going to use: native, signal.
2009-10-10 11:11:04 +02:00
bill@Ixion
cc90e43464
Fixed some more warnings/errors
2009-09-06 12:53:26 -05:00
bill@Ixion
716830882d
Fixed some sign issues in ImageData
2009-09-06 11:29:17 -05:00
bill@Ixion
81c4f69148
Fixed errors and warnings on Linux (and probably Windows, just not Mac for some reason...)
2009-09-06 02:43:18 -05:00
bill@Ixion
e21ce73554
now supports encoding to BMP as well as TGA, hooray
2009-09-05 14:07:05 -05:00
rude
3c2bd1bd9c
Fixed epic bug in runtime.cpp causing non-Lua-owned objects to be released by Lua GC.
2009-09-05 16:14:52 +02:00
bart@bart
41a7c11f9f
Fixed a few errors, buildable again
2009-09-04 08:49:39 +02:00
bill@Ixion
3655c9caae
Lots changed: ImageData can now encode itself to any format you like as long as it's tga, love.filesystem can now write data to files, added EncodedImageData class.
2009-09-04 00:34:13 -05:00
bill@Ixion
4d2994e05f
Fixed up love.graphics.newScreenshot() to return a right-side up image without breaking abstraction layers.
2009-09-02 20:42:38 -05:00
rude
623e701549
Modules now reside in Lua and are treated (almost) like normal objects.
...
Also added a way of getting a pointer to abstract module instances internally.
2009-09-02 21:18:13 +02:00
bill@Ixion
cece5fe625
readded support for screenshots - love.graphics.newScreenshot() returns ImageData that can be manipulated as one pleases
2009-09-01 03:56:00 -05:00
rude
579f9c75db
Embedded nogame screen into binary and exposed version info.
2009-08-15 12:48:32 +02:00
rude
dd420d68a3
Ok, project generation didn't really work out. Reverted.
2009-08-10 21:33:07 +02:00
rude
ba1a75e547
Added many comments, and changed function names for wrapper functions.
2009-08-09 21:08:55 +02:00
rude
8e681b4204
It's now possible to build each module individually (as a DLL).
2009-08-04 19:57:14 +02:00
rude
477d5a05b8
Updated love.font, and added Glyph object in love.graphics.
2009-07-30 21:43:00 +02:00
rude
0c241a14fb
Added resources, and changed slightly how wrappers expose functions.
2009-07-30 00:37:43 +02:00
rude
dcb3dfd83d
Initial Mercurial commit.
2009-07-26 15:46:49 +02:00