Martin Kiewitz
8bdffcb2fb
SCI: script patcher is now a separate class
2013-12-04 20:42:16 +01:00
Filippos Karapetis
82b52fc644
SCI: Handle objects with a dot in their name
...
An example is the object 'dominoes.opt' in Hoyle 3, script 101
2013-10-30 08:47:46 +02:00
Willem Jan Palenstijn
23da164136
SCI: Fix memory leak
2013-04-17 23:34:06 +02:00
Willem Jan Palenstijn
d17029dca2
SCI: Add missing break
2013-04-15 21:14:32 +02:00
Willem Jan Palenstijn
e34bfce2c2
SCI: Remove useless checks
2013-04-15 21:05:44 +02:00
Willem Jan Palenstijn
fbc1aac6a9
SCI: Fix uninitialized variables
2013-04-15 21:02:27 +02:00
Filippos Karapetis
cc1bb39956
SCI: Add documentation for underscores in object names and fix a warning
2013-01-22 01:57:34 +02:00
Filippos Karapetis
5d90c6fb3e
SCI: Use underscores as substitute characters for spaces in object names
...
This helps in debugging objects with spaces in their names (e.g. the
"Glass Jar" object in Pepper - bug #3601090 ). Now, this object can be
examined like "vo Glass_Jar"
2013-01-22 01:53:50 +02:00
Willem Jan Palenstijn
5f3f21e20e
SCI: Fix some console output formatting
2012-10-06 13:07:12 +02:00
Matthew Hoops
18823198ad
VIDEO: Merge AdvancedVideoDecoder into VideoDecoder
2012-08-16 14:00:14 -04:00
Matthew Hoops
7294a1cbcf
VIDEO: Remove the Coktel video code from using the VideoDecoder API
...
After discussing with DrMcCoy, we felt this the best way to proceed. A wrapper class that implements AdvancedVideoDecoder is still around for use in SCI.
2012-08-16 12:17:23 -04:00
Matthew Hoops
d4231fda1c
SCI: Rewrite RobotDecoder to use the AdvancedVideoDecoder API
2012-07-22 23:17:36 -04:00
Matthew Hoops
0f0c6f9354
VIDEO: Rewrite the AVI code to use AdvancedVideoDecoder
...
In addition to using the new API, it should theoretically support multiple audio and video tracks now but that has not been tested.
2012-07-22 14:13:20 -04:00
Matthew Hoops
a12b3ea2dd
SCI: Move the SEQ code to the new VideoDecoder API
2012-07-20 20:52:58 -04:00
Filippos Karapetis
50dc5009c8
SCI: Ignore another leftover script from KQ7 in the debugger
2012-07-08 22:01:11 +03:00
Filippos Karapetis
20b6770808
SCI: Change the program counter (PC) to be a 32-bit variable
...
This is needed for future support of large SCI3 scripts. The program
counter is isolated and does not interfere with other parts of the VM,
plus it does not get stored in saved games, so it's pretty straightforward
to convert
2012-06-23 21:45:26 +03:00
Filippos Karapetis
76f3f1b136
SCI: Fix warnings
2012-06-21 22:24:22 +03:00
Filippos Karapetis
065e83e44f
SCI: Store script sizes in 32-bit integers
...
Since scripts can be larger than 64KB, and getBufSize() returns a 32-bit
integer, adapt variables that store script sizes accordingly
2012-06-18 12:20:07 +03:00
Filippos Karapetis
2b50824133
SCI: Add setter/getter methods to reg_t's
...
No functionality change has been made with this commit. This avoids
setting and getting the reg_t members directly, and is the basis of any
future work on large SCI3 scripts (larger than 64KB)
2012-06-18 05:24:06 +03:00
Filippos Karapetis
b9057761df
SCI: Add missing documentation for the plane_items / pi console command
2012-06-14 02:36:45 +03:00
Filippos Karapetis
5a17ea0585
SCI: Move all file-related functions in file.*
...
This way, there is a clear separation of the actual SCI kernel file
functions and the file classes and wrappers of ScummVM
2012-06-13 12:26:53 +03:00
Filippos Karapetis
6cda15ba8e
SCI: Added two new debug commands, plane_list and plane_items
...
These can be used to debug drawn items in SCI32
2012-05-21 01:30:10 +03:00
Tarek Soliman
a4798602d7
JANITORIAL: Fix missing whitespace in pointer cast
...
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'
This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Willem Jan Palenstijn
56fb56936e
SCI: Clean up some memory management and loops
2012-01-15 18:25:00 +01:00
Filippos Karapetis
381e92a576
SCI: Added handling of invalid jump offsets (e.g. QFG2, script 260)
2011-11-28 22:36:58 +02:00
Filippos Karapetis
58190c36b4
SCI: Made the object map hashmap of the Script class private
2011-11-05 10:07:03 +02:00
Filippos Karapetis
267c6f1756
SCI: Made more fields of the Script class private. Some cleanup.
2011-11-05 03:00:42 +02:00
Filippos Karapetis
fa43ded590
SCI: The draw_pic console command now works in SCI32
...
Moreover, the overlay is temporarily hidden to show the picture
2011-10-19 02:02:04 +03:00
Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
md5
c5610182a6
SCI: Some fixes for the find_callk command
2011-06-12 15:36:08 +03:00
md5
7ab6dfc00e
SCI: Fixed the show_saved_bits console command
...
This is achieved by hiding the graphical debugger overlay temporarily in
order to show the command's results
2011-06-12 15:07:42 +03:00
Willem Jan Palenstijn
50176e7c5f
SCI: Add saved_bits/show_saved_bits console commands
2011-06-12 01:55:30 +02:00
Willem Jan Palenstijn
59dd072f63
SCI: Make 'quit' an alias for 'quit game' in the console
2011-05-29 16:01:56 +02:00
Lars Skovlund
cb990e68a1
SCI: Fix access to variables (gc_interval etc.) from the console
2011-05-27 17:34:43 +02:00
Max Horn
6c5f50c246
COMMON: Add exit() to list of forbidden symbols
2011-05-23 19:39:26 +02:00
Willem Jan Palenstijn
5fc5265b0d
SCI: Fix crash in vo with unloaded superclass
2011-05-13 23:23:15 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Max Horn
76cf7bc907
SCI: Slight cleanup to undithering code
2011-05-09 14:41:49 +02:00
md5
ce704575a9
SCI: Updated the view type descriptions in the "version" console command
2011-04-26 12:56:09 +03:00
md5
4133945850
SCI: Renamed restAdjust to r_rest (like r_acc and r_prev)
2011-03-28 02:23:58 +03:00
md5
d86504ef88
SCI: Cleaned up the BreakpointType enum and documented the bpe command
2011-03-25 13:37:00 +02:00
md5
4df049f4d7
SCI: Added a new console command "window_list" or "wl"
...
This can be used to see a list of the currently open windows. Also, added
a sanity check for the "al" command and performed some minor cleanup
2011-03-20 14:56:13 +02:00
md5
1e68000def
SCI: Added a new console command, "animate_list" or "al"
...
This shows the current animation list, along with object properties,
positions and the scripts they belong to
2011-03-20 04:10:29 +02:00
md5
156f1c0178
SCI: Added another leftover debug script in the find_callk console command
2011-03-19 01:57:39 +02:00
md5
4c5950dff2
SCI: Fixed find_callk
...
Create a custom segment manager within find_callk, so that the game's
segment manager won't be affected by loading and unloading scripts in there
2011-03-14 21:33:07 +02:00
md5
75319afbfd
SCI: Ignore some more leftovers scripts in the find_callk console command
2011-03-14 19:59:30 +02:00
Willem Jan Palenstijn
8918d5e66c
SCI: Fix warning
2011-03-13 00:27:28 +01:00
Willem Jan Palenstijn
6fe95780d3
SCI: Continue disasm until no jumps go past the current opcode
...
This should ensure disasm will disassemble an entire function, and
not stop at an intermediate ret opcode.
2011-03-12 23:46:32 +01:00
md5
5dce3235e9
SCI: Some changes to the "dissassemble" command
...
Fixed a bug (the "bwt" and "bc" options were inversed) and added the
ability to skip a defined number of ret calls, useful when a function
continues after a ret call
2011-03-12 23:45:36 +02:00
Willem Jan Palenstijn
eece58df7f
SCI: Remove unused argument to said
2011-03-08 22:50:32 +01:00