18766 Commits

Author SHA1 Message Date
Johannes Schickel
a8bc979364 - enables pseudo unloading of loaded pak files (which reduces the loading of pak files on room changes)
- uses Common::hashit_lower instead of scumm_stricmp for filename checking

svn-id: r23896
2006-09-16 20:51:05 +00:00
Lars Persson
d0735a34a2 * Updated Symbian project files for new file structure
svn-id: r23895
2006-09-16 19:50:41 +00:00
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
fd12695e59 Patch #1559806: Fixes for AmigaOS 4 filesystem backend
svn-id: r23893
2006-09-16 17:56:26 +00:00
Max Horn
6c26712960 Added GUI::ConsoleDialoggetCharsPerLine() method, and added a big FIXME comment to gui/console.h
svn-id: r23892
2006-09-16 17:29:43 +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
1add07beca Renamed kLineWidth to kCharsPerLine, and moved some enum constants into class ConsoleDialog (to avoid name clashes with other code)
svn-id: r23889
2006-09-16 15:19:23 +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
Won Star
595a035bee Implement file cache. needs some testing :)
Fix some bugs in memory management.

svn-id: r23870
2006-09-13 07:32:54 +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
Marcus Comstedt
4342d61448 Added name() method.
svn-id: r23860
2006-09-10 09:10:30 +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
Kostas Nakos
bf0b82326f cleanup
svn-id: r23851
2006-09-09 16:48:35 +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