Commit Graph

90 Commits

Author SHA1 Message Date
Max Horn
09f56dc233 some fixes for the message dialog; added some comments
svn-id: r5021
2002-09-26 12:29:10 +00:00
Max Horn
58e5e0069f added simple message dialog
svn-id: r5020
2002-09-26 11:44:02 +00:00
Max Horn
1bfaa3c02f removed even the last traces of Scumm dependencies from NewGUI. Yes, you heard right NewGUI is now 100% Scumm free and we can go for the launcher/message dialogs!
svn-id: r5016
2002-09-24 23:45:25 +00:00
Max Horn
6bb2e335c7 NewGUI now has its own event loop; this may cause some regression
svn-id: r5001
2002-09-22 04:03:45 +00:00
Matt Hargett
8390b0cc53 2002-09-21 Matt Hargett <matt@use.net>
* scumm.dsp, scummvm.dsp, simon.dsp: Turn on warning as errors. Generate
    PDBs on all builds.

  * gameDetector.cpp, newgui.cpp, widget.cpp, actor.cpp,
    dialogs.cpp, resource.cpp, saveload.cpp, scumm_renderer.cpp:
    Fix warnings where possible. One pragma added to eliminate
    warning of unknown pragmas.

  * string.cpp: If unknown escape sequence, print warning.

svn-id: r4998
2002-09-22 03:53:53 +00:00
Max Horn
a681eb029e renamec string -> _string and sentence -> _sentence in class Scumm (I originally reworked StringTab, but then noticed the save game format depends on it <sigh>)
svn-id: r4995
2002-09-22 01:17:53 +00:00
Max Horn
f838473c25 NewGui now has its own mouse cursor code -> again one less dependency on Scumm; moved makeCursorColorTransparent to gfx.cpp where it belongs
svn-id: r4977
2002-09-19 23:06:54 +00:00
Max Horn
85aa2cd8e8 found out that guifont actually contains a char width table -> make use of it now
svn-id: r4976
2002-09-19 22:37:00 +00:00
Max Horn
5f716f54f0 removed obsolete font drawing code from old GUI to make CCCP happy :-)
svn-id: r4975
2002-09-19 22:07:46 +00:00
Max Horn
9939746022 removed even more scumm dependencies from NewGUI; fixed some redraw issues (this might help the inventory-display issue in The Dig, and definitly fixes the 'vanishing volcanoe' in the FOA extro)
svn-id: r4974
2002-09-19 21:45:56 +00:00
Max Horn
859ef578dc moved the Scumm specific dialogs to scumm/dialogs.*
svn-id: r4973
2002-09-19 17:44:41 +00:00
Max Horn
f644bea112 improved the text display in a newgui a bit: make the font proportiona; implemented text alignment (left/right/center); alpha blending now not anymore at 50% but at 66%; moved some #defines to util.h
svn-id: r4972
2002-09-19 17:03:24 +00:00
Max Horn
bb57506d48 Added overlay to OSystem interface; implemented overlay in SDL backend (all other backends, including SDL_gl, still need to implement this!); changed NewGUI to make use of the overlay; added Cmd-Q as a shortcut for Quit on MacOS X
svn-id: r4971
2002-09-19 16:06:51 +00:00
Paweł Kołodziejski
bc81fc7aa1 added support for nonenglish the dig - for gui this time. now is completed :)
svn-id: r4960
2002-09-17 16:12:16 +00:00
James Brown
978e879009 Fix newgui crash, and commit patch 600645: Loom flashlight fix
svn-id: r4958
2002-09-17 12:52:53 +00:00
James Brown
79857fd7e8 Replace some exit()'s with a call to the OSystem quit method, as per 610251.
svn-id: r4956
2002-09-17 04:52:50 +00:00
Jonathan Gray
9ce78dd66e apply patch #609508 real fix for MI2 Dialog Box crash, by CCCP at Endy's request
svn-id: r4943
2002-09-15 09:06:58 +00:00
Travis Howell
004c6ddec9 Commited the following patches
[ 606595 ] Fix for Sam & Max animation glitch
[ 607175 ] Possible fix for bug #590511
[ 607677 ] Partial workaround for bug #566062
[ 607713 ] patch for bug 580350 (MI2 F5 crash)

svn-id: r4924
2002-09-11 13:28:34 +00:00
Max Horn
5a01787840 removing debug message
svn-id: r4922
2002-09-10 11:52:37 +00:00
Max Horn
395b98a3e2 fixed a crasher when re-opening the save/load dialog
svn-id: r4919
2002-09-09 20:28:48 +00:00
Max Horn
c0df1c2df2 changed the way listbox draw selected items; list box now has a frame & different spacing; clicking outside any widget doesn't cause the focus widget to loose focus; other tweaks
svn-id: r4906
2002-09-08 16:00:13 +00:00
Max Horn
27bfe32f16 decreased double click interval
svn-id: r4905
2002-09-08 12:56:44 +00:00
Max Horn
523d8e64c0 rewrote config class; cleanup; code restructuring
svn-id: r4903
2002-09-08 01:08:12 +00:00
Paweł Kołodziejski
97ef7c2a34 more resolution fixes
svn-id: r4895
2002-09-01 16:37:08 +00:00
Max Horn
828d0849a1 fix for bug #599511 (crash when choosing 'about' option)
svn-id: r4883
2002-08-31 14:53:26 +00:00
Max Horn
2618a9bfdc use class String for widget labels
svn-id: r4878
2002-08-31 13:42:07 +00:00
Max Horn
41c2d6fba3 sound system cleanup
svn-id: r4867
2002-08-29 23:45:15 +00:00
Max Horn
ec47d8c80c fixed some endian issues in the new SMUSH decoder; cleanup
svn-id: r4842
2002-08-25 10:50:18 +00:00
Max Horn
6d5529e0dd fixed warnings
svn-id: r4833
2002-08-24 21:57:00 +00:00
Paweł Kołodziejski
9f993a1d29 synced with scummvm
svn-id: r4821
2002-08-24 15:31:37 +00:00
Max Horn
96476a9ca0 refixed #include
svn-id: r4792
2002-08-21 16:33:56 +00:00
Max Horn
e03fb646af oops, accidentally checked in a hacked up version of this :-)
svn-id: r4791
2002-08-21 16:30:39 +00:00
Max Horn
7aac293726 fixed the 'intelligent' GCC build rules; added .cvsignore files
svn-id: r4790
2002-08-21 16:28:19 +00:00
Max Horn
ce46866403 Initial revision
svn-id: r4785
2002-08-21 16:07:07 +00:00
Paweł Kołodziejski
105f966c6a moved to Sound class
svn-id: r4744
2002-08-14 20:43:56 +00:00
Paweł Kołodziejski
9fa6145d90 DIG: preliminarily support for music in the game
svn-id: r4701
2002-08-04 16:30:59 +00:00
Max Horn
77daed66ea Fixed (worked around?) the nested dialog redraw bug; slightly changed the way mouseMoved events are handled in class Dialog
svn-id: r4694
2002-08-04 01:18:06 +00:00
Max Horn
72efbd36b6 NewGUI fixes: save game numbering starts at 0; allow to load autosave
svn-id: r4693
2002-08-04 00:44:49 +00:00
Max Horn
18c2d3a4da added TODO
svn-id: r4674
2002-07-28 20:10:39 +00:00
Max Horn
6dd5de48f9 added constants for the default volumes; changed the volume ranges from 0-255 to 0-256
svn-id: r4670
2002-07-28 15:03:45 +00:00
Max Horn
14cd6ec272 no reason to limit value to 8 bit!
svn-id: r4669
2002-07-28 14:59:27 +00:00
Max Horn
f73c1658c8 changing the selection aborts editing, too!
svn-id: r4657
2002-07-27 14:19:59 +00:00
Max Horn
39670a73c0 heaps of changes to NewGUI: mouseDown/Up events now count the clicks (so you can detect double/triple clicks); ListWidget sends a message if an item was double clicked or changed; you can abort editing in the ListWidget by pressing ESC; SaveLoadDialog will save when you double click and item, and when you finish editing an item by pressing return, will save
svn-id: r4656
2002-07-27 14:16:14 +00:00
Max Horn
403afb0514 added isEmpty() methods to String and List class; fixed crasher that occured when saving/loading in NewGUI when nothing was selected
svn-id: r4655
2002-07-27 13:27:34 +00:00
Max Horn
00c4ba1b9b removed test widgets from save/load dialog
svn-id: r4650
2002-07-27 00:46:05 +00:00
Max Horn
95ca2ea043 added support for right aligned text; made use of that in the sound dialog; less redrawing in the sound dialog
svn-id: r4649
2002-07-27 00:36:09 +00:00
Max Horn
c318fed633 improved the sound dialog; but my goal is to get rid of it, and merge the sound & misc dialogs into the options dialog
svn-id: r4648
2002-07-27 00:05:46 +00:00
Max Horn
f831a948de fixed slider
svn-id: r4646
2002-07-26 23:29:43 +00:00
Max Horn
e0f1d6c5aa make sure the mouse over widget and the focused widget are informed when the dialog is closed
svn-id: r4645
2002-07-26 20:38:55 +00:00
Max Horn
89a65b7c01 fixed crash on some systems by setting defaults for the slider value range
svn-id: r4636
2002-07-26 15:34:04 +00:00