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
Arnaud Boutonné
88bde05828
Add oPlaytoons_getObjAnimSize. It's uncomplete, but it allows to use some functionalities of the construction mode
...
svn-id: r43948
2009-09-04 20:50:16 +00:00
Arnaud Boutonné
dd569a1b7e
Modify warning message for o5_deleteFile as it's not only used by Dynasty, and Add oPlaytoons_copyFile. The latest will need to be completed if a call requires it. For the moment, it only fixes the crash at the end of the 3rd video of the construction kit.
...
svn-id: r43841
2009-08-30 23:39:25 +00:00
Arnaud Boutonné
af3e23b291
Playtoons - Add new freeSprite function for Playtoons & Bambou. This fixes the crash that occurred when exiting the game.
...
svn-id: r43783
2009-08-28 21:08:59 +00:00
Sven Hesse
7c9b9c657e
Fixing a typo and copy-paste error
...
svn-id: r43773
2009-08-27 16:36:19 +00:00
Arnaud Boutonné
afabd2706b
Add oPlaytoons_F_1B skeletton, and oPlaytoons_readData to avoid adding a playtoons workaround in inter_v2.
...
svn-id: r43561
2009-08-20 12:32:59 +00:00
Johannes Schickel
b8fd79486f
Formatting.
...
svn-id: r43463
2009-08-17 09:57:09 +00:00
Arnaud Boutonné
f3918d14d6
Added OPCODEDRAW 0x85, with a specific workaround for Bambou hardcoded paths in scripts
...
svn-id: r43461
2009-08-17 09:50:35 +00:00
Arnaud Boutonné
e9767a80ce
fix methods
...
svn-id: r43347
2009-08-13 10:08:07 +00:00
Arnaud Boutonné
fc74ec8646
- Add a specific OPCODEFUNC checkData to avoid having a Playtoons workaround in working code
...
- Replace OPCODEDRAW 0x20,0x23 and 0x25
svn-id: r43345
2009-08-13 09:59:44 +00:00
Sven Hesse
50108e9135
Renaming the last occurences of "Collision" to "Hotspot"
...
svn-id: r42153
2009-07-05 21:39:55 +00:00
Sven Hesse
704895b35f
Commenting prepareStr a bit and renaming it to cleanupStr
...
svn-id: r42120
2009-07-05 11:26:42 +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
0ae767ae8c
Fixing The Last Dynasty again after the opcode dispatcher changes
...
svn-id: r41664
2009-06-19 09:43:01 +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
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
896df6daf3
- A new save system for the GobEngine, one that is not fundamentally broken and is versioned. Unfortunately, this invalidates most save games created on big-endian machines, since endian-issues was a main problem with the old system
...
- Removed the now superfluous variables sizes
svn-id: r41056
2009-05-31 02:15:43 +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
Sven Hesse
c88b077fcc
Some minor clean-up
...
svn-id: r40166
2009-04-27 18:56:28 +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é
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
Sven Hesse
9f43c32c25
Adding detection and title music playback for Little Red Riding Hood (Amiga version)
...
svn-id: r39551
2009-03-19 23:42:19 +00:00
Sven Hesse
017561a2e1
Fixing the save/load list box's width
...
svn-id: r35591
2008-12-28 18:00:19 +00:00
Sven Hesse
4ceecdb25f
Preliminary save/load support for Urban Runner
...
svn-id: r35418
2008-12-18 02:48:15 +00:00
Sven Hesse
3591f8859e
Workaround for Urban Runner's CD number detection daftness.
...
Basically, now we claim to run in no-CD-mode (by pretending "NO_CD.TXT" exists) and open CD2.ITK, CD3.ITK and CD4.ITK manually
svn-id: r35407
2008-12-17 00:41:00 +00:00
Sven Hesse
adae869c8a
Experimental semi-transparency for fillRect, used in the green/red menu areas of Urban Runner
...
svn-id: r35406
2008-12-16 23:27:35 +00:00
Sven Hesse
f825ccd63f
Script fix. Magnifier, Memory and Save/Load, while still not working correctly, don't crash the game anymore
...
svn-id: r35385
2008-12-15 16:01:39 +00:00
Sven Hesse
f785068dc3
Some more Urban Runner changes. Still no cylindrical smoking device, though
...
svn-id: r35371
2008-12-15 00:27:05 +00:00
Sven Hesse
8770cef478
16bit background "music" for Urban Runner
...
svn-id: r35353
2008-12-14 04:13:48 +00:00
Sven Hesse
bbe6ff006e
Music/Video handling fixes/stubs
...
svn-id: r35351
2008-12-14 03:08:02 +00:00
Sven Hesse
49e0a52ee1
Modified collision init functions for Urban Runner
...
svn-id: r35341
2008-12-13 16:35:14 +00:00
Sven Hesse
4ec3826080
Working (minus text) menu in Urban Runner
...
svn-id: r35310
2008-12-12 02:44:34 +00:00
Sven Hesse
c7fa7f888a
On second thought, an octree only works if the color to look up is in the palette.
...
So using a table-based approach to find the nearest color now, using only the upper 6 bits to stop the table from getting too large. It still takes noticeable time to build it. :/
But as a result, the video actually looks okay now...
svn-id: r35298
2008-12-11 03:06:43 +00:00
Sven Hesse
ebf2948e9a
Last Dynasty video mode switching (and removing a debug output)
...
svn-id: r35231
2008-12-04 00:52:12 +00:00
Sven Hesse
741364602c
Urban Runner stubs
...
svn-id: r34286
2008-09-02 20:15:42 +00:00
Sven Hesse
805a46b229
Added some The Last Dynasty stubs
...
svn-id: r34217
2008-08-30 23:59:46 +00:00