mappings (not fully tested yet, since I don't have access to a joystick
right now).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1103 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Finalized remapping of GUI/menu events, and added an interface to change
these mappings from 'Input Settings'.
Fixed bug with taking snapshots having a previously overlaid message
being part of the image.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1102 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
is now fully navigable via the keyboard be means of 'tab-like'
functionality. This means that eventually systems without a keyboard
will also be able to navigate the interface without resorting to the
buggy joymouse code (which is soon to be removed).
Laid the infrastructure for remapping GUI events, whereby (for example)
a widget checks for Event::UISelect for 'doing its thing', vs. looking
at the Enter/Return key. So widgets now respond to events, and events
can (eventually) be remapped to *any* device.
Currently, these UI events are as follows:
UIUp, UIDown, UILeft, UIRight, UIHome, UIEnd, UIPgUp, UIPgDown,
UIPrevDir, UINavNext, UINavPrev, UITabNext, UITabPrev, UISelect
At present, they're hardcoded to key events only, so pressing 'Return'
will send a UISelect, cursor up a UIUp, etc. When the remapping code
is complete, *any* input will be able to send these events, and that
remapping will be distinct from emulation mode. So, for example,
cursor up in GUI mode might generate a UIUp event, but in emulation
mode might generate a left joystick up event.
Modified 'tab' key while in emulation mode to only enter the options
menu. Once inside the menu, the tab key acts as navigation between
elements, and exiting the options menu requires navigating to the
'Exit menu' button.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1100 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
sorting, since it seems to be faster. Fixed issue with directories
sometimes not being sorted correctly.
Bumped version number for next bugfix release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1085 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
for adjusting analog paddle threshold (used to eliminate jitter).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1079 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Updated some properties entries according to the info from AtariAge.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1073 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Since it didn't really work, it makes me wonder exactly how many people
are using these features (since they certainly aren't reporting the
bugs).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1072 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This code basically comes from z26, and is used to eliminate rapid
left/right movements which result in visual jitter.
Added 'pthresh' commandline option to set this threshold, which defaults
to 600. I haven't decided if I should add a GUI option for this yet.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1069 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
used for (de)selecting certain menu items when in different modes. But
somebody else will have to do that part, since I don't have enough experience
in OSX :)
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1068 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
OSystem-derived classes can override these methods and deal with the
changes (much more useful than having the OSystemXXX classes constantly
poll the eventstate, etc.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1067 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
of the earlier palette changes, since it turned into a can of worms
I don't want to open. I think we'll be ready for a new release soon.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1066 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
be in only one class (vs. spread over three like it is now). I'm
sure the code is broken on every platform but Linux; I'll get to it.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1065 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
During development, sometimes Stella would crash, and for some reason
take the cheatfile contents with it. Now, at least, this should
occur very rarely, since cheats won't be changed most of the time.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1062 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
is redrawn, even if it's empty in rom browse mode. Disable the 'Go Up'
buttons when there's no parent directory (wasn't absolutely necessary,
but it gives some nice visual feedback).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1059 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
scripts, since the properties are now built in, and will never need a
global storage directory.
Reworked the ROM launcher again, by moving the 'Reload' button to the
Launcher options dialog (by popular request from the GP2X forums). The
'Go Up' button is now always present on the main launcher interface, but
is disabled when not in 'rom browse' mode.
Added a button to VideoDialog for the recently added 'tiadefaults'
functionality. It defaults to off, which is the current behaviour in
Stella. (De)selecting this item will require a ROM reload.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1058 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
region of the screen in a 9x9 grid (top/middle/bottom by left/center/right),
as well as the color of the message text.
Updated some strings on the ROM launcher, since it doesn't make sense
to 'Play' a directory.
Disabled display of 'Note' while in rom browse mode in the ROM launcher.
It ends up taking too much CPU time to parse all the ROMs in a directory
each time it changes, so there are now two options: (1) don't browse the
filesystem, and precompute the folder contents/see all the ROM info
or (2) browse the filesystem, allowing selection of folders, etc, but
not seeing ROM names and notes as defined in the properties file. For
performance reasons, it's going to have to be an either/or thing.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1056 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
TIA positioning, and instead use the defaults. It seems some people
would rather see the image exactly as it was produced on the 2600,
blank space and all. It defaults to off, which is the current
behaviour. Eventually I'll add a GUI option to toggle this.
Fixed issue with built-in properties as suggested by Kostas.
Fixed bug in Settings class where certain settings weren't being
recognized from the commandline.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1055 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba