adelikat
2a54517b52
more misc Client.Common cleanups
2017-05-17 13:18:26 -05:00
nattthebear
ebe789eed2
heh
2017-05-10 07:45:23 -04:00
adelikat
e0985465b6
misc Client.Common code cleanups
2017-05-09 13:19:55 -05:00
J.D. Purcell
b53502eed8
Spaces -> tabs.
2017-04-15 16:37:30 -04:00
adelikat
b6f335e4c8
misc code cleanups in BizHawk.Client.Common
2017-04-14 14:59:01 -05:00
adelikat
6ae8a88658
remove some debugging junko
2017-02-11 13:41:25 -06:00
adelikat
e94de78ebd
Lua - fix movie.getinput() to return float values instead of passing "False" no matter what
2016-12-14 13:22:01 -06:00
adelikat
72a59087b5
Use the IController indexing property less in preparation for removing it from the interface. Replaced with its more explicity counter-part .IsPressed()
2016-12-14 12:42:15 -06:00
adelikat
5ff33e7569
Rename IController.Type to IController.Definition to more clearly describe the property
2016-12-12 12:30:32 -06:00
feos
a6c3561db0
lua: movie.getinput() now fails gracefully if adapter is null.
...
fixes #595
movie.mode() returns a string, so make its modes look like strings in the description.
2016-03-12 12:05:24 +03:00
zeromus
aa3c599882
readd y=x functionality to SetReadOnly
2016-03-10 19:03:07 -06:00
feos
c641d94e05
lua: movie.save
...
see #384
2016-01-30 16:10:28 +03:00
adelikat
12479cbc25
lua implement movie.getcomments() and movie.getsubtitles()
2015-08-04 18:33:22 -04:00
adelikat
f3d8388dfe
Lua - implement movie.getheader()
2015-08-04 18:22:22 -04:00
adelikat
0205762409
lua - remove movie.insertframe() as it is no longer needed and was not coded in an acceptable way, if such a feature is needed in the future, it needs to be thought through better
2015-08-01 22:21:44 -04:00
adelikat
8ec8032061
lua - implement movie.startsfromsavestate() and movie.startsfromsaveram()
2015-08-01 18:16:40 -04:00
adelikat
383a462207
lua - implement movie.InsertFrame(int index, string logEntry), for now, will only work on .bk2 movies (.bkm and .tasproj will crash)
2015-08-01 15:46:43 -04:00
scepheo
28f21e1775
Lua:
...
- LoadState through Lua isn't counted for movie RerecordCount.
- Added movie.setrerecordcount and movie.getrerecordcount for people who really want to count their bot loadstates.
2014-10-20 20:31:31 +00:00
adelikat
055e88fea3
Remove Fps from IMovie
2014-06-29 00:48:36 +00:00
adelikat
19feaaa3ba
Remove some more usages of IMovie.GetInput()
2014-06-19 00:37:42 +00:00
adelikat
6133164a7f
Add GetInputState() to IMovie that returns an IController representing a frame of input and replace a lua method to use this instead of getting the inputlog as a string and processing it, still todo: obsolete the GetInput() method
2014-06-18 02:26:22 +00:00
adelikat
6b73891a91
More bk2 progress
2014-06-15 14:44:26 +00:00
adelikat
c807e27496
Some movie code reorg and cleanup
2014-06-15 13:03:24 +00:00
adelikat
a682c667dd
Nuke IMovieHeader, put necessary methods into IMovie instead, and some todos on trouble spots for movie 2.0
2014-06-11 01:41:41 +00:00
adelikat
83ada011e8
Lua - Refactor how lua libraries are registered by searching assemblies and finding implementations and building a list of these
2014-06-01 22:02:59 +00:00
adelikat
17568997bf
Lua - unify constructors and have all libraries receive a lua context and an output callback, simplify some convolved registration code
2014-05-21 00:17:35 +00:00
adelikat
6401e6d719
Refactor LuaLibraryBase to have a Lua context rather than misc libraries being in charge of that when needed. Still todo: clean up the inconsistent constructor logic, vs setting these as public properties
2014-05-20 20:34:51 +00:00
adelikat
d2bc1b89a3
Lua - implement movie.getinputasmnemonic()
2014-05-18 21:26:27 +00:00
adelikat
603fd81066
Lua - implement movie.fps() and add MovieTimer.lua script that shows the clock time for a given movie (updates while recording)
2014-04-22 21:27:08 +00:00
adelikat
23f7017651
Some code cleanup tinkerings in Client.Common
2014-02-03 20:48:01 +00:00
adelikat
ce9f282d67
Lua - clean up a lot of params by making them strongly typed numbers instead of object, and simplify a lot of logic as a result
2014-01-27 01:15:56 +00:00
adelikat
70feebf229
Add documentation to as many lua function as I can sanely do in one sitting
2014-01-26 18:36:27 +00:00
adelikat
91fdad9d45
LUa - whack now unused code
2014-01-26 16:21:20 +00:00
adelikat
ac9e4c1d3d
Lua - same to movie library
2014-01-26 02:50:26 +00:00
adelikat
7482cfdc5e
a round of code cleanup in Client.Common
2013-12-30 01:58:44 +00:00
adelikat
b7d553cb4e
Move the readonly flag from Global to MovieSession
2013-12-03 18:08:45 +00:00
adelikat
0e6473987b
Remove Rerecords from IMovie since it is a part of IHeader, therefore redundant and conceptually inappropriate. Also some low hanging fruit on implementing TasMovie.cs
2013-12-02 17:50:29 +00:00
adelikat
e686e595b9
Refactor use of Movie Frame count - also fix play movie to show infinite movie's frame count as "Infinity"
2013-11-30 03:10:05 +00:00
adelikat
d391d275ef
Move Movie lua library to client.common, and some refactoring necessary to do so
2013-11-01 15:43:15 +00:00