adelikat
8c0c00c2bf
lua - movie.save() - fix bug that was preventing the optional filename parameter from being used
2020-01-01 17:03:01 -06:00
adelikat
18975e390d
use Globals less in Tastudio sub-components
2019-12-31 16:31:32 -06:00
adelikat
094ae65e06
Merge pull request #1775 from TASVideos/log-as-tool
...
Remove Log windows as console option, and make LogWindow a Tool
2019-12-31 09:37:57 -06:00
alyosha-tas
6a68c7f521
Controller: fix physical controller input, fixes #1166
2019-12-30 17:28:48 -05:00
adelikat
6e49f1c07d
Convert LogWindow to a tool that implements IAutoToolformConfig
2019-12-29 15:05:45 -06:00
adelikat
bdd0d56a70
delete the console log window, always show LogWindow instead
2019-12-29 14:39:44 -06:00
alyosha-tas
a259c763de
O2Hawk: typo
2019-12-27 17:32:33 -05:00
YoshiRulz
50373ac1ad
Move conditional PackageReferences to conditional .targets import
...
Fixes build system bug introduced by c31050feb
2019-12-27 16:35:47 +10:00
YoshiRulz
c31050feb6
Migrate from packages.config to PackageReference
2019-12-26 16:54:33 +10:00
adelikat
e7e30371fe
Remove Rewinder from Global and put as a mainform variable instead
2019-12-22 14:25:06 -06:00
YoshiRulz
264b27475e
Fix default referring to non-nullable type
2019-12-23 04:12:02 +10:00
James Groom
78fcde9480
Merge branch 'master' into winhacksbgone
2019-12-22 17:01:10 +00:00
adelikat
1e41dbf20d
LuaRegisteredFunctionsList - override Clear() so that needed clear logic can't be mistakenly not called. Fixes #1763
2019-12-21 17:16:16 -06:00
adelikat
b80b367831
refactor IMovie to expose the movie mode, and make extension methods that do IsPlaying type logic. This way there can be direct checks, and more variety of methods without cluttering the interface
2019-12-21 16:34:29 -06:00
adelikat
d26cb7d272
small cleanup
2019-12-21 15:55:01 -06:00
adelikat
f5929602ff
rename MessageOption to MessagePosition
2019-12-21 15:28:16 -06:00
adelikat
433eff65ec
OSDManager - simplify calculations for points for things like fps, frame counter, etc
2019-12-21 15:24:50 -06:00
adelikat
6748d32830
Message config - fixes, make Anchor an enum instead of int
2019-12-21 14:50:20 -06:00
adelikat
a565f6f299
refactor message display option settings to be an object, and simplify the message config dialog
2019-12-21 14:11:49 -06:00
adelikat
b94a830f13
Message config refactor - fix some names, break off DefaultMessageOptions class into its own file
2019-12-21 13:22:22 -06:00
adelikat
98bfcabfe8
refactor Global.SystemInfo into an extension method class
2019-12-21 13:07:05 -06:00
adelikat
5002968bd7
cleanup SystemInfo
2019-12-21 13:00:33 -06:00
adelikat
8ac53f51c0
move bkm files to the import folder now that they are only used for import
2019-12-21 12:55:57 -06:00
YoshiRulz
784c800ca2
Disable features using Win32 unless on Windows host
...
forms: GBAGPUView, GBGPUView, LogWindow, SNESGraphicsDebugger,
SynclessRecordingTools; features: A/V recording, logging to AWE(?)
2019-12-21 18:31:03 +10:00
YoshiRulz
7ea8fb185a
Congregate, organise, and cleanup some Win32 imports and their usages
2019-12-21 18:21:51 +10:00
adelikat
f934b059c8
fix a few potential NRE's in Global.cs
2019-12-20 10:24:54 -06:00
adelikat
24ed667c13
reduce global usage in MainForm more
2019-12-20 10:22:42 -06:00
YoshiRulz
0fcb6cbaa7
ApiHawk refactoring and cleanup
...
MemApi.ReadByteRange now returns the requested number of bytes and not 1 extra,
MemApi.ReadByteRange now warns only once per call for addrs outside range,
MemApi.ReadByteRange now warns for negative addrs (once per call; previous
implementation passed negative addresses to PeekByte), MemApi.WriteByteRange now
warns only once per call for addrs outside range, MemApi.WriteByteRange now
warns for negative addrs (once per call; previous implementation passed negative
addresses to PokeByte)
2019-12-17 02:39:04 +10:00
YoshiRulz
08d0f462fc
Partially migrate NesLuaLibrary to ApiHawk delegation
...
nes.setdispbackground and nes.setscanlines now throw when the core is neither
NesHawk or QuickNES (the latter is still silently ignored by these functions)
2019-12-16 17:47:50 +10:00
YoshiRulz
29ac251f34
Migrate SnesLuaLibrary to ApiHawk delegation
2019-12-16 17:14:10 +10:00
YoshiRulz
60daae50d5
Migrate GenesisLuaLibrary to ApiHawk delegation
2019-12-16 17:14:01 +10:00
YoshiRulz
0b43b35427
Migrate GuiLuaLibrary to ApiHawk delegation
...
Changed param clear of IGui.DrawNew from bool? to bool (default value remains
true), made IGui and GuiLuaLibrary inherit IDisposable, added
GetDefaultTextBackground to IGui, applied fix from 6b3071d8a
to
GuiApi.DrawString, replaced background box drawn by Lua API
gui.drawString/gui.drawText with what I think is a shadow (now matches
GuiApi.DrawString)
2019-12-16 16:54:06 +10:00
YoshiRulz
8f93a954e1
Move Lua hacks to Lua libs
...
Changed parameter of IInputMovie.SetRerecordCount to ulong to match internal
2019-12-16 15:04:35 +10:00
adelikat
ad8f321ea1
Add event.availableScopes(), fix LogWithSeparator, cleanup
2019-12-15 12:25:49 -06:00
YoshiRulz
05801dc2c5
Reduce LINQ usage in Lua subsystem
2019-12-16 04:08:22 +10:00
adelikat
91ef301a23
memory callbacks - log error if a scope is passed in that is not available
2019-12-15 12:02:43 -06:00
adelikat
9676fd97df
cleanup
2019-12-15 11:52:55 -06:00
adelikat
1d741f3d0e
memorycallbacks - rename domain param to scope to avoid confusion, otherwise it looks like any memory domain will do
2019-12-15 11:42:26 -06:00
adelikat
29e284c6f8
cleanup
2019-12-15 11:40:22 -06:00
adelikat
250bd2087e
fix lua memory callback functions on cores with no system bus such as PSX
2019-12-15 11:37:45 -06:00
YoshiRulz
2f494003c7
Add param to IList.ToLuaTable extension and refactor bizstring.split
...
Changed behaviour when said Lua function is called with a misformatted separator
param, and updated its docs
2019-12-16 01:58:19 +10:00
adelikat
d2f21f84e3
another extension method for lua table creation
2019-12-15 09:46:39 -06:00
adelikat
7ebfd42229
Simplify some lua table creation with an extension method
2019-12-15 09:22:10 -06:00
adelikat
d955c468db
refactor LuaHelper into an extension method class, and some nitpick cleanups
2019-12-15 09:05:33 -06:00
YoshiRulz
8bb9cee9c2
Write version to config (for migration check to be implemented later)
2019-12-16 00:44:40 +10:00
YoshiRulz
e58f2811dc
Replace config bool `UseNLua` w/ enum
2019-12-16 00:38:22 +10:00
YoshiRulz
f8dc18c1bd
Migrate SavestateLuaLibrary to ApiHawk delegation
...
includes backwards-compatible API change
2019-12-15 04:39:16 +10:00
YoshiRulz
104c17e77c
Prepare for EmuHawk-tied libraries to delegate to ApiHawk
...
Made ApiContainer inherit from APISubsetContainer, added
DelegatingLuaLibraryEmu, and reworked init logic in EmuLuaLibrary
2019-12-15 03:52:48 +10:00
James Groom
3099a11a04
Merge branch 'master' into lua-via-apihawk
2019-12-14 16:17:14 +00:00
feos
dfa73eceef
mame syncsettings
2019-12-14 18:50:11 +03:00