Commit Graph

212 Commits

Author SHA1 Message Date
Torbjörn Andersson
13dc149ded Applied patch #1175374 ("FluidSynth MIDI driver"), with a few documentation
changes. There are a few things that could use a bit more work, and I've
only tested it on my Linux box. I have verified that ScummVM still compiles
when it's disabled, though, so it shouldn't break anything too badly.

svn-id: r17512
2005-04-10 14:33:44 +00:00
Max Horn
b43a53f74d Move more text editing code into class EditableWidget; ListWidget now has all the editing capabilities of EditTextWidget
svn-id: r16694
2005-01-29 18:04:34 +00:00
Max Horn
04fc9fe6e7 Started to merge the text editing code in ListWidget and EditTextWidget
svn-id: r16692
2005-01-29 16:30:51 +00:00
Max Horn
41b914e773 After adding a new game, select the new entry
svn-id: r16434
2005-01-05 01:42:52 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
9581bd5691 Fix for bug #1091801 (ALL: Possible to create corrupt config file)
svn-id: r16379
2004-12-30 12:54:04 +00:00
Max Horn
81b6e9e1e6 Get rid of the useless & troublesome master_volume
svn-id: r16328
2004-12-25 23:43:05 +00:00
Eugene Sandulenko
509f1b040f Fix warning
svn-id: r16325
2004-12-25 23:19:42 +00:00
Max Horn
02c0a25c31 Partial fix for bug #1091189: restore the selection after editing the games list in the launcher
svn-id: r16324
2004-12-25 22:26:28 +00:00
Max Horn
4a0c1b86f7 Make ESC key work in the launcher
svn-id: r16323
2004-12-25 22:13:44 +00:00
Robert Göffringmann
0d7ab01640 Pass subdirectories to gamedetector functions
svn-id: r16002
2004-12-09 15:06:49 +00:00
Max Horn
5d9b35510d Changed the FilesystemNode implementation to make it easier to use (client code doesn't have to worry about the memory managment anymore, it's all 'automatic' now). May have introduced a mem leak or two, please check :-)
svn-id: r15848
2004-11-20 21:35:49 +00:00
Max Horn
ee3158cb8c Patch #896096 (Restoring last selected game selection) with some personal modifications
svn-id: r15372
2004-10-01 21:12:18 +00:00
Max Horn
a956d5ece6 Ignore case when sorting entries in the launcher
svn-id: r14756
2004-08-26 00:27:51 +00:00
Max Horn
ee70457667 Fix for bug #1007093 (GUI: removing game configuration from Launcher buggy); moral: either document how things work, or at least provide well named constants for certain return values... using the cheap way out here, i.e. method (b) :-)
svn-id: r14557
2004-08-11 21:49:58 +00:00
Max Horn
580870e9ba Fix label width; properly distinguish between a global default extrapath/savepath, and a target specific one
svn-id: r14343
2004-07-26 18:11:55 +00:00
James Brown
06dc6a2c4e Backport C&P bug from local tree
svn-id: r14143
2004-07-01 10:24:42 +00:00
James Brown
d611b4bf1f Add 'Path' tab to launcher, w/ selection for Game, Data and a new 'Extra' path.
Extrapath is used for pointing to additional game resources - for example, running BS 1 or 2 directly from original CDs, Extrapath would point to the cutscene packs.

svn-id: r14125
2004-06-29 14:23:39 +00:00
Torbjörn Andersson
349f63ebfc Changed "voice_volume" to "speech_volume" for consistency with the Broken
Sword games. (The digial iMUSE code still calls it voice volume, though.)

