Commit Graph

136 Commits

Author SHA1 Message Date
Sven Hesse
a852f30fb2 GOB: Add a workaround for bug #3376547 (gob3 footstep sound) 2011-07-25 18:47:31 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Sven Hesse
b6d2e521c5 GOB: Add oPlaytoons_loadMultObject
svn-id: r55769
2011-02-04 15:55:20 +00:00
Sven Hesse
6a99b6f340 GOB: Add Inter::readValue()
svn-id: r55767
2011-02-04 15:54:21 +00:00
Sven Hesse
209f5bd77e GOB: Move storeValue/storeString to class Inter
svn-id: r55766
2011-02-04 15:53:44 +00:00
Sven Hesse
c3e7b03b46 GOB: Add o7_findCDFile
Stubbing that for now

svn-id: r55738
2011-02-02 19:53:22 +00:00
Sven Hesse
c1967c1a0a GOB: Add o7_gob0x201
svn-id: r55737
2011-02-02 19:52:47 +00:00
Sven Hesse
729be647a0 GOB: o7_draw0xA4 is o7_loadLBMPalette
Stubbing that one for now.

svn-id: r55731
2011-02-02 16:50:23 +00:00
Sven Hesse
a3a51efa80 GOB: Actually, draw opcode 0x90 is loadImage
Not just loadLBM. The image can be a TGA, LBM, BRC, BMP or JPEG.

svn-id: r55694
2011-01-31 21:01:50 +00:00
Sven Hesse
b874396219 GOB: o7_draw0x45 is o7_logString
svn-id: r55691
2011-01-31 20:42:16 +00:00
Sven Hesse
b187551a01 GOB: Add support for dBase III files
Implementing o7_opendBase, o7_closedBase and o7_getDBString

svn-id: r55676
2011-01-31 10:49:43 +00:00
Sven Hesse
0f0dbe7b78 GOB: o7_draw0xC4 is o7_closedBase; o7_draw0xC6 is o7_getDBString
Stubbing those for now

svn-id: r55675
2011-01-31 10:49:03 +00:00
Sven Hesse
f8d61c9e55 GOB: Work around the unimplemented copyFile :P
svn-id: r55654
2011-01-30 13:14:54 +00:00
Sven Hesse
fc59e0b6b3 GOB: Add o7_playVmdOrMusic
svn-id: r55648
2011-01-30 00:04:04 +00:00
Sven Hesse
4588d4cc97 GOB: Add Inter_Playtoons::readSprite()
svn-id: r55646
2011-01-30 00:03:12 +00:00
Sven Hesse
ec288c0603 GOB: Rename loadGroups/callGroup to loadFunctions/callFunctions
svn-id: r55638
2011-01-29 22:49:40 +00:00
Sven Hesse
993a543432 GOB: Add Inter_Playtoons::getFile()
svn-id: r55637
2011-01-29 22:49:15 +00:00
Sven Hesse
65bc46d3ab GOB: Add Script::evalInt() and Script::evalString()
svn-id: r55634
2011-01-29 22:47:53 +00:00
Sven Hesse
b54416b46e GOB: Stub o7_loadGroups
svn-id: r55632
2011-01-29 22:46:41 +00:00
Sven Hesse
9b9c34a378 GOB: o7_draw0x59 is o7_callGroup
svn-id: r55631
2011-01-29 22:46:16 +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
Sven Hesse
20d74edf8b GOB: Add o7_draw0x59 stub
svn-id: r55563
2011-01-27 13:27:04 +00:00
Sven Hesse
e5f9eb30d3 GOB: o7_draw0x93 is o7_setVolume
svn-id: r55544
2011-01-26 19:01:42 +00:00
Sven Hesse
e3f1d02044 GOB: Add o7_zeroVar and partially implement draw0x89
svn-id: r55536
2011-01-25 15:13:37 +00:00
Sven Hesse
e32c9a10bf GOB: Implement getting/setting values from INI files
Setting is non-permanent for now

svn-id: r55534
2011-01-25 14:20:19 +00:00
Sven Hesse
3e5cd6d9de GOB: o7_draw0x8A is o7_findFile()
svn-id: r55531
2011-01-25 13:00:58 +00:00
Sven Hesse
ff13458eb7 GOB: o7_draw0x57 is o7_intToString
svn-id: r55527
2011-01-25 12:13:42 +00:00
Sven Hesse
c8f58b4e19 GOB: o7_draw0x0D is o7_loadCursor
Not implemented yet, because they're in cursor32.dll as PE resources...

svn-id: r55526
2011-01-25 11:01:51 +00:00
Sven Hesse
e5304457b4 GOB: Add o7_oemToANSI
I don't think that we'll need that :P

svn-id: r55522
2011-01-25 03:44:34 +00:00
Sven Hesse
2ce333bf16 GOB: o7_draw0xA1 is o7_getINIValue
svn-id: r55521
2011-01-25 03:44:07 +00:00
Sven Hesse
a875901485 GOB: o7_draw0x90 is o7_loadLBM
Stubbed for now

svn-id: r55517
2011-01-25 02:51:51 +00:00
Sven Hesse
c293eb6073 GOB: o7_draw0xC4 is o7_opendBase
Not implemented for now, of course

svn-id: r55516
2011-01-25 02:51:26 +00:00
Sven Hesse
c8997d0ef8 GOB: o7_draw0x44 is o7_displayWarning
svn-id: r55515
2011-01-25 02:50:56 +00:00
Sven Hesse
0b5af778b0 GOB: o7_draw0x8C is o7_getSystemProperty
svn-id: r55514
2011-01-25 02:50:26 +00:00
Sven Hesse
1a44ed588f GOB: Some more Addy stubs
svn-id: r55509
2011-01-25 01:28:31 +00:00
Sven Hesse
176e49975c GOB: Adding stubs for Addy
svn-id: r55508
2011-01-25 00:50:26 +00:00
Sven Hesse
411d41d3d0 GOB: Change the NOCD workaround for Urban Runner a bit
Seems like the game does close the CD1.ITK too, so we just
open all ITKs right at the start, lest it might blow up when
it wants to close the top ITK and that's actually CD4.

svn-id: r55461
2011-01-23 11:00:57 +00:00
Sven Hesse
d4357c5c3f GOB: Give Inca2 its own Inter class
svn-id: r55296
2011-01-18 11:52:24 +00:00
Sven Hesse
db13af5337 GOB: Make the variable stack endianness-independent
Since Urban Runner casts int16s to uint32 before pushing them onto the
stack and after popping assumes it's little endian, we have explicitely
preserve the variable space endianness while pushing/popping.

svn-id: r55277
2011-01-17 13:37:14 +00:00
Sven Hesse
e68b6e9f15 GOB: Remove dither stuff, commenting out most v6 drawing
svn-id: r52945
2010-09-30 13:00:30 +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é
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é
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
Max Horn
8ba75fc522 Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
svn-id: r44495
2009-09-30 16:16:53 +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
Arnaud Boutonné
6a9cc3b1e0 - Implement _pattern variable
- Add oPlaytoons_putPixel and Playtoons specific spriteOperation (using _pattern)

svn-id: r44103
2009-09-15 12:15:22 +00:00
Arnaud Boutonné
6f6d4df529 Playtoons - Add oPlaytoons_printText
svn-id: r44018
2009-09-09 20:10:16 +00:00