Commit Graph
31064 Commits
Author SHA1 Message Date
Filippos Karapetis dfffea1bf4 Updated the MSVC project files of the gob engine (added helper.h)
svn-id: r40769
2009-05-21 17:28:43 +00:00
Johannes Schickel e1b4f63343 Fix some Kyra1 movies.
svn-id: r40768
2009-05-21 17:25:29 +00:00
Filippos Karapetis 4799cbf1c3 Removed the PREG, PSTK, IS_NULL_REG and REG_EQ defines
svn-id: r40767
2009-05-21 17:18:46 +00:00
Johannes Schickel 60b007cfd0 Only process key/mouse press/release events in GUI.
svn-id: r40766
2009-05-21 17:13:41 +00:00
Sven Hesse 10b1b28610 Splitting a few helper functions out of gob.h
svn-id: r40765
2009-05-21 17:12:33 +00:00
Sven Hesse 54d7bfcd8a Ooops: Forgot to check in my changes in the detection array for the demo changes (r40746)
svn-id: r40764
2009-05-21 17:00:25 +00:00
Florian Kagerer 6bd5dea027 LOL: - implemented freeze spell
- fixed saveload code
- added some opcode for the swamp

svn-id: r40763
2009-05-21 16:46:40 +00:00
Johannes Schickel 6e93825b2e Move Indeo3 static data from indeo3data.h to indeo3.cpp.
svn-id: r40762
2009-05-21 13:38:52 +00:00
Torbjörn Andersson 2e04f52638 I'm no longer sure I've really seen case 12 happen, so don't mention it.
svn-id: r40761
2009-05-21 13:28:32 +00:00
Johannes Schickel e51481d69b Remove trailing tabs/whitespaces.
svn-id: r40760
2009-05-21 13:13:09 +00:00
Filippos Karapetis b7f8990ba8 Renamed the DXA, SMK and FLIC video decoders to reflect the fact that they're decoders, not players
svn-id: r40759
2009-05-21 13:02:56 +00:00
Marcus Comstedt f583a10ec9 Workaround for shells that treat an empty list in for as a syntax error...
svn-id: r40758
2009-05-21 12:46:39 +00:00
Marcus Comstedt 2bf25c3865 Micro-optimization: Don't re-strip plugins which are not modified.
svn-id: r40757
2009-05-21 11:49:47 +00:00
Filippos Karapetis 6bc543d499 Updated the MSVC project files with the latest changes to file structure
svn-id: r40756
2009-05-21 10:52:13 +00:00
Filippos Karapetis 11251cf296 Moved the Coktel video player into its own subdirectory
svn-id: r40755
2009-05-21 10:48:03 +00:00
Filippos Karapetis fddd2a2214 Slight cleanup to kGetTime()
svn-id: r40754
2009-05-21 10:34:13 +00:00
Marcus Comstedt 234828825a Ack, can't use something set with := in the dependency section. *sigh* New try.
svn-id: r40753
2009-05-21 10:14:05 +00:00
Torbjörn Andersson 50b77d876d Added comment and warning message about possibly missing cases.
svn-id: r40752
2009-05-21 09:58:12 +00:00
Marcus Comstedt b973169a3d Added proper dependencies for the "plugin_dist" target.
svn-id: r40751
2009-05-21 09:56:55 +00:00
Nicola Mettifogo 465da49782 Made BRA demos start again by partially reverting commit 39773. Multiple inventory support must be done somehow differently.
svn-id: r40750
2009-05-21 08:06:15 +00:00
Torbjörn Andersson f3f0be30fd Fixed indentation. (Don't worry, it's just a small change, and it matches the
original FFmpeg code, as far as I can tell.)

svn-id: r40749
2009-05-21 07:23:48 +00:00
Gregory Montoir f2668f8a7d simplified sound handling in animation sequences
svn-id: r40747
2009-05-21 01:30:28 +00:00
Sven Hesse c9ff1d7492 - Changed the demo player to allow playing directly inlined scripts using a new demoIndex field in the detection array
- Changed the Inca 2 demo entry to use a directly included script instead of triggering on "demo.bat"

