30647 Commits

Author SHA1 Message Date
Torbjörn Andersson
5cd2261382 We probably only have to update the screen once every updateInfo(). And, since
it's triggered by mouse movements, only when the cursor is visible.

svn-id: r39975
2009-04-18 03:15:34 +00:00
Johannes Schickel
3deae9fc8b Add HACK to support DOS music in Kyra1 Mac CD based on patch #2767489 "KYRA1: Support for Mac CD".
svn-id: r39962
2009-04-16 12:31:17 +00:00
John Willis
52fa15561a Backout previous 'ooops' change (while shaking a stick at SVN and trying to convince people (badly) that is was not just simple user error ;-)).
svn-id: r39961
2009-04-16 11:19:44 +00:00
John Willis
08eb58aab8 Push local cleanup into the 0.13 branch in prep. for 0.13.1.
svn-id: r39960
2009-04-16 10:40:14 +00:00
John Willis
9a23f069fe Tiny update to the GP2X readme on branch (remove SVN build ref.).
svn-id: r39959
2009-04-16 10:28:12 +00:00
Max Horn
cbe9e520d3 SCUMM: Compacted various setupOpcodes() implementations by using the fact that opcode tables tend not to change much between most SCUMM versions
svn-id: r39958
2009-04-16 09:27:22 +00:00
Max Horn
99df028d35 SCUMM: Got rid of o6_invalid
svn-id: r39957
2009-04-16 09:27:02 +00:00
Max Horn
432e7917a5 SCUMM: Switched opcode tables to use Common::Functor0 (a bit like Kyra does it)
svn-id: r39956
2009-04-16 09:26:37 +00:00
Johannes Schickel
2558350d1c Added md5sums of Kyra1 Mac CD as supplied with fr #2766454 "KYRA1: Add support for Macintosh CD" (experimental change, not for 0.13.1 yet)
svn-id: r39955
2009-04-15 21:55:12 +00:00
Walter van Niftrik
695bc36b9a SCI: Added a new song player (work-in-progress).
svn-id: r39953
2009-04-15 10:45:59 +00:00
Travis Howell
570f2c66b8 Update renderString to match original code in The Feeble Files.
svn-id: r39952
2009-04-15 02:03:34 +00:00
Travis Howell
27e3ddc628 Update renderString to match original code in The Feeble Files.
svn-id: r39951
2009-04-15 01:54:24 +00:00
Joost Peters
2758ae34ea commit slightly modified version of #2759353 - GSoC 2009: Correction in README.PSP
svn-id: r39949
2009-04-13 20:41:16 +00:00
Torbjörn Andersson
1666b074b9 Synced NEWS with 0.13 branch.
svn-id: r39948
2009-04-13 11:56:26 +00:00
Neil Millstone
bbd423b82a Backporting fix from rev #39918: Memory leak when thumbnail header
couldn't be skipped.

svn-id: r39945
2009-04-12 14:02:20 +00:00
Max Horn
41bd7cd94b SAGA: changed _threadList back to a list of ScriptThread objs, instead of ptrs to instances.
svn-id: r39944
2009-04-11 21:38:41 +00:00
Max Horn
82f862c6b2 SAGA: Simplified Scene::skipScene, changed loadScene to take a LoadSceneParams ref instead of a ptr
svn-id: r39943
2009-04-11 21:38:14 +00:00
Torbjörn Andersson
a784e6ab98 When dragging the save/load dialog's scrollbar handle past the top of the
scrollbar, stay at the top. Don't jump to the bottom.

svn-id: r39939
2009-04-11 20:16:37 +00:00
Vicent Marti
8fe3735f69 Fixed bug #2706939 (Enabled button not drawn correctly) and other similar cases.
Fixed background shading weirdness when opening many dialogs on top of each other.
Fixed some modal dialogs not redrawing properly when closed.

svn-id: r39938
2009-04-11 17:12:17 +00:00
Torbjörn Andersson
91b724451b Committed my patch for bug #2748110 ("IHNM: Fade glitch when Benny falls
asleep"), after discussing it with [md5]. It may not be exactly like the
original, but it looks a lot closer now.

