Johannes Schickel
d925e38acf
KYRA: Hopefully fix valgrind warnings in the HoF intro when text is disabled.
...
svn-id: r55623
2011-01-29 19:03:50 +00:00
Bastien Bouclet
e2b3ac9f28
MOHAWK: More Stoneship progress, hologram viewer and drawers
...
svn-id: r55622
2011-01-29 18:45:45 +00:00
Sylvain Dupont
875a840a7a
TOON: Fixed crash of bug #3166533
...
Bug #3166533 : "TOON: crashes when leaving room"
svn-id: r55621
2011-01-29 18:42:33 +00:00
Johannes Schickel
2cc3bd880f
KYRA: Clean up main menu code in Kyra2/Kyra3.
...
svn-id: r55620
2011-01-29 18:40:04 +00:00
David Turner
450dac35c7
KYRA: Fix Valgrind Uninitialized Memory Read at end of VQA Playback.
...
svn-id: r55619
2011-01-29 18:20:38 +00:00
David Turner
f050e2d66f
KYRA: Close Memory Leaks in Kyra 3 (Malcolm's Revenge) Menu.
...
svn-id: r55618
2011-01-29 18:18:29 +00:00
Sylvain Dupont
83866978be
TOON: Reenable keyboard events
...
Was disabled when some sticky keyboard flags were activated
svn-id: r55617
2011-01-29 16:19:55 +00:00
Sylvain Dupont
896b87c710
TOON: Bug #3166570 fixed. Magnifier effect when selecting Enigma book
...
Bug #3166570 : "TOON: Wrong mouse-cursor for Item "Book-Enigma"
svn-id: r55616
2011-01-29 16:02:20 +00:00
Jordi Vilalta Prat
fad6d32e02
NEWS: Add proper punctuation.
...
svn-id: r55615
2011-01-29 15:27:30 +00:00
Arnaud Boutonné
946bdcd389
HUGO: Display all (clipped) object zones in God Mode
...
svn-id: r55614
2011-01-29 14:10:47 +00:00
Filippos Karapetis
1da472a2db
SWORD25: Translated some comments, and removed some superfluous ones
...
svn-id: r55613
2011-01-29 10:56:34 +00:00
Bastien Bouclet
6ed7f48442
MOHAWK: Implement more Stoneship puzzles, up to linking back to Myst
...
svn-id: r55612
2011-01-29 10:49:15 +00:00
Nicola Mettifogo
865f12a643
PARALLACTION: Use CursorMan to control cursor instead of backend functions.
...
svn-id: r55611
2011-01-29 10:42:56 +00:00
Nicola Mettifogo
d3ae7da133
PARALLACTION: Cleanup dialogue code.
...
Shorten long lines to increase readability.
svn-id: r55610
2011-01-29 10:42:40 +00:00
Torbjörn Andersson
128e36275d
GOB: Remove unnecessary semicolon
...
svn-id: r55609
2011-01-29 09:56:23 +00:00
Torbjörn Andersson
bf01059be1
PARALLACTION: Add default case to silence GCC warning.
...
Not that I understand exactly what this function does, but since it's
a piece of debug code I figure I don't really have to.
svn-id: r55608
2011-01-29 08:08:58 +00:00
Nicola Mettifogo
2856e959be
PARALLACTION: Cleanup dialogue code.
...
Turned 'no answer selected' into a constant.
svn-id: r55607
2011-01-29 07:22:04 +00:00
Nicola Mettifogo
bcd18232ad
PARALLACTION: Cleanup dialogue code.
...
Hide mood and balloon winding extraction into Question and Answer objects.
svn-id: r55606
2011-01-29 07:21:48 +00:00
Nicola Mettifogo
e1046d3eae
PARALLACTION: Simplify text comparisons in dialogue code.
...
Encapsulate text comparison into string owners and removed some ugly
double negative logic.
svn-id: r55605
2011-01-29 07:21:31 +00:00
Nicola Mettifogo
c3698a2cd5
PARALLACTION: Clarify strategy for choosing (answer) dialogue paths.
...
svn-id: r55604
2011-01-29 07:21:13 +00:00
Nicola Mettifogo
d39d75779e
PARALLACTION: Don't show 'null' answers in dialogues.
...
Skip a 'runanswer' state when the text of the only answer available is 'null'.
svn-id: r55603
2011-01-29 07:20:57 +00:00
Nicola Mettifogo
6d4d253ec4
PARALLACTION: Improve dialogue debug output.
...
Print out the current question or the available answers when debug level is 9.
svn-id: r55602
2011-01-29 07:20:42 +00:00
Nicola Mettifogo
cf4f041c63
PARALLACTION: encapsulate dialogue state changes to aid debugging.
...
svn-id: r55601
2011-01-29 07:20:26 +00:00
Filippos Karapetis
42670975ac
SWORD25: Removed a lot of debug/unimplemented/unused functions
...
svn-id: r55600
2011-01-28 20:52:52 +00:00
Arnaud Boutonné
cfca829e46
HUGO: Add a function to display exit hotspots in God Mode
...
svn-id: r55599
2011-01-28 19:54:48 +00:00
Filippos Karapetis
5978d8f63d
SWORD25: Marked several unused LUA callbacks as dummy functions. Some cleanup.
...
svn-id: r55597
2011-01-28 17:29:08 +00:00
Filippos Karapetis
eb59444d1e
SWORD25: Removed some now unused variables
...
svn-id: r55596
2011-01-28 17:03:15 +00:00
Filippos Karapetis
7ed5a92823
SWORD25: Removed some more unused/unimplemented debug code
...
svn-id: r55595
2011-01-28 17:02:02 +00:00
Filippos Karapetis
c63ff39a7f
SWORD25: Resources are now cleaned up correctly
...
The original checked the total amount of memory occupied by all resources. This has been
changed to a maximum number of simultaneous resources instead, so the game resources
are no longer leaked. Also disabled the unused or debug functions getUsedMemory(),
setMaxMemoryUsage(), setMaxMemoryUsage(), isLogCacheMiss(), setLogCacheMiss(). Performed
some cleanup on code related to the above.
svn-id: r55594
2011-01-28 16:54:55 +00:00
Filippos Karapetis
a2f9600179
SWORD25: Disabled the mechanism which precaches all of the game's resources on startup.
...
This reduced the initial memory used by 100MB for me, though the game keeps allocating
new resources in each scene without deleting them, because of the missing functionality in
getUsedMemory(). This change also slightly reduces the loading time on game startup.
svn-id: r55593
2011-01-28 16:13:12 +00:00
Nicola Mettifogo
7760628bdb
PARALLACTION: Flexible monologues in BRA (patch #3021740 by fuzzie)
...
Some dialogue answers are set to the literal 'null', which is used in NS to
simulate a fixed monologue ('null' instructs the engine to jump to the first
entry in the list of available questions, which is always made of a single
item in this case).
BRA has flexible monologues that depend on the game state, so this patch goes
and checks all the available branches before picking the correct one.
svn-id: r55591
2011-01-28 14:19:39 +00:00
Nicola Mettifogo
dd7bc67f82
Replaced char* with Common::String in balloon code.
...
svn-id: r55590
2011-01-28 13:24:32 +00:00
Travis Howell
2187411977
SCUMM: Fix bug #3167036 - BluesBirthday: Crash in the demo.
...
svn-id: r55589
2011-01-28 12:35:20 +00:00
Max Horn
a35a45aa2e
Patch #3149416 : Support for linking with "as-needed"
...
svn-id: r55588
2011-01-28 10:27:50 +00:00
Max Horn
c44f9bdb1d
GRAPHICS: Make JPEG::getComponent error out if component was not found
...
svn-id: r55587
2011-01-28 09:50:05 +00:00
Max Horn
96d91ec182
GRAPHICS: Turn sqrt(2) and cosine values into constants ;)
...
svn-id: r55586
2011-01-28 09:46:39 +00:00
Max Horn
baf6af4fa6
GRAPHICS: Rename JPEG::_str to _stream
...
We use _str to denote strings almost everywhere, so this
was a bit confusing. Another alternative would be to use _s.
svn-id: r55585
2011-01-28 09:37:11 +00:00
David Turner
e395aeff05
MOHAWK: Removed direct OSystem Quit calls from Myst Mohawk Interpreter.
...
This avoids the same issue that caused leakage in other engines.
svn-id: r55584
2011-01-28 08:37:27 +00:00
David Turner
96174d6842
DRASCULA: Fixed Code to allow Quit/RTL Function and avoid Memory Leakage.
...
A memory leakage was traced down to a failure to call the engine destructor.
This was due to the engine directly calling OSystem quit() i.e. _system->quit(), rather than
just allowing engine::run() to return.
Have removed this code and implemented the changes required to allow graceful Quit/RTL to occur.
svn-id: r55583
2011-01-28 08:07:50 +00:00
David Turner
f7e1ed3762
COMMON: Fixed memory leakage in unarj readHeader().
...
This manifested in Drascula.
svn-id: r55582
2011-01-28 02:56:07 +00:00
David Turner
44035c3033
DRASCULA: Remove unecessary destructor from ArchiveMan.
...
svn-id: r55581
2011-01-28 02:30:25 +00:00
David Turner
c17e3d38bd
DRASCULA: Fix for Duplicate Registering of Archive.
...
A warning occurs that the archive, Packet.001 has been added twice.
This is due to a hack to get the detector priority listing correct.
This fix prevents this causing a multiple add of the same archive.
svn-id: r55580
2011-01-28 01:09:27 +00:00
David Turner
e2abf3b000
DRASCULA: Fix minor cut and paste error in Console "room" command.
...
svn-id: r55579
2011-01-28 01:05:17 +00:00
David Turner
590ce4762e
DRASCULA: Fix uninitialized reads of mouse position variables.
...
svn-id: r55578
2011-01-28 01:04:42 +00:00
Bastien Bouclet
7baf4d2ed3
MOHAWK: Implement Stoneship chest puzzle
...
svn-id: r55577
2011-01-27 21:13:34 +00:00
Bastien Bouclet
67c057dc15
MOHAWK: Allow videos to be paused individually
...
svn-id: r55576
2011-01-27 21:12:34 +00:00
Sven Hesse
03adf7fdf6
GOB: Only draw text when coordinates are within the surface
...
svn-id: r55575
2011-01-27 21:12:27 +00:00
Sven Hesse
261a640a93
GOB: Stop drawing a letter on surface boundaries
...
svn-id: r55574
2011-01-27 20:50:43 +00:00
Sven Hesse
6513748c46
GOB: Add Pixel::isValid() and ConstPixel::isValid()
...
svn-id: r55573
2011-01-27 20:50:18 +00:00
Filippos Karapetis
b25a5d1862
HUGO: Fixed crash when an incorrect hugo.dat file is found
...
svn-id: r55572
2011-01-27 20:42:19 +00:00