Commit Graph

1890 Commits

Author SHA1 Message Date
adelikat 7c06c4d2ab Fixed up more loadstate logic. We had a slight logic error this whole time that wasn't a problem until now. Checking to see if a state is a future event, we assumed frame counter of the state matched the length of the movie. Now that movie finished is a mode, that is no longer true. Fixed that, and fixed the input display updating at the end of a load state to always look at the state input rather than the statemovie last record. This fixes proper behavior of saving and loading states during movie finished mode as per the "Laws of TAS": http://tasvideos.org/Adelikat/LawsOfTAS.html 2010-05-15 21:22:16 +00:00
adelikat 473b954991 Cleaned up some logic with read-only saving/loading and better error handling. Also made movie finished mode save movie content. 2010-05-15 18:09:11 +00:00
ugetab 6e58c31daa changelog 2010-05-15 07:41:35 +00:00
ugetab a874412b61 Added option for palette selection as color for LUA colors. Included an LUA script to display all choices with the value used to pick displayed color.
Documented new color option and missing gui.text information.
2010-05-15 05:03:53 +00:00
adelikat dc61c4c414 Better error handling in the event of wrong timeline. Loadstate is canceled, error message displayed, and movie continues playing. 2010-05-15 04:24:29 +00:00
adelikat 1415fb402c Revert some changes to MovieRecord class. savestate vector is de-pointered & public again as well. 2010-05-15 04:08:16 +00:00
adelikat 2cd959fd84 More robust way to handle previous fix. Put the string manipulations into generic functions in common.cpp 2010-05-15 02:38:32 +00:00
adelikat e8bed97821 Replay dialog, when selecting a movie in a relative path (.\movies for example), the recent movies list stores an absolute path instead. 2010-05-15 02:06:15 +00:00
adelikat 191196a2bb Win32 - When recording a movie, add it to recent movies 2010-05-15 01:48:53 +00:00
adelikat 6c474065fe Fix typo in command button checking of the compare() method 2010-05-15 01:40:39 +00:00
adelikat ddcd8f3566 Overhaul of MovieRecord class so it has a default contructor that initializes everything to 0, A deconstructor, and a get method for savestate vector. Fixes my timeline issues, but creates crash problems in TASEdit related to the deconstructor. 2010-05-15 01:05:42 +00:00
adelikat 691662f4c9 Make last commit compile, also replace command comparing methods 2010-05-14 23:51:42 +00:00
adelikat d5aa6a69b2 An attempt add doing "timeline" checks on movie savestates while in read-only mode. Commented out the function call since it isn't performing as expected. 2010-05-14 23:31:47 +00:00
adelikat 06b37466c2 new PPU flag - changed "New PPU" to "NewpPU", made flag false if no flag is present in a movie header. Win32 - replay dialog - display new PPU flag. 2010-05-14 16:55:15 +00:00
adelikat 320223bd29 Win32 - Replay dialog shows pal flag 2010-05-14 16:21:03 +00:00
adelikat f4e01e6e77 New PPU flag in movie headers (doesn't change an emulators PPU state when loading a movie) 2010-05-14 16:03:07 +00:00
adelikat 31ec231d1f MOVIEMODE_FINISHED should not store movie data into savestate. 2010-05-14 14:44:14 +00:00
adelikat 49d1ebd9a3 Uncommented a rather useful loadstate error message 2010-05-14 13:56:41 +00:00
adelikat 5a222bf49f better blend color for input dislpay, enough contrast that I can still tell on my bad monitor. 2010-05-14 03:24:05 +00:00
adelikat cf7e73cf98 Win32 - toggle item to restore old input display (saves in config as well) 2010-05-14 03:18:08 +00:00
adelikat 5eeb0b3684 input display overhaul - a more desmume style system which shows both keys held the previous frame and immiately held keys that will be put in on the next frame 2010-05-14 03:09:27 +00:00
ugetab bd5933dd68 Further optimization, now that I know the code functions and have something to fall back to if I mess up. 2010-05-13 21:08:37 +00:00
ugetab 816da56c87 Figured out a way to test joypad input without having one(PPJoy w/ Print Screen mapped to a button), and took out some redundant code. 2010-05-13 20:03:57 +00:00
ugetab e9bb9102ae Added rudamentry Between-Frames input display code for adelikat to customize. He said he had everything except the keyboard query done, so this should make it simple for him to pretty it up. 2010-05-13 19:33:27 +00:00
adelikat f04cb475a4 removing the change that caused movie data to be dumped binary by default. We want text until we make a toggle option where a user can select binary. 2010-05-13 13:46:11 +00:00
adelikat 8610f4ffb5 minor fix to last commit 2010-05-13 04:03:22 +00:00
adelikat 33ea23fee3 Input Display - displays a silver color when input is from a movie rather than the user 2010-05-13 03:53:20 +00:00
adelikat a832f49204 Win32 - Context menu - only display dynamic subtitle menu items if there are subtitles in the movie loaded. Document the dump to SRT context menu item. 2010-05-13 03:15:06 +00:00
ugetab 6b963affea With special scaler in window mode, it's possible to resize to anything above the minimum. Fixed the special scaler minimum testing, and I think someone forgot a pair of brackets some time ago. 2010-05-12 18:43:04 +00:00
adelikat 60564e96d2 Document "movie finished" return value of lua function movie.getmode() 2010-05-12 18:14:31 +00:00
adelikat 912e375d0e Read only toggle displays more informative message (informs user if movie is finished or there is no movie loaded) 2010-05-12 16:05:36 +00:00
adelikat 9006fd7a73 Movies now have a "finished" option. If a playback stops the movie isn't cleared from memory, and can be replayed or a state loaded. Similar functionality as DeSmuME and GENS rerecording. 2010-05-12 15:31:24 +00:00
adelikat 4456368632 Loadstate now updates input display even with no movie loaded. 2010-05-12 13:06:23 +00:00
ugetab 14d628ff81 Conflicted with my own commit. Repaired conflicted files, and made sure about the code removal I intended as well. 2010-05-12 03:53:15 +00:00
adelikat 91e4d77283 Somehow a tortoise 'conflict' got committed 2010-05-12 03:23:37 +00:00
adelikat b5ea58271b Fixed so that loadstate updates input display during movie playback as well. 2010-05-12 03:14:41 +00:00
ugetab 6131a6ea79 Added Ram Search hot keys. Replaces previous committed Cheat Dialog hot keys. 2010-05-12 03:09:56 +00:00
adelikat 952320e1df Loadstate updates input display if movie is recording 2010-05-12 03:07:03 +00:00
adelikat b972313c34 More documentation fixes. 2010-05-12 01:57:36 +00:00
adelikat 85128ba0dd Document some recent additions 2010-05-12 01:48:50 +00:00
ugetab 659684b936 Added hotkey options for the cheat dialog buttons Equal, Not Equal, Greater Than, and Less Than. Doesn't allow use of the checkbox options using hotkeys. 2010-05-11 22:12:49 +00:00
ugetab 3a750d276e Found a way around an inefficient comparison method I was using. 2010-05-10 23:06:25 +00:00
ugetab ef4af2ff0e Updated the Listbox Context Menu code to account for the context menu keyboard key. Thanks zeromus. 2010-05-10 22:50:21 +00:00
ugetab 0a2e4bf547 Added a context menu to the debugger breakpoint list(toggle only), and edited the description for the cheat toggle item a little. 2010-05-10 19:07:06 +00:00
ugetab 6c991885bf Added a few options to emu.getscreenpixel. Can now fully distinguish between LUA and Emu pixels, or ignore distinction. 2010-05-10 16:52:27 +00:00
ugetab a8016502b0 Added gui.getpixel() and emu.getscreenpixel() to get LUA pixel written. Also fixed some coding misconceptions about how LUA worked for Game Genie Add/Delete functions. Documented stuff. 2010-05-10 07:20:55 +00:00
ugetab da1da1c675 Optimized Unfreeze All Addresses routine in Hex Editor 2010-05-09 15:28:15 +00:00
ugetab 027c4eebb5 Added "Dump Subtitles to SRT file" context menu item. Only appears for movies with subtitles. Only tested with 1 movie, but it worked almost perfectly, except that site videos have a TASVideos intro that will have to be accounted for. 2010-05-09 06:31:06 +00:00
ugetab a24932ceff Added right-click subtitle toggle to movies with subtitles, and probably forgot to save the help file before the last commit. 2010-05-09 03:30:14 +00:00
ugetab 40423f46a0 Fixed several LUA savestate issues, including crashes and silent failures, and added savestate.object(), which is savestate.create() with intuitive save state ordering. Also documented it. 2010-05-09 02:02:20 +00:00