1667 Commits

Author SHA1 Message Date
Max Horn
651d22b873 * Added virtual Engine::getDebugger() method
* Removed code from errorString() methods that hooked the debugger(s)
  into error(), in favor of using getDebugger() from within error()
* As a consequence, removed most custom errorString() methods

svn-id: r23894
2006-09-16 19:31:23 +00:00
Max Horn
8df3ca9e65 cleanup
svn-id: r23891
2006-09-16 17:26:40 +00:00
Max Horn
919092e5fc Overhaul of the debugger code
* Moved Common::Debuggger to GUI::Debugger (mainly to satisfy linker
  restrictions)
* Change the base Debugger class to *not* be a template class anymore;
  instead, a thin (template based) wrapper class is used to hook up
  debugger commands
* Removed duplicate Cmd_Exit and Cmd_Help methods in favor of a single
  version of each in GUI::Debugger
* New Cmd_Help doesn't word wrap after 39/78 chars, but rather queries
  the console to determine when to wrap
* Debugger::preEnter and postEnter aren't pure virtual anymore

svn-id: r23890
2006-09-16 16:58:27 +00:00
Max Horn
a2dc897fe5 Reduce code duplication
svn-id: r23888
2006-09-16 15:01:14 +00:00
Johannes Schickel
250133baf0 Simplifies resource handling for the CD version of Kyrandia.
(also less file loading at startup, but more on room change)

svn-id: r23887
2006-09-16 14:36:53 +00:00
Johannes Schickel
84c2a93db5 Replaces all malloc/realloc usages with new.
svn-id: r23886
2006-09-16 13:40:28 +00:00
Max Horn
b860f002b2 Replaced checkRange by assertRange, which has (a) an (IMO) more logical order of parameters, and (b) removes lots of useless duplicate information in error messages
svn-id: r23885
2006-09-16 13:38:43 +00:00
Max Horn
6162626323 cleanup; remove check whether _costume is valid, as that is already done by getResourceAddress
svn-id: r23884
2006-09-16 12:43:18 +00:00
Max Horn
d2af16a817 Updated MD5 list
svn-id: r23882
2006-09-16 12:29:55 +00:00
Johannes Schickel
e139d26be1 Replaces malloc with new in most cases.
svn-id: r23881
2006-09-16 12:12:02 +00:00
Max Horn
3948399511 cleanup
svn-id: r23880
2006-09-16 12:04:54 +00:00
Johannes Schickel
75fd84e85a - adds dirty rect handling to the kyra engine (needs some more tests before I commit it to branch though)
- initializes an uninitiliazied variable which caused crashes from time to time

svn-id: r23878
2006-09-15 16:04:32 +00:00
Travis Howell
0cd1f0fbf9 Update French version of Pajama Sam 2
svn-id: r23877
2006-09-15 10:59:38 +00:00
Travis Howell
52dee3012e Add/Update several French versions of HE games
svn-id: r23874
2006-09-14 22:57:08 +00:00
Travis Howell
213e798bec Add French version of puttcircus
svn-id: r23873
2006-09-14 01:36:16 +00:00
Torbjörn Andersson
c66ec787d2 Test _skipFlag a bit more often.
svn-id: r23867
2006-09-10 18:44:53 +00:00
Torbjörn Andersson
632a1a3a22 Clear _skipFlag at beginning of Kyra 2 intro. Otherwise, skipping it once will
automatically skip it if you try to watch it a second time. (Are there any
other flags that need to be cleared as well?)

svn-id: r23866
2006-09-10 18:22:27 +00:00
Chris Apers
a851fb353c Make Lure run again on PalmOS fixing unaligned read
svn-id: r23865
2006-09-10 16:29:06 +00:00
Johannes Schickel
65c0bdcaa0 - Some little checks for shape usage.
- Less redrawing while loading a savegame.

svn-id: r23864
2006-09-10 13:52:17 +00:00
Johannes Schickel
09f7e35196 Little bit cleanup.
svn-id: r23863
2006-09-10 13:26:00 +00:00
Johannes Schickel
854eac7f9b Simplifies PAK file loading a bit.
svn-id: r23862
2006-09-10 13:16:34 +00:00
Johannes Schickel
8271f1f0dc Makes lure compile with msvc8 again.
svn-id: r23861
2006-09-10 13:09:04 +00:00
Travis Howell
3825dde852 Add/Update Dutch and French versions of several HE games
svn-id: r23858
2006-09-10 01:59:09 +00:00
Max Horn
bd38f5f4d3 Renamed o6_getActorAnimCounter1 to o6_getActorAnimCounter
svn-id: r23857
2006-09-09 18:31:32 +00:00
Max Horn
94bd9ef05d Moved allocResTypeData from ScummEngine to ResourceManager; removed friend declarations from ResourceManager, and performed other minor tweaks
svn-id: r23856
2006-09-09 18:20:28 +00:00
Max Horn
b3ee442693 Moved _heV7RoomIntOffsets initialization
svn-id: r23855
2006-09-09 17:31:44 +00:00
Max Horn
723ec24093 Turned some sound conversion methods into static functions (cleanup)
svn-id: r23854
2006-09-09 17:21:19 +00:00
Max Horn
cfc52b5654 Renamed Resource::fileHandle() to Resource::getFileHandle()
svn-id: r23853
2006-09-09 17:14:47 +00:00
Max Horn
c7ab445755 Get rid of fsnode hack
svn-id: r23852
2006-09-09 17:10:09 +00:00
Oystein Eftevaag
2db1dc882b Ignore mouselock count when switching the cursor graphics, fixing a bug salty-horse reported on irc.
svn-id: r23849
2006-09-09 16:10:11 +00:00
Max Horn
ab82dc3f9c Fix memory leak
svn-id: r23848
2006-09-09 14:54:41 +00:00
Chris Apers
e78a81fe45 Fixed unaligned read on PalmOS
svn-id: r23846
2006-09-09 14:19:33 +00:00
Chris Apers
f34da528eb Fixed unaligned read (this fix a potential crash clicking on the Text option button)
svn-id: r23845
2006-09-09 13:57:20 +00:00
Torbjörn Andersson
7bb8ca3ef6 Fixed warning.
svn-id: r23844
2006-09-09 13:07:15 +00:00
Neil Millstone
9f0149c553 Fixed a bug in loadPakFile(), and changed PAKFile constructor so that it doesn't load the entire file.
svn-id: r23843
2006-09-09 12:21:49 +00:00
Torbjörn Andersson
c51d6bb903 Fixed compilation.
svn-id: r23842
2006-09-09 10:47:32 +00:00
Chris Apers
8116f167ad This printf isnot supportedon PalmOS 68k, taken from an old port of Sarien
svn-id: r23841
2006-09-09 10:47:08 +00:00
Chris Apers
6ee4d1b317 Fixed crashes on Zodiac and add support for this device
svn-id: r23840
2006-09-09 10:29:14 +00:00
Torbjörn Andersson
3ce0b182f6 Initialise variable. Should fix Valgrind warning.
svn-id: r23838
2006-09-09 09:50:00 +00:00
Chris Apers
7efd027fed Fixed crashes on Zodiac and add support for this device
svn-id: r23837
2006-09-09 09:30:16 +00:00
Chris Apers
8b13bce6e9 Fixed compilation
svn-id: r23836
2006-09-09 09:09:19 +00:00
Travis Howell
4ce79947d3 Update HE version for Dutch versions of lost, maze, socks and water.
svn-id: r23835
2006-09-09 03:52:09 +00:00
Torbjörn Andersson
18325259b8 Fixed bug #1554904 ("KYRA1: No mouse cursor in latest SVN build"). GI_KYRA1 is
not a bit flag...

svn-id: r23834
2006-09-09 02:02:45 +00:00
Torbjörn Andersson
fb27c58977 Don't create a second Menu object unless the first one has been deleted. This
seems to fix bug #1553513 ("AGI: Crash after restart").

svn-id: r23833
2006-09-07 16:13:41 +00:00
Paul Gilbert
d9b5129fb8 Transferred all previously hard-coded English in-game text to a resource
svn-id: r23831
2006-09-07 11:21:20 +00:00
Paul Gilbert
7a0eddeedd Fixed error message that still referred to disk0.vga
svn-id: r23829
2006-09-05 12:17:14 +00:00
Oystein Eftevaag
f3d284af2e More kyra2 intro WIP stuff (WSA playback control sequences implemented, used in the library part). One more sequence has also been implemented, but is off by default due to the WSA files being used apparently being decoded incorrectly.
svn-id: r23828
2006-09-04 21:50:17 +00:00
Torbjörn Andersson
c49cf0c6ed This could possibly fix bug #1551524 ("MAXOSX: Cannot Backspace in AGI Games").
We have a similar backspace handling in several other engines.

svn-id: r23827
2006-09-04 18:57:12 +00:00
Paul Gilbert
92f2e9691e Fixed handling of player occupied areas during room changes
svn-id: r23826
2006-09-03 08:39:06 +00:00
Paul Gilbert
816cc1a62c Bugfix to only list rooms that have been found in the Tell action 'Go To' command
svn-id: r23825
2006-09-03 05:04:58 +00:00