Commit Graph
86814 Commits
Author SHA1 Message Date
Eugene Sandulenko 3f3ac33e73 Updated NEWS a bit. More will follow. Both cine and lure are too early to
announce.

svn-id: r22687
2006-05-27 21:39:08 +00:00
Eugene Sandulenko de1d77670f Added new samnmax demo file name pattern. See bug #1496105: "Sam & Max Hit
the Road (ENGLISH/PC-DEMO V2) - Path Error"

svn-id: r22686
2006-05-27 20:08:42 +00:00
Willem Jan Palenstijn dfce3faabd add fixme about scrolling in about dialog
svn-id: r22685
2006-05-27 14:41:15 +00:00
Willem Jan Palenstijn 72403d1336 fix missing saveload thumbnail variables in classic theme config
svn-id: r22684
2006-05-27 13:52:30 +00:00
Torbjörn Andersson 813e3d1aac Maintain the same screen update frequency while waiting for speech to finish.
This should take care of half of bug #1494934. The other half was fixed in the
SDL backend earlier.

svn-id: r22683
2006-05-27 13:33:27 +00:00
Willem Jan Palenstijn 0993c6a712 make EditableWidget's caret visible when it moves
svn-id: r22682
2006-05-27 13:17:19 +00:00
Torbjörn Andersson 1da221279c The dirty rect produced by drawMouse() is updated without going through any
scaling or aspect-ratio correction, so it has to be added using real surface
coordinates. So I had to re-introduce the extra parameter to addDirtyRect().

svn-id: r22681
2006-05-27 12:55:28 +00:00
Johannes Schickel 1b2485f4af Don't draw the shadow outside the scrollbar (should fix 'garbage' when moving the scrollbar)
svn-id: r22680
2006-05-27 12:48:31 +00:00
Willem Jan Palenstijn fa3f1fc15c fix warpmouse in overlay-mode; fixes cursor jumps when opening menu
svn-id: r22679
2006-05-27 12:39:55 +00:00
Johannes Schickel ae191feb21 Fixes caret drawing in EditTextWidgets.
svn-id: r22678
2006-05-27 12:37:00 +00:00
Eugene Sandulenko 60e288fe87 More vertical space in game options 'game' tab for consistency and better
visuals

svn-id: r22677
2006-05-27 12:05:16 +00:00
Torbjörn Andersson c1c5080fcd Draw the selected menu item (currently always the first one) highlighted, i.e.
white instead of yellow.

svn-id: r22676
2006-05-27 11:59:40 +00:00
Torbjörn Andersson c8d3f5a80f Should use delete[] instead of delete here, too. (I knew where the cursor
manager code was copied from. :-)

svn-id: r22675
2006-05-27 11:55:03 +00:00
Willem Jan Palenstijn 0f10a11ba0 uninitialized variable
svn-id: r22674
2006-05-27 11:51:17 +00:00
Willem Jan Palenstijn 0fef7b32b2 delete[] instead of delete
svn-id: r22673
2006-05-27 11:47:44 +00:00
Torbjörn Andersson 923101abcb Override the list widget's FindWidget() function, to allow it to return the
scrollbar widget.

svn-id: r22672
2006-05-27 06:38:45 +00:00
Eugene Sandulenko 9943084227 Oops. More advanced warning recovered a mechanic mistake. Fixing.
svn-id: r22671
2006-05-27 06:08:44 +00:00
Eugene Sandulenko b56c7b88d7 Major GUI update:
- Implemented padding in console
- Update only current line in console instead of whole screen
- Fixed caret positioning in edit text widget
- Improved buttons drawing, now they look more realistic
- Added label spacing in popup widget
- Correct shadow in popup widget
- Fixed up with selected popup widget being drawn on wrong tab
- Added shading to list dialog
- Adjusted shading of inactive widgets
- Proper coloring of browset (add game) dialog
- Introduced Container widget
- Used Container widget in scumm save/load dialog. Now it looks properly
- Adjusted button colors even more. Now they match almost perfectly albeit with banding
- Made scrollbar appear only when it is really needed

svn-id: r22670
2006-05-27 05:46:04 +00:00
Travis Howell 3d0aa0a4d9 snmdemo uses *.sm0/1 data files
svn-id: r22669
2006-05-27 00:12:30 +00:00
Travis Howell b858a6de65 Fix V1 demo of maniac
svn-id: r22667
2006-05-27 00:01:25 +00:00
Willem Jan Palenstijn 7e287a08ce replace agi/list.h by Common::List; cleanup
svn-id: r22666
2006-05-26 17:38:12 +00:00
Willem Jan Palenstijn 20c4be47a3 add functions for reverse iteration of Common::List
svn-id: r22665
2006-05-26 17:18:23 +00:00
Torbjörn Andersson da7140c3cf This produces the correct character spacing for the main menu.
svn-id: r22664
2006-05-26 16:02:37 +00:00
Torbjörn Andersson fba9e15916 We don't have a mouse cursor yet, but this is probably the point where it
should be shown.

svn-id: r22663
2006-05-26 15:55:42 +00:00
Torbjörn Andersson 5bbdde5479 Removed hack to flush mouse events. No longer needed, apparently.
svn-id: r22662
2006-05-26 15:44:46 +00:00
Johannes Schickel f548f97666 Fixes input handling while moving.
svn-id: r22661
2006-05-26 14:21:53 +00:00
Johannes Schickel 3485102a7e - redraw inventory before entering a room
- some cleanup

svn-id: r22660
2006-05-26 14:16:42 +00:00
Torbjörn Andersson 15411f5ffa If a game ends by natural causes, unload_object() will be called twice. Make
sure it doesn't try to free the same memory twice.

svn-id: r22659
2006-05-26 14:00:52 +00:00
Willem Jan Palenstijn a11eddeb0b replace agi/list.h by Common::List
svn-id: r22658
2006-05-26 11:28:03 +00:00
Joost Peters 91cd652f1d move psp_fs.cpp from backends/psp/ to backends/fs/psp/
svn-id: r22657
2006-05-26 10:46:52 +00:00
Joost Peters 48ecd027a3 Update to adapt for AbstractFilesystemNode changes made recently.
svn-id: r22655
2006-05-26 10:42:29 +00:00
Travis Howell 4794898d29 isSpriteLoaded() is used by FF, a similar function was commented out in original code
svn-id: r22653
2006-05-26 10:14:06 +00:00
Torbjörn Andersson 985215a04a As far as I can tell, there's no longer any reason for PartBuffer and AnimData
to be packed, so I've removed the packing and added the 'refresh' field to
AnimData instead of having it as a separate array.

On the other hand, animHeaderStruct and animHeader2Struct *should* have been
packed, but weren't. I've changed they way they are initialised so that the
packing should no longer matter for them either.

svn-id: r22651
2006-05-26 09:36:41 +00:00
Max Horn 0035042725 Fix for bug #1495361 (MONKEY1 AMIGA: Error at gamedetection)
svn-id: r22648
2006-05-26 08:20:15 +00:00
Eugene Sandulenko 9477029a44 remove unused variable
svn-id: r22647
2006-05-26 01:51:03 +00:00
Eugene Sandulenko 5fee4afc32 - Put scrollbar inside of list widget
- Use resize() instead of setPos() and setSize() where applicable

svn-id: r22646
2006-05-26 01:49:56 +00:00
Eugene Sandulenko 12461c3ca0 Do not create scrollbar copy on each resolution switch
svn-id: r22645
2006-05-26 01:16:21 +00:00
Eugene Sandulenko 7f8b79d5d0 Use Courier 12pt (free one) for 2x and 3x console. Looks much more useable now.
svn-id: r22644
2006-05-26 01:05:19 +00:00
Eugene Sandulenko 9828eb7a0b Properly process screen change event in console
svn-id: r22643
2006-05-26 00:17:55 +00:00
Torbjörn Andersson 79819da301 The GUI never asked for the cursor to be visible. I'm not sure why that used to
work before the cursor manager. Oh well, the launcher should have a visible
cursor again, knock on wood.

svn-id: r22641
2006-05-25 23:20:35 +00:00
Willem Jan Palenstijn 0176556821 remove superfluous struct keywords
svn-id: r22640
2006-05-25 22:53:45 +00:00
Torbjörn Andersson 8062eb6ec3 Set and show/hide mouse cursors through a "cursor manager" (analogous to the
recently added (cursor) palette manager) so that the cursor can be properly
restored after returning from the GUI.

If there's any C++ magic that can keep the backend functions from being called
by anything else than these managing classes, that would probably be a good
idea. Also, since the cursor manager keeps a copy of the cursor image, perhaps
there are at least some backends that will no longer need to?

svn-id: r22639
2006-05-25 22:51:42 +00:00
Willem Jan Palenstijn d56c65bf4a add and use is_ego_view() function
svn-id: r22638
2006-05-25 22:39:44 +00:00
Eugene Sandulenko d05138fd9c - Fix typo in debug level Scripts.
- Show scripts execution if requested

svn-id: r22637
2006-05-25 21:16:49 +00:00
Torbjörn Andersson 5f113b2dc2 Setting a "null" cursor like this doesn't do anything in the SDL backend, and
could possibly be undefined in other backends. So it should be safe to remove.

svn-id: r22636
2006-05-25 20:50:32 +00:00
Torbjörn Andersson 21a74b6f41 Cleanup.
svn-id: r22635
2006-05-25 20:29:17 +00:00
Eugene Sandulenko 17fd8e5ed0 Minor cleanup and formatting
svn-id: r22634
2006-05-25 19:56:05 +00:00
Willem Jan Palenstijn f6e6d7e8e9 unused variable
svn-id: r22633
2006-05-25 19:48:54 +00:00
Eugene Sandulenko 4859de9ae7 Made CGA rendering, EGA/VGA palette selectable via render_mode
svn-id: r22632
2006-05-25 19:46:28 +00:00
Willem Jan Palenstijn 14774d1760 fix hotspot handling when overlay visible
svn-id: r22631
2006-05-25 19:43:33 +00:00