Commit graph

40 commits

Author SHA1 Message Date
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
ba1d20dda5 Lua: print() can print any type, add tostringx() for print-to-string 2013-09-27 04:15:13 +03:00
Ilari Liusvaara
9092dea931 Lua: Automatically pass Lua state to lua class ctors 2013-08-21 23:19:20 +03:00
Ilari Liusvaara
7026453768 Lua: gui.synchronous_repaint() 2013-08-21 04:14:53 +03:00
Ilari Liusvaara
212c819416 Lua: gui.kill_frame: Omit this frame from video dump 2013-08-08 20:41:29 +03:00
Ilari Liusvaara
11655fb0d8 Split callback and load functions to their own categories 2013-08-07 22:10:58 +03:00
Ilari Liusvaara
b3f8f7f1b7 Decouple sets of functions from Lua states 2013-08-07 17:31:09 +03:00
Ilari Liusvaara
59710f8f38 Merge branch 'rr1-maint' 2013-07-24 19:57:08 +03:00
Ilari Liusvaara
79dd270a7e Lua methods for handling movies as objects 2013-07-24 19:03:48 +03:00
Ilari Liusvaara
15679e0776 Lua: Don't crash if some method throws 2013-07-23 13:01:47 +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
985e4c6327 Merge branch 'rr1-maint'
Conflicts:
	src/lua/lua.cpp
2013-05-30 04:17:03 +03:00
Ilari Liusvaara
015bd796f6 Save/Restore host memory across UNSAFEREWINDs 2013-05-30 04:13:59 +03:00
Ilari Liusvaara
efc06d1f10 Merge branch 'rr1-maint'
Conflicts:
	manual.txt
	src/core/controller.cpp
	src/lua/dummy.cpp
	src/lua/input.cpp
	src/lua/lua.cpp
	src/platform/wxwidgets/mainwindow.cpp
2013-03-03 09:37:52 +02:00
Ilari Liusvaara
dca767f650 Lua: on_button and input.veto_button 2013-03-03 09:09:41 +02:00
Ilari Liusvaara
1295518041 More paint / reset fixes
- Refactor the code related to killing requests.
- Free the pins when destroying killed requests (otherwise memory will
  leak).
- Customfont texts have associated requests, so those need to be killed
  if the font goes away.
2013-02-28 10:36:57 +02: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
8c346c0695 Lua: Fix bug with methods and resetting Lua VM 2013-02-01 22:10: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
690c561d2d Refactor keygroup into library/ 2012-12-16 20:45:16 +02:00
Ilari Liusvaara
184e3fe7ff Clean up library includes 2012-11-13 22:01:12 +02:00
Ilari Liusvaara
a8d9a1eb7c Split lua_render_context into library/ 2012-10-20 09:11:07 +03:00
Ilari Liusvaara
970623768c Refactor Lua support 2012-10-16 17:39:55 +03:00
Ilari Liusvaara
a58fbd974a Remove optionality of Lua support 2012-10-16 00:00:53 +03:00
Ilari Liusvaara
8b8641714e Lua: memory.map_structure 2012-09-29 11:56:18 +03:00
Ilari Liusvaara
c5be74d063 Merge branch 'focus-fix' into rr1-maint
Conflicts:
	src/core/mainloop.cpp
	src/core/moviedata.cpp
	src/core/rom.cpp
2012-07-14 09:30:07 +03:00
Ilari Liusvaara
c6c640bdbc Allow binding methods in Lua classes 2012-07-11 15:17:12 +03:00
Ilari Liusvaara
1f631a8ad0 Librarify screen rendering 2012-06-20 17:40:27 +03:00
Ilari Liusvaara
3548315ccb Lua: Reset Lua VM function 2012-06-06 21:58:03 +03:00
Ilari Liusvaara
6f796f9601 Unsafe rewinding
Unsafe rewinding is unsafe, but in exchange, a lot faster than normal
save/load cycle.
2012-05-19 14:37:49 +03:00
Ilari Liusvaara
4c38e3784a Merge branch 'rr1-maint'
Conflicts:
	Makefile
	src/core/render.cpp
2012-03-07 21:12:14 +02:00
Ilari Liusvaara
72a8296eb9 Lock palettes to protect color array structure 2012-03-07 14:44:24 +02:00
Ilari Liusvaara
c3dd13fb3f Merge remote-tracking branch 'origin/rr1-maint'
Conflicts:
	Makefile
	src/lua/core.cpp
	src/lua/lua.cpp
2012-03-07 06:19:06 +02:00
Ilari Liusvaara
bd0ef203c1 Merge branch 'rr1-maint' 2012-03-03 13:32:09 +02:00
Ilari Liusvaara
e646c60600 Merge branch 'rr1-maint'
Conflicts:
	include/core/render.hpp
2012-03-03 11:31:44 +02:00
Ilari Liusvaara
d8319ef4a9 Lua Bitmap WIP 2012-03-03 11:27:26 +02:00
Ilari Liusvaara
d45b316380 Refactor makefile
Refactor the makefile and move some code files to more logical places.
2012-02-06 05:38:51 +02:00