Commit Graph
100 Commits
Author SHA1 Message Date
rxi 610e091adf Changed tar mount in filesystem.c to use struct TarMount 2016-10-01 10:36:37 +01:00
rxi f3691254c7 Updated microtar
Exposes mtar_seek() function
2016-10-01 10:24:09 +01:00
rxi d6878e534d Update doc/files.md for package.c/h 2016-10-01 10:04:09 +01:00
rxi b560179fca Changed love.timer.getTime() to call uclock() directly 2016-10-01 01:28:35 +01:00
rxi 3d8aff7cf0 Minor clarity improvement on string concat in filesystem's tar_find() 2016-10-01 01:02:12 +01:00
rxi d5b3aa0f4a Changed deinit() to suppress dmt_dump() if dmt_usage() is 0 2016-10-01 00:43:05 +01:00
rxi cb61fa1ecd Added packaging functionality, added packaged exe support to filesystem
Adds package.c and package.h. Adds support for the `--pack` argument for
packing a project directory into an exe or tar file.
2016-10-01 00:38:37 +01:00
rxi 0506b3b0ca Added missing copyright header comment to palette.c/h 2016-09-30 20:55:57 +01:00
rxi e99677a5b9 Added proper mounting to boot.lua; added nogame state
Removed temporary "." mounting from main.c
2016-09-30 20:07:38 +01:00
rxi 747c92d002 Added setting of custom package.path to boot.lua 2016-09-30 19:06:03 +01:00
rxi 1e830e47d2 Changed build script to use -O2 instead of -O3 2016-09-29 21:39:34 +01:00
rxi 43d115fc08 Added filesystem-compatible package loader to boot.lua script 2016-09-29 21:18:18 +01:00
rxi 9adc76c415 Updated doc/files.md for file changes 2016-09-29 20:37:34 +01:00
rxi 94b4c00126 Updated doc/api.md for love.load() changes 2016-09-29 20:36:53 +01:00
rxi 7f965cc245 Added storing of argv to love.argv, added args arg to love.load() 2016-09-29 20:36:16 +01:00
rxi 3fcaa3d86f Moved embedded boot script from main.c to src/embed/boot.lua 2016-09-29 20:07:25 +01:00
rxi f30e2e2c54 Updated build.py to handle embed src dir; moved embedded font to dir 2016-09-29 20:04:04 +01:00
rxi 0f97340b7d Changed Font to load using filesystem 2016-09-29 19:23:12 +01:00
rxi 0559ff7af7 Changed Image to load using filesystem 2016-09-29 19:22:45 +01:00
rxi 2689bfc2fa Added filesystem module 2016-09-29 19:22:29 +01:00
rxi a20901c2ba Added microtar to src/lib 2016-09-29 19:21:34 +01:00
rxi a4705bffd1 Simplified keyboard interrupt handler, fixed keyboard key states 2016-09-27 19:47:25 +01:00
rxi 475fe50780 Added rounding on font height / yoffset when initing font 2016-09-27 19:45:45 +01:00
rxi 4cf83a2280 Fixed KeyEvent's isrepeat always being set true 2016-09-26 21:31:16 +01:00
rxi 6e8b552634 Updated doc/api.md for Image:setPixel/getPixel() 2016-09-26 21:13:03 +01:00
rxi 79da745e2e Changed Image:getPixel/setPixel to use rgb colors 2016-09-26 21:04:47 +01:00
rxi 3df8a0d8c2 Fixed bounds check in image_setPixel/setMaskPixel 2016-09-26 21:00:56 +01:00
rxi 5112373338 Made image_setPixel() static inline; added image_setMaskPixel() 2016-09-26 20:40:22 +01:00
rxi 030695e0db Removed Image:mapPixel(), updated doc/api.md 2016-09-26 20:33:58 +01:00
rxi 2d05d16db9 Added palette_idxToColor and internal palette storage 2016-09-26 20:25:10 +01:00
rxi eee7fccb82 Renamed palette_colorIdx -> palette_colorToIdx 2016-09-26 20:14:17 +01:00
rxi 9ef23e88d7 Updated doc/api.md for keyboard changes 2016-09-25 21:16:44 +01:00
rxi 71ef28fb45 Added love.keyboard.setKeyRepeat(), disabled key repeat by default 2016-09-25 21:12:09 +01:00
rxi 76a3cb0b61 Added enums for KeyEvent type in keyboard.c 2016-09-25 21:05:04 +01:00
rxi 06cb68125a Added keyrepeat support to keyboard 2016-09-25 21:00:43 +01:00
rxi d9ddfea4df Added love.textinput() to doc/api.md 2016-09-25 15:02:46 +01:00
rxi fff7840c57 Updated doc/api.md for keyboard changes 2016-09-25 15:01:34 +01:00
rxi 7cee8f6854 Changed love.keyboard.isDown() to accept string args 2016-09-24 23:45:59 +01:00
rxi ccb011be2d Fixed scancodeMap key string for return 2016-09-24 20:45:24 +01:00
rxi 2b8b0e77d4 Fixed scancodeMap key strings for f12 and space 2016-09-24 19:53:55 +01:00
rxi f17b39868e Implemented love.textinput callback 2016-09-24 19:45:35 +01:00
rxi 7a1feba973 Updated README.md for keyboard changes 2016-09-24 17:05:20 +01:00
rxi bafcc12c95 Changed keyboard callbacks to pass key aswell as scancode 2016-09-24 17:04:38 +01:00
rxi d03e297a9a Fixed love.errhand() -- replaced use of getEvents() with poll() 2016-09-24 13:49:04 +01:00
rxi f75e1100aa Updated doc/api.md for love.errhand() 2016-09-24 13:34:36 +01:00
rxi 45e5b32ce4 Removed redundant line from mouse_init() 2016-09-24 12:48:54 +01:00
rxi ed0d0f6c42 Removed deinitVGA() from system module 2016-09-24 11:51:41 +01:00
rxi 203639380d Added mouse functions to doc/api.md 2016-09-24 11:47:23 +01:00
rxi 10bdc31e00 Updated callback section of doc/api.md 2016-09-24 11:38:22 +01:00
rxi 4b7797ab2a Updated comments in main.c 2016-09-24 11:32:33 +01:00
rxi 09e5bb0628 Renamed getEvents() -> poll() on love.mouse/keyboard
Rolled love.mouse.update() into love.mouse.poll()
2016-09-24 11:02:49 +01:00
rxi c8453c6f60 Implemented love.mouse.getEvents() and mouse callbacks 2016-09-24 10:58:02 +01:00
rxi dd44e8d1a0 Added mouse module (love.mouse), updated doc/files.md 2016-09-24 10:42:22 +01:00
rxi 9a72cddbc9 Switched palette's internal state vars from static 2016-09-24 09:36:30 +01:00
rxi 1d4cdae599 Updated doc/api.md for color functions and graphics.draw() changes 2016-09-24 09:14:16 +01:00
rxi e52457435a Updated doc/api.md for Font changes 2016-09-24 09:11:32 +01:00
rxi 7590092792 Update doc/files.md for embedded font changes 2016-09-24 01:21:22 +01:00
rxi b407535680 Boot script tweaks; Implemented proper errhand function 2016-09-23 20:56:55 +01:00
rxi 46989c8bfd Made x, y arguments to love.graphics.draw() optional 2016-09-23 20:04:42 +01:00
rxi dcb909b7ba Added support for linebreaks in font_blit (effects love.graphics.print) 2016-09-23 19:33:17 +01:00
rxi 1940897a4a Implemented Font:getWidth/getHeight() 2016-09-23 19:23:56 +01:00
rxi 9ed8ca8f01 Updated love.graphics.clear() to use new color format 2016-09-23 19:12:58 +01:00
rxi 10d491def9 Changed getColorFromArgs to take defaults array, and either all colors or non 2016-09-23 19:10:33 +01:00
rxi 963cb01ff0 Updated love.graphics.newFont() in doc/api.md 2016-09-23 01:00:25 +01:00
rxi 06caffd3ab Changed font system to use ttf 2016-09-23 00:55:05 +01:00
rxi 0bc06fca53 Added stb_truetype to src/lib 2016-09-22 22:16:26 +01:00
rxi 17d17a80df Fixed red and blue channels being swapped in palette.c 2016-09-22 19:59:59 +01:00
rxi 6ec66adf57 Updated doc/api.md for setColor/setBackgroundColor 2016-09-22 19:56:49 +01:00
rxi b73dea5350 Changed setColor and setBackgroundColor to take rgb arguments 2016-09-22 19:55:16 +01:00
rxi b42866dbe8 Updated copyright year 2016-09-22 19:31:05 +01:00
rxi 2d9652945c Improved color palette error in image.c 2016-09-22 19:29:01 +01:00
rxi 6346163e48 Updated docs for function changes and addition of palette.c/h 2016-09-22 19:25:49 +01:00
rxi a285efbc3d Changed image_init() to use stb_image and palette functions 2016-09-22 19:18:50 +01:00
rxi 7848c10af9 Removed palette changing functionality from graphics.c 2016-09-22 19:15:11 +01:00
rxi 92511f0132 Added palette.c/h and palette_init() call in main.c 2016-09-22 19:11:56 +01:00
rxi d572c661fd Updated compiler flags in build.py 2016-09-22 19:10:53 +01:00
rxi 89eed6001b Added stb_image to source 2016-09-22 19:09:16 +01:00
rxi 521b7dabef Version 0.1.5 2014-06-28 11:04:52 +01:00
rxi 1fb0aa3235 Reworded parts of the README.md 2014-06-24 23:33:59 +01:00
rxi 73540b5e09 Fixed off-by-one in l_graphics_circle()'s horiz clipping 2014-06-24 23:07:03 +01:00
rxi 352c2824bf Added missing vga.h to doc/files.md 2014-06-23 20:13:53 +01:00
rxi 68664405d2 Added handling for uclock() returning earlier time
On some systems the call to uclock() would sometimes return a slightly
earlier time than the previous call, this would result in a negative
delta time. This is now checked for and uclock() is now called
repeatedly until we have a valid delta time.
2014-06-23 19:53:17 +01:00
rxi 3b100b4c9b Version 0.1.4 2014-06-21 00:50:30 +01:00
rxi 78ab841f78 Replaced use of luaL_getinteger() with getint() in graphics.c 2014-06-21 00:49:15 +01:00
rxi 579c06a617 Updated doc/api.md for love.graphics.setPalette() 2014-06-21 00:18:14 +01:00
rxi 58bacfe1d1 Changed love.graphics.setPalette() to set to default on nil 2014-06-21 00:16:01 +01:00
rxi 7961091853 Updated README.md to reflect addition of palette funcs 2014-06-21 00:07:26 +01:00
rxi c09cecb25b Added love.graphics.get/setPalette() to doc/api.md 2014-06-21 00:02:50 +01:00
rxi 785f3e3646 Added love.graphics.getPalette() 2014-06-21 00:01:39 +01:00
rxi 255a426cda Added palette table support to love.graphics.setPalette() 2014-06-20 22:55:05 +01:00
rxi 57688a1e57 Added love.graphics.setPalette() function 2014-06-20 21:30:23 +01:00
rxi 27f128c291 Added LUA_COMPAT_ALL define to build.py 2014-06-20 20:57:21 +01:00
rxi aa7c4f6b6f Updated api.md to reflect changes to getCanvas() & getFont() 2014-06-19 21:08:34 +01:00
rxi e725a3f335 Set print and xpcall to locals in main.c's lua code
This prevents any undesired behaviour from those functions being set to
something else, such as lua errors not being printed to the console if
the global print() function was changed.
2014-06-18 19:05:15 +01:00
rxi 3ddcbd954d Fixed Image:setPixel()'s description in api.md 2014-06-16 18:28:16 +01:00
rxi a92d866261 Version 0.1.3 2014-06-16 18:20:20 +01:00
rxi 0900563e67 Fixed color argument of l_image_setPixel() 2014-06-15 13:57:44 +01:00
rxi e907307eb2 Fixed fonts to not be effected by the current flip mode 2014-06-15 11:50:04 +01:00
rxi 8e89209d0e Fixed some comments in l_graphics_setCanvas and _setFont 2014-06-14 19:38:14 +01:00
rxi 6074d20917 Version 0.1.2 2014-06-14 18:52:00 +01:00