svn-id: r40746
2009-05-20 23:13:44 +00:00
Eugene Sandulenko 8e4b31f522 Fix bug #1544799: "ALL: Engine creates launcher entry when failing to launch"
svn-id: r40745
2009-05-20 21:00:52 +00:00
Sven Hesse 43f58b2869 Moving CoktelVideo (IMD/VMD) and the Indeo3 code (needed for Urban Runner's VMDs) to graphics/video/
svn-id: r40744
2009-05-20 20:41:10 +00:00
Sven Hesse bfb29080f1 Remove superfluous indeo3-includes
svn-id: r40743
2009-05-20 20:05:53 +00:00
Max Horn bba91075bf removed trailing whitespaces
svn-id: r40742
2009-05-20 17:53:31 +00:00
Max Horn 4f55f1e730 SCI: Moved code related to loading/setting up kernel function names from vocab_debug.cpp to engine/kernel.cpp
svn-id: r40741
2009-05-20 17:52:49 +00:00
Max Horn 4c786a44c9 SCI: Changed EngineState::opcodes to a Common::Array (maybe we shold just remove the relevant code completely, though, it seems useless, esp. as long as we hardcode the way we interpret every opcode
svn-id: r40740
2009-05-20 17:52:33 +00:00
Max Horn 7d54385dea SCI: Moved some private decls from kernel.h to kernel.cpp; removed pointless (and incorrect) fallback code in k_Unknown
svn-id: r40739
2009-05-20 17:52:12 +00:00
Max Horn f5f48fff3a SCI: Moved the few kernel functions that were in kernel.cpp to a new file kmisc.cpp
svn-id: r40738
2009-05-20 17:51:55 +00:00
Max Horn 6be7da1c83 fix warning
svn-id: r40737
2009-05-20 17:51:37 +00:00
Filippos Karapetis 6ec870303f - Reverted commit #40730, as it introduced rounding errors
- Properly fixed the FLIC player
- The sound chunk tag of DXA files is now read by the DXADecoder's loadFile() method

svn-id: r40736
2009-05-20 10:43:18 +00:00
Torbjörn Andersson caf9bf0941 Removed the rest of the hard-coded cutscene information. It was only needed to
get the number of frames of a cutscene (to find the "lead out frame"), but this
information is already provided by both the DXA and the SMK players. (It wasn't
provided by the now obsolete MPEG player.)

svn-id: r40735
2009-05-20 04:29:09 +00:00
Torbjörn Andersson 358b1a7c7e Removed the "seamless" flag. It was something I added to cope with the fade
in/out behaviour of the MPEG cutscene player, and no longer seems to be needed.

svn-id: r40734
2009-05-20 04:07:34 +00:00
Eugene Sandulenko 40dd214789 Start of fixing bug #2537054: "AGI: Using GMM to load causes graphics glitches"
The engine still crashes when load from GMM occured with a text box on screen.

svn-id: r40733
2009-05-19 21:09:43 +00:00
Walter van Niftrik a1364e37f7 SCI: Some debugger fixes and cleanup.
svn-id: r40732
2009-05-19 20:40:21 +00:00
Eugene Sandulenko 743650506b Fix regression introduced in r40438. Saves were badly broken.
svn-id: r40731
2009-05-19 20:30:57 +00:00
Filippos Karapetis e358b13ef9 Changed calculations based on frame delay to be based on the scale of 1ms, not 1/100. This fixes the FLIC player and also makes the overall code a bit clearer and easier to understand
svn-id: r40730
2009-05-19 19:56:53 +00:00
Filippos Karapetis 4f6bc50615 Some fixes to the video decoders, thanks to salty-horse's comments
svn-id: r40729
2009-05-19 17:39:03 +00:00
Filippos Karapetis 5d942f9d70 Removed some redundant variables, and renamed some variables with strange names ("foo"?)
svn-id: r40727
2009-05-19 15:59:17 +00:00
Johannes Schickel 67f1b6fae7 - Formatting
- Warning fixes
- Rename "test_read_v2_as_v1" to "test_read_v1_as_v2", to match behavior

svn-id: r40726
2009-05-19 12:39:53 +00:00
Max Horn 65b5d31814 COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
svn-id: r40725
2009-05-19 11:42:14 +00:00
Walter van Niftrik 4d59f620f9 SCI: Changed K_FILEIO_FILE_EXISTS to check regular files too.
svn-id: r40724
2009-05-19 11:30:51 +00:00
Max Horn 42cd218400 Improved Common::Serializer in several ways:
* Added support versioned serialization
* Added a convenience API for handling 'magic IDs' transparently
* Exposed the err()/clearErr() methods of the underlying streams
* Added a basic unit test for versioned loading (more should be added, in particular for saving)
* Removed the syncString(char *, uint16) alias for syncBytes(byte *buf, uint32 size)

svn-id: r40723
2009-05-19 11:23:13 +00:00
Max Horn 2b32ba7cb3 Converted unit tests to use TS_ASSERT_EQUALS / TS_ASSERT_DIFFERS where possible; also made them comply a bit more to our code formatting guideline
svn-id: r40722
2009-05-19 11:22:49 +00:00
Max Horn c24559877d Updated link to CxxTest homepage
svn-id: r40721
2009-05-19 11:22:20 +00:00
Max Horn 613ca85bf9 SCI: Doxygenified a few comments
svn-id: r40720
2009-05-19 11:22:06 +00:00
Walter van Niftrik df3357159c SCI: Added some stubs for LSL6CD (lores).
svn-id: r40719
2009-05-19 02:10:58 +00:00
Travis Howell 789cb98492 Correct translation error.
svn-id: r40718
2009-05-19 01:58:51 +00:00