Commit Graph

465 Commits

Author SHA1 Message Date
Paweł Kołodziejski
5748227adc missed destroy object after last changes
svn-id: r15843
2004-11-19 22:53:20 +00:00
Paweł Kołodziejski
a7b7a281f1 changed file constructor to dymanic
svn-id: r15842
2004-11-19 22:43:20 +00:00
Paweł Kołodziejski
8dc5c9843c fixed additional not needed white space char
svn-id: r15839
2004-11-19 22:09:23 +00:00
Paweł Kołodziejski
1f6bcee124 not needed chech for unsigned type
svn-id: r15838
2004-11-19 22:02:59 +00:00
Paweł Kołodziejski
b08b04b550 fixed not defined MAX_PATH
svn-id: r15837
2004-11-19 21:58:24 +00:00
Paweł Kołodziejski
dc7a20ccc3 ops, commited before older version
svn-id: r15836
2004-11-19 20:30:26 +00:00
Paweł Kołodziejski
20e9cf6f20 added walkthrough
svn-id: r15835
2004-11-19 19:50:22 +00:00
Eugene Sandulenko
71a2c36fa1 Add global extrapath to GUI and to default directories list.
svn-id: r15816
2004-11-15 04:41:51 +00:00
Max Horn
ea9d53be79 cleanup
svn-id: r15597
2004-10-17 19:40:34 +00:00
Eugene Sandulenko
7b16b16e20 Fix bug reported by salty-horse. When list is so short so it fits
one page, list position gets negative values. This never was triggered until
lastselectedgame config file key was introduced.

