Commit Graph

38200 Commits

Author SHA1 Message Date
Filippos Karapetis
46af5a5162 - Moved kernel_lookup_text inside the Kernel class
- Added a pointer to the segment manager from within the Kernel class, thus simplifying the calls to it

svn-id: r49076
2010-05-18 12:16:48 +00:00
Filippos Karapetis
75f4791a4a - Moved determine_reg_type() and kernel_matches_signature() inside the Kernel class, where they belong
- Moved the kernel signature defines inside kernel.h
- Removed some unused references to EngineState

svn-id: r49075
2010-05-18 11:23:13 +00:00
Eugene Sandulenko
15986b81c2 Added getBaseFileName() method and enhanced open() with trying macbinary format in plain files
svn-id: r49074
2010-05-18 10:39:08 +00:00
Ori Avtalion
7ab8f6e25b Fix currentFrame semantics in Flic player
svn-id: r49073
2010-05-18 10:01:31 +00:00
Willem Jan Palenstijn
16afdc372e Fix missing dialogue index.
This is the BR case of the NS fix in r45053. Patch by fuzzie@fuzzie.org .

svn-id: r49072
2010-05-18 09:24:53 +00:00
Filippos Karapetis
8b7c29a4ad Moved breakpointWasHit inside the DebugState struct, thus resolving a FIXME
svn-id: r49071
2010-05-18 09:18:27 +00:00
Matthew Hoops
3dda73d9a2 Add initial support for KQ6 Mac. Wrapper functions for read/writing to pointers are now used (found in util.*) for code that has different endianness in SCI1.1+ Mac games. Add support for Mac 'snd ' and 'CURS' resources. QFG1 Mac is not yet playable due to script compression.
svn-id: r49070
2010-05-18 04:17:58 +00:00
Johannes Schickel
0fe2ba6a0d Some more enforcement of our formatting conventions in KYRA too.
svn-id: r49069
2010-05-17 23:29:44 +00:00
Johannes Schickel
cbbb78d9f2 Enforce conversion formatting on pointer casts in the DEV code.
svn-id: r49068
2010-05-17 22:46:53 +00:00
Johannes Schickel
01070d72d3 Minor formatting.
svn-id: r49067
2010-05-17 22:17:42 +00:00
Max Horn
22caf0e1cf Get rid of Common::Rational::normalize and other redundant code
svn-id: r49066
2010-05-17 22:08:40 +00:00
Max Horn
c56a481f88 Use TS_ASSERT_EQUALS in test cases
svn-id: r49065
2010-05-17 22:08:19 +00:00
Max Horn
00cd966f3d Some tweaks and fixes for Common::Rational
* Fix Common::gcd to work with negative input
* This fixes a bug in Common::Rational's multiplication code
* Add some more basic unit tests (including one which checks for
  the now fixed multiplication bug)
* cleanup

