Integrated some changes from the ScummVM 0.7,1 codebase wrt the
scrollbar widget.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@397 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
key binding may change; I just wanted to see how it would work. You can
do some funky stuff by changing those registers :)
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@396 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
disable the various bits in the TIA (P0, P1, M0, M1, BL, PL). The code
works, but isn't yet tied to a key event.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@395 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
EventMappingDialog interface a little more user friendly by enabling
PageUp/Down and Up/Down keys to scroll the list.
Then, it's on to the MiscDialog stuff. And later, after a little more
code cleanup, some serious work ROM launcher.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@393 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
EventHandler class now contains string mappings for all possible SDL
keys, which should hopefully take care of our international users.
Added 'Map', 'Erase' and 'Cancel' buttons to the EventMappingDialog.
They still don't do much, but it will now be an easy matter to add the
hooks into EventHandler. You *are* able to scroll through the list
and see which keys are bound to which actions, though.
This approach is *much* cleaner than in previous code. Now the EventHandler
actually does the remapping; the EventMappingDialog only collects the
events and associated actions and passes them on. This is much cleaner
than before, when (for example) the FrameBuffer was doing remapping! What
the hell did the framebuffer have to do with event mapping???
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@391 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
but the hooks are there for it.
Added ScrollBar and ListWidget GUI objects. These will form the basis
of the new ROM launcher, as well as the memory lister in the debugger.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@390 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
EventHandler class. Eventually, *all* event-related stuff will move
to this class (which makes sense, considering its name).
Removed all references to joystick stuff for now. It will be re-added later.
Re-enabled snapshot support.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@389 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Also took the opportunity to clean up the FrameBuffer classes. There
was a lot of cruddy code there ...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@387 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
in the stella.pro file for the particular game.
Added Help Dialog, which gives a description of the most commonly
used non-remappable commands. This still has to be adapted for OSX
shortcuts.
Finished the Sound Dialog. Still TODO is remove the requirement for
restarting Stella before sound can be disabled.
All that's left now are the Miscellaneous and Event Remapping Dialogs.
The later will be the hardest, but it will also work a lot better than
in previous versions of Stella.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@386 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Currently, some settings don't take effect until Stella restarts.
It's my goal to eventually eliminate many of these. so Stella
is truly no longer a commandline program.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@385 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
get out of sync when the user changed a settings with a hotkey.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@383 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
actually draws the Options Dialog box. No events are handled yet, but
at least it's a start.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@380 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
- Finally able to quit a game and start another within the same
program invocation (Escape quits current game, Ctrl-Q quits emulator)
- More tightly integrated SDL into the codebase. It's about time we
make use of SDL exclusively, and possibly speed up the code.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@374 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Rearranged some things from Settings to OSystem, since many things in the
Settings class weren't actually related to settings at all.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@372 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
A major restructuring of the framebuffer code, which will eventually
result in an internal GUI and ROM browser ALA ScummVM.
The codebase is severely broken ATM. It compiles, but that's about it.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@366 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
putting all documentation in the main HTML file, since it's too time
consuming to maintain separate files that say the same thing.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@364 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
representing whether a refresh should be done immediately or in the
next frame.
Do an immediate refresh just before taking a snapshot, to make sure
any onscreen messages aren't taken as part of the snapshot.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@362 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
a 1 cycle delay associated with modifications to VBLANK. Also modified
the delay values associated with changes to NUSIZ0 & NUSIZ1 to fix
issues with Title Match.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@355 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
For OS's that don't support it, use the maximum resolution possible.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@354 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This will allow to figure out exactly how big a window can be on the current
screen. Also, it will mean I can finally change the 'gl_fsmax' option to do
what I originally meant it to do; maximize to the desktop resolution when
doing fullscreen OpenGL.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@352 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
- Added 'Ctrl 0', 'Ctrl 1', 'Ctrl 2', 'Ctrl 3' keys to dynamically set which
paddle the mouse should emulate.
- Updated the user manual with above options.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@350 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
entering/exiting menu or pause mode. This one has bugged me for quite some
time, and was just made worse by my new laptop (where the sound would cause
me to jump about 5 feet every time Stella started :)
Rearranged the output a little wrt sound and video settings. This is only
seen if 'showinfo' is enabled.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@348 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba