Christopher Page
30b1a62e81
Removed unnecessary #inlcudes
...
svn-id: r32984
2008-07-10 05:15:19 +00:00
Christopher Page
e808cdf7a0
Reimplemented pushEvent() and artificialEventQueue to work with Events instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM
...
svn-id: r32971
2008-07-09 02:27:05 +00:00
Christopher Page
41938b7644
CINE works with the new GMM implementation
...
svn-id: r32954
2008-07-07 23:47:39 +00:00
Christopher Page
c14804e22f
Added main menu dialog files. Gob is now using the new _quit flag
...
svn-id: r32771
2008-06-24 23:19:23 +00:00
Christopher Page
f878820bbe
Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So far agi, agos, and cine are now using the new _quit flag.
...
svn-id: r32770
2008-06-24 21:15:30 +00:00
Christopher Page
65abece4c6
Merged revisions 32727-32728,32730-32733,32737-32738 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r32740
2008-06-20 19:42:29 +00:00
Kari Salminen
9b910eedba
Fixed a small discrepancy in Delphine unpacker's command 00b's documentation (Parameter range is 1..8, not 1..9).
...
svn-id: r32730
2008-06-18 03:31:13 +00:00
Christopher Page
37a7a572cf
Merged revisions 32668-32669,32676,32687-32689,32693,32695,32698-32701,32705 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r32720
2008-06-16 19:06:48 +00:00
Kari Salminen
2b94f21744
Small cleanup (uint16 -> uint where still applicable).
...
svn-id: r32689
2008-06-13 08:37:03 +00:00
Kari Salminen
1a6841c92f
More documentation for CineUnpacker-class (Practically done documenting now). Also changed parameter and return value types to a more uniform style (uint16 -> uint, int -> uint where applicable etc).
...
svn-id: r32688
2008-06-13 08:28:14 +00:00
Kari Salminen
d7d9348243
Made CineUnpacker::unpack more robust & secure. It shouldn't crash now with any input (Before making reading or writing operations they are checked to be in bounds). Also updated some comments and added some error message(s).
...
svn-id: r32687
2008-06-13 05:57:07 +00:00
Christopher Page
101105315e
CINE: Fixed memory leaks in the CINE engine
...
svn-id: r32677
2008-06-12 18:52:43 +00:00
Christopher Page
e86a422e25
Merged revisions 32564-32565,32567-32575,32577,32579-32594,32596-32603,32605-32639,32644-32646,32648-32666 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r32667
2008-06-11 17:36:21 +00:00
Kari Salminen
7186c3bd1b
Documented CineUnpacker class.
...
svn-id: r32665
2008-06-11 11:06:07 +00:00
Max Horn
fefad79249
No need to specify CaseSensitiveString_Hash explicitly anymore
...
svn-id: r32663
2008-06-11 06:00:56 +00:00
Kari Salminen
efc4fd7ae0
A little Delphine unpacker documentation addition and variable renaming.
...
svn-id: r32660
2008-06-10 22:37:55 +00:00
Kari Salminen
009e26f813
Changed unpackHelper1(numBits, addCount) to unpackBytes(numBytes).
...
svn-id: r32655
2008-06-10 21:44:59 +00:00
Kari Salminen
420d29932b
unpackerHelper2(numBits) -> copyRelocatesBytes(offset, numBytes) and some revising of the unpacking routine.
...
svn-id: r32653
2008-06-10 21:34:26 +00:00
Kari Salminen
fdf3f36bc6
Properly renamed some of the functions in the Delphine unpacker after understanding what they really do.
...
svn-id: r32649
2008-06-10 20:57:22 +00:00
Kari Salminen
3823a23b70
Objectified the Delphine decompression routine (i.e. delphineUnpack).
...
svn-id: r32646
2008-06-10 19:08:53 +00:00
Torbjörn Andersson
339874f6c0
Fixed warnings. (Mainly, GCC 4.3 doesn't want you to use "char" as an array
...
index. Probably because it's undefined whether or not it's signed.)
svn-id: r32637
2008-06-09 17:50:52 +00:00
Kari Salminen
e2e4c90bb3
Fixed readVolCnf() filename length detection and converted fixVolCnfFileName-function to something easier to understand.
...
svn-id: r32618
2008-06-08 15:22:04 +00:00
Christopher Page
0cbfc3a9d1
Merged revisions 32348-32349,32351-32356,32358-32411,32413-32441,32443-32445,32449,32453-32454,32456-32457,32459-32462,32464-32465,32467-32492,32494-32503 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r32505
2008-06-02 21:36:45 +00:00
Kari Salminen
b6b1b864be
Checked that opcodes 0x71-0x73 really do nothing else but read the parameters in PC versions of Future Wars and Operation Stealth. Maybe they're used in the Amiga versions?
...
svn-id: r32396
2008-05-30 11:12:14 +00:00
Kari Salminen
94d1e7effb
Implemented opcodes 0x04 (o1_mulObjectParam) and 0x05 (o1_divObjectParam).
...
svn-id: r32393
2008-05-30 10:43:21 +00:00
Kari Salminen
b7deac38b3
Added check in modifyObjectParam's start (Verified with FW & OS PC versions' disassemblies). Also removed superfluous default-case, hopefully no compiler will complain about this :).
...
svn-id: r32371
2008-05-29 22:07:25 +00:00
Filippos Karapetis
7ced1215d4
Fixed a crash that occurs when OS starts
...
svn-id: r32366
2008-05-29 17:58:56 +00:00
Kari Salminen
3f91c579fc
Verified most parts of opcode 0x01 (o1_modifyObjectParam) against Future Wars's and Operation Stealth's disassembly (Only part of switch case 3 still left to do).
...
svn-id: r32360
2008-05-29 12:22:14 +00:00
Kari Salminen
5779261c16
Tiny comment update (Echec in French means failure).
...
svn-id: r32358
2008-05-29 10:15:39 +00:00
Christopher Page
8297ead267
Merged revisions 32124,32126-32128,32131,32133,32135-32144,32146-32153,32155-32163,32165-32168,32170-32173,32175-32179,32181-32191,32193-32202,32204-32205,32209-32214,32216,32218,32220-32235,32237-32266,32269-32271,32273-32290,32292-32295,32297-32317,32319-32323,32325-32328,32330-32331,32334-32338,32343-32347 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r32350
2008-05-28 20:30:20 +00:00
Kari Salminen
51e4e487b1
Implemented opcode 0x9A (o2_wasZoneChecked).
...
svn-id: r32336
2008-05-28 13:00:27 +00:00
Kari Salminen
f0195a01f6
Fix Operation Stealth's opcode 0x82's parameter list (Verified with DOS version's disassembly).
...
svn-id: r32335
2008-05-28 12:05:40 +00:00
Christopher Page
3c0e72bb25
CINE: Initialize exitEngine to 0 in mainLoop() to allow replay after returning to the launcher
...
svn-id: r32333
2008-05-28 00:52:45 +00:00
Christopher Page
17b0144402
CINE: Fixed two memory leaks when shutting down the CINE engine
...
svn-id: r32332
2008-05-27 23:26:48 +00:00
Kari Salminen
c0f1b7fe66
Added a few more comments about Operation Stealth's opcodes (Redundancies, Future Wars's opcodes' end point).
...
svn-id: r32328
2008-05-27 19:36:39 +00:00
Kari Salminen
17fd16a38e
Went through Operation Stealth's opcode list and added TODOs for naming all unknown functions properly and some notes about opcode redundancies.
...
svn-id: r32327
2008-05-27 19:25:04 +00:00
Eugene Sandulenko
f2d72d9473
Patch #1969189 : "CinE renderer rewrite"
...
svn-id: r32257
2008-05-24 22:11:41 +00:00
Eugene Sandulenko
51352c71c5
Proper fix for savestates. Thanks to next_ghost
...
svn-id: r32073
2008-05-12 21:03:26 +00:00
Jordi Vilalta Prat
38a8aa516e
Allow static and dynamic plugins to be used at the same time
...
svn-id: r31888
2008-05-06 03:00:26 +00:00
Kari Salminen
9ba0aa01fa
Cleanup & typo.
...
- Use sizeof(_name) instead of magic number 10 with memset
- 'usually' instead of 'ussually'
- 'delete[]' instead of 'delete []'
- Fixed parameter name discrepancy between loadResource's definition and declaration
svn-id: r31701
2008-04-24 20:04:53 +00:00
Filippos Karapetis
5cf618937f
Fixed regression: CINE games crashed when a message box appeared (patch by next_ghost)
...
svn-id: r31696
2008-04-24 17:32:24 +00:00
Eugene Sandulenko
57a9ef3a8f
Patch #1941066 : "CinE sprite overlay rewrite" courtsey of next_ghost
...
svn-id: r31651
2008-04-21 20:51:17 +00:00
Johannes Schickel
b586235fb8
Fixed warnings for msvc9.
...
svn-id: r31460
2008-04-09 15:16:50 +00:00
Eugene Sandulenko
e4ddd5d5f1
Ignore pointers on save
...
svn-id: r31453
2008-04-08 18:12:32 +00:00
Sven Hesse
9f94a2fa8c
Fix compilation on my 64-bit system...
...
svn-id: r31450
2008-04-08 09:59:41 +00:00
Eugene Sandulenko
732774fd8d
Patch #1913862 : "CinE Script system"
...
svn-id: r31444
2008-04-07 20:24:40 +00:00
Max Horn
29f1e6de38
Advanced detector: replaced kADFlagAugmentPreferredTarget by its inverse, kADFlagDontAugmentPreferredTarget (since all AdvDetector engines except Kyra used kADFlagAugmentPreferredTarget, it seems reasonable to assume that as default)
...
svn-id: r31413
2008-04-05 22:29:08 +00:00
Filippos Karapetis
1e58257791
Oops
...
svn-id: r31297
2008-03-28 17:46:18 +00:00
Filippos Karapetis
70e4503274
Fixed 2 off-by-one errors (thanks next_ghost for spotting them)
...
svn-id: r31296
2008-03-28 17:38:45 +00:00
Max Horn
6547ef6e12
Started to get rid of Common::EncapsulatedADGameDesc (using plain Common::ADGameDescription instead)
...
svn-id: r31121
2008-03-14 17:31:04 +00:00