Commit Graph

20971 Commits

Author SHA1 Message Date
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
Robert Göffringmann
549e535a97 BASS is not Counter Strike, so redrawing the screen at 70 fps feels a little pointless. It's also more than the average pal tv set can do ;)
svn-id: r26328
2007-03-30 19:13:23 +00:00
Sven Hesse
d65e05841a - Fixed the IMD playing within mults, the non-interactive Gob3 demo should work better now
- Replaced strcpy with strncpy where appropriate
- Added detection entries for other languages of the multilingual Gob3 CD; bug #1691230

svn-id: r26327
2007-03-30 17:52:31 +00:00
Sven Hesse
33c6a6f460 Fixing curly bracket style
svn-id: r26326
2007-03-29 21:03:32 +00:00
Sven Hesse
57fc863819 Replaced some more intenting space that slipped in with tabs
svn-id: r26325
2007-03-29 20:53:37 +00:00
Sven Hesse
046fe5060b Formatting (Take that, LordHoto! ;P)
svn-id: r26324
2007-03-29 20:49:37 +00:00
Johannes Schickel
2a4fc29d46 formatting.
svn-id: r26323
2007-03-29 20:38:59 +00:00
Torbjörn Andersson
7a41f19639 Update the screen in escDelay(). Seems to fix some glitches when changing
scaler at certain points in the intro.

svn-id: r26322
2007-03-29 20:06:39 +00:00
Sven Hesse
85ea7e97f1 Mind the time needed to update the screen when waiting for a sound slice to finish
svn-id: r26321
2007-03-29 19:37:53 +00:00
Sven Hesse
719fb21237 Don't play coktel2.imd, but coktel.imd
svn-id: r26320
2007-03-29 19:28:47 +00:00
Nicola Mettifogo
d75df27964 oops
svn-id: r26319
2007-03-29 19:10:01 +00:00
Nicola Mettifogo
31eb34c98f - changed Cnv to use a single large buffer for frames instead of small chunks of memory, to simplify loading by Disk.
- added a new constructor with parameters to Cnv

svn-id: r26318
2007-03-29 19:03:51 +00:00
Nicola Mettifogo
711865ef63 - implemented destructor for Cnv, thus removing calls to Gfx::freeCnv()
- enforced use of getFramePtr instead of Cnv::_array member

svn-id: r26317
2007-03-29 18:34:31 +00:00
Sven Hesse
623ca88022 - Properly implemented the ImdPlayer
- Some more clean-up

svn-id: r26316
2007-03-29 17:55:39 +00:00
Johannes Schickel
69639ea0bf cleanup.
svn-id: r26315
2007-03-29 16:50:06 +00:00
Nicola Mettifogo
3903309af3 Overhaul of palette management to bring it back to its original form. Gfx palette code has been updated, and _c_endComment (callable from scripts) has been implemented. As a by-product, palette cycling now finally works!
svn-id: r26314
2007-03-28 20:12:00 +00:00