63040 Commits

Author SHA1 Message Date
Eugene Sandulenko
c1890cc739 FULLPIPE: Fix warnings 2014-05-20 08:15:30 +03:00
Eugene Sandulenko
9f31278d18 FULLPIPE: Fix warnings 2014-05-20 08:14:27 +03:00
Eugene Sandulenko
510ed39c5a FULLPIPE: Implement MovGraph::method34() 2014-05-20 08:10:04 +03:00
Eugene Sandulenko
d9112a5863 FULLPIPE: More work on MovGraph::method34() 2014-05-19 17:37:01 +03:00
D G Turner
0508e395ff TONY: Add missing Russian detection entry.
This should fix bug #6589 "TONY: Russian version not detected".
2014-05-19 12:57:25 +01:00
Eugene Sandulenko
78bd805047 FULLPIPE: Started implementation of MovGraph::method34() 2014-05-19 07:42:25 +03:00
Eugene Sandulenko
77b244e5df FULLPIPE: Finish implementation of movGraphCallback() 2014-05-18 09:44:28 +03:00
D G Turner
bee54dc048 HOPKINS: Fix loading of variant COMPUTAN.TXT used by Polish version.
This is the final fix for bug #6590 - "HOPKINS-PL: Crash using computer
in office".
2014-05-17 20:22:19 +01:00
D G Turner
2126bef17a HOPKINS: Further cleanup in ComputerManager class.
Have simplified the parsing of the COMPUTAN.TXT file prior to looking at
supporting the Polish file format variant.

These change should have no functional difference, but improve the code
by removing a set-but-unused bool in the MenuItem structure, fixing a
number of repeated "magic" values to be explicit as various buffer sizes
and replacing usage of strcpy with the safer version from our Common
code etc.
2014-05-17 15:09:46 +01:00
D G Turner
16152cf1ea HOPKINS: Add sanity check to parsing of COMPUTAN.TXT file.
This previously crashed on the Polish version due to a variant file
format causing the parsing to make several invalid memory accesses.

