Commit Graph

17896 Commits

Author SHA1 Message Date
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
Torbjörn Andersson
0e6831fa32 Fixed stupid error in replaceCursorPalette().
svn-id: r22629
2006-05-25 19:22:28 +00:00
Torbjörn Andersson
a49c64799f Fixed comment to make it less obvious where I copied the general structure of
the palette manager from.

svn-id: r22628
2006-05-25 18:31:56 +00:00
Willem Jan Palenstijn
a3c50b5f67 fix out-of-bounds array access
svn-id: r22627
2006-05-25 15:06:55 +00:00
Paweł Kołodziejski
b07798783c fixed regression after conversion console
svn-id: r22626
2006-05-25 12:17:50 +00:00
Torbjörn Andersson
2353454adf Fade down the palette and the music in playVQA(). (We can't fade down the
palette before that, I think, because then we don't have any good palette to
make a backup copy of.)

svn-id: r22625
2006-05-25 11:10:49 +00:00
Torbjörn Andersson
1162a759c0 Added support for fading digital music in or out.
svn-id: r22624
2006-05-25 09:53:51 +00:00
Johannes Schickel
197b1f4e88 Some more _quitFlag checks, makes quitting while end sequence faster.
svn-id: r22623
2006-05-25 08:07:20 +00:00
Johannes Schickel
259e06a69b - Adds some _quitFlag checks
- deletes Screen::drawPixel

svn-id: r22622
2006-05-25 08:02:17 +00:00
Johannes Schickel
a052d89f8b Fixes bead movement speed in end scene.
svn-id: r22621
2006-05-25 07:53:58 +00:00
Torbjörn Andersson
db8968b28f Fixed warning.
svn-id: r22620
2006-05-24 22:05:12 +00:00
Eugene Sandulenko
d636d4c23a Fix crash. Console should be created after graphics init
svn-id: r22619
2006-05-24 21:56:14 +00:00
Paweł Kołodziejski
383b598c5c converted to scummvm console style
svn-id: r22618
2006-05-24 21:40:24 +00:00
Eugene Sandulenko
0f5a4b304b Update only dirty rects instead of fullscreen update
svn-id: r22617
2006-05-24 21:14:41 +00:00
Torbjörn Andersson
935d3bb425 The AGI engine's save/load dialog dirties the entire screen thirteen times
each iteration of the loop, causing a serious slowdown on my computer. It
empathically should not be doing that, of course, but to safe-guard against
such patological cases, if the entire screen is dirtied even once we can set
_forceFull to true.

svn-id: r22616
2006-05-24 21:04:44 +00:00
Max Horn
30b368643e Fix a const warning
svn-id: r22615
2006-05-24 20:21:45 +00:00
Torbjörn Andersson
4a583216fb Fixed most - not all - GCC warnings.
svn-id: r22614
2006-05-24 19:51:37 +00:00
Johannes Schickel
8d954b7ae5 Fixes bug # 1471893 ("KYRA1: Graphics glitch when Malcolm turns to stone").
svn-id: r22612
2006-05-24 14:34:38 +00:00
Torbjörn Andersson
1bec2024a6 From what I understand, the __ prefix is generally reserved for system headers,
so I've removed most of them. There's still some in list.h, but that should
probably be replaced by our own list handler some day.

svn-id: r22611
2006-05-24 14:25:42 +00:00