Commit Graph

345 Commits

Author SHA1 Message Date
Travis Howell
50c3369ddd Correct name
svn-id: r9324
2003-07-31 10:21:00 +00:00
Jamieson Christian
c5de745580 Disabled unknown pragma warning in MSVC-6.
svn-id: r9320
2003-07-31 06:47:05 +00:00
Max Horn
26d05c0190 the VC warning for unknown pragmas is now gloabally disabled, no need to work around it locally
svn-id: r9300
2003-07-30 18:40:28 +00:00
Torbjörn Andersson
20dd02a833 Don't check for hotkeys when ascii is 0, since that is the default hotkey
for widgets that have none. (This means the Shift key words in text edit
widgets again, for instance.)

svn-id: r9148
2003-07-23 16:44:15 +00:00
Max Horn
660ca0f526 fixed button hotkeys in dialogs with a focused widget (e.g. the F5 save/load dialog)
svn-id: r9127
2003-07-22 16:30:00 +00:00
Max Horn
ece1b83ac1 fixed key autorepeat when using button hot keys
svn-id: r9126
2003-07-22 16:29:23 +00:00
Max Horn
8c8f22f65a whitespaces
svn-id: r9125
2003-07-22 16:26:12 +00:00
Max Horn
22a86e823c use kLineHeight constant (also strictly spoken it makes no sense: kLineHeight = 11, yet we only put 10 pixels between our lines :-)
svn-id: r9123
2003-07-22 16:08:57 +00:00
Max Horn
bda0a18eee made about dialog global (so that it can be used from the launcher and from sky/simon; also added our copyright to it
svn-id: r9122
2003-07-22 16:05:51 +00:00
Chris Apers
6d92375093 Fix for bug #775512
svn-id: r9117
2003-07-22 08:33:13 +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
9f8338503a added tilda (~) character to GUI font
svn-id: r8484
2003-06-14 21:16:22 +00:00
Jamieson Christian
baaf6502ec Made notation of transient config domains consistent.
Now all transient config domains use a name
in the form _TRANSIENT_DOMAIN

svn-id: r8452
2003-06-12 18:46:37 +00:00
Jamieson Christian
c117ef1e50 Fix for bug [741592] GUI: Switching music driver mixes up music
Implement true music driver selection from the GUI options dialog.

This implementation depends on a new, transient config domain called
"user-overrides". Probably any other config changes made from the
options dialog will need to go into this domain, which is now
loaded after the game settings are loaded.

I hope this is the right way to do it. I'm still a little fuzzy
about our game settings architecture. If anybody suddenly gets
a "[user-overrides]" section showing up in their scummvm.ini or
scummvm.rc files, you'll know why.

svn-id: r8434
2003-06-11 06:49:47 +00:00
Max Horn
be9e6e85db added quit event
svn-id: r8398
2003-06-08 12:11:14 +00:00
Max Horn
5f5b0e6c7e use _version
svn-id: r8370
2003-06-07 00:01:18 +00:00
Paweł Kołodziejski
f0c0b5f4f8 fixed compilation
svn-id: r8112
2003-05-29 18:30:40 +00:00
Max Horn
27f2f58010 put in explicit unistd.h for getcwd (this helps BeOS)
svn-id: r8040
2003-05-27 23:34:37 +00:00
Torbjörn Andersson
4fb4626ac9 Variable initializations in SliderWidget
svn-id: r7786
2003-05-21 16:18:41 +00:00
Max Horn
dab0e4308e memory init
svn-id: r7743
2003-05-20 16:43:28 +00:00
Max Horn
3468e2caab Patch #732725: EditTextWidget: handleMouseDown positions caret
svn-id: r7360
2003-05-05 16:12:45 +00:00
Max Horn
898387e1ac Patch #732707: EditTextWidget: long string support
svn-id: r7359
2003-05-05 16:10:19 +00:00
Oliver Kiehl
37159f9b4e fixed cursor placement
svn-id: r7343
2003-05-05 10:38:16 +00:00
Oliver Kiehl
98d5dd518e patch #732184
svn-id: r7341
2003-05-05 09:48:23 +00:00
Max Horn
975d325a92 Patch #731613: debugger tab-completion (thanks, Willem!)
svn-id: r7293
2003-05-03 21:49:19 +00:00
Max Horn
e61f0316dc Patch #731615: console: KillLastWord broken
svn-id: r7270
2003-05-03 00:08:38 +00:00
Jonathan Gray
6b17d487e4 compilation fix
svn-id: r7235
2003-04-30 21:37:02 +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
68f67c98e6 incresed button width a little more for spanish games
svn-id: r6988
2003-04-12 17:19:28 +00:00
Joost Peters
81ac7cc8f8 fixed GP32 port
svn-id: r6958
2003-04-10 13:44:50 +00:00
Marcus Comstedt
ac99b27327 Save game path setting is not meaningful on the Dreamcast.
svn-id: r6901
2003-04-03 16:01:03 +00:00
Paweł Kołodziejski
4819f360da fixed compilation under VC6
svn-id: r6873
2003-03-27 07:13:29 +00:00
Max Horn
ddb1173bf8 grow default buttons size & browser dialog to accomodate for spanish games
svn-id: r6871
2003-03-26 22:41:12 +00:00
Max Horn
f5360cbb6c Hook up the midi driver selection popup; disable GFX popup for now, till we modify the backends to properly allow for it's support
svn-id: r6867
2003-03-26 20:43:58 +00:00
Max Horn
3b1d4e4c06 Make it possible to disable popups/checkboxes
svn-id: r6864
2003-03-26 12:30:20 +00:00
Max Horn
c409895483 make the volume controls in the global options dialog work
svn-id: r6863
2003-03-25 15:55:27 +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
Max Horn
a50bbdd7f7 cleanup
svn-id: r6856
2003-03-25 00:26:53 +00:00
Max Horn
f2cc6a3d7d only treat double clicks as double clicks, but not triple/quadruple/etc. clicks)
svn-id: r6781
2003-03-09 00:39:16 +00:00
Jonathan Gray
361e312a6c change RBG to RGB which follows the argument order and hence makes more sense...
svn-id: r6767
2003-03-08 06:53:32 +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
086a89f365 Patch #691064: dot matrix scaler
svn-id: r6663
2003-03-02 16:36:52 +00:00
Jonathan Gray
c08d736d1d add new tv scanlines graphics scaler from Gregory Montoir, use -g tv2x to try it
svn-id: r6462
2003-01-15 02:11:37 +00:00
Oliver Kiehl
ebdf89e418 Added some basic line editing to the EditText widget
svn-id: r6393
2003-01-10 21:33:42 +00:00
James Brown
9df455ce38 Plop in some better disk switching code for CMI - I have no idea how well this will work transitioning from a disk1 room to a disk2
room in-game, but it works for bootparams and saved games..