svn-id: r49064
2010-05-17 22:07:58 +00:00
Matthew Hoops
c7fa1074fb Change VideoDecoder::getCurFrame() to mean the last frame drawn instead of the next frame to draw. This is patch 1 from patch #2963496 (VideoDecoder Rewrite).
svn-id: r49063
2010-05-17 21:59:05 +00:00
Matthew Hoops
ea84abf588 Add tests for Common::Rational from patch #2963496 (VideoDecoder Rewrite), also courtesy of DrMcCoy who wrote the main Common::Rational class too
svn-id: r49062
2010-05-17 20:57:36 +00:00
Matthew Hoops
811fc0e7ec Add the Common::Rational class from patch #2963496 (VideoDecoder Rewrite)
svn-id: r49061
2010-05-17 20:53:04 +00:00
Joost Peters
dd0c1fd6f0 Restrict MIPSpro workaround to non-gcc compilers -- fixes compilation with gcc on irix.
svn-id: r49060
2010-05-17 16:50:10 +00:00
Joost Peters
946fe2905e Change product id to just be "ScummVM <version>"
svn-id: r49059
2010-05-17 11:02:35 +00:00
Paul Gilbert
68cae03b3c Bugfixes for animation display, and better understanding of how animations cycle
svn-id: r49057
2010-05-17 10:30:17 +00:00
Martin Kiewitz
4119fdb9a9 SCI: adding speed throttler special case for iceman / submarine control room
svn-id: r49056
2010-05-17 09:32:16 +00:00
Yotam Barnoy
8b59e45e6e PSP: added option for render by callback and fixed up and cleaned up debug mechanism. This allows for about 4% speedup since we no longer need to wait for VSYNC in our main thread. I'll activate it as soon as I've tested it out properly.
svn-id: r49055
2010-05-17 07:22:26 +00:00
Torbjörn Andersson
f4eacd6cc6 Synced NEWS with 1.1 branch.
svn-id: r49054
2010-05-17 04:02:49 +00:00
Joost Peters
9891932d56 Add back README.PSP
svn-id: r49052
2010-05-16 18:05:47 +00:00
Joost Peters
e46a01b8bb Correct IRIX spec filename
svn-id: r49051
2010-05-16 18:02:59 +00:00
Joost Peters
b4f810707d Patch #2998635: "IRIX packaging files + icons" + add scummvm.spec.in to update-version.pl
svn-id: r49050
2010-05-16 17:59:18 +00:00
Martin Kiewitz
c49930d523 SCI: fixing possible typo for Shift-F1/F10 keys, fixing submarine controls in iceman
svn-id: r49048
2010-05-16 17:21:37 +00:00
Filippos Karapetis
80acb21a56 Added automatic detection of the IHNM demo
svn-id: r49047
2010-05-16 10:36:21 +00:00
Filippos Karapetis
b57bab8e3b Added automatic detection for the non-interactive ITE demos
svn-id: r49046
2010-05-16 10:23:44 +00:00
Paul Gilbert
43e61ec60f Bugfixes for animation depth logic
svn-id: r49045
2010-05-16 01:32:46 +00:00
Martin Kiewitz
5e4868fb00 SCI: handle TAB like Ctrl-I on menu key checking, sci0 also did it that way - makes TAB work for inventory in iceman/qfg1ega
svn-id: r49044
2010-05-15 21:28:26 +00:00
Martin Kiewitz
ae4da9debe SCI: setting port _menuPort, fixing crash on setFont()
svn-id: r49043
2010-05-15 15:59:46 +00:00
Martin Kiewitz
19af89a902 SCI: removed _mainPort (was unused, is unused)
svn-id: r49042
2010-05-15 15:45:05 +00:00
Martin Kiewitz
f3b2627179 SCI: adding special 640x440 upscaling mode for kq6, finally hires portraits are drawn at the right position
svn-id: r49041
2010-05-15 15:16:32 +00:00
Martin Kiewitz
eb2b3f352e SCI: adding upscaled hires mode 640x480 for kq6 and gk1, fixing valgrind error in GfxPortrait class, not using priority anymore when drawing hires cels (shouldnt be needed for kq6)
svn-id: r49040
2010-05-15 14:17:50 +00:00
Martin Kiewitz
59a255226f SCI: SCI_SCREEN_MASK_* now GFX_SCREEN_MASK_*, using enum - added new enum GFX_SCREEN_UPSCALED_*
svn-id: r49039
2010-05-15 08:57:13 +00:00
Torbjörn Andersson
83a25d2e37 Fixed a regression that caused some speech in cutscenes to not be played.
svn-id: r49037
2010-05-15 08:54:58 +00:00
Torbjörn Andersson
2da9fa5a6e Rewrote playMovieSound() to keep it from hogging memory in the resource
manager. Perhaps this will finally fix the mysterious bug #2976008 ("BS2: Game
lockup in British Museum").

svn-id: r49036
2010-05-15 08:38:19 +00:00
Paul Gilbert
86bfccb842 Removed use of globally constructed menu item position lists
svn-id: r49035
2010-05-15 00:42:56 +00:00
Paul Gilbert
e91df69eb6 Decoded further fields in the SequenceList class, and started implementation of kernel message display
svn-id: r49034
2010-05-15 00:28:44 +00:00
Filippos Karapetis
6d38cf8b8f Made locateVarSelector() a method of the Object class
svn-id: r49031
2010-05-14 15:23:42 +00:00
Filippos Karapetis
25bac3bef4 Silenced some MSVC warnings
svn-id: r49030
2010-05-14 15:21:00 +00:00
Martin Kiewitz
94f1af2b44 SCI: if no priority is set (=255) and a cel is embedded in picture vector data -> set priority to 0, fixes kq5/amiga - first scene not showing
svn-id: r49029
2010-05-14 11:49:09 +00:00
Martin Kiewitz
c083ce2879 SCI: fix window, when its too large for screen (fixes sq3 crash at ending, actually caused by script bug)
svn-id: r49028
2010-05-13 22:04:53 +00:00
Martin Kiewitz
38c661bfac SCI: fix regression of r49026 - line between titlebar and actual window was overdrawn
svn-id: r49027
2010-05-13 21:29:32 +00:00
Martin Kiewitz
a5f59ccdae SCI: remove hack code for shadows and implement them properly (shadow is actually part of the window, not added onto the window) - fixes especially lsl5
svn-id: r49026
2010-05-13 21:14:37 +00:00
Martin Kiewitz
070b2e14fe SCI: don't adjust new windows to _wmgrPort for oldGfxFunctions() games (till kq4 .502), fixes all window positions for those especially sq3old speech bubble windows
svn-id: r49025
2010-05-13 20:19:54 +00:00
Martin Kiewitz
faffc57136 SCI: removing one assert() from view loading, cause view 260 in kq6 really contains a celCount == 0 o_O
svn-id: r49024
2010-05-13 15:49:52 +00:00
Martin Kiewitz
86cd5b71fc SCI: adding some more assert()s in view data loading for clone :D
svn-id: r49023
2010-05-13 15:39:20 +00:00
Johannes Schickel
983c41bea2 Remove useless const on a value return type.
svn-id: r49022
2010-05-13 13:32:12 +00:00
Eugene Sandulenko
f5f104f550 Fix bug #2880229: KQ4 AGI not recognized
svn-id: r49021
2010-05-13 12:39:01 +00:00