Commit graph

17 commits

Author SHA1 Message Date
Ilari Liusvaara
3f11a63a52 Implement save jukebox
Handy if you want to control the game using gamepad.
2011-09-18 02:47:45 +03:00
Ilari Liusvaara
83b5a68abe Autofire support 2011-09-17 13:43:22 +03:00
Ilari Liusvaara
6a823be7d1 Pass tokensplitter& as argument to command handler 2011-09-17 13:15:20 +03:00
Ilari Liusvaara
000d45b9eb Allow variable arguments to command functions 2011-09-17 12:00:49 +03:00
Ilari Liusvaara
a396b9c39f Move take-screenshot: mainloop.cpp -> framebuffer.cpp 2011-09-17 11:33:35 +03:00
Ilari Liusvaara
5d9465f578 Migrate the rest to function_ptr_command 2011-09-17 11:29:10 +03:00
Ilari Liusvaara
0c4431001c More random cleanups 2011-09-17 09:55:35 +03:00
Ilari Liusvaara
35d1875b44 Since window is singleton anyway, get rid of window* parameters 2011-09-17 01:05:41 +03:00
Ilari Liusvaara
d38da1b04b More code cleanups 2011-09-17 00:06:20 +03:00
Ilari Liusvaara
b4d18f7309 Refactor mainloop.cpp a lot 2011-09-16 06:13:33 +03:00
Ilari Liusvaara
bbb4241f68 Factor stuff related to our_movie into separate file 2011-09-16 03:49:04 +03:00
Ilari Liusvaara
4f3f8ac79f Make git diff --check happy 2011-09-15 22:56:33 +03:00
Ilari Liusvaara
6877c2f63b Make video dumping to go through generic A/V snooping interface 2011-09-15 16:42:52 +03:00
Ilari Liusvaara
14955e7238 Add on_snoop Lua callback
This could prove useful for outputting movie file for console
verification.
2011-09-14 23:26:11 +03:00
Ilari Liusvaara
f170c7bab2 Major reorganization of command handling
Make commands objects instead of functions calling each other.

Now there is '?' command that can display command list and help about
individual command. Also the command handling is more distributed into
places where it belongs.
2011-09-14 20:06:36 +03:00
Ilari Liusvaara
4f840b9cae Fix all warnings -Wall spews
Bsnes spews quite a lot of warnings with -Wall (not that surprising,
given the looks of the code), but at least non-bsnes parts shouldn't
give warnings. Oh, this also fixed couple of bugs in Lua support.
2011-09-13 20:29:31 +03:00
Ilari Liusvaara
c932df0faa lsnes rr0-β0
The first release for public testing.
2011-09-13 17:50:18 +03:00