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
Johannes Schickel
783fb058b0
Formatting.
...
svn-id: r40717
2009-05-19 01:39:18 +00:00
Travis Howell
36ace75983
Improve looping of videos, in the demo version of The Feeble Files.
...
svn-id: r40716
2009-05-19 01:20:54 +00:00
Johannes Schickel
7561bd9dfb
Remov lots of superfluous debug output.
...
svn-id: r40715
2009-05-19 01:13:29 +00:00
Max Horn
136fcb3810
SCI: Introduce a new subclass StringFrag of MemObject (does nothing right now); switched MemObject to subclass Common::Serializable
...
svn-id: r40714
2009-05-19 00:34:10 +00:00
Max Horn
4755fcb130
SCI: got rid of EngineState::savegame_version; some cleanup
...
svn-id: r40713
2009-05-19 00:33:48 +00:00
Max Horn
091b347a7e
SCI: Init the diff .#&$ EngineState::flags field in the constructor and when loading -- fixes many weird crashes upon loading (lesson to be learned: if you add fields to a class, then (a) init it in the construtor and (b) if the class support serializing, make sure the new field is handled when saving/loading :-)
...
svn-id: r40712
2009-05-19 00:02:44 +00:00
Max Horn
8add60bf8c
SCI: Cleanup/paranoia checks
...
svn-id: r40711
2009-05-19 00:02:10 +00:00
Johannes Schickel
62190b57d8
Don't quit when the user selects "Load game" in main menu.
...
svn-id: r40710
2009-05-18 23:21:40 +00:00
Johannes Schickel
2f72831876
Don't crash on debugger shortcut when no debugger is present. (Fixes crash in LoL, when the user tries to press Ctrl+d)
...
svn-id: r40709
2009-05-18 23:14:37 +00:00
Johannes Schickel
90b4afd41b
Add some simple implementation for type 8 data blocks:
...
- Fix sound effect in LoL demo
svn-id: r40708
2009-05-18 22:11:56 +00:00
Johannes Schickel
29cf3ed1a4
Add support for music in the LoL intro demo.
...
svn-id: r40706
2009-05-18 21:56:09 +00:00
Johannes Schickel
273b93f3a7
Preliminary support for LoL intro demo.
...
svn-id: r40705
2009-05-18 21:45:09 +00:00