Commit Graph

208 Commits

Author SHA1 Message Date
ansstuff fd28f4c2b0 * Tasedit: no more slow seeking and no NewProject in File menu
* Tasedit: input history, undo (Ctrl-Z), redo (Ctrl-Y)
* Tasedit: greenzone reduces only from the point with actual differences were found
* Tasedit: history ListView, jumping to any position
* Tasedit: Config->Set max Undo levels (1-999, 100)
* Tasedit: View->Jump when making undo, undo hint line
* Tasedit: saving/loading history to .tas file
2011-10-09 16:33:39 +00:00
ansstuff ec37ecd417 * Tasedit: fixed selection bugs in Set Marker, SelectMidMarkers and DeleteFrames
* Tasedit: Edit->Clone Frame(s) (Shift-Insert)
* Tasedit: 7 digits in Frame#
* utils\xstring.cpp: new U32ToDecStr
2011-10-03 17:29:33 +00:00
ansstuff f1ac9a2830 * Tasedit: setting Markers with Alt+click or ColumnSet for Frame# column
* Tasedit: View->Show Markers
* Tasedit: Config->Bind Markers to Input
* Tasedit: Edit->Select mid Markers (Ctrl-A)
2011-10-02 19:04:19 +00:00
ansstuff dd3dac5808 * logging all display messages into Message Log
* Tasedit: special method of inserting frames
* Tasedit: progressbar updating when loading/saving large projects
* Tasedit: moved "Follow cursor" checkbox from View menu to main TASEdit window
2011-09-30 19:49:21 +00:00
ansstuff 88dd3d2269 * launch tools hotkeys shown in FCEUX menu
* Tasedit: multitrack recording radio buttons (no multitracking yet)
* Tasedit: View->Show dot in empty cells
* Tasedit: ClearFrames (Del), Cut operation clears frames instead of deleting
* Tasedit: project name in window caption, star in window caption (changes)
* Tasedit: checking unsaved project on Exit and Open project
2011-09-29 20:39:39 +00:00
ansstuff cdee2c4fd8 Fixed old bug with "Play Movie From Beginning" 2011-09-27 13:43:30 +00:00
ansstuff 92ff246e15 * Tasedit: progressbar
* Tasedit: "||" button accepts double clicks
* Tasedit: holding "<" and ">" buttons
* Tasedit: Ctrl-Delete leaves selection
2011-09-25 18:17:26 +00:00
punkrockguy318 68f4cb85ef sdl: fix build errors introduced by recent tasedit commits 2011-09-25 17:04:08 +00:00
ansstuff 84ae16d8c2 * HideMenu (Esc) only works when FCEU window has focus
* moved "Display movie status icon" from Config->Movie options to Config->Display
* File->AVI/Wav->Enable HUD recording
2011-09-23 18:09:40 +00:00
ansstuff ae1bb879ef * Config->Display->Rerecord counter
* now Tasedit operates with rerecords_counter, no more such thing as tweak_count, because new way of accounting tweaks resembles rerecords too much
* Config->Movie options->Always suggest Read-Only replay (for Replay dialog)
2011-09-23 10:50:51 +00:00
ansstuff d2a886ebb1 * Tasedit: accelerator table
* Tasedit: new menu item "Config"
* Tasedit: Config->"Set greenzone capacity", auto-clearing old savestates
* Tasedit: pauseframe is shown by flashing color
2011-09-19 18:13:31 +00:00
ansstuff fd82c1ee2d * Tasedit: forced read-only behaviour when seeking or holding turbo
* Tasedit: "Auto-restore last position" checkbox in playback controls; if checked: after every greenzone invalidation playback cursor tries to jump to last position
* Tasedit: copied "Insert number of Frames" from stray-click menu to context menu
* Tasedit: fixed item drawing method, no more flicker and slowdowns
* updated contents of changelog.txt and Authors.txt, changed version.h
2011-09-17 12:00:20 +00:00
ansstuff e0e0f72d2f * saving and loading tweakCount in .tas and fm2
* Added string "Tweak Count" to Replay loading dialog
* Tasedit: View - "Show Tweak count"
* Tasedit: rewrote project save/load functions
* Tasedit: fixed old bug caused by not initializing input ports
* Tasedit: checking movie fourscore flag when creating/opening project; only show columns for pads 3 and 4 if fourscore is attached
2011-09-12 12:23:48 +00:00
ansstuff 5a2d97662f * red lines for lag frames, "Show lag frames" in View menu,
* "||" button also cancels turbo-seeking
* different method of accounting tweakCount: increment once per greenzone invalidation
2011-09-06 15:42:03 +00:00
ansstuff 9a76571490 * Total overhaul of JumpToFrame function and of TryDumpIncremental routine (logging savestates), now TAS Editor is more stable
* replay.cpp: fixed bug when trying to open Replay without having ROM loaded
2011-09-05 20:28:01 +00:00
ansstuff 711bc0c438 TAS Editor usability tweaks:
* fixed column widths
* frame_display can be shown in taseditor mode
* ">>" button now jumps to the end of greenzone
* some other hotkeys now also work in TAS Editor

