Commit Graph

20836 Commits

Author SHA1 Message Date
Sven Hesse
cebf8e98c3 Oops
svn-id: r26384
2007-04-05 14:28:19 +00:00
Sven Hesse
ec5a9eee31 - Minor cleanup
- Added Inter_v3 (for new opcode o3_getTotTextItemPart)
- Some fixes to let Gob3 start with the first screen

svn-id: r26383
2007-04-05 13:37:20 +00:00
Sven Hesse
c5e7eaf7db This should fix bug #1694830
svn-id: r26382
2007-04-05 13:36:26 +00:00
Nicola Mettifogo
972b0d036a Characters now only store the set of frames they actually need. Basically, mini characters and normal characters are now completely separated.
svn-id: r26381
2007-04-04 20:59:31 +00:00
Travis Howell
077b924899 Copy protection bypass applies to all versions of Monkey Island VGA.
svn-id: r26380
2007-04-04 13:01:09 +00:00
Nicola Mettifogo
e3c25e6d20 - added a new archive member variable to Disk, to decouple resource archives from location archives
- made Script use a stream as input with overall simplification of Disk routines

svn-id: r26379
2007-04-03 22:03:21 +00:00
Nicola Mettifogo
4c151928fa - fixed RLEStream
- simplified unpacking of background for dos version
- other minor changes

svn-id: r26378
2007-04-03 21:11:43 +00:00
Nicola Mettifogo
0dadd3cd2c Reduced code duplication in AmigaDisk by means of a new wrapper class for Archive.
svn-id: r26377
2007-04-03 19:51:23 +00:00
Max Horn
2d2efe2bca Removed obsolete TODO
svn-id: r26376
2007-04-03 19:36:17 +00:00
Johannes Schickel
e8b6baca74 Little WSA loading fix.
svn-id: r26375
2007-04-03 14:26:12 +00:00
Nicola Mettifogo
8b63337ce0 miscellaneous improvements for amiga
svn-id: r26374
2007-04-02 21:00:11 +00:00
Nicola Mettifogo
94159481cc - slightly improved mask for amiga (not perfect yet)
- fixed loading of Talks for amiga
- fixed handling of multiple frames

svn-id: r26373
2007-04-02 20:53:25 +00:00
Gregory Montoir
38eab5c5df Re-introduced Input::getMousePos and removed g_system-
svn-id: r26372
2007-04-02 19:12:17 +00:00
Gregory Montoir
20ec8d2d34 This should make the game match the original DOS version speed.
svn-id: r26371
2007-04-02 18:59:00 +00:00
Sven Hesse
47f5e30857 Added the MD5 for the German Bargon Attack, as supplied by paul66 in bug #1692667
svn-id: r26370
2007-04-02 17:33:23 +00:00
Sven Hesse
53119f2c5d "char *" -> "byte *" where appropriate
svn-id: r26369
2007-04-02 11:05:09 +00:00
Paul Gilbert
89a29e32bf Added in more character tick handlers
svn-id: r26368
2007-04-02 06:03:47 +00:00
Travis Howell
dab34226dc Add patch #1692496 - Amiga indy3ega sound fixes.
svn-id: r26367
2007-04-02 01:45:28 +00:00
Robert Göffringmann
fb59ee92a2 corrected printf string
svn-id: r26363
2007-04-01 20:06:26 +00:00
Nicola Mettifogo
4273a4d49b Renamed classes for consistency.
svn-id: r26362
2007-04-01 19:58:53 +00:00
Nicola Mettifogo
f5828e7fdf - Added a new class RLEDecoder to avoid code duplication in Disk routines.
- Temporarily disabled mask loading in Amiga version.

svn-id: r26361
2007-04-01 19:22:15 +00:00
Max Horn
3db1dd05bc Replaced another use of getEventManager() by using Engine::_eventMan
svn-id: r26360
2007-04-01 18:08:19 +00:00
Max Horn
1cf48cf17d Changed _sys -> _system, matching (almost?) all other cases where we have an OSystem* member var
svn-id: r26359
2007-04-01 18:05:11 +00:00
Max Horn
e012a82bbe Fixed grammar in a comment
svn-id: r26358
2007-04-01 17:54:29 +00:00
Gregory Montoir
5aca9dce8c added the instance of EventManager returned by OSystem::getEventManager as a member of the Engine base class. This allows to simply the code a bit and should more efficient too (ie. less virtual function chain calls, obj->getA()->getB()). Also updated several engines to make use of it.
svn-id: r26357
2007-04-01 17:36:13 +00:00
Max Horn
852971cfe6 Fixed a compiler warning about 'unknown conversion type character' (not sure if the statement was meant this way or another, but at least for now I can again compile with -Werror)
svn-id: r26356
2007-04-01 17:13:45 +00:00
Max Horn
2447752a51 Reverted my roomoffs changes (broke the Loom intro), and instead added the constant RES_INVALID_OFFSET to indicate an invalid room offset
svn-id: r26353
2007-04-01 15:58:34 +00:00
Nicola Mettifogo
a97ab92dd9 Fixed loading of graphics. Now things really look what they are, except the character which still looks a bit jagged.
svn-id: r26352
2007-04-01 15:41:34 +00:00
Torbjörn Andersson
bc253d214b Slight simplification of last change. Make sure we don't "oversleep" in fast
mode.