This prevents this crash and any other in future, though it does not
fix the parsing of the variant file format.
2014-05-17 12:16:19 +01:00
D G Turner
71aab5ab1d HOPKINS: Add null termination to byte buffer returned by loadFile().
This shouldn't be a problem, as current client code either must find a
terminator when parsing the byte buffer or have preknowledge of the
buffer size from a file size or fixed call, so the appended null
termination will not cause issues. This change thus allows client code
to add sanity checks to prevent reading off the end of the buffer.
2014-05-17 12:12:19 +01:00
Eugene Sandulenko
3ceaafd1f9 FULLPIPE: Started implementation of movGraphCallback() 2014-05-17 08:02:58 +03:00
Johannes Schickel
e0b82f0ced Merge pull request #462 from digitall/debugConsoleChangeLevel
Add command to change debug level to the Debugger base class.
2014-05-17 04:42:58 +02:00
Eugene Sandulenko
17b29e109d FULLPIPE: Implement MovGraph::method44() 2014-05-16 20:57:03 +03:00
Eugene Sandulenko
230e771321 FULLPIPE: Implement MovGraph::doWalkTo() 2014-05-15 12:34:55 +02:00
D G Turner
f7b5c50064 AGOS: Disable image_dump debug command. 2014-05-15 11:34:26 +01:00
D G Turner
fbb923daee GUI: Add usage for "debuglevel" command output in Debugger base class. 2014-05-15 01:35:48 +01:00
Eugene Sandulenko
df0d8bf874 FULLPIPE: Pushed noisy debug message deeper 2014-05-14 12:34:46 +02:00
Eugene Sandulenko
a8effe2a6e FULLPIPE: Added more debug output 2014-05-14 12:20:24 +02:00
Eugene Sandulenko
de1df05b1f FULLPIPE: Fix bug in global_messageHandler3() which prevented mouse handling 2014-05-14 12:15:37 +02:00
Eugene Sandulenko
cbe41c94f7 FULLPIPE: Fix bug in Scene::getPictureObjectById() 2014-05-14 12:12:44 +02:00
Eugene Sandulenko
a59a4b8656 FULLPIPE: Fix indent 2014-05-14 12:11:58 +02:00
Eugene Sandulenko
b07a833b63 FULLPIPE: Fix mistypo in FullpipeEngine::stopAllSounds() which lead to crash 2014-05-14 11:33:19 +02:00
Eugene Sandulenko
8bf202fe66 FULLPIPE: Fix crash in Movement destructor 2014-05-14 11:32:55 +02:00
D G Turner
bac58f3e18 GUI: Clarify "debuglevel" command output in Debugger base class.
This should make it clear that -1 is used for disable.
2014-05-13 19:39:47 +01:00
D G Turner
e065b24d56 SCUMM: Remove "level" command from debugger. Replaced by "debuglevel".
This required a small amount of extra code changes to ensure that
_debugMode is kept in sync when the debugger is used to change the
level.
2014-05-13 15:14:54 +01:00
Eugene Sandulenko
670bf9a1af FULLPIPE: Fixes to MovGraph::doWalkTo() 2014-05-13 09:32:02 +02:00
Eugene Sandulenko
3d81dd0a14 FULLPIPE: More work on MovGraph::doWalkTo() 2014-05-12 05:14:39 +03:00
D G Turner
c81d0b680e GUI: Minor further fixes to "debuglevel" command in Debugger base class. 2014-05-12 00:56:20 +01:00
D G Turner
b32ca0aaae AGOS: Add image dumping to file enable by debugflag.
This previously required a code change and recompile to enable.
It can now be enabled or disabled at runtime using the "image_dump"
debug flag.
2014-05-12 00:44:13 +01:00
D G Turner
3d3a791085 AGOS: Switch VGA script debug output to debug flag, rather than level 5.
This is now set by --debugflags=vga_script rather than -d 5, though
it will still require a debug level greater than 0.
2014-05-11 15:26:58 +01:00
D G Turner
41da9a2df7 AGOS: Change "script" debugflag to "subroutine" as more accurate.
This flag is used to enable dumping of subroutine scripts at start.
2014-05-11 13:28:33 +01:00
D G Turner
55d8a46177 AGOS: Switch script debugging to debug flag, rather than level 4.
This is now set by --debugflags=script rather than -d 4, though
it will still require a debug level greater than 0.
2014-05-11 13:17:16 +01:00
D G Turner
0c9390fb27 AGOS: Remove leftover unused _debugMode variable. 2014-05-11 13:15:53 +01:00
D G Turner
be68682946 AGOS: Switch VGA opcode debugging to debug flag, rather than level 3.
This is now set by --debugflags=vga_opcode rather than -d 3, though it
will still require a debug level greater than 0.
2014-05-11 12:46:55 +01:00
D G Turner
6856b09d5a AGOS: Switch opcode debugging to a debug flag, rather than level 2 hack.
This is now set by --debugflags=opcode rather than -d 2, though it will
still require a debug level greater than 0.
2014-05-11 12:27:38 +01:00
Eugene Sandulenko
81a863be5c FULLPIPE: Further work on MovGraph::doWalkTo() 2014-05-11 08:35:51 +03:00
Torbjörn Andersson
38c63c4bc4 FULLPIPE: Silence GCC warnings 2014-05-10 22:04:20 +02:00
D G Turner
0844ba0dde PARALLACTION: Remove leftover "debugLevel" command prototype. 2014-05-10 19:02:50 +01:00
D G Turner
1506b96bd0 AGOS: Remove redundant "level" command from debugger.
The base class "debuglevel" command now provides the same functionality.
2014-05-10 17:25:35 +01:00
D G Turner
bc7af1de19 GUI: Add "debuglevel" command to Debugger base class.
This allows the debug level to be changed at runtime from the debug
console.
2014-05-10 17:12:14 +01:00
Eugene Sandulenko
57f97bc7f6 FULLPIPE: More work on MovGraph::doWalkTo() 2014-05-10 09:47:53 +03:00
Eugene Sandulenko
0549ae8259 FULLPIPE: Started MovGraph::doWalkTo() implementation 2014-05-10 09:30:09 +03:00
Eugene Sandulenko
9cc67a997e FULLPIPE: Implement MovGraph::calcChunk() 2014-05-09 12:32:48 +03:00
Eugene Sandulenko
caf920e28a FULLPIPE: Started implementing MovGraph::calcChunk() 2014-05-08 23:00:34 +03:00
Eugene Sandulenko
4d75bebd08 FULLPIPE: Implement MovGraph::getBboxes() 2014-05-07 22:18:08 +03:00
anotherguest
4571f3e3e4 SYMBIAN: Updated Symbian support, help text 2014-05-06 09:11:41 +02:00
Eugene Sandulenko
7a27be3963 FULLPIPE: Implement MovGraph::shuffleTree() 2014-05-06 07:10:50 +03:00
D G Turner
f0a0537095 NEVERHOOD: Fix memory leak from static data loading.
This is occurring due to duplicate entry ids, which should probably not
be present.
2014-05-05 11:29:41 +01:00
Eugene Sandulenko
0c9bbbcf88 FULLPIPE: Complete MovGraph::findClosestLink() implementation 2014-05-05 11:01:05 +03:00