svn-id: r6322
2003-01-02 10:36:17 +00:00
James Brown
92c8e4ef1e Fix NewGui for higher resolutions (eg, CMI)
svn-id: r6216
2002-12-28 04:51:34 +00:00
Max Horn
2c01dc8536 even more -peantic fixes
svn-id: r6111
2002-12-25 00:48:13 +00:00
Max Horn
70769ee04b fixed invalid memory access
svn-id: r6110
2002-12-25 00:46:34 +00:00
Max Horn
563f99b1fe more -pedantic warnings fixed
svn-id: r6109
2002-12-25 00:38:53 +00:00
Max Horn
81dce87a5c allow for a timed message dialog w/o buttons (still need to add support for multiple buttons with customm labels)
svn-id: r6038
2002-12-21 11:57:24 +00:00
Max Horn
5b6f97b8c4 made chooser wider
svn-id: r6032
2002-12-20 22:45:36 +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
27f896deca fix Ctrl-D; work around VC++ quirks properly
svn-id: r6003
2002-12-16 22:25:54 +00:00
Oliver Kiehl
e3bfb6f1fe small fix
svn-id: r6002
2002-12-16 22:15:38 +00:00
Paweł Kołodziejski
fa4f785f71 fixed compilation under MSVC
svn-id: r5998
2002-12-16 19:53:41 +00:00
James Brown
e989809665 New debugger core. Doesn't really have anything implemented yet, but is far more expandable and userfriendly than our previous.
Enable experimental console debugger by default, as I havn't written the text console code yet :)

