19749 Commits

Author SHA1 Message Date
Alyssa Milburn
d68c8547c5 MOHAWK: Don't use a fixed-size array for cue lists.
svn-id: r55335
2011-01-19 22:41:12 +00:00
Alyssa Milburn
a3e9197805 MOHAWK: Add getSubImageSize function.
svn-id: r55334
2011-01-19 20:53:28 +00:00
Sven Hesse
bad7f1ce9a GOB: Implement "live" (non-blocking) videos
Many thanks to SylvainTV. :)
Urban Runner might actually be completeable now.
One caveat: Hotspots at that hotel sequence are a bit glitchy...

svn-id: r55333
2011-01-19 18:57:43 +00:00
Arnaud Boutonné
878bedf454 HUGO: Move mouseHander() out of runMachine()
svn-id: r55332
2011-01-19 18:02:53 +00:00
Matthew Hoops
16ba5717f4 MOHAWK: Properly initialize Myst's background SndHandle
svn-id: r55331
2011-01-19 16:55:47 +00:00
Matthew Hoops
918a21cd7b MOHAWK: Use a separate SndHandle for Myst's background sound
svn-id: r55330
2011-01-19 16:52:47 +00:00
Alyssa Milburn
6b123c0d11 MOHAWK: Fix comment in resource.h.
svn-id: r55329
2011-01-19 16:36:50 +00:00
Alyssa Milburn
017ab4c503 MOHAWK: Add some supporting code for cue lists.
svn-id: r55328
2011-01-19 16:36:34 +00:00
Matthew Hoops
e2d9a34bee MOHAWK: Cleanup some Riven code
svn-id: r55327
2011-01-19 15:22:39 +00:00
Arnaud Boutonné
9058b6a88b HUGO: Add specific decodeString() for H1 Dos
This fixes act3 logic. 
Also move some functions from public to protected.

svn-id: r55325
2011-01-19 14:45:18 +00:00
Sven Hesse
adbeb20f3b GOB: Add preliminary Inca 2 save support
svn-id: r55323
2011-01-19 09:02:39 +00:00
Sven Hesse
12ff4f51f1 GOB: Add save stub and temp sprite for Inca2
svn-id: r55321
2011-01-19 09:01:38 +00:00
Eugene Sandulenko
c528765814 SWORD25: getSoundTime() is not used. Remove it.
svn-id: r55320
2011-01-19 07:40:30 +00:00
Eugene Sandulenko
4bc730f256 SWORD25: Strip off unportable functions
svn-id: r55319
2011-01-19 07:40:10 +00:00
Arnaud Boutonné
3ba7a21c62 HUGO: Merge the 2 versions of doAction, cleanup
svn-id: r55318
2011-01-19 00:49:49 +00:00
Arnaud Boutonné
6a586881af HUGO: Rename objNumb to objIndex when used as an index
svn-id: r55316
2011-01-18 21:32:18 +00:00
Matthew Hoops
2aca6d3838 MOHAWK: Rename some Myst-specific sound functions; cleanup
svn-id: r55314
2011-01-18 21:10:58 +00:00
Matthew Hoops
0761ab7b3a MOHAWK: Rename some VideoManager functions so we have some unified naming between versions
svn-id: r55312
2011-01-18 20:30:16 +00:00
Bastien Bouclet
bf06c49544 MOHAWK: Implement channelwood pipe valves
svn-id: r55311
2011-01-18 19:32:36 +00:00
Bastien Bouclet
f343bb9185 MOHAWK: Add a workaround to prevent a crash when pulling the gears puzzle reset lever in Myst ME.
CL1WLFCH.MOV is not the same for Myst ME and Myst win31. The proper fix will need backwards playing for QT movies.

svn-id: r55310
2011-01-18 19:30:32 +00:00
Matthew Hoops
da1669c666 MOHAWK: Add a sanity check to waitUntilMovieEnds()
svn-id: r55309
2011-01-18 19:22:48 +00:00
Bastien Bouclet
58c9e219b6 MOHAWK: Add gulls and butterflies to Myst
svn-id: r55308
2011-01-18 19:17:24 +00:00
Arnaud Boutonné
801561e6bc HUGO: Clean up
- Suppress some obsolete comments
- Get rid of some magic numbers

