aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
AgeCommit message (Collapse)Author
2006-04-08Some more Operation Stealth changes. Mostly stubs.Torbjörn Andersson
svn-id: r21699
2006-04-08This is probably what o1_removeLabel() should do. Is it used anywhere?Torbjörn Andersson
svn-id: r21698
2006-04-08Made the "gotoIf" opcodes slightly easier to read.Torbjörn Andersson
svn-id: r21697
2006-04-08Make the warning message for undefined opcodes slightly clearer.Torbjörn Andersson
svn-id: r21696
2006-04-08Fixed two Operation Stealth regressions:Torbjörn Andersson
* 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-08Renamed some local variables for consistency.Torbjörn Andersson
svn-id: r21694
2006-04-08Split the opcodes into individual functions. This could easily causeTorbjörn Andersson
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-08Modified the REGISTER_PLUGIN macro so that it allows (and requires) a ↵Max Horn
trailing semicolon (this helps certain tools to parse our code better) svn-id: r21689
2006-04-08Renamed various *GameSettings to GameSettings (our namespaces are enough to ↵Max Horn
distinguish them) svn-id: r21686
2006-04-08Cleanup.Torbjörn Andersson
svn-id: r21683
2006-04-08Began collecting hard-coded language-specific strings in a new initLanguage()Torbjörn Andersson
function. It's now possible to choose between English and French menus, and the command string preposition in English is "on", not "sur". There are still plenty of hard-coded French messages to do with savegame handling. I haven't done anything about them. svn-id: r21682
2006-04-08Cleanup.Torbjörn Andersson
svn-id: r21681
2006-04-08Added helper functions getNextByte(), getNextWord() and getNextString() to makeTorbjörn Andersson
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-07This may look like a less good way of transforming three bits of colour intoTorbjörn Andersson
eight bits. Perhaps it is. But it seems to match the output from DOSbox when running Future Wars, and I tend to trust DOSbox in such matters. svn-id: r21658
2006-04-07Small cleanup.Torbjörn Andersson
svn-id: r21655
2006-04-06Added opcode comments and stubs based on information sev provided me with. AllTorbjörn Andersson
stubs should print a warning, though I may have missed some. svn-id: r21654
2006-04-06Fixed another "worked in cinE, broken in ScummVM" bug that made it impossibleTorbjörn Andersson
to interact with the objects in the second room. We were passing the wrong pointer to gfxConvertSpriteToRaw() in loadCt(), causing page3Raw (which I believe is an "image" mapping screen coordinates to objects) to be wrong. svn-id: r21646
2006-04-06We don't need to convert mono data to stereo: Simply tell the mixer that we'reTorbjörn Andersson
generating mono data, and let it worry about how to handle it. svn-id: r21645
2006-04-05Use English strings for the system and confirm menus, to be consistent with theTorbjörn Andersson
command menu. There are still some other hard-coded French messages in the code, though. svn-id: r21634
2006-04-05Fixed bug in loadObject() where the data pointer was only advanced for theTorbjörn Andersson
objects that were actually loaded from the file, not the ones that were skipped. This bug was introduced when porting cinE to the ScummVM framework, and would cause Future Wars to crash after the copy protection screen. Quite possibly other bugs, as well. svn-id: r21632
2006-04-05I don't think assert(0) is a particularly helpful error message...Torbjörn Andersson
svn-id: r21630
2006-04-05Fix character spacing in text blurbs.Eugene Sandulenko
svn-id: r21629
2006-04-01Removed superfluous addDefaultDirectory call, as well as two unused bad ↵Max Horn
member vars svn-id: r21532
2006-03-29Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵Max Horn
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500
2006-03-23Match game speed with originalEugene Sandulenko
svn-id: r21415
2006-03-23uint8 -> byteEugene Sandulenko
svn-id: r21414
2006-03-23Made mouse more responsiveEugene Sandulenko
svn-id: r21413
2006-03-23Got rid of ASSERT and ASSERT_PTR definesEugene Sandulenko
svn-id: r21412
2006-03-23Make copy protection in OS and FW turnable. Still buggyEugene Sandulenko
svn-id: r21411
2006-03-16- added defines to handle the different mouse cursorsGregory Montoir
- 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-15added mouse cursorsGregory Montoir
svn-id: r21321
2006-03-14Add a virtual destructor to class SoundDriver of the CINE engine (fixes a ↵Max Horn
warning) svn-id: r21284
2006-03-09minor cleanup.Gregory Montoir
svn-id: r21189
2006-03-09oo'ified sound code and added basic support for OS adlib music.Gregory Montoir
svn-id: r21186
2006-03-09- Renamed GameSettings to PlainGameDescriptorMax Horn
- Added new GameDescriptor struct (similar to PlainGameDescriptor but with Common::String members instead of const char * ones) - Changed DetectedGame to subclass GameDescriptor - Removed toGameSettings() in favor of new (template) constructors in DetectedGame and GameDescriptor - Fixed a bug in the obsolete gameid handling in the SCUMM & SIMON engines svn-id: r21150
2006-03-09- added new toDetectedGame() template function (analog to toGameSettings)Max Horn
- made use of the new DetectedGame constructor from my last commit - some related cleanup svn-id: r21149
2006-03-03Eliminate flip_support.cpp file.Eugene Sandulenko
svn-id: r21045
2006-03-02Fix for bug #1438822 (Targets are case sensitive)Max Horn
svn-id: r21017
2006-03-02fixed compilation.Gregory Montoir
svn-id: r21014
2006-03-02Add PACK macros to structs for it to work on all platformsLars Persson
svn-id: r21009
2006-03-02Breaking cine, in the hopes that somebody will fix this obviously totally ↵Max Horn
bogus code (even if that fix just means uncommenting it :) svn-id: r20999
2006-02-27cleanupGregory Montoir
svn-id: r20957
2006-02-25cleanup unpacking function and get rid of an old hack to prevent buffer ↵Gregory Montoir
overflows. svn-id: r20884
2006-02-25cleanup (endianess fixes, fixed partBufferStruct structure)Gregory Montoir
svn-id: r20881
2006-02-25Some more cine header cleanupMax Horn
svn-id: r20859
2006-02-25Reducing the header dependencies in cine a bit moreMax Horn
svn-id: r20857
2006-02-25- avoid using typedef for structs (it is just not necessary in C++)Max Horn
- added a const/static here and there - started to reduce header dependencies svn-id: r20856
2006-02-25Fix cine module.mk file (this fixed the dependencies system)Max Horn
svn-id: r20855
2006-02-25Use static/const on data tables when possible (this helps the compiler to ↵Max Horn
optimize things better) svn-id: r20853
2006-02-25Moved cine engine into namespace CineMax Horn
svn-id: r20851