svn-id: r15441
2004-10-06 22:19:49 +00:00
Chris Apers
7b0ce25510 PalmOS update
svn-id: r15432
2004-10-06 09:54:20 +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
ce8c99bf62 Rename remaining OSystem methods to match our coding guidelines
svn-id: r15332
2004-09-28 20:19:37 +00:00
Max Horn
4fed56e8a6 including sys/param.h causes several conflicts with symbol names we use, so don't do it
svn-id: r15320
2004-09-28 11:29:32 +00:00
Jonathan Gray
ae73d1a4ee use MAXPATHLEN for path buffer size
svn-id: r15319
2004-09-28 04:14:57 +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
cb052da949 Use custom font for the console -> more information visible, helps when using e.g. the 'actors' command
svn-id: r14627
2004-08-15 14:39:35 +00:00
Max Horn
0f142572f7 Allow char drawing with a custom font
svn-id: r14624
2004-08-15 13:49:13 +00:00
Max Horn
e27f2c5592 Removed some obsolete stuff; made switching to the alt font less intrusive (you only have to recompile a single file now); foundation for future run-time font switching...
svn-id: r14623
2004-08-15 13:15:55 +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
7f574d4e8e Make the global savepath button match the look & feel of the 'local' one; fix bug #916498
svn-id: r14491
2004-08-06 23:02:13 +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
Max Horn
9f91359c2e Allow user to select ListWidget entries by typing them (see FR #922921)
svn-id: r14295
2004-07-21 14:28:57 +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
8b5f08efb6 Applied patch #956989 ("Varous console fixes"). Fingolfin said it looked
ok, and as far as I can tell it does fix bugs #941811 and #941814, just as
it promised.

svn-id: r13849
2004-05-23 14:06:52 +00:00
Max Horn
83cd000207 Maybe this change will cure one of erik's two console bug reports (namely #941811). Maybe not
svn-id: r13794
2004-05-05 23:08:30 +00:00
Max Horn
71df4c5e72 Cleaned up console code a bit - wrap around logic needs work
svn-id: r13793
2004-05-05 23:06:44 +00:00
Max Horn
5d0f0ea0c6 Added generic variable size stack class - COMPLETELY UNTESTED. Really should add some unit tests for this...
svn-id: r13776
2004-05-05 01:19:42 +00:00
Max Horn
8a69ffc46c Renamed template class 'List' to 'Array', since that is really what it is (a resizable array, not a linked list)
svn-id: r13520
2004-04-09 15:10:23 +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
178bf539b4 Make use of Stack template
svn-id: r13430
2004-03-29 22:29:30 +00:00
Max Horn
14378cb56e Renamed more OSystem methods
svn-id: r13410
2004-03-28 16:30:50 +00:00
Max Horn
997ccc6c05 fix memory leak
svn-id: r13381
2004-03-25 21:31:03 +00:00
Max Horn
7b158941e7 cleanup
svn-id: r13364
2004-03-22 22:01:10 +00:00
Max Horn
a9789acfc6 Moved Surface/Font code into new 'graphics' module
svn-id: r13357
2004-03-21 21:20:25 +00:00
Max Horn
93ef5161a5 Fix (workaround?) for bugs #917700 and #917697
svn-id: r13323
2004-03-17 00:18:07 +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
7410f041ee cleanup; added a TODO to Font class
svn-id: r13308
2004-03-15 18:44:14 +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
Torbjörn Andersson
ccd472c942 Added FotAQ to the "About" window, after som discussion with Endy about the
exact wording of it.

svn-id: r13249
2004-03-13 14:19:50 +00:00
Max Horn
4aa240e0e5 use 'Surface' in NewGui
svn-id: r13244
2004-03-13 13:22:14 +00:00
Max Horn
a0bde7a732 Revamped the font code: now it's very easy to switch between the 'original' SCUMM font and any new font... or to have multiple different fonts (like, one for 320x240 and and one for 640x480); furthermore, font rendering can now be done w/o using NewGui
svn-id: r13243
2004-03-13 13:03:25 +00:00
Max Horn
7e3e79f41e useful helper method (will be used for improved options dialog)
svn-id: r13237
2004-03-13 12:33:31 +00:00
Max Horn
c6752cccf5 renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
svn-id: r13087
2004-02-28 12:58:13 +00:00
Max Horn
7faa960649 remove outdated TODO
svn-id: r13058
2004-02-25 23:16:04 +00:00
Max Horn
d158280425 the OSystem changes we discussed on the ML (note: renaming of the existing OSystem API is not yet finished); porters will have to fix their ports to get them to compile again
svn-id: r13036
2004-02-24 22:39:42 +00:00
Nicolas Bacca
fc8c15dc20 Fix graphic options on WinCE
svn-id: r13031
2004-02-24 21:56:16 +00:00
Max Horn
cfd248eeb9 avoid #include scaler.h
svn-id: r12997
2004-02-22 21:01:40 +00:00
Max Horn
76fb3ba5c7 fix OSX nav dialog in fullscreen mode
svn-id: r12823
2004-02-11 13:31:16 +00:00
James Brown
deb1d40cc0 This is not a test, I repeat, this is not a test!
svn-id: r12822
2004-02-11 08:16:08 +00:00
Paweł Kołodziejski
bbc9d84e29 fixed compilation
svn-id: r12789
2004-02-09 07:52:21 +00:00
Max Horn
fbd83ab27e cleanup
svn-id: r12781
2004-02-09 01:37:20 +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
407c489cc4 removed obsolete #include's
svn-id: r12729
2004-02-05 11:59:06 +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
51733fbe3e native directory browser on Mac OS X
svn-id: r12694
2004-02-01 02:03:01 +00:00
Max Horn
da76ac5890 Various changes to the build system which allow building ScummVM in an external directory (and as such, allow you to have a debug, a profiling, and a release build from the same set of source files in parallel). Work in progress
svn-id: r12680
2004-01-30 21:54:28 +00:00
Nicolas Bacca
1cbefa8e21 Revert old change - proper fix is to avoid playing in portrait mode :)
svn-id: r12605
2004-01-26 07:37:41 +00:00
Nicolas Bacca
387860213e Hide unnecessary options for CE in the main options dialog
svn-id: r12604
2004-01-26 07:36:47 +00:00
Nicolas Bacca
bb3a9e4cb3 Undo old tweak not necessary anymore
svn-id: r12603
2004-01-26 07:35:31 +00:00
Nicolas Bacca
e17ae4de3a addGame made virtual (temporarily ?) for CE backend launcher
svn-id: r12602
2004-01-26 07:34:53 +00:00
Nicolas Bacca
9f3515be30 Add comment for checkbox CE tweak
svn-id: r12522
2004-01-19 20:34:54 +00:00
Nicolas Bacca
f2f77cbfdf Small tweak for the checkbox control on CE
svn-id: r12478
2004-01-18 13:50:50 +00:00
James Brown
63afd5fe0c Launcher subtitles checkbox (is Sound the right place for this? I dunno..)
svn-id: r12454
2004-01-17 13:21:15 +00:00
James Brown
eeab2bb3bf Hack for Launcher Scaler dropdown. Backends using the Launcher will need to implement the OSystem HAS_SCALER property. The global options dialog still needs doing.
svn-id: r12436
2004-01-16 16:28:56 +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
1b127480af erik's patch for bug #854470
svn-id: r11521
2003-12-06 13:55:50 +00:00
Max Horn
e04d8576cb explicitly specify namespace in g_gui helper macro
svn-id: r11450
2003-12-01 21:16:18 +00:00
Max Horn
3944eb4494 cleanup
svn-id: r11416
2003-11-28 22:08:52 +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
Chris Apers
392af5eab9 Fixed error using NEW_FONT_CODE with PalmOS port
svn-id: r11412
2003-11-28 15:18:14 +00:00
Chris Apers
9da541f657 This is no more needed
svn-id: r11407
2003-11-28 10:08:36 +00:00
Max Horn
b8c0fbf06e new font code (currently disabled by default), which allows using 'arbitrary' BDF fonts (via convbdf)
svn-id: r11350
2003-11-19 23:46:39 +00:00
Max Horn
80e335e0c4 oops
svn-id: r11348
2003-11-18 23:49:33 +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
7d0fcb71a8 cleanup; fixed return/enter in ListWidget when not in editing mode
svn-id: r11346
2003-11-18 23:44:28 +00:00
Chris Apers
0be0f01226 Use GUI namespace
svn-id: r11268
2003-11-12 12:36:36 +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
fcf6d6613d enable StaticTextWidget by default; make CheckboxWidget::handleMouseUp send the checkbox state along with its command
svn-id: r11193
2003-11-07 15:05:14 +00:00
Max Horn
435fe749d7 draw StaticTextWidget differently if disabled
svn-id: r11192
2003-11-07 14:58:12 +00:00
Max Horn
767fc87148 fixed memory leak in TabWidget
svn-id: r11191
2003-11-07 14:50:32 +00:00
Jonathan Gray
239aea0ff0 spelling fixes
svn-id: r11178
2003-11-07 02:31:44 +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
2c3b8c9b30 minor tweaks
svn-id: r11149
2003-11-05 11:24:37 +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
ceef10b5b8 make it possible to query the tag of the selected item
svn-id: r11142
2003-11-05 00:58:42 +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