Commit graph

45 commits

Author SHA1 Message Date
Matthew Hoops
0031c41db8 COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.

This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Sven Hesse
8548dea13d GOB: Hook up the MDY player in Fascination 2012-06-11 05:18:06 +02:00
Max Horn
88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Sven Hesse
40bf0286a1 GOB: Rename Script::evalBoolResult() to Script::evalBool()
svn-id: r55633
2011-01-29 22:47:14 +00:00
Sven Hesse
ce3d4b5d1b GOB: Add GobEngine::isCurrentTot()
svn-id: r55630
2011-01-29 22:45:51 +00:00
Sven Hesse
0c3a33c354 GOB: Change _curTotFile and _totToLoad into Common::String
svn-id: r55629
2011-01-29 22:45:15 +00:00
Sven Hesse
14678f059b GOB: Move OpcodeFunc's return flag into its parameter
To make the meaning of the flag more clear and make the func
opcodes more similar to draw and gob opcodes.

svn-id: r55627
2011-01-29 22:44:06 +00:00
Arnaud Boutonné
a002c6f2fd GOB: Fix 2nd Hebrew protection screen in Fascination
Add a workaround to avoid a crash when failing the protection check
This only applies for the 2nd protection screen in the Hebrew version
which is used when the intro is not skipped

svn-id: r52672
2010-09-10 23:40:08 +00:00
Arnaud Boutonné
a484a99e9f GOB: Avoid a crash in the protection screen of Fascination (PC).
When failing the protection check, the script of the PC version was writing on purpose everywhere in the memory to hang the computer. This resulted in a crash in Scummvm, fixed by this workaround. (Tested on the 256 Col version french and german)

svn-id: r52316
2010-08-24 06:25:08 +00:00
Arnaud Boutonné
704ee45b98 GOB - Suppress debug comments
svn-id: r52290
2010-08-22 23:21:48 +00:00
Arnaud Boutonné
c8005dfb75 GOB - Fix 2 bugs in Fascination Hebrew, now playable.
Again, thanks SylvainTV for the debugging efforts

svn-id: r52288
2010-08-22 23:11:29 +00:00
Arnaud Boutonné
f23cc57ad5 Fascination : Avoid to set _showCursor in initCursorAnim as it enables the cursor all the time, which is wrong. This fixes the bad icon while loading issue, and the weird icon in the lab. Thanks SylvainTV for solving it.
svn-id: r52178
2010-08-18 00:03:58 +00:00
Arnaud Boutonné
b37b0d9b0c Fascination - Suppress some debug messages
svn-id: r52160
2010-08-17 16:27:56 +00:00
Sven Hesse
9c2172b901 GOB: Fix an copy&paste error
Fixing an accidentally overwritten video file name

svn-id: r51855
2010-08-08 00:36:47 +00:00
Sven Hesse
59b9b3bc2b GOB: Implement the new VideoPlayer::openVideo function further
svn-id: r51853
2010-08-08 00:35:50 +00:00
Sven Hesse
8191092c18 Loading the intro videos tira.imd and tirb.imd as early PreIMD
svn-id: r48235
2010-03-11 06:15:51 +00:00
Arnaud Boutonné
bf17ff87db Fascination - Put correct protracker functions as Paula now accept sample size > 32k. MOD is now playing in Amiga and Atari versions.
svn-id: r48061
2010-02-14 18:30:12 +00:00
Arnaud Boutonné
816e318134 Fascination: - Suppress the recently added oFascin_keyFunc, replace it with a check in o1_keyFunc. This fixes the animation speed regression
- Rename Amiga-specific protracker functions
- Rewrite winDecomp.

svn-id: r48011
2010-02-08 23:12:42 +00:00
Arnaud Boutonné
59c351a3b2 Fascination: Fix lamp problem in parking lot.
svn-id: r47927
2010-02-06 08:10:56 +00:00
Sven Hesse
d4949d03d4 Minor style-related changes
svn-id: r47839
2010-02-03 03:25:50 +00:00
Arnaud Boutonné
4b063230b7 Fascination - Add a define to enable/disable MDY player, as it currently generates more warnings than sounds
svn-id: r47827
2010-02-02 23:35:08 +00:00
Arnaud Boutonné
5507cb6247 Fascination - Partially fix the intro
svn-id: r47763
2010-01-31 17:57:07 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Arnaud Boutonné
96a40e7712 Fascination - Suppress some warnings
svn-id: r44504
2009-09-30 22:54:30 +00:00
Arnaud Boutonné
ff70b554ea Playtoons - implement some functions related to hotspot texts
Fascination - initial version of several 'Fascination Window' functions, proper naming of most of fascination OPCODEDRAW and OPCODEGOB functions

svn-id: r44472
2009-09-29 22:43:30 +00:00
Sven Hesse
7d005f62c3 Putting evalBoolResult() and evalExpr() into Script
svn-id: r41760
2009-06-22 10:29:32 +00:00
Sven Hesse
962fc19b57 Encapsulating script file access
svn-id: r41753
2009-06-22 10:13:37 +00:00
Sven Hesse
23f9cc0e4e Oops, forgot again that Fascination needs o1_assign
svn-id: r41634
2009-06-18 13:27:48 +00:00
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
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
Arnaud Boutonné
7eaf013bbf Gob - *WIP* incomplete implementation of MDY/TBR
svn-id: r41498
2009-06-13 22:14:58 +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
1656f69183 Replacing NULL with 0, since that's normally the C++-way
svn-id: r41059
2009-05-31 03:32:16 +00:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Arnaud Boutonné
912b3f64bb Gob : Fascination - put back o1_freesprite and switch to o1_animPalInit after verification of the original code in Gob1. Modify or suppress some warnings.
svn-id: r40225
2009-05-01 07:36:50 +00:00
Arnaud Boutonné
93e2e75a9e - Added a game_fascin skeletton, as specificities are now proven
- Added a new game time, adibouunknown, used to reference the ADI/Adibou/Addy generic environments 
- Replace oFascin_cdUnknown10 by a real function
- Fix a detail in oFascin_cdUnknown11
- Suppress double declaration for types Gob2 and Ween

svn-id: r40207
2009-04-29 16:36:08 +00:00
Arnaud Boutonné
bac2239709 Fascination
- Squeeze _goblinFuncLookUp and OpcodeGoblinEntryFascination to the max to spare memory
- Added Amiga-only geUnknown1000-2 functions. At this point, they are not unknown, but hang the Protracker player
- Modify some few comments and variable/function names

svn-id: r40146
2009-04-25 17:58:23 +00:00
Arnaud Boutonné
15eac04bd3 Complete general function 0 and 1 based on DrMcCoy suggestion (Hardcoded IMD loading and playing)
svn-id: r40136
2009-04-25 00:01:53 +00:00
Sven Hesse
6411c84b31 Removing the extra \n in warning()s. warning() already adds "!\n"
svn-id: r40133
2009-04-24 23:26:57 +00:00
Arnaud Boutonné
2d64d45275 Gob - Add 12 dummy functions used for the OpcodeGoblinEntryFascination.
svn-id: r40130
2009-04-24 22:49:20 +00:00
Arnaud Boutonné
ee92913683 Patch #2725859 : Added some MD5 to the gob engine, modified the way the first STK and TOT is declared, added inter and draw skeleton for Fascination
svn-id: r40059
2009-04-21 21:44:37 +00:00