svn-id: r39937
2009-04-11 15:38:13 +00:00
Filippos Karapetis
b3b8624869 Plugged another memory leak introduced with rev #39934
svn-id: r39936
2009-04-11 14:44:03 +00:00
Filippos Karapetis
bb012ee082 Plugged memory leak introduced with rev #39934
svn-id: r39935
2009-04-11 12:55:22 +00:00
Filippos Karapetis
448a98b885 Changed ScriptThreadList to hold a list of pointers, not a list of instances. This avoids the whole &* mess, as well as the strange references to the list head
svn-id: r39934
2009-04-11 12:46:00 +00:00
Johannes Schickel
3cc8059ce6 Cleanup.
svn-id: r39933
2009-04-11 12:44:27 +00:00
Filippos Karapetis
0dc02a2cbe Updated the SAGA and SCI MSVC project files (removed saga/list.h and sci/engine/aatree.h)
svn-id: r39932
2009-04-11 12:34:16 +00:00
Filippos Karapetis
65393be446 Removed unused (and wrong) code for IHNM
svn-id: r39931
2009-04-11 12:08:02 +00:00
Max Horn
57f367acb5 SCI: Renamed bp_flag -> breakpointFlag; replaced global send_calls_allocated & send_calls vars by a local Common::Stack instance
svn-id: r39930
2009-04-11 09:58:30 +00:00
Max Horn
5749b363d5 KYRA: Replaced Rect class by Common::Rect; replaced dirty rect handling code by code similiar to the one used in SAGA and the frontend GUI code
svn-id: r39929
2009-04-11 09:57:57 +00:00
Filippos Karapetis
7287457672 Got rid of SortedList
svn-id: r39928
2009-04-11 09:54:55 +00:00
Willem Jan Palenstijn
c1a517e383 Fix compilation
svn-id: r39927
2009-04-11 09:43:42 +00:00
Filippos Karapetis
cf052e5a96 Fixed compilation (hopefully)
svn-id: r39926
2009-04-11 09:31:54 +00:00
Filippos Karapetis
02ca56eec8 Removed all but one of the functions of the SortedList, apart from the custom insert() operation. It's only used in one place now (in _drawOrderList)
svn-id: r39925
2009-04-11 09:23:40 +00:00
Filippos Karapetis
271f8b58b5 Removed move SortedList methods
svn-id: r39924
2009-04-11 09:04:50 +00:00
Max Horn
64fc4253e8 SAGA: Fix yet another mistake in the revised dirty rect code *sigh*
svn-id: r39923
2009-04-11 00:30:11 +00:00
Max Horn
1c5110e725 SAGA: Got rid of some more SortedList methods
svn-id: r39922
2009-04-11 00:29:52 +00:00
Max Horn
7db2648ba0 COMMON: Added unit test for Common::List::size(); made List::size() slightly more efficient; same for remove() and operator=
svn-id: r39921
2009-04-11 00:29:34 +00:00
Max Horn
7412b0f8e8 SAGA: Stop needlessly using operator*() and operator->() (many of the resulting &* uses can be removed if references are used instead of pointers everywhere, which would be a good idea anyway)
svn-id: r39920
2009-04-11 00:29:12 +00:00
Max Horn
46ddb35d9f SAGA: Removed some dead/obsolete code
svn-id: r39919
2009-04-11 00:28:49 +00:00
Filippos Karapetis
202f0fc49d Added a new console command, "wake_up_threads", which can wake up threads that are block waiting
svn-id: r39915
2009-04-10 22:33:29 +00:00
Filippos Karapetis
2d54d2717e Removed obsolete TODO
svn-id: r39914
2009-04-10 21:47:10 +00:00
Max Horn
0c8ffc80fd GUI: Fixed nasty typo
svn-id: r39913
2009-04-10 14:06:21 +00:00
Max Horn
a1dc2ecc63 Rewrote Common::Rect::contains(Rect) to do what the name suggests (check whether one rect contains the other). Previously, foo.contains(foo) would return false. Added/enabled unit tets for this
svn-id: r39911
2009-04-09 17:08:09 +00:00
Max Horn
c473fa849d SAGA: Make the dirty rect handling here match the one in the GUI code (some more cases of mutually contained rects are deteceted here now, too).
svn-id: r39910
2009-04-09 17:07:53 +00:00
Max Horn
9d4c917f59 GUI: Rewrote the dirty rect handling code. Previously it was possible that the dirty rect list got clobbered by many rects containg other rects in the list. Also got rid of some obsolete params to addDirtyRect as well as the obsolete return value
svn-id: r39909
2009-04-09 17:07:38 +00:00
Max Horn
a2b5829101 TINSEL: Added some doxygen comments to the Tinsel coroutine code
svn-id: r39908
2009-04-09 17:07:24 +00:00
Max Horn
da90b7e015 Patch #2735283: GSOC09: A few unit tests for Common::Rect
svn-id: r39907
2009-04-09 17:07:00 +00:00
Torbjörn Andersson
d3d641e487 Sort the list of savegames. (I suppose this fix, or a better one, should go
into 0.13.1 as well.)

svn-id: r39906
2009-04-09 15:59:22 +00:00
Max Horn
fadd224285 SCI: Clarify hack in kgraphics.cpp based on what lars wrote on scummvm-devel
svn-id: r39905
2009-04-09 08:49:42 +00:00
Torbjörn Andersson
068e11fee9 Judging by bug #2727536 (and a forum post) we should recognize "IQ-" as a valid
prefix for the Fate of Atlantis IQ points file. (Either that, or make the
comparision case-insensitive.) So let's do that.

svn-id: r39904
2009-04-09 03:38:41 +00:00
Torbjörn Andersson
c111bb97f4 Fixed misleading error message.
svn-id: r39903
2009-04-08 16:48:12 +00:00