Fixed hidden bug:
* user could change previous input by clicking on header (thus not changing currFrameCounter) and then continue greenzoning from irrelevant savestate with Frame Advance key
* how it was fixed: now currFrameCounter resets to last frame of greenzone
2011-09-03 14:33:51 +00:00
punkrockguy318 64b8ef4793 fixed a compile error on non-win32 based systems 2010-11-16 19:21:23 +00:00
zeromus b30a69020b add a hacky TweakCount to demonstrate how "rerecord count" could be tracked in tasedit 2010-11-12 20:37:12 +00:00
mart0258 d8f2b333b7 movie.cpp, tasedit.cpp, tasedit.h: Invalidate greenzone when re-recording earlier portions of a movie.
condebug.cpp: Fix comments to match code.
2010-11-06 06:01:57 +00:00
adelikat 1cd34b57ea Win32 - Add movie filename at the top of the main window, did this by creating a SetMainWindowText() function that sets it based on various conditions, this allowed some nice code cleanup on the various places that set the window text. Also removed an unused and useless prototype from movie.h 2010-08-21 03:59:17 +00:00
mart0258 b8c6ed272e Tasedit - prevent crash when truncating while turbo, disable auto-savestate during turbo, allow redrawing Tasedit window while turbo and paused, and window cleanup 2010-07-10 00:58:20 +00:00
aquanull 252a4a55ad Allowed the user to disable keeping finished movies open. 2010-06-22 14:29:05 +00:00
adelikat 7cfd86f261 casts to fix annoying warnings 2010-06-11 01:14:06 +00:00
adelikat b03401b198 Movies - Fixed read-only loadstate error logic & messages 2010-06-09 13:01:30 +00:00
mart0258 f0cda70dea Movie loading now faster:
* TAS Savestates moved from MovieRecord to MovieData. 
* Calls to LoadFM2() no longer provide INT_MAX as the size, and now use the actual size of the file.
2010-06-07 21:39:10 +00:00
adelikat 0a677d74e1 Fix inaccuracy in documentation comments (sorry for the tiny commit) 2010-06-01 01:03:50 +00:00
adelikat d2526bc795 Movie loadstates - Undo a "fix" I made in previous revisions. Not sure what it was supposed to fix but it definitely broke things. 2010-05-31 23:52:29 +00:00
adelikat 487074a6b5 Better document new loadstate logic and fix up changelogs
[[Split portion of a mixed commit.]]
2010-05-30 23:45:55 +00:00
adelikat 626528ade6 Fix wrong comparison during loadstate+read-only checking. Post-movie savestates can now be loaded in read-only without an erroneous error. 2010-05-28 19:59:06 +00:00
adelikat 5ed6637f60 Movie errors - again, stopping the movie and informing user in the event of backup savestates being disabled. This time for savestate after movie end + read-only 2010-05-28 19:48:49 +00:00
adelikat ed6e4258e0 Movie errors - fix GUID mismtach error to stop movie if backups are disabled. On Win32 this option is only done if user selects cancel. In both cases an error message informing of the lack of backups is presented. 2010-05-28 19:39:16 +00:00
adelikat c2a9da0adc Movie errors - fix timeline error so that it stops movie if backups are disabled (since it will be unable to restore previous state). Also informs user of the situation. 2010-05-28 19:25:42 +00:00
zeromus bccf3f2f85 movie speedups 2010-05-28 03:59:19 +00:00
adelikat ed2a319661 Win32 - TASEDit - more mapping out logic & structure. 2010-05-26 02:26:31 +00:00
adelikat 23277bc4df Win32 - Memwatch - ignore spaces at the beginnign of an address in the address boxes 2010-05-25 04:34:34 +00:00
adelikat 68e300e7a2 Fix FCEUI_MovieGetInfo. It was keeping info.reset from being initialized and causing garbage to be used to determine if a movie began from soft-reset. As such the Win32 replay dialog was always reporting savestate movies as soft-reset. 2010-05-25 03:09:53 +00:00
adelikat 0fdd04954e Fix playmovie from beginning for movies that begin with savestate. 2010-05-25 02:34:10 +00:00
adelikat 1aafbe1a62 Fixed so that Play movie from beginning has no affect on a movie that starts from a savestate rather than attempting to and using a power cycle to do it. TODO: properly replay a movie from beginning that starts from savestate. 2010-05-25 00:50:27 +00:00
adelikat 642ef6e568 frame counter turns red on MOVIEMODE_FINISHED 2010-05-19 03:46:52 +00:00
adelikat 88e7627162 Remove stopmovie() on old savestate load attempt when a movie is active. The error checking prevents anything destructive from happening so there is no reason to stop the movie. 2010-05-18 18:10:17 +00:00
adelikat fdbbb5bbc0 Implemented a "full savestate-movie load" mode similar to the implementation in VBA-rr & SNES9x-rr.
In this mode loading a savestate in read+write doesn't truncate the movie to its frame count immediately.  Instead it waits 

