Commit Graph

43370 Commits

Author SHA1 Message Date
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
Filippos Karapetis
6e857ec396 create_project: Add the lpcrt4 library normally in the libraries section of Code::Blocks,
not as a command switch

svn-id: r55306
2011-01-18 17:57:27 +00:00
Filippos Karapetis
e24f1ff40a Added Code::Blocks project files for the create_project tool
svn-id: r55305
2011-01-18 17:51:48 +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
94f5bec0f6 GOB: Fix Woodruff video offsets
svn-id: r55288
2011-01-18 07:03:12 +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
d509941eca VIDEO: Clip render rect to the surface's dimension
...And not to the video's. Oops :P

svn-id: r55285
2011-01-18 05:09:43 +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
Sven Hesse
da65a3cbf3 GOB: Fix the flow rate gauge in Urban Runner
svn-id: r55275
2011-01-17 09:48:42 +00:00
Sven Hesse
8a1e9c8256 GOB: Remove unused old shade functions
svn-id: r55274
2011-01-16 22:30:19 +00:00
Sven Hesse
e6d04b8ad6 GOB: Adding a proper shade method
svn-id: r55273
2011-01-16 22:29:49 +00:00
Sven Hesse
58228919fc GOB: Use the correct font and shade color in Urban Runner
svn-id: r55272
2011-01-16 22:29:18 +00:00
Sven Hesse
0d11ae143f GOB: Add a method to get a true palette color
svn-id: r55271
2011-01-16 22:28:49 +00:00
Sven Hesse
68ebdf20d5 GOB: Don't clobber the global palette
svn-id: r55270
2011-01-16 22:28:20 +00:00
Sven Hesse
199b5d06af GOB: Remove unused declarations
svn-id: r55269
2011-01-16 22:27:48 +00:00
Johannes Schickel
5742a11510 SCUMM: Prefer "Could not" over "Couldn't" in some error messages.
svn-id: r55268
2011-01-16 20:24:58 +00:00
Johannes Schickel
2633a70018 GUI: Fix language popup in the game options.
r49786 introduced a regression which made the game options menu set the
game language to "zh-cn" in case "<default>" was selected. Also in case no
language key was present in the game's config domain no text was shown at all,
now it shows "<default>" in that case again.

svn-id: r55267
2011-01-16 20:12:55 +00:00
Johannes Schickel
c0434258f9 TOOLS: Fix Win64 MSVC project files.
This is done by adding the "SDL_BACKEND" define to x64 MSVC project files, otherwise linker errors would occur, since certain SDL code would not get compiled.

svn-id: r55266
2011-01-16 19:38:22 +00:00
Sven Hesse
84cda62d1f VIDEO: Implement internal-codec 24bpp VMDs
svn-id: r55265
2011-01-16 16:41:27 +00:00
Sven Hesse
518e858d85 GOB: Allow true-color VMD cursors
svn-id: r55264
2011-01-16 16:30:15 +00:00
Sven Hesse
32b94cc236 VIDEO: Implement internal-codec 16bit VMDs
svn-id: r55263
2011-01-16 16:29:43 +00:00
Sven Hesse
b451d3b51c GOB: Add the property switchColorMode
To allow the videoplayer (and ultimatively the demoplayer)
to switch color modes if necessary.

svn-id: r55262
2011-01-16 16:29:19 +00:00