Kari Salminen
9931fb6a44
Fix for bug #2828333 (AGI: KQ1: Greensleeves always plays):
...
- Made all savegame loading in AGI do the same pre-load and post-load stuff.
- Moved load/saveGameState from AgiBase to AgiEngine
- Added rudimentary error handling to load/saveGameState
- Incidentally also fixes the hanging note from bug #2798797 .
svn-id: r43025
2009-08-03 17:18:18 +00:00
Joost Peters
7cf43b9dda
Fix AGI crashes on 64-bit systems that require alignment
...
svn-id: r43011
2009-08-02 21:22:46 +00:00
Johannes Schickel
7e71865e91
Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
...
svn-id: r42751
2009-07-25 12:59:46 +00:00
Eugene Sandulenko
0932497cca
Fix bug #2798797 : "AGI: larry 1 doesn't restart after dying"
...
svn-id: r42663
2009-07-22 16:26:53 +00:00
Eugene Sandulenko
483a4c0eeb
Move functions from agi.cpp to more appropriate files.
...
svn-id: r42662
2009-07-22 15:55:33 +00:00
Eugene Sandulenko
88395007fb
Fix bug #2823759 : "AGI: PQ1 help not showing the first time you press F1"
...
svn-id: r42659
2009-07-22 12:24:55 +00:00
Eugene Sandulenko
7c1df4cbff
Fix bug #2823762 : "AGI: PQ1 All function keys are broken after restart"
...
svn-id: r42658
2009-07-22 11:48:51 +00:00
Matthew Hoops
6e6d5e8b98
Fixing bug #2823854 : Mickey's space adventure crash. There's one too many space characters in a string which causes it to be drawn off the screen.
...
svn-id: r42633
2009-07-20 20:59:35 +00:00
Kari Salminen
3a3b71622a
Remove ioFailed() usage from AGI engine.
...
svn-id: r42495
2009-07-14 23:03:40 +00:00
Kari Salminen
9a2785bc3b
Partially fix automatic restarting of AGI games (Addresses bug #2798797 ('AGI: larry 1 doesn't restart after dying') but doesn't fully fix it. There seems to be more to the problem still. Automatic restarting after dying of an STD doesn't take away the STD-condition and Larry continues to die in a loop).
...
svn-id: r42482
2009-07-14 15:02:17 +00:00
Max Horn
a6b57dc3a9
- Added GCC_PRINTF attribute to several funcs where it makes sense
...
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings
- removed duplicate prototypes for some funcs
- fixed some "increases required alignment of target type" warnings
svn-id: r42009
2009-07-01 20:51:04 +00:00
Filippos Karapetis
47d4794876
Fixed a warning about an uninitialized variable
...
svn-id: r41660
2009-06-19 07:56:30 +00:00
Eugene Sandulenko
c96ec85dbb
Preliminary support for CoCo3 music.
...
svn-id: r41618
2009-06-17 23:16:21 +00:00
Eugene Sandulenko
3bfca53709
Disable music for CoCo3 games. It has different format.
...
svn-id: r41598
2009-06-16 21:59:20 +00:00
Eugene Sandulenko
8bcdd8d7f6
Run AGIMOUSE hack as a side effect always
...
svn-id: r41536
2009-06-15 07:06:52 +00:00
Eugene Sandulenko
d925104b6a
Added sanity checking to stopSound() and a bit more debug output
...
svn-id: r41501
2009-06-13 22:48:16 +00:00
Eugene Sandulenko
2ffe5ed25e
Added set of CoCo3 AGI games
...
svn-id: r41452
2009-06-11 15:45:52 +00:00
Max Horn
ed44e68f9d
AGI: Fixed typo in game name ;)
...
svn-id: r41331
2009-06-07 12:37:16 +00:00
Eugene Sandulenko
a0fa307fc5
Added CoCo3 version of SQ1
...
svn-id: r41284
2009-06-06 18:22:43 +00:00
Eugene Sandulenko
79d082f9c2
Added couple of newly discovered fanmade AGI games.
...
svn-id: r41283
2009-06-06 18:22:18 +00:00
Filippos Karapetis
e572af84aa
Removed unused variable
...
svn-id: r41279
2009-06-06 18:02:16 +00:00
Eugene Sandulenko
1bd6f6c99f
Added game GUI options to advancedDetector and updated all engines
...
svn-id: r41272
2009-06-06 17:56:41 +00:00
Eugene Sandulenko
0057d9b9b2
Add guard check to set.key opcode.
...
svn-id: r41260
2009-06-06 17:48:30 +00:00
Eugene Sandulenko
ea3373708c
Correct implementation for set.key opcode. Fixes #2605104 : "AGI: Manhunter, F3 hotkey dosent work", removed number of hacks
...
svn-id: r41259
2009-06-06 17:48:09 +00:00
Eugene Sandulenko
d6a4dbeb1d
Implement fence.mouse opcode
...
svn-id: r41258
2009-06-06 17:47:29 +00:00
Eugene Sandulenko
8792628a46
Implement hide.mouse and show.mouse opcodes
...
svn-id: r41257
2009-06-06 17:46:55 +00:00
Eugene Sandulenko
9ff714a2db
Implement allow.menu opcode
...
svn-id: r41256
2009-06-06 17:46:38 +00:00
Eugene Sandulenko
c393144b19
Implement hold.key and release.key opcodes
...
svn-id: r41255
2009-06-06 17:46:19 +00:00
Eugene Sandulenko
1a321a2064
Cleanup
...
svn-id: r41254
2009-06-06 17:45:52 +00:00
Eugene Sandulenko
2113060c43
Implement cancel.line. Consider obj.status.f implemented
...
svn-id: r41253
2009-06-06 17:45:06 +00:00
Eugene Sandulenko
72d25455e0
Implement scummvm.ini flag features for AGI engine
...
svn-id: r41252
2009-06-06 17:44:46 +00:00
Eugene Sandulenko
45764de138
Cleanup
...
svn-id: r41251
2009-06-06 17:44:24 +00:00
Eugene Sandulenko
2eb7e914e8
Fix bug #2026605 : "SQ2: Have to wait after dying to do anything."
...
svn-id: r41250
2009-06-06 17:43:51 +00:00
Eugene Sandulenko
ed797c0709
Implement debug commands "room" and "bt"
...
svn-id: r41249
2009-06-06 17:43:26 +00:00
Eugene Sandulenko
531b96bbbe
Remove duplicated amiga busy cursor
...
svn-id: r41248
2009-06-06 17:43:04 +00:00
Eugene Sandulenko
c5f41b29fa
Stop abusing game flag.
...
svn-id: r41247
2009-06-06 17:42:37 +00:00
Eugene Sandulenko
5a07ba9c57
Disable save/load when original did not allow
...
svn-id: r41246
2009-06-06 17:42:12 +00:00
Eugene Sandulenko
b26ae991f8
Store and compare MD5s in the saves
...
svn-id: r41245
2009-06-06 17:41:50 +00:00
Eugene Sandulenko
a5d762c029
Fix bug #1745954 : "GR: Intro "jumpy" in parts (Amiga version)"
...
svn-id: r41244
2009-06-06 17:41:29 +00:00
Eugene Sandulenko
26d8b2bb72
Fix bug #2721940 : "AGI: Gold Rush! Restart Option differs from original"
...
svn-id: r41243
2009-06-06 17:40:56 +00:00
Eugene Sandulenko
3ba873c72b
Fix bug #2026570 : "SQ2: Prompt disappears when it shouldn't"
...
svn-id: r41242
2009-06-06 17:40:27 +00:00
Eugene Sandulenko
a7049e5b3d
Fix implementation of prevent.input. This fixes SQ2 intro
...
svn-id: r41241
2009-06-06 17:40:09 +00:00
Eugene Sandulenko
194ab100c7
Fix bug #2434187 : "SQ2: message not displayed, or vanishes too quickly"
...
svn-id: r41240
2009-06-06 17:39:42 +00:00
Eugene Sandulenko
93d62da652
Whitespace fixes and C++ comments
...
svn-id: r41239
2009-06-06 17:39:13 +00:00
Eugene Sandulenko
c585366ce9
Decrease number of free memory pages to realistic value
...
svn-id: r41238
2009-06-06 17:37:51 +00:00
Torbjörn Andersson
0999534749
The error() and warning() functions add ! and newline automatically. (I didn't
...
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
2009-05-31 10:02:16 +00:00
Max Horn
fb79b18571
Changed SaveFileManager methods to take Common::String params (instead of char pointers)
...
svn-id: r41000
2009-05-29 14:38:22 +00:00
Johannes Schickel
b3c6751b9b
Strip trailing whitespaces in the whole code base.
...
svn-id: r40867
2009-05-24 15:17:42 +00:00
Eugene Sandulenko
7ed8d7f573
Proper fix for bug #2537054 : "AGI: Using GMM to load causes graphics glitches".
...
Save/load via GMM is not allowed in certain situations now.
svn-id: r40773
2009-05-21 21:51:50 +00:00
Eugene Sandulenko
40dd214789
Start of fixing bug #2537054 : "AGI: Using GMM to load causes graphics glitches"
...
The engine still crashes when load from GMM occured with a text box on screen.
svn-id: r40733
2009-05-19 21:09:43 +00:00