svn-id: r13483
2004-04-06 11:50:35 +00:00
Paweł Kołodziejski
f141ad488b added voice group volume to scumm engine for imuse digital and implemeted volume groups control
svn-id: r13468
2004-04-05 18:24:36 +00:00
Max Horn
997ccc6c05 fix memory leak
svn-id: r13381
2004-03-25 21:31:03 +00:00
Max Horn
4a15a80eb3 Fix for bug #917532 (GUI: BrowserDialog return value)
svn-id: r13320
2004-03-17 00:07:43 +00:00
Max Horn
deb96003a2 Aaargh, didn't mean to commit this...
svn-id: r13296
2004-03-15 02:28:47 +00:00
Max Horn
782dabbcd3 ...and mor. Next big thing should be to document the overlay stuff, but that'll have to wait till after I slept :-)
svn-id: r13295
2004-03-15 02:21:04 +00:00
Paweł Kołodziejski
bbc9d84e29 fixed compilation
svn-id: r12789
2004-02-09 07:52:21 +00:00
Max Horn
1141ff1ac2 Modified version of patch #892795 (Let scumvm -v show supported libs)
svn-id: r12780
2004-02-09 01:27:27 +00:00
Max Horn
be73a85297 Make use of the MD5-based game detection in the launcher
svn-id: r12766
2004-02-07 17:12:10 +00:00
Max Horn
f59eb3b219 renamed (Const)Iterator to (const_)iterator; changed size() to return an uint
svn-id: r12722
2004-02-05 00:19:57 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
24fcd71e84 cleanup for language/platform functions
svn-id: r12034
2003-12-30 19:07:55 +00:00
Max Horn
f19f73eb50 Make it possible for game detection functions to detect language/platform (not yet done by any detector, but will come with the MD5 detection code)
svn-id: r11811
2003-12-21 15:29:52 +00:00
Max Horn
35b62c294d removed GameSettings::detectname and GameSettings::midi; renamed GameSettings::gameName to name; added temporary experimental MD5 hack
svn-id: r11603
2003-12-13 00:20:01 +00:00
Max Horn
54aa33310d reuse SaveLoadChooser in main dialog -> this means the SaveLoadChooser remembers the scroll position -> improved user experience
svn-id: r11415
2003-11-28 21:56:14 +00:00
Max Horn
f40d0433bf return/enter key in the launcher now starts the selected target
svn-id: r11347
2003-11-18 23:47:08 +00:00
Max Horn
22c22d1e81 added namespace GUI
svn-id: r11255
2003-11-10 23:40:48 +00:00
Paweł Kołodziejski
14b7d027a2 cleanup whitespaces
svn-id: r11223
2003-11-08 23:22:16 +00:00
Max Horn
a93c9f49ba added checkboxes to the 'Edit Game...' dialog which let the user determine whether to override global settings or not; besides other things, this fixes bug #837599 (Default volume is 0 for newly added games)
svn-id: r11196
2003-11-07 16:01:51 +00:00
Max Horn
29d79d8197 make savepath settings persistent
svn-id: r11158
2003-11-05 22:06:07 +00:00
Max Horn
297ddb370b refactored common code into a new class OptionsDialog; various fixes and cleanup to the launcher/option dialogs
svn-id: r11152
2003-11-05 12:25:42 +00:00
Max Horn
c207fe6a95 added multi_midi/native_mt32 settings (we *really* need to come up with a good way to share code between GlobalOptionsDialog and EditGameDialog)
svn-id: r11145
2003-11-05 01:22:19 +00:00
Max Horn
4cff7c8b97 save fullscreen/aspect ratio settings; fix midi driver selection (driver was set immediately when you choose it from popup; this made it impossible to 'Cancel' the change)
svn-id: r11144
2003-11-05 01:15:10 +00:00
Max Horn
25f2aafd7a added language/platform popup
svn-id: r11143
2003-11-05 00:59:03 +00:00
Max Horn
ee253d4c90 modified NewGui::drawString to shorten strings which don't fit using ellipsis (disabled for the EditTextWidget for now)
svn-id: r11136
2003-11-04 22:00:36 +00:00
Max Horn
597ddcfa17 Added some more dummy checkboxes, functionality to be added
svn-id: r11135
2003-11-04 21:17:33 +00:00
Max Horn
76e4cbe2cb fix item positions
svn-id: r11122
2003-11-03 23:42:53 +00:00
James Brown
0ece8aab8b Default to first tab
svn-id: r11087
2003-11-03 06:19:43 +00:00
James Brown
a331a298a2 Fiddling with new tab widget
svn-id: r11086
2003-11-03 05:27:53 +00:00
Max Horn
af71b2f309 use TabWidget for GlobalOptionsDialog
svn-id: r11073
2003-11-03 00:24:04 +00:00
Max Horn
af19319a24 added initial TabWidget stub (if you want to try it, I added some testing code to launcher.cpp which you just have to un-#if). This is not yet finished, obviously, but enough to 'get the idea', I hope
svn-id: r11062
2003-11-02 19:11:03 +00:00
Max Horn
5c387a67ae ask before removing a game config
svn-id: r11050
2003-11-02 11:32:18 +00:00
Max Horn
b27a871f87 turned NewGui into a singleton, and made OSystem a pseudo-singleton; added Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
svn-id: r11045
2003-11-02 02:18:16 +00:00
Max Horn
31f64369ff merged detectGames() into LauncherDialog::handleCommand()
svn-id: r11043
2003-11-01 23:45:39 +00:00
Max Horn
17597164b9 amiga checkbox is obsolete (will be replaced by a platform popup
svn-id: r11038
2003-11-01 22:18:17 +00:00
Max Horn
53db0a8a07 cleanup: removed version/id from GameSettings
svn-id: r10995
2003-10-28 17:07:25 +00:00
Max Horn
df7cda84d3 findGame is static class method now
svn-id: r10864
2003-10-17 15:54:17 +00:00
Max Horn
116dbee1fc factored out the game detection code into the Plugin class; this is the first step towards allowing more powerful, plugin specific detection code; also, moved the Plugin GameSettings APIs to a slightly higher level
svn-id: r10858
2003-10-17 12:18:58 +00:00
Max Horn
1e56fb8191 cleanup
svn-id: r10839
2003-10-16 23:16:16 +00:00
Max Horn
36fd7ec445 some renaming for more consistent terminology (although we might want to reevaluate this): 'target' is what is in your config file; 'game' is what a frontend provide. E.g. the scumm frontend provides the game 'monkeyvga', and my config file has target 'monkeyvga-ger' configured to use that game
svn-id: r10766
2003-10-12 18:40:12 +00:00
Max Horn
80c6401b9d fix for bug #821502 (GUI: Launcher crashes with unexisting targets)
svn-id: r10738
2003-10-11 21:15:57 +00:00
Max Horn
6e09d35090 turned PluginManager into a proper singleton
svn-id: r10688
2003-10-08 22:10:59 +00:00
Max Horn
d177364715 new config manager. not everything is completed, and some things will still be changed, but it seems to work well enough to put it into CVS
svn-id: r10687
2003-10-08 21:59:23 +00:00
Max Horn
fd2c041d79 Make use of new List iterator
svn-id: r10609
2003-10-05 14:03:07 +00:00
Max Horn
0e645f88ae renamed namespace ScummVM to Common
svn-id: r10544
2003-10-02 17:43:02 +00:00
Max Horn
be9d4066e1 moved engine.* to base; this fixes some linking issues when building a barebone ScummVM (or maybe I just want to increase our CVS stats? <g>)
svn-id: r10287
2003-09-18 02:07:18 +00:00
Max Horn
c1a678afeb new module 'base'; moved gameDetector.*, main.cpp and base/plugins.* there (this removes the need for an ugly hack in the build system, and is also conceptionally cleaner)
svn-id: r10282
2003-09-17 22:41:01 +00:00
Max Horn
769f5c2919 added About dialog to launcher
svn-id: r10107
2003-09-08 18:09:32 +00:00
Max Horn
940200f173 got rid of version_settings
svn-id: r10101
2003-09-08 17:25:44 +00:00
Max Horn
bac8a0da5b added a FIXME comment
svn-id: r10093
2003-09-08 16:10:05 +00:00
Max Horn
f23a34c9e5 renamed VersionSettings -> TargetSettings and also renamed some of its members; added GameDetector::findTarget; made launcher use that new method; some initial preparations for Plugin code
svn-id: r10092
2003-09-08 15:38:34 +00:00
Travis Howell
be0d723e7f Change Amiga palette option to Amiga version
svn-id: r9800
2003-08-20 14:01:39 +00:00
Travis Howell
bf1c300c36 Show Amiga option only for scumm games
svn-id: r9643
2003-08-12 02:08:21 +00:00
Max Horn
b05e7de7bb replaced SCUMMVM_VERSION/SCUMMVM_CVS by gScummVMVersion/gScummVMBuildDate/gScummVMFullVersion; made engine.o depend on all other .o files, so that the build date in it is always up-to-date
svn-id: r9032
2003-07-15 02:16:33 +00:00
Jonathan Gray
4cd1927ee0 remove scumm.h dependency
svn-id: r8498
2003-06-15 02:02:36 +00:00
Max Horn
101df28e0b moved GameId declaration to common/engine.h (more logical); moved scumm specific stuff from gameDetector.h to scumm.h; cleaned up some #includes (ideally, never #include something in a header file if you can avoid it - this cuts down interdepencies)
svn-id: r8496
2003-06-15 01:42:19 +00:00
Max Horn
5f5b0e6c7e use _version
svn-id: r8370
2003-06-07 00:01:18 +00:00
Max Horn
59bff559d1 PalmOS changes: allow 8 bit GUI mode
svn-id: r7226
2003-04-30 13:57:57 +00:00
Jonathan Gray
dffb21e78a update launcher for recent changes
svn-id: r7191
2003-04-29 04:27:08 +00:00
Max Horn
023d84a6a3 added some meat to the global options dialog (no prefs are stored yet, though)
svn-id: r6862
2003-03-25 15:32:36 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
1ff9749b87 and more cleanup .... Last
svn-id: r6721
2003-03-06 19:52:54 +00:00
Max Horn
189c5405b0 don't show amiga checkbox for simon games
svn-id: r6031
2002-12-20 22:41:03 +00:00
Max Horn
7f46dc6690 cleanup
svn-id: r5947
2002-12-14 01:49:19 +00:00
Max Horn
2af8f20344 added a dummy global options dialog; PopUpWidget tweaks
svn-id: r5919
2002-12-12 23:22:48 +00:00
Max Horn
57d8bb978f added PopUpWidget; hacked it into the edit game dialog just to show how to use it; note: this is NOT finished by any means, the look will change, the code will change, this is just an early preview :-)
svn-id: r5914
2002-12-12 12:07:46 +00:00
Max Horn
7098159101 fixed launcher buttons again
svn-id: r5770
2002-12-01 12:47:13 +00:00
Max Horn
2450640218 fix for bug #646218 (Start button in launcher was not getting disabled)
svn-id: r5766
2002-12-01 02:04:55 +00:00
James Brown
850428d1a5 Add a few EditGame options. Honor game-specific fullScreen from the Launcher
svn-id: r5715
2002-11-25 09:43:22 +00:00
Max Horn
4165e1ceb4 cleanup
svn-id: r5674
2002-11-21 17:29:57 +00:00
Max Horn
293c6cc461 enhanced Config::rename_domain; added the ability to change the domain name in EditGameDialog
svn-id: r5673
2002-11-21 17:25:31 +00:00
Max Horn
73369f6f37 some fixes; hooked up the EditGameDialog (so changes to 'name' there actually take effect)
svn-id: r5670
2002-11-21 16:56:29 +00:00
Max Horn
32de70fb65 changed comments slightly
svn-id: r5667
2002-11-21 15:24:38 +00:00
Max Horn
9ff12dbc01 Implemented EditTextWidget; fixed Add Game/Remove Game in launcher; make use of EditTextWidget in EditGameDialog; various other tweaks
svn-id: r5665
2002-11-21 15:20:52 +00:00
Max Horn
5b59dc4019 implemented remove buttons; added EditGameDialog stub (it only displays some info, no edit possible yet); except for that, the 'Add Game' and 'Edit Game' buttons should be complete now
svn-id: r5663
2002-11-21 14:12:55 +00:00
Max Horn
7a5063f086 enhanced launcher: added 'Remove' button, renamed 'Configure...' to 'Edit Game...'; display warning dialog if 'Add Game...' can't find any game in the selected directory; show warnings dialogs for stuff that is NYI
svn-id: r5660
2002-11-21 13:11:29 +00:00
Max Horn
dec234c6a5 factored out ChooserDialog into it's own header/source file, and made the title adjustable; added a dummy file for EditFieldWidget (not implemented yet); some other cleanup
svn-id: r5658
2002-11-21 12:48:50 +00:00
Max Horn
c5c1091613 added _configureButton stub
svn-id: r5652
2002-11-21 04:02:10 +00:00
Max Horn
e5257ac4fe added a chooser sub dialog used by 'Add Game'
svn-id: r5651
2002-11-21 03:51:07 +00:00
Max Horn
2eb39f6497 lo and behold - the 'Add Game' button now works, at least in some cases! More to come...
svn-id: r5646
2002-11-21 02:19:02 +00:00
Max Horn
ce3cde15a0 added some preliminary game auto detect code to the launcher; this required a small change to the FS API, Windows/Morphos code will have to be adapted slightly I fear. Also, not all games are detected correctly, and some probably never will be, so we still have to add a dialog for cases where auto detect doesn't work
svn-id: r5600
2002-11-19 01:36:47 +00:00
Max Horn
e152733344 added completly useless non functional browser dialog skeleton. Just to show Endy I really have started working on it finally <g>
svn-id: r5547
2002-11-14 13:46:35 +00:00
Max Horn
287d45ff36 cleaned up Config::get_domain; fixed sorting in launcher
svn-id: r5541
2002-11-13 20:23:24 +00:00
James Brown
0e0701ade4 Get launcher to display aliased games as well as 'basic' games
svn-id: r5343
2002-10-28 10:40:49 +00:00
James Brown
29f335c15e Don't crash the launcher if there are no entries
svn-id: r5342
2002-10-28 10:24:27 +00:00
James Brown
959a9acf14 Add support for aliased scummvm config entries.
Eg:
 [germandott]
 path=/games/german/dott
 gameid=tentacle
 description=the german version of DOTT

I havn't finished the Launcher changes to show aliased entries yet, as I need to parse the whole domainmap to do so.

svn-id: r5341
2002-10-28 09:03:02 +00:00
Max Horn
308a52a2ae added some TODO comments so that people know a bit better what is planned here (but also feel free to implement any of those before I get to it <g>)
svn-id: r5172
2002-10-17 22:43:13 +00:00
Max Horn
d8b72c31c9 sort the games in the launcher list by name
svn-id: r5154
2002-10-15 15:32:54 +00:00
Max Horn
42c7315eed some more launcher tweaks
svn-id: r5138
2002-10-13 11:51:48 +00:00
Max Horn
cdb7b13789 revised options dialog
svn-id: r5130
2002-10-12 00:26:24 +00:00
Max Horn
3d7552890a fixed ListWidget drawin/behaviour if there are less items than fit on one page; enhanced launcher dialog to disable start button if nothing is selected
svn-id: r5068
2002-10-01 23:11:19 +00:00
Max Horn
8f7e3119bf fixed key repeat in NewGui; made the launcher game list non-editable
svn-id: r5052
2002-09-30 12:56:59 +00:00
Max Horn
d921d06d39 played a bit with the launcher - it now is already somewhat usable <g>
svn-id: r5047
2002-09-30 00:55:47 +00:00
Max Horn
6024c80f14 added (currently completly useless) launcher dialog
svn-id: r5024
2002-09-27 23:27:14 +00:00