Commit Graph

7446 Commits

Author SHA1 Message Date
stephena b46caf3cc7 Changed 'gl_fsmax' to mean "use desktop resolution in fullscreen OpenGL mode".
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
2005-01-04 21:04:20 +00:00
stephena 54f1aaa63f Made the default maximum zoom be 4, instead of 2.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@353 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-01-04 20:06:20 +00:00
stephena 5993383be6 Added screenWidth() and screenHeight() methods to the SDL framebuffer.
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
2005-01-04 19:59:13 +00:00
stephena 3c0e0af714 Opps, the sound levels are changed by 'Alt [' and 'Alt ]', not the Ctrl keys.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@351 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-01-04 02:38:45 +00:00
stephena 6508718b39 - Added 'Ctrl ]' and 'Ctrl [' keys to dynamically increase/decrease volume.
- 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
2005-01-04 02:29:31 +00:00
stephena 219687f521 Opps, forgot to exclude the makefile on the last import.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@349 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-01-03 19:16:55 +00:00
stephena e84e982439 Finally got rid of the annoying popping in starting/quiting Stella, and when
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
2005-01-03 19:16:09 +00:00
stephena d890dbf6cf Added some 'Montezumas Revenge' hack entries. Thanks go to Trebor from
AtariAge for these.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@347 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-09-18 16:34:18 +00:00
stephena a22ad3fd2c Added 'video_driver' support to the StellaX frontend. Windib is now the
default video driver, and it's up to 10 times faster in software mode
than directx.

Updated the manual with the new 'video_driver' argument.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@346 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-09-14 19:10:29 +00:00
stephena 03d8c0eab5 First attempt at adding SDL_VIDEODRIVER support as a commandline option.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@345 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-09-14 16:10:28 +00:00
stephena a76e7516a8 Updated the Windows port concerning the recent Settings class changes.
Mark, if you're reading this, the OSX port will need to be fixed as well.
The changes are trivial.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@344 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-08-18 21:20:55 +00:00
stephena 97aabd229a Fixed a bug reported by D. Baron whereby the /etc/stella.pro file wasn't
used even when it should have been.  OSX and Windows users would never
see this, since those ports don't (yet) have any concept of user vs.
system files.  The OSX and Windows ports will have to be updated though,
because of changes in the Settings class.

Changed the code in SettingsUNIX::fileExists() to only check for the
existence of a file, not whether you can write to it.  This is what
the name implies.

Bumped the version number to 1.4.2_cvs.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@343 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-08-17 01:17:08 +00:00
markgrebe 0430cd0f22 Made About Box compatible with OSX 10.1
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@341 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-08-15 02:59:14 +00:00
markgrebe 873863049f Made About Box compatible with OSX 10.1
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@340 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-08-15 02:46:14 +00:00
stephena 2d7cbb0e0b Fixed the switching of NTSC/PAL mode and the associated onscreen
messages.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@339 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-08-12 23:54:36 +00:00
stephena f06a984030 Updated documentation and bumped version number to 1.4.1 for the
impending release ...


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@338 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-08-12 23:36:15 +00:00
markgrebe f7d0138c80 Updated processor requirements for MacOSX version
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@337 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-08-12 03:29:40 +00:00
stephena 3c43abcbf6 Removed some obsolete code; similar changes to be made in the other
Settings classes.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@336 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-08-06 01:53:50 +00:00
stephena 80df37627e Removed requirement for ROM files to be named *.bin. The specified ROM
directory is now searched for *all* files, no matter what they're called.