until input is recording into the movie (next frame).  For win32 this feature is togglable in movie options and the context 

menu.  For SDL this is off by default and a toggle will need to be added.
2010-05-18 15:31:53 +00:00
adelikat 8f222b3c91 More efficient if logic in CheckTimlines(). Added a flag for a feature of full copy savestates. This is a VBA/SNES9x type feature where a savestates full movie content can be loaded in read+write. Those emulators perform this option with a bit of trickery by not truncating the movie data until the next frame. Instead we are going to give the user an option to use this mode through the user interface. 2010-05-18 12:54:54 +00:00
adelikat fb579eb4b2 Made gamepad 2 off by default. 2010-05-18 04:52:05 +00:00
adelikat cec1766f34 Read-only loadstate - revert a logic error I had in determining a "future event" error. 2010-05-18 04:07:25 +00:00
zeromus 4e66aaef9c replace most of the crappy iostream stuff with EMUFILE 2010-05-17 21:02:38 +00:00
adelikat fb1240c262 Fixed the timeline checking function. The mistake was assuming that FCEUX didn't save the entire movie in a savestate. Now that I know it does, the fix was rather simple. 2010-05-17 15:51:11 +00:00
adelikat 7480101827 Timeline error messages now report the frame where the savestate branches from the movie file. 2010-05-16 19:26:29 +00:00
ugetab 046617c693 Added player 3 and 4 to autohold notification window. Made FCEU_DispMessage able to display to different screen locations to do it. Fixed up the input display code for autohold.
Wow, that's a lot of stuff changed for something so basic.
2010-05-16 04:18:49 +00:00
adelikat a1a74c6e9c Implemented read+write logic for handling a "post movie" savestate. Also fixed a slight error where rerecordcount wouldn't increment if _S9XLUA_H is not defined. 2010-05-16 01:46:04 +00:00
adelikat 7e48d40dfc This should be the final step in proper post-movie savestate loading. 2010-05-16 01:23:01 +00:00