Torbjörn Andersson
eac6dc09aa
Make the warning message for undefined opcodes slightly clearer.
...
svn-id: r21696
2006-04-08 14:26:36 +00:00
Torbjörn Andersson
37d1248bd0
Fixed two Operation Stealth regressions:
...
* When I introduced the getNext* helper functions I accidentally used
getNextWord() instead of getNextByte() in one case.
* When splitting the opcodes into separate functions, I noticed that Operation
Stealth has no opcode 0x40, yet it's used. So for now we only warn when
trying to execute an undefined opcode.
svn-id: r21695
2006-04-08 14:23:33 +00:00
Torbjörn Andersson
a81964c3c2
Renamed some local variables for consistency.
...
svn-id: r21694
2006-04-08 14:03:14 +00:00
Torbjörn Andersson
986dce3a7d
Split the opcodes into individual functions. This could easily cause
...
regressions, but hopefully not too many. While doing this, I noticed I had
gotten at least one of the stubs I added recently wrong. That's hopefully
fixed now.
svn-id: r21693
2006-04-08 13:20:40 +00:00
Torbjörn Andersson
54b99891cb
Cleanup.
...
svn-id: r21683
2006-04-08 08:04:23 +00:00
Torbjörn Andersson
fce6bf5142
Added helper functions getNextByte(), getNextWord() and getNextString() to make
...
the opcode decoder a bit easier to read. The same change could be made to
decompileScript() as well, but I have a feeling that this function should be
made a standalone tool instead. Particularly considering how much memory it
currently uses.
svn-id: r21679
2006-04-08 06:47:58 +00:00
Torbjörn Andersson
997c023095
Added opcode comments and stubs based on information sev provided me with. All
...
stubs should print a warning, though I may have missed some.
svn-id: r21654
2006-04-06 22:33:23 +00:00
Torbjörn Andersson
48c46eed6b
I don't think assert(0) is a particularly helpful error message...
...
svn-id: r21630
2006-04-05 13:06:03 +00:00
Max Horn
8cdee5a931
Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 to ~250). Many greetings to eriktorbjorn, and have fun recompiling.
...
svn-id: r21500
2006-03-29 15:59:37 +00:00
Eugene Sandulenko
0b35672f78
uint8 -> byte
...
svn-id: r21414
2006-03-23 03:45:52 +00:00
Eugene Sandulenko
fced8df162
Got rid of ASSERT and ASSERT_PTR defines
...
svn-id: r21412
2006-03-23 03:17:47 +00:00
Gregory Montoir
61a5fb7064
- added defines to handle the different mouse cursors
...
- revised the way NUM_MAX_PARTDATA and NUM_MAX_ANIMDATA are used
- renamed some variables
- constify'ed function arguments
- minor cleanup
svn-id: r21338
2006-03-16 20:29:07 +00:00
Gregory Montoir
8476b7a94f
minor cleanup.
...
svn-id: r21189
2006-03-09 23:02:29 +00:00
Gregory Montoir
2cf5859404
oo'ified sound code and added basic support for OS adlib music.
...
svn-id: r21186
2006-03-09 22:37:19 +00:00
Eugene Sandulenko
76a4bf9e77
Eliminate flip_support.cpp file.
...
svn-id: r21045
2006-03-03 19:38:17 +00:00
Gregory Montoir
9c80770411
cleanup
...
svn-id: r20957
2006-02-27 21:25:59 +00:00
Gregory Montoir
0364eeed5c
cleanup (endianess fixes, fixed partBufferStruct structure)
...
svn-id: r20881
2006-02-25 18:16:40 +00:00
Max Horn
a30f829773
Some more cine header cleanup
...
svn-id: r20859
2006-02-25 01:18:01 +00:00
Max Horn
275344a931
Reducing the header dependencies in cine a bit more
...
svn-id: r20857
2006-02-25 01:01:27 +00:00
Max Horn
2fc23c85da
Moved cine engine into namespace Cine
...
svn-id: r20851
2006-02-25 00:26:14 +00:00
Gregory Montoir
481094ada0
cleanup
...
svn-id: r20846
2006-02-24 22:34:22 +00:00
Paweł Kołodziejski
6b50204eea
formating code
...
svn-id: r20836
2006-02-23 19:28:36 +00:00
Travis Howell
f4c9c4f4d7
Fix a few more compile warnings.
...
svn-id: r20827
2006-02-23 11:29:37 +00:00
Travis Howell
26e0d95ef4
Fix a few compile warnings.
...
svn-id: r20826
2006-02-23 11:05:58 +00:00
Travis Howell
3fe8c971f2
Cleanup to remove duplicate type defines
...
svn-id: r20821
2006-02-23 09:12:21 +00:00
Torbjörn Andersson
725a9d21f9
Fixed some of the compiler warnings.
...
svn-id: r20819
2006-02-23 07:59:25 +00:00
Torbjörn Andersson
43f2d984fb
Don't call exit() directly. Instead, use the backend's quit() method for normal
...
shutdown, and error() for abnormal termination.
svn-id: r20818
2006-02-23 07:45:51 +00:00
Eugene Sandulenko
71c170bb13
Initial version of Cinematique engine evo 1.
...
svn-id: r20813
2006-02-22 22:40:53 +00:00