Commit Graph

2424 Commits

Author SHA1 Message Date
Bill Meltsner cbff71d089 New font engine is implemented and appears to work perfectly. Bugs may be discovered and the internals can certainly be optimized and improved (at some point, perhaps, a less naive packing algorithm would be nice) but for now, it's good to go.
--HG--
branch : newfont
2011-03-06 05:02:35 -05: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 ee282759e6 merge default into minor
--HG--
branch : minor
2011-03-05 22:13:48 -05:00
Bart van Strien 761c11427c Finally fixed fused games (thanks Boolsheet) 2011-03-05 15:43:47 +01:00
Bart van Strien bac51446a7 Only remove trailing /. in paths (bug #194) 2011-03-03 09:46:52 +01:00
vrld c3cfff987c More sensible volume settings for Modpluggable files. 2011-03-01 20:11:30 +01:00
vrld a13b792a5c Revert to last commit, as msvc is stuck in the last millenium 2011-02-22 11:15:27 +01:00
vrld 08259a4a0e Change auto.lua to create plaintext instead of hex code. 2011-02-20 23:34:48 +01:00
vrld 8581efae07 Change auto.lua to remove comments and unneeded whitespaces before converting to hex 2011-02-20 22:03:14 +01:00
Bart van Strien 610b89cd19 Handle PHYSFS_fileExists failing with empty strings on windows 2011-02-20 01:00:27 +01:00
Bart van Strien 18ca165718 Fix fused games 2011-02-20 00:58:15 +01:00
Bart van Strien 453593c9b0 Catch some more file-opening exceptions and make them lua errors instead 2011-02-18 16:10:20 +01:00
Bart van Strien 31f8c68b4b Fixed more locking issues in love.thread 2011-02-11 20:41:03 +01:00
Bart van Strien fd34409bd4 Peek gets locks too 2011-02-11 19:50:34 +01:00
Bart van Strien eee4e0576c Ahem.. meeerge 2011-02-11 18:58:26 +01:00
Bart van Strien 28c49d8fb4 getThreads now indexes with the names again 2011-02-11 18:53:23 +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
Bart van Strien 600dbaad69 Update version information for nearing 0.7.1 release 2011-02-11 15:45:31 +01:00
Bill Meltsner e3e4ae17d8 love.graphics.setFont no longer explodes when passed a nonexistent file (fixes issue #177) 2011-02-02 21:07:21 -05:00
vrld 64b6232c9a Reinitialize event system (via SDL_INIT_VIDEO) in Graphics::setMode(). 2011-01-31 20:27:42 +01:00
vrld d25a3a36ce Revert reverting 8d29d4ca285e. 2011-01-30 16:25:55 +01:00
vrld e7db8c2491 Fix issue #176: unexpected behaivior of love.graphics.line with hash-table argument. 2011-01-30 16:20:31 +01:00
Bart van Strien 04aa189d22 Didn't compile, totally my fault 2011-01-30 00:34:28 +01:00
Bart van Strien 10524be1c8 Fix toggleFullscreen 2011-01-30 00:29:08 +01:00
Bart van Strien 65c464fc7c Allow width and height 0 in love.conf (issue #175) 2011-01-27 22:14:27 +01:00
Bart van Strien db1a2d12ff Add dead key support by exposing the "unknown" key 2011-01-26 16:06:14 +01:00
vrld 1c7e34715b Add NULL initializers for pointers.
Constructing invalid shapes, e.g. a rectangle with width 0, could result
in a b2Assert to fail. In turn, Shape::~Shape tried to destroy a the shape
with an uninitialized pointer, yielding a segfault. Add NULL-initializers
and checks for NULL to prevent this.
2011-01-25 13:24:39 +01:00
Bart van Strien f7bcb3e146 Revert that last commit, the wrappers already handle the offset
--HG--
branch : minor
2011-01-17 11:22:59 +01:00
Bart van Strien df50a6e4c5 Handle invalid index in love.joystick, but then 1-indexed (bug #172)
--HG--
branch : minor
2011-01-17 11:10:46 +01:00
Bart van Strien 677df8d4f0 Merge 'default' into 'minor'
--HG--
branch : minor
2011-01-17 11:08:58 +01:00
Bart van Strien 98406370eb Gracefully handle negative indexes in love.joystick (bug #172) 2011-01-17 11:04:02 +01:00
Bart van Strien 6acacffb66 Threads get/set instead of send/receive (issue #166)
--HG--
branch : minor
2011-01-15 22:26:16 +01: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 a6a1e91976 mp3s sampled at rates other than 44.1KHz will play properly now (fixes issue #170) 2011-01-15 14:32:02 -06:00
Bill Meltsner 4479e8dfc4 removed user-specified sample rates for Decoders 2011-01-15 14:29:10 -06:00
vrld 0af7e9e0d8 Fix issue #169 by courtesy of lukaszbruun.
Calling Source::stop() in Source::~Source() could result in a infinite
recursion when Pool::removeSource released the source object.
2011-01-12 22:55:29 +01:00
rude 9d108d2bde Added missing lua_strlen to ThreadVariant construction. MSVC coerced the 'const char*'-argument into the bool version of the constructor, causing the wrong function to be called. 2011-01-09 16:36:13 +01:00
rude 31c9995082 Fixed some type conversion warnings in VC. Mostly float <-> int and bool <-> int. 2011-01-09 16:28:30 +01:00
vrld c5eb50d0d5 Fix issue #158 by forcing the image origin to be upper left. 2011-01-09 18:24:02 +01:00
vrld b9b2c4a962 Rewrite Graphics::printf, fixes issue #107
Rewrote the complete logic to not operate on chars, but on lines and
tokens. Uses std streams, iterators and algorithms.
2011-01-09 16:27:19 +01:00
Bill Meltsner 938f395a51 Fixed a bug with ImageFonts and chars > 127 2011-01-08 20:56:30 -06:00
Bart van Strien dcf3dd85fa Merge... 2011-01-09 01:19:33 +01:00
Bart van Strien 571e401605 Changed int64_t to PHYSFS_sint64.
Because apparently some strange compilers can't do int64_t...
Oh, and I forgot to include the header, but that is totally unrelated, I promise!
2011-01-09 01:17:05 +01:00
vrld 3587cd4320 Fix issue #165 and part of #129 2011-01-07 14:42:51 +01:00
vrld e3067ff33d Fix issue #136 - Filter for Imagefonts. 2011-01-07 14:08:10 +01:00
Bart van Strien aa7ec54121 Add love.filesystem.getLastModified (issue #163) 2011-01-06 22:54:51 +01:00
Bart van Strien 675e91dbc8 Make love.joystick 1-indexed
--HG--
branch : minor
2011-01-04 01:09:32 +01:00
Bart van Strien 089da5b08d More race conditions, what fun 2011-01-03 22:19:24 +01:00
vrld 28df1edf03 Code cleanup: remove unnecessary `print' routines 2011-01-02 22:58:53 +01:00