Commit graph

15 commits

Author SHA1 Message Date
Ilari Liusvaara
43952138a3 Lua: Bitmap/renderq object methods 2013-12-23 16:32:11 +02:00
Ilari Liusvaara
2c4a3a5f84 Refactor library Lua base to dedicated namespace 2013-12-20 02:02:22 +02:00
Ilari Liusvaara
dce933b76d Refactor library framebuffer to dedicated namespace 2013-12-19 07:00:43 +02:00
Ilari Liusvaara
5661c7ca59 Save bitmaps as PNG
Also:
- Refactor PNG code to have PNG writing support
- Add functions to dump SNES sprites and palettes
2013-10-28 21:15:08 +02:00
Ilari Liusvaara
59ef6961e3 Merge branch 'rr1-maint' 2013-09-27 10:47:19 +03:00
Ilari Liusvaara
a42c0bf6ea Extend userdata printing 2013-09-27 10:36:19 +03:00
Ilari Liusvaara
9092dea931 Lua: Automatically pass Lua state to lua class ctors 2013-08-21 23:19:20 +03:00
Ilari Liusvaara
ff86d2f0c2 Merge branch 'rr1-maint' 2013-07-17 22:58:24 +03:00
Ilari Liusvaara
a8a1f09e94 Lua: Allow direct loading of PNG/PAL/BITMAP from string 2013-07-17 22:28:54 +03:00
Ilari Liusvaara
236b9075d9 Merge branch 'rr1-maint'
Conflicts:
	include/core/framebuffer.hpp
2013-02-28 04:06:37 +02:00
Ilari Liusvaara
80c9dcee2d Fix crash with bitmaps and resetting Lua VM
Kill requests depending on bitmaps and palettes going away, to avoid
having the emulator crash if there is a request using those bitmaps
and palettes in flight while Lua VM is reset.

Noticed by FatRatKnight.
2013-02-28 04:03:01 +02:00
Ilari Liusvaara
8578b8812a Use system mutex/condition types instead of platform ones 2013-01-21 09:24:46 +02:00
Ilari Liusvaara
1f631a8ad0 Librarify screen rendering 2012-06-20 17:40:27 +03:00
Ilari Liusvaara
72a8296eb9 Lock palettes to protect color array structure 2012-03-07 14:44:24 +02:00
Ilari Liusvaara
d8319ef4a9 Lua Bitmap WIP 2012-03-03 11:27:26 +02:00