Bumped the version number to 1.4.1 in the main dialog.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@335 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-08-06 01:53:06 +00:00
stephena b99c0af7e1 Fixed missing 'break', which was causing both 'Change Filter' and 'Decrease
XStart' to be bound to Alt-F.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@334 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-08-06 01:51:15 +00:00
markgrebe 8401b26bfa Added preference to allow user to select the directory in which ROM images are stored. This simply sets the default directory to start the browsing in, and doesn't preclude the user from selecting a file outside that directory
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@333 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-08-02 04:09:10 +00:00
stephena c39b7f5322 Updated the properties file to work with all 2690 ROMs I know of. This
should hopefully take care of NTSC/PAL issues and the cut-off screen
problems in some PAL games.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@332 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-08-02 03:26:51 +00:00
stephena 3212a92e4b Updated the SDL patch from Eckhard Stolberg. The resulting SDL.dll
should work just as well as the one from the official SDL website, since
very few changes were required for Stelladaptor detection.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@331 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-08-02 03:24:33 +00:00
markgrebe bee196595a Fixed issue where preferences changed before a game was opened were not being changed. Removed average calculation in frame loop, which was not needed any longer.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@330 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-08-02 00:28:48 +00:00
stephena 0f0625d9fe Cleaned up the SDL event gathering loop. It now almost exclusively
makes use of switch/case statements instead of the slower if/elseif
structure.  Hopefully this will fix event problems some users were
experiencing.

The Control or Alt button can actually now be used in event remapping.
Due to the old event handling, the Control key could be assigned to
an event but would never actually be usable.

Removed the option to remap the exit event (for now), since I haven't
figured out a way to remap it *back* to 'Escape' if that mapping is
ever removed.

Added beginning of support for Stella to automatically determine the
correct framerate based on ROM format type.  The final version of this
will probably wait until Stella 1.5.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@329 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-28 23:54:39 +00:00
stephena e060f52112 Added the Event::Quit event to the remapping menu. This was requested by
quite a few people.  The only problem is that if you ever erase the 'Escape'
mapping for Event::Quit, there's no way to add it back, since while in menu
remap mode, the Escape key is used to erase an entry.  It can't be assigned
to any event.  So if you erase it, you'll have to delete the stellarc/
stella.ini file.  I can see this generating quite a few questions ...

Reworked the sound code for PAL games.  Now they sound just as good as NTSC.
Still TODO is research the correct speed for playing PAL games, since 60 fps
seems too fast.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@328 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-22 01:54:08 +00:00
stephena 4c6eddb427 Removed 'replace' command from different sections of code. This allows
filenames to be saved exactly how they're present in the stella.pro file.

