Commit Graph

54 Commits

Author SHA1 Message Date
Alex Szpakowski 668a1bfa6d Silenced some compiler warnings 2013-02-09 21:24:41 -04:00
Alex Szpakowski 96161c66f6 Updated copyright text for the new year 2013-02-05 05:32:49 -04:00
Alex Szpakowski 09ee533cea Cleaned up TrueType Rasterizer code 2013-01-27 17:18:11 -04:00
Alex Szpakowski 383bed8098 Use const references for string function arguments 2013-01-23 15:28:11 -04:00
Alex Szpakowski 191af5cd5b Minor cosmetics 2013-01-23 06:26:17 -04:00
Alex Szpakowski 76b0537eff ImageFonts now replace the spacer color with transparency when generating a glyph instead of when first parsing ImageData (source ImageData used to generate an ImageFont is now unmolested.) 2013-01-23 06:00:28 -04:00
Alex Szpakowski 6247e7b60b Removed silly exception case 2013-01-23 03:15:49 -04:00
Alex Szpakowski e51a9eb25d Added support for UTF-8 ImageFont glyphs and ImageFonts with more than 256 characters 2013-01-23 03:02:46 -04:00
Alex Szpakowski 022f549554 Use unsigned ints instead of unsigned shorts to represent UTF8 font glyphs 2013-01-22 23:43:35 -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 63daffb22f Correctly set the spacing for the last character in an ImageFont as well 2012-08-21 15:18:12 +02:00
Bart van Strien 7793e7f02f CRLF to LF 2012-07-04 14:40:24 +02: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
Bill Meltsner be55579a22 Happy New Year, have an enormous diff 2012-01-09 02:41:11 -06:00
Bart van Strien c707a4ca45 Properly export all lua-facing functions and use those for initialization (love.cpp no longer explicitly mentions implementations) 2011-12-24 01:10:40 +01:00
Bart van Strien 0aae9684b3 Automated formatting fix 2011-11-16 11:32:41 +01:00
Bart van Strien 49ec65dbf3 Oops, didn't have a clean tree 2011-11-05 23:17:32 +01:00
Bart van Strien d8666202cd Improve compatibility check (I still can't believe robin was right) 2011-11-05 22:07:15 +01:00
Bill Meltsner a763fc8863 some more cleanup 2011-05-08 18:50:01 -04: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
Bart van Strien b4139ffab5 Rename loaders to fit their locations
--HG--
branch : minor
2011-03-13 20:25:35 +01:00
Bill Meltsner 9d38cba626 brutally murdered padding and predefined glyph loading
--HG--
branch : newfont
2011-03-05 23:37:36 -05:00
Bill Meltsner 94b4319878 trashed old unnecessary font stuff - compiles, but obviously will not work yet
--HG--
branch : newfont
2011-03-05 23:17:36 -05:00
Bill Meltsner fde708160e bringing in the new year by changing every 2010 to 2011 2011-01-15 14:40:27 -06:00
Bill Meltsner 938f395a51 Fixed a bug with ImageFonts and chars > 127 2011-01-08 20:56:30 -06:00
Bill Meltsner 417c20e6fa upgraded Mac freetype to 2.4.3, now using a custom freetype framework that's set up much more nicely (and is actually slightly smaller!) 2010-11-10 22:27:57 -05:00
Bill Meltsner 54f7a83662 made truetype fonts use luminance-alpha format for their data instead of rgba (thus halving their memory requirements) 2010-11-09 19:10:04 -05:00
Bill Meltsner 37baf32374 changed LUMINOSITY_ALPHA to LUMINANCE_ALPHA (more consistent with opengl's phrasing) 2010-11-09 19:07:51 -05:00
Bart van Strien 7e318cc9b2 Let's hope I finally smashed those mem leaks 2010-09-18 20:22:29 +02:00
Bart van Strien 2b273c0081 Hopefully fixed more memory leakage in fonts 2010-09-18 10:07:52 +02:00
rude 8c721ceb6a Some small fixes to make LOVE compilable in MSVC2010. 2010-09-05 12:05:05 +02:00
Bill Meltsner 046f2a3084 Fixed some bugs with font drawing and reverted the display list change - it was causing problems with multiple fonts 2010-08-28 11:42:37 -05:00
Bill Meltsner e937ab2d68 fixed gcc warnings with regard to initialization order in GlyphData 2010-08-26 10:36:07 -05:00
Bart van Strien b3799b52e6 Fixed anjo's freeing issues & hopefully padding works 2010-08-26 17:25:34 +02:00
Bill Meltsner 6c456ea93b fixed scalar vs. vector delete issue in GlyphData::pad 2010-08-25 17:54:19 -05:00
Bill Meltsner c06d5c3263 hopefully padded fonts so that people with crappy graphics cards can still see them - this needs testing, though 2010-08-19 13:41:19 -05:00
bart@bartbes.ath.cx 3d726b0dd9 Added mutexes to the GC and made tip buildable again on linux 2010-05-20 17:31:07 +02:00
Bill Meltsner f8f812a719 did a bunch of other stuff, sorry about the monolithic changeset but the diffs should be understandable enough 2010-04-15 10:19:01 -04:00
Bill Meltsner 76dc50a419 Made font module officially properly exposed to Lua 2010-04-15 10:17:42 -04: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 e5c3f3ae02 Added FontData class, preparing for overhauling love.graphics' Font class 2010-04-14 20:31:36 -04:00
Bill Meltsner 7c33786100 fixed a ridiculous number of gcc warnings, nearly all of which were complaints about unused parameters - the remaining 199 warnings I get are from code that isn't ours (box2d is responsible for all but 8 of them) 2010-02-26 03:55:21 -05:00
bart@bartbes.ath.cx 736f7ab1a2 love.thread can now share full userdata 2010-02-14 17:41:11 +01:00
Bill Meltsner 3ebcee1e17 fixed a bug in ImageRasterizer's constructor where it wasn't using the ImageData passed to it 2010-02-09 13:20:40 -05:00
rude aa01c984b9 Updated all dates to 2010. 2010-01-31 16:54:47 +01:00
bill@localhost 6853f8374e made building from source on OS X a hell of a lot easier - no more .dylibs, and all the header files are contained in the frameworks (as they should be!) 2009-11-01 22:09:23 -06: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
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
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