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
Travis Howell
ab08824b65
The PlayStation 1 version of Broken Sword 2 is supported now.
...
svn-id: r39899
2009-04-07 22:31:00 +00:00
Filippos Karapetis
9c7e3a2898
Fixed the language of the German version of Longbow
...
svn-id: r39898
2009-04-07 22:29:36 +00:00
Fabio Battaglia
dc9c538a62
Sword2: PSX version support, and GMM loading/saving
...
svn-id: r39896
2009-04-07 19:52:46 +00:00
Walter van Niftrik
b80abe318d
SCI: Do not skip last entry in kernel table for SCI1.
...
svn-id: r39895
2009-04-07 17:43:49 +00:00
Walter van Niftrik
81f7c8b746
SCI: Swapped x and y parameters of IsItSkip. Added IsItSkip to kernel table.
...
svn-id: r39894
2009-04-07 17:26:42 +00:00
Sven Hesse
dc8e67900a
Fixing the parser-related FIXMEs. 17 and 18 are int16 and int8, respectively
...
svn-id: r39893
2009-04-07 16:53:38 +00:00
Matthew Hoops
2d83233503
Print out the SCI interpreter version and not the resource version when saying what version we're emulating
...
svn-id: r39892
2009-04-07 15:05:53 +00:00
Willem Jan Palenstijn
d700bc57db
SCI: Fix endian-unsafe read [bug #2739122 ]
...
svn-id: r39891
2009-04-07 13:38:51 +00:00
Max Horn
1d1307de01
GOB: Some more cleanup
...
svn-id: r39890
2009-04-07 13:29:13 +00:00
Max Horn
3f22e4b401
GOB: Gave tons of opcode explicit names. As a result, found potential bugs in parse_v2.cpp (related to OP_LOAD_VAR_UINT8 and OP_LOAD_VAR_UINT16, see FIXME comments in parse.h)
...
svn-id: r39889
2009-04-07 13:21:20 +00:00
Max Horn
37bfe22a54
GOB: Some more code cleanup. My respect for the developers of the original GOB engine is at an all-time low :)
...
svn-id: r39888
2009-04-07 13:20:29 +00:00
Max Horn
7444665152
GOB: Gave some numerical constants a name. This codebase is a bit of a mess ;) (tons of duplicate code, unnamed constants, etc.)
...
svn-id: r39882
2009-04-07 10:41:23 +00:00
Nicola Mettifogo
8151a1d878
Removed useless references to the global _vm.
...
svn-id: r39879
2009-04-06 17:31:22 +00:00
Nicola Mettifogo
0e05ec8cc8
Cleanup of Balloon and Dialogue code:
...
* moved version-specific code into DialogueManager's derivatives
* reworked construction of BalloonManager's derivatives
* moved a couple of globals used in dialogues (NS specific) to engine
svn-id: r39878
2009-04-06 17:21:23 +00:00
Filippos Karapetis
2ab9955577
Fixed a crash in LSL5 when opening the inventory
...
svn-id: r39877
2009-04-06 17:15:31 +00:00
Filippos Karapetis
fe1584c140
Fixed an issue with the password screen in LSL5 and kStrAt(). The game password, saved in file memory.drv (which can either exist in the game directory, or is created in the saves folder by ScummVM) is now working correctly, and the game can be started. Note that it's NOT currently possible not to set a password (you'll get the password screen anyway the next time, and it won't work).
...
svn-id: r39876
2009-04-06 17:13:07 +00:00