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
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
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
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
b1dac7f381
EncodedImageData was implemented really stupidly. Now it's less stupid.
2010-04-11 23:09:29 -04:00
Bill Meltsner
73aba4bdd4
eliminated a whole bunch of gcc warnings
2010-02-09 13:21:25 -05: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
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
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
477d5a05b8
Updated love.font, and added Glyph object in love.graphics.
2009-07-30 21:43:00 +02:00
rude
dcb3dfd83d
Initial Mercurial commit.
2009-07-26 15:46:49 +02:00