svn-id: r26351
2007-04-01 15:04:11 +00:00
Torbjörn Andersson
7c4a8c6565 Make the mouse cursor move more smoothly. (Most of this improvement actually
comes from calling processEvents(), not from calling updateScreen() more
often.)

svn-id: r26350
2007-04-01 14:53:03 +00:00
Nicola Mettifogo
91eaea3e58 Added code for resource loading and fixed the bug having Amiga demo crashing. It is now limitedly playable, although graphics is still heavily messed up.
svn-id: r26349
2007-04-01 14:35:33 +00:00
Torbjörn Andersson
0d78a7ca64 Call updateScreen() more often in options/save/load dialog to keep mouse
movement smoother. And since this is potentially wasteful, only redraw the
entire dialog when it seems likely that it may have changed.

svn-id: r26348
2007-04-01 14:05:50 +00:00
Torbjörn Andersson
b4211fefc8 Call updateScreen() more often when drawing right-click menus, to make mouse
movement smoother.

svn-id: r26347
2007-04-01 14:04:45 +00:00
Torbjörn Andersson
9339d2a54e We still track the mouse position while waiting for an answer to the "Do you
want to quit?" question, so it makes sense to me to keep drawing the cursor.
Even if the original didn't.

svn-id: r26346
2007-04-01 13:38:03 +00:00
Torbjörn Andersson
cfa746830f Use the event manager to track the mouse position.
svn-id: r26345
2007-04-01 13:31:11 +00:00
Torbjörn Andersson
4550ca1572 Use the cursor manager instead of calling the backend functions directly.
(Maybe the backend functions ought to be protected?)

svn-id: r26344
2007-04-01 13:16:29 +00:00
Johannes Schickel
397c10f059 made _vm/_engine usage consistent. (_engine -> _vm all over the place now).
svn-id: r26342
2007-04-01 13:10:50 +00:00
Nicola Mettifogo
b7e499b64a Implemented Disk routines for Amiga demo. Font are simulated with boxes, and frames aren't decoded properly yet. The engine will now show the first game screen, but crash as soon as the user clicks her mouse.
svn-id: r26341
2007-04-01 12:45:42 +00:00
Nicola Mettifogo
20c2bba084 Added GF_DEMO flag and ability to load the correct location at start.
svn-id: r26340
2007-04-01 12:42:30 +00:00
Nicola Mettifogo
a6ad021b30 Function changeCharacter is now responsible for loading character specific Zones and such
svn-id: r26339
2007-04-01 12:17:38 +00:00
Paul Gilbert
5a313074bc Bugfix to correctly remove an item from a character's inventory when it is deactivated
svn-id: r26338
2007-04-01 11:48:54 +00:00
Paul Gilbert
3abdfa46f9 Bugfix for strings that wrapped near a carriage return character
svn-id: r26337
2007-04-01 11:47:35 +00:00
Nicola Mettifogo
18ef96d08b made Menu use _vm instead of _engine
svn-id: r26336
2007-04-01 11:44:58 +00:00
Robert Göffringmann
63ff4aa50b Fixed setFocusRectangle code. At least I think I did, I don't know where it came from and I can't test it either. But it looked rather broken.
svn-id: r26335
2007-04-01 00:13:54 +00:00
Robert Göffringmann
2edec11986 improved debugger a bit
svn-id: r26334
2007-04-01 00:00:28 +00:00
Robert Göffringmann
c0ca592d54 fixed graphic glitch when playing the floppy intro with spanish subtitles and added a few comments.
svn-id: r26333
2007-03-31 18:20:52 +00:00
Sven Hesse
375c63f7bc Changed waitEndSoundSlice() to react more dynamically to enforce audio/video sync
svn-id: r26332
2007-03-31 15:25:54 +00:00
Max Horn
a08feb9f70 Got rid of some 0xFFFF -> 0xFFFFFFFF conversions and similiar nonsense by using a clever technique called 'signed ints' for room offsets (and this won't cause any regressions; any you may encounter are merely the products of a deranged imagination)
svn-id: r26331
2007-03-31 14:00:34 +00:00
Max Horn
00919e3a93 Renamed AGIs savegame.cpp to saveload.cpp, to match the other engines
svn-id: r26330
2007-03-30 22:59:45 +00:00
Nicola Mettifogo
69ede83dd3 made menu properly set language
svn-id: r26329
2007-03-30 21:48:59 +00:00