Originally I added it since some OS don't like spaces in filenames.  But
since there are also other weird characters in the names (like
parenthesis and # symbols), it doesn't make sense to only remove spaces.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@327 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-21 00:15:08 +00:00
stephena ec4ddd4994 Included a different SDL patch to enable Stelladaptor support. This one
is much less invasive and stands a better chance of being integrated into
the main SDL codebase.

This fixes a problem with Windows 98 users not being able to use Stella
(oops).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@326 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-21 00:07:50 +00:00
stephena cd1e2fb4dc Fixed a last-minute bug with StellaX not showing a game in the gamelist
if it didn't have an entry in the stella.pro file.

It never ends ...


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@325 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-17 19:34:01 +00:00
stephena 2ff215b543 Zipped the SDL patchfile, since committing it to CVS changed it,
and thus subsequent patch attempts would fail.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@324 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-15 21:50:41 +00:00
stephena 52a79c583a OK, this is really the last documentation update :)
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@322 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-15 19:59:54 +00:00
stephena 46806969f3 Updated the documentation with a few last-minute changes.
That's it.  I'm off to make source and binary images for Linux and Windows.
If there are any more bugs (and I'm sure there are :), they'll be fixed in
Stella 1.4.1.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@321 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-15 19:37:10 +00:00
stephena 859a97579e Provided the correct name for the Mac OSX distribution.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@320 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-15 18:11:27 +00:00
stephena b05178d523 Added a patchfile against SDL-1.2.7 to let Stella see input devices
by actual name, instead of by driver name.  This is required for
automatic Stelladaptor detection.  Also added a README explaining
how to rebuild the SDL source to include this patch (required by GPL).

Since Linux, Mac, and other SDL variants work out of the box wrt
input device naming, I consider this an SDL/Windows bug, and this
patchfile is a workaround.  Hopefully, future versions of SDL will
incorporate the patch.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@319 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-15 18:08:55 +00:00
stephena e44e59cc13 Added new headers to all the .cxx and .hxx files with updated
copyright information.

Fixed the bug in StellaX where pressing the close button in the title
bar would not call the MainDlg::Quit() method (and hence not save
certain settings and free some memory).

Cleaned up the formatting of most of the source code, which was honestly
in such a sorry state that parts of it were difficult to read.

Got rid of CSimpleString class and references that were no longer used.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@318 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-15 03:03:27 +00:00
stephena 17e7653f34 Added some message boxes wrt the loading of the ROM cache file.
Various code cleanups.  I REALLY HATE Hungarian notation.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@317 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-15 00:11:07 +00:00
markgrebe 20408dcae0 Updated Mac documentation for keys
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@316 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-14 19:43:55 +00:00
stephena 909c72b1d5 Updated the makefile for default builds.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@315 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-14 16:49:45 +00:00
stephena af074fe330 Removed old code that wasn't being used.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@314 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-14 16:15:06 +00:00
stephena a18f034095 Updated a FIXME in this file, now that I actually know what the OSX
distribution is called.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@313 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-14 16:13:36 +00:00
markgrebe 21cd37170b Added missing developer keys for height and width
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@312 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-14 06:54:53 +00:00
markgrebe db2cfb8963 Finished Mac doc changes
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@311 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-14 06:53:27 +00:00
markgrebe dd4a6a17aa Update for core changes
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@310 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-14 05:31:51 +00:00
markgrebe a267454d2f Partial update of Mac port documentation
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@309 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-14 05:30:28 +00:00
stephena daf64396d6 Updates across the board wrt the manual and release files, etc. It looks
like the next release will be on July 17 (or I'll have to edit all these
files again).

Ran the various PNG images through pngcrush, which squeezed them
down a little.  Every little bit helps.

Included the latest version of my personal stella.pro file.  It seems that
the original maintainer for this file has gone MIA, so I guess that's
*yet another* thing I'll be maintaining ...


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@308 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-13 01:09:50 +00:00
stephena 8876c9878b Fixed -listrominfo output; it wasn't outputting manufacturer (typo).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@307 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-12 04:05:03 +00:00
stephena d246f9f3f4 Bumped the version number from 1.4_cvs to 1.4. You know a release is
close when that happens ...


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@306 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-12 02:26:57 +00:00
stephena 9faebe5d59 Updated the Stella manual for Windows and reorganized things a little.
All that's left is the inclusion of Mac OSX specific information.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@305 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-12 02:24:25 +00:00
stephena 1a82add67b Added the ability to sort (in alphabetical order) by Name, Manufacturer
or Rarity columns in the game listview.  The currently selected sort column
is also saved, and then used when StellaX starts again.

The current width of columns is also saved, and reused when StellaX starts
again.

Still TODO is get the titlebar close button to 'hook' into the
MainDlg::Quit() method, so that it works the same way as pressing
the 'Exit' button or pressing 'Alt-F4'.  Right now, pressing the close
button in the titlebar bypasses the Quit() method, and AFAICT also
the freeing of any memory.  This bug seems to have been present in StellaX
since the beginning.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@304 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-11 22:04:22 +00:00
stephena eda901519b Removed the old Windows frontend code. Most of it has serious bit-rot
anyway, and some of it has been in an uncompilable state for almost
4 years!

All future Windows development will be on the StellaX GUI, and even
that may eventually disappear if the same functionality is integrated
into Stella itself.

So, for any Windows developers reading this, all Win32 development
occurs in the src/win32 directory.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@303 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2004-07-11 21:55:32 +00:00