Commit Graph
1672 Commits
Author SHA1 Message Date
Sven Hesse d4855ff819 Splitting an ADLPlayer and MDYPlayer from the AdLib class
svn-id: r41633
2009-06-18 13:27:35 +00:00
Sven Hesse c9517af76e Replacing some #includes by forward declarations
svn-id: r41632
2009-06-18 13:27:14 +00:00
Arnaud Boutonné 95da9c2761 - Modify detection files for Playtoons CK Knights (CK2) as it wasn't making the difference with CK1
- Add Playtoons CK Monsters (CK1)

svn-id: r41611
2009-06-17 18:48:41 +00:00
Sven Hesse 6c47f9f4f8 Changed opcodeGob to be functor-based
svn-id: r41603
2009-06-17 04:16:51 +00:00
Sven Hesse 8615c57791 Changed opcodeFunc to be functor-based
svn-id: r41602
2009-06-17 04:16:21 +00:00
Sven Hesse 25c92dfdef Changed opcodeDraw to be functor-based
svn-id: r41601
2009-06-17 04:15:45 +00:00
Sven Hesse 72fedd3eb0 Including scummsys.h and forward-declaring GobEngine
svn-id: r41592
2009-06-16 20:39:37 +00:00
Sven Hesse c73f11f0d1 Properly initializing _soundMode, for ADLs too
svn-id: r41591
2009-06-16 20:15:49 +00:00
Sven Hesse a2afe557ef Encapsulating the Stack and StackFrame a bit
svn-id: r41590
2009-06-16 20:15:19 +00:00
Sven Hesse 1996a8011c Encapsulating stack adjustments
svn-id: r41589
2009-06-16 20:14:56 +00:00
Arnaud Boutonné 975a0d6567 MDY/TBR : fix a thing or two. Still far from being OK, but in-game ambiance "music" is (a little) less buggy
svn-id: r41584
2009-06-16 12:25:53 +00:00
Arnaud Boutonné 2668ea4694 Add MD5 for Playtoons 3 (english)
svn-id: r41579
2009-06-16 07:14:07 +00:00
Sven Hesse 434be5c65a Renamed _inter_resStr to _resultStr
svn-id: r41575
2009-06-15 23:11:29 +00:00
Sven Hesse 1b67620d99 Renaming _inter_resVal to _resultInt
svn-id: r41574
2009-06-15 23:11:08 +00:00
Sven Hesse 67a9ff7dd3 Moving _inter_resVal and _inter_resStr from Global to Parse
svn-id: r41573
2009-06-15 23:10:51 +00:00
Sven Hesse 58fbca49f5 Splitting up parseExpr a bit
svn-id: r41572
2009-06-15 23:10:27 +00:00
Sven Hesse 2219533441 Remove some now superfluous comments
svn-id: r41571
2009-06-15 23:10:10 +00:00
Sven Hesse 5c58b9a3a4 Using cmpHelper for OP_NEQ too, since the original does a normal strcmp there as well. No idea where the stricmp came from
svn-id: r41570
2009-06-15 23:09:57 +00:00
Sven Hesse f6ca65206f Renaming some variables in o1_assign() and o2_assign() to mirror the structure in o6_assign()
svn-id: r41569
2009-06-15 23:09:37 +00:00
Sven Hesse 190dd0d077 Using the TYPE_ enum where applicable
svn-id: r41568
2009-06-15 23:09:23 +00:00
Sven Hesse 236fad1f19 Adding a TYPE_ enum
svn-id: r41567
2009-06-15 23:09:04 +00:00
Sven Hesse 75b44536b1 Fixing the signness indicated by the OP_ enums
svn-id: r41566
2009-06-15 23:08:44 +00:00
Sven Hesse 42007f9d04 Propagating variable name changes
svn-id: r41565
2009-06-15 23:08:28 +00:00
Sven Hesse e8a89cffb6 Renamed various variables to better reflect their meaning
svn-id: r41564
2009-06-15 23:08:09 +00:00
Sven Hesse 8b5233c5ff Renamed varPos to varBase and split off getVarBase() from parseVarIndex() and parseExpr()
svn-id: r41563
2009-06-15 23:07:55 +00:00
Sven Hesse 0906068bff Merging parseValExpr and parseExpr
svn-id: r41562
2009-06-15 23:07:38 +00:00
Arnaud Boutonné 2f8a0b9936 renamed playtoons target names to insult-free target names (maybe non-definitive names)
svn-id: r41559
2009-06-15 21:28:11 +00:00
Arnaud Boutonné f2e3ddf72a Add MD5 for Playtoons 4 FR
svn-id: r41556
2009-06-15 19:46:00 +00:00
Sven Hesse 48a8e69546 Fixed an animation speed regression that got introduced when I added a lag compensation for Woodruff
svn-id: r41508
2009-06-14 12:19:42 +00:00
Sven Hesse acb0de6580 Warn when a sprite operation is to be performed on a nonexistent surface instead of crashing
svn-id: r41499
2009-06-13 22:35:22 +00:00
Arnaud Boutonné 7eaf013bbf Gob - *WIP* incomplete implementation of MDY/TBR
svn-id: r41498
2009-06-13 22:14:58 +00:00
Sven Hesse ccb92ebfee Making TotTextData's item's offsets unsigned. This could fix the crash in the Polish Woodruff version (bug #2804962)
svn-id: r41497
2009-06-13 22:10:55 +00:00
Arnaud Boutonné b1b03a33ba Gob detection :
- use GUIO_NOSPEECH and GUIO_NOSUBTITLES intensively, as there is no control other them even when they are present
- Replace non-ASCII characters by hex values

svn-id: r41429
2009-06-10 15:04:21 +00:00
Sven Hesse a19622994b Fixed CLEAR
svn-id: r41409
2009-06-09 19:37:24 +00:00
Sven Hesse 6f49d1576b Added a workaround for Win Lost in Time.
It's got VMD files which are still referenced as IMD

svn-id: r41407
2009-06-09 18:53:35 +00:00
Sven Hesse 5728ff23ca Win Lost in Time is multi-lingual (British, French, Spanish)
svn-id: r41406
2009-06-09 18:53:17 +00:00
Sven Hesse 412628aaa3 Multi-lingual Inca2 version (American, French, German, Italian, Spanish)
svn-id: r41405
2009-06-09 18:52:55 +00:00
Sven Hesse 38c484abb2 Win Gob1 is multi-lingual (British, French, German, Italian, Spanish)
svn-id: r41404
2009-06-09 18:19:11 +00:00
Sven Hesse 5a1e1a167e Win Gob2 is multi-lingual (American, French, German)
svn-id: r41403
2009-06-09 18:18:11 +00:00
Sven Hesse a077fa4348 Win Gob3 is multi-lingual (British, French, German)
svn-id: r41402
2009-06-09 18:14:49 +00:00
Sven Hesse 77f114ffcb Dropping the v1 parser functions in favour of the extended v2 ones
svn-id: r41317
2009-06-07 01:45:09 +00:00
Sven Hesse f5edbba804 Fascination needs o1_assign. o2_assign breaks the DOS floppy version
svn-id: r41313
2009-06-06 23:40:11 +00:00
Sven Hesse 64a920d52f Renamed the evaluateStore opcodes to assign, because that's what they are
svn-id: r41312
2009-06-06 23:39:58 +00:00
Sven Hesse f5e25f2152 Setting the game type of the generic demoplayer to Urban so it can make use of the initial palette
svn-id: r41308
2009-06-06 21:54:12 +00:00
Sven Hesse 9f3a628ad5 Fixing the demoplayer's auto double mode and added a REBASE0 option that sets the video's X and Y coordinates to 0,0
svn-id: r41307
2009-06-06 21:45:47 +00:00
Sven Hesse ebc9e38ed0 Fixing the Woodruff intro: Using a flag that's /not/ already used be the scripts
svn-id: r41306
2009-06-06 21:41:22 +00:00
Max Horn 3d3da173b0 GOB: Turned _spritesArray into a Common::Array (of fixed size) to detect out-of-bounds access to it (since access is controlled by scripts, this could (and does :/) easily happen. Also removed an obsolete swap() method, and fixed one case where _spritesArray was indeed accessed out of bounds
svn-id: r41305
2009-06-06 21:37:30 +00:00
Max Horn 0989bb0b90 GOB: Got rid of class ReferenceCounter; changed SurfaceDesc::Ptr to SurfaceDescPtr (a Common::SharedPtr); and changed many SurfaceDesc pointers to references
svn-id: r41299
2009-06-06 20:03:13 +00:00
Sven Hesse 2901694486 Demoplayer:
- Fixing the flawed double mode
- Adding an "auto" double mode, where the videos get scaled if possible

svn-id: r41294
2009-06-06 19:06:47 +00:00
Eugene Sandulenko 167874cf1a Added GUI options for newly added games
svn-id: r41285
2009-06-06 18:23:05 +00:00