svn-id: r55307
2011-01-18 18:26:33 +00:00
Matthew Hoops
c35fa646ce MOHAWK: Move Myst's o_quit opcode to the base class
svn-id: r55304
2011-01-18 17:42:34 +00:00
Matthew Hoops
5cd4bd3ce7 MOHAWK: Cleanup wrapMovieFilename()
svn-id: r55303
2011-01-18 17:08:17 +00:00
Matthew Hoops
b956f102d9 MOHAWK: Fix the gear puzzle in Myst ME Mac
svn-id: r55302
2011-01-18 17:03:21 +00:00
Matthew Hoops
503fdb6147 GRAPHICS: Add a getSurface() function to JPEG to automatically convert to RGB
svn-id: r55301
2011-01-18 16:18:10 +00:00
Matthew Hoops
5da1718beb MOHAWK: Implement the whark response to the red light
svn-id: r55300
2011-01-18 14:51:03 +00:00
Matthew Hoops
245b7337f8 MOHAWK: Implement the village part of the left viewer on gspit
svn-id: r55299
2011-01-18 14:26:26 +00:00
Sven Hesse
b38b5d2484 GOB: Give Inca2 its own SaveLoad class
Add an quick hack to fudge reading of the "voice.inf" file,
so that the voice match the selected text language.

svn-id: r55298
2011-01-18 11:53:21 +00:00
Sven Hesse
b4e12e6a89 GOB: Fix the indenting :P
svn-id: r55297
2011-01-18 11:52:44 +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
1c63862f2b GOB: Add a workaround for Inca2
The scripts seem to depend on var32_236 to be cleared at the
start of each new script file.

svn-id: r55295
2011-01-18 11:51:45 +00:00
Sven Hesse
a6073a649a GOB: Add some sanity checks
svn-id: r55294
2011-01-18 10:42:26 +00:00
Sven Hesse
efe0dea82c GOB: Implement Urban Runner autosave
Makes the "Try again" after a death work

svn-id: r55293
2011-01-18 09:27:32 +00:00
Arnaud Boutonné
4413754ad2 HUGO: Improve mouse support in H3 DOS version
- Fix description of Penelope lying (when using mouse)
- Use H3 Win logic in order to handle horizon
- Add a workaround for a data bug in scenery1.dat, fixing the
pathfinding bug in Crash screen

svn-id: r55292
2011-01-18 09:16:52 +00:00
Arnaud Boutonné
839926ef10 HUGO: Clean-up
Modify debug level for 2 debug messages, 
Suppress obsolete comments,
Fix typo in comment

svn-id: r55291
2011-01-18 08:32:10 +00:00
Sven Hesse
61b90c43d8 GOB: Fix a stupid typo in o2_readData()
svn-id: r55290
2011-01-18 08:14:23 +00:00
Sven Hesse
f33b84ff3d GOB: Fix Woodruff object videos
svn-id: r55289
2011-01-18 07:03:42 +00:00
Sven Hesse
dd01e4c303 GOB: Increase debug level for a debug message
svn-id: r55287
2011-01-18 07:02:42 +00:00
Sven Hesse
e73484b259 GOB: Fix Urban Runner hotspot texts
Thanks to SylvainTV :)

svn-id: r55286
2011-01-18 06:30:47 +00:00
Sven Hesse
283bec822d GOB: Add a sanity check in oPlaytoons_readData
svn-id: r55284
2011-01-18 04:19:33 +00:00
Sylvain Dupont
92ddccec09 GOB: Add chroma values linear interpolation in drawYUV
Fixes the blockiness and apparent color shifting in some Urban Runner menu icons.

svn-id: r55283
2011-01-18 00:56:48 +00:00
Matthew Hoops
2a808be804 MOHAWK: Implement xgrviewer so the right viewer on gspit is usable
svn-id: r55282
2011-01-18 00:42:16 +00:00
David Turner
f042e398ea PARALLACTION: Fix Big Red Adventure Walking To Stop On Path Build Failure.
Walking now works correctly, with no valgrind issues, lockups or assertions.

svn-id: r55281
2011-01-18 00:22:47 +00:00
David Turner
c6750a7a65 PARALLACTION: Minor Whitespace and code complexity reduction in walk.*
svn-id: r55280
2011-01-17 23:12:59 +00:00
David Turner
3ebf1e5962 PARALLACTION: Some Improvements To Big Red Adventure Walk Code.
* Renamed and retyped "int _fieldC" to "bool _stillWalkingTowardsNode" to aid readability and clarity of code. Thanks to fuzzie for naming.
* Added assertion to prevent use of invalid memory as reported by Valgrind when walk point p is constructed from an empty list.
* Added code to stop walk if buildPath fails, though this causes an assertion instead currently.

svn-id: r55279
2011-01-17 23:00:52 +00:00
Matthew Hoops
3fa01f4030 MOHAWK: Implement the Riven pin controls
svn-id: r55278
2011-01-17 16:10:48 +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
6c6d85908f GOB: Fix o2_pushVars()
Fixes Urban Runner loading.
This being broken has the potential of messing up
/everything/ in unpredictable ways, so saves of games using
this opcode may be borked. Thankfully, I *think* it's just
Urban Runner, which isn't working/supported yet anyway.

svn-id: r55276
2011-01-17 12:09:06 +00:00