svn-id: r5990
2002-12-16 06:21:08 +00:00
James Brown
4c831704cd Fix segfault
svn-id: r5988
2002-12-16 03:21:38 +00:00
Oliver Kiehl
9648ea6f44 console now "remembers" the text which the user had typed before using the history
svn-id: r5977
2002-12-15 12:56:13 +00:00
Max Horn
1d40232efb added a history (based on code by olki)
svn-id: r5976
2002-12-15 02:24:32 +00:00
Max Horn
f7b692dfbb added input callback hook to console
svn-id: r5973
2002-12-15 00:36:34 +00:00
Oliver Kiehl
d58ec10ea2 oops
svn-id: r5972
2002-12-14 22:37:42 +00:00
Max Horn
e91eda059e use killChar for backspace as well
svn-id: r5971
2002-12-14 22:31:43 +00:00
Oliver Kiehl
02d66e1b1d fixed ctrl-w and added ctrl-d and <delete>
svn-id: r5970
2002-12-14 22:25:09 +00:00
Max Horn
2f30b76ceb retrieve the input and (for now) print it back to the console
svn-id: r5969
2002-12-14 22:18:00 +00:00
Max Horn
bb210766ce scroll to caret if user types
svn-id: r5968
2002-12-14 22:10:37 +00:00
Max Horn
5c80aeaed6 improved caret
svn-id: r5967
2002-12-14 21:59:16 +00:00
Max Horn
09e8c84ca3 improved caret
svn-id: r5966
2002-12-14 21:57:30 +00:00
Max Horn
3af3741562 improved line editing; reworked various internal details
svn-id: r5965
2002-12-14 21:37:40 +00:00
Max Horn
534b4c4be4 added a scrollbar to console
svn-id: r5964
2002-12-14 20:04:46 +00:00
Max Horn
c5294a3528 added a simple prompt; added an edit caret; some other cleanup
svn-id: r5963
2002-12-14 18:57:15 +00:00
Max Horn
3575a2db06 fixed arrow/mouse wheel scrolling: now honors seperator items (i.e. you can't select the anymore); seperator items are now marked by an empty string
svn-id: r5961
2002-12-14 17:59:22 +00:00
Max Horn
531f758c66 changed console look&feel a little bit
svn-id: r5959
2002-12-14 16:08:37 +00:00
Max Horn
9fee7b2326 make alpha blend level adjustable, and fixed an overflow bug
svn-id: r5958
2002-12-14 16:07:26 +00:00
Max Horn
d30e577416 some more console code
svn-id: r5955
2002-12-14 15:45:45 +00:00
Max Horn
200c110f3d fixed typo
svn-id: r5953
2002-12-14 14:32:19 +00:00
Max Horn
b9b8045e1f moved the console code to gui/console.cpp; make it actually printout something. Note that this is WORK IN PROGRESS! I know it is incomplete, no need to tell me that
svn-id: r5952
2002-12-14 14:31:44 +00:00
Max Horn
96131f865c clarification
svn-id: r5951
2002-12-14 14:26:37 +00:00
Max Horn
7f46dc6690 cleanup
svn-id: r5947
2002-12-14 01:49:19 +00:00
Max Horn
7e90ae0102 added a dummy savepath setting; space gets scare, seems we really need tabs
svn-id: r5946
2002-12-14 01:49:08 +00:00
Max Horn
837f33e31b changed back transparency
svn-id: r5943
2002-12-13 23:34:07 +00:00
Max Horn
e01ecb3a7f added an API to query the list of available music drivers; cleanup
svn-id: r5942
2002-12-13 23:29:18 +00:00
Max Horn
e1b29ce16c playing a bit with the alpha level
svn-id: r5941
2002-12-13 23:17:47 +00:00
Max Horn
dbb6c8495a added seperator items (to show off :-), moved dialog a bit up
svn-id: r5940
2002-12-13 22:19:35 +00:00
Max Horn
b60cfbaf2f added support for seperator items; perform clipping if popup doesn't fit on screen
svn-id: r5939
2002-12-13 22:19:26 +00:00
Max Horn
d0dff9d727 added TODO comment
svn-id: r5938
2002-12-13 21:43:46 +00:00
Max Horn
7c9ba3a63a added keyboard & scroll wheel support
svn-id: r5937
2002-12-13 21:35:04 +00:00
Max Horn
4bf96d1c8b changed OSystem to allow RBG<->16bit color conversion to be done in the backend; after all, the backend 'knows' best what format the overlay uses. Default implementations of RBGToColor and colorToRBG assume 565 mode, backends other than SDL may want to provide alternate implementations (SDL backend already does the right thing for non-565 modes)
svn-id: r5931
2002-12-13 16:15:58 +00:00
Max Horn
1f64278abb fixup dummy options dialog a bit
svn-id: r5925
2002-12-13 01:42:31 +00:00
Max Horn
f4d78cd330 added timeout for popup; fixed notifcation sent when popup item is chosen
svn-id: r5920
2002-12-12 23:31:58 +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
f6de146c5e changed the slider widget, better suited to represent volume settings this way (IMO)
svn-id: r5918
2002-12-12 23:21:29 +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
340a422425 removed debug printf
svn-id: r5696
2002-11-23 00:10:31 +00:00
Max Horn
0b82e20b00 improved keyboard input behaviour in SDL backend: make use of the unicode feature in SDL. This way, Shift-1 on my german keyboard generates ! not 1 (on an US keyboard it'll be a different symbol). Should fix bug #600258 and #551447
svn-id: r5692
2002-11-22 18:46:18 +00:00
Max Horn
17cf386e88 changed the key input system in NewGUI: pass both the keycode and the ascii value to handleKeyUp/Down. Also, use this to fix the key repeat code (see bug #626225)
svn-id: r5691
2002-11-22 14:02:54 +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
3ceee2fc42 allow some more chars as input
svn-id: r5672
2002-11-21 17:24:42 +00:00
Max Horn
dd5e27f2c7 added missing right border
svn-id: r5671
2002-11-21 17:05:50 +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
fa312d3746 center dialog vertically, too; split overlong lines at whitespaces if posible
svn-id: r5661
2002-11-21 13:20:27 +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
69bceafc6e revamped build system somewhat: 'modules' like scumm, simon, gui etc. now all build into a lib, and all have a module.mk file that lists all their file. Advantage: further modularizes the build system, seperating all parts of ScummVM
svn-id: r5653
2002-11-21 04:08:37 +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
4896b55670 remember last directory (or rather, don't lobotomize yourself :-)
svn-id: r5647
2002-11-21 02:51:17 +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
eaa0e48741 enabled 'Go Up' button
svn-id: r5572
2002-11-15 17:54:49 +00:00
Max Horn
5be4474a9a don't crash when the list is empty
svn-id: r5569
2002-11-15 17:38:50 +00:00
Max Horn
bba16ed775 Browser already can display files and navigate down; TOOD: go up, choose
svn-id: r5551
2002-11-14 14:42:39 +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
Max Horn
76afd1d1a9 more initialisation fixes
svn-id: r5535
2002-11-13 15:20:08 +00:00
Max Horn
bc883a5f1a fixed dialog redrawing (when you switched in the save/load dialog between save and load mode, it would loose the transparency)
svn-id: r5512
2002-11-10 19:39:32 +00:00
Max Horn
42e6a81629 improved MessageDialog: long lines are split now (this needs improvement to favor splitting at spaces); maximum size is restricted to 300x180
svn-id: r5491
2002-11-10 14:53:28 +00:00
Max Horn
56a41a26c0 make buttons 2 pixel wider (fixes 'Options' button); don't use non-portable hack to swap ints
svn-id: r5427
2002-11-05 22:34:50 +00:00
Max Horn
5c0b145315 fix for bug #633087 (umlauts in GUI)
svn-id: r5426
2002-11-05 21:48:40 +00:00
Max Horn
d0d709627c clip text drawing
svn-id: r5416
2002-11-05 13:33:34 +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
Lionel Ulmer
ab3aecddd5 Fix warning found by Valgrind.
svn-id: r5314
2002-10-26 09:31:14 +00:00
Max Horn
4585debc18 use a 'real' caret instead of appending an understcore while editing
svn-id: r5289
2002-10-23 14:00:47 +00:00
Max Horn
ea828761a4 grrr... why did my commit not remove those?!
svn-id: r5275
2002-10-23 08:02:36 +00:00
Nicolas Bacca
3b7ce4fed1 Useless, just in order to compile without errors ...
svn-id: r5252
2002-10-22 22:35:35 +00:00
Nicolas Bacca
c585fe7a37 Do not repeat keys for WinCE (problems with GAPI and virtual keyboard)
svn-id: r5251
2002-10-22 22:35:07 +00:00
Max Horn
7198181b09 reworked the way the save/load dialog works. yup, still not perfect, but we're hopefully getting closer. Feedback welcome
svn-id: r5189
2002-10-19 01:22:41 +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
b1766c28b2 patch #620627: mouse wheel support for NewGui
svn-id: r5169
2002-10-16 20:32:12 +00:00
Max Horn
d5bcb63f82 dialogs now can be run 'modal'
svn-id: r5168
2002-10-16 17:37:30 +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
06d5fe86f5 Fix for bug #620854 (launcher crash)
svn-id: r5116
2002-10-09 19:32:54 +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
273e4b4740 fixed scrollbar drawing/response when there are less items than fit on one page
svn-id: r5066
2002-10-01 22:39:55 +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