aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/various.cpp
AgeCommit message (Collapse)Author
2006-11-08Remove slipped in debug outputEugene Sandulenko
svn-id: r24661
2006-11-08Fix bug #1579776: "FW: Save does not work properly"Eugene Sandulenko
svn-id: r24659
2006-10-15Add proper game detection to CinE engine.Eugene Sandulenko
svn-id: r24320
2006-05-31Yet another const warning fixedMax Horn
svn-id: r22795
2006-05-26As far as I can tell, there's no longer any reason for PartBuffer and AnimDataTorbjörn Andersson
to be packed, so I've removed the packing and added the 'refresh' field to AnimData instead of having it as a separate array. On the other hand, animHeaderStruct and animHeader2Struct *should* have been packed, but weren't. I've changed they way they are initialised so that the packing should no longer matter for them either. svn-id: r22651
2006-05-08Implemented FW inventory. This is basically a copy of makeMenuChoice(), minusTorbjörn Andersson
the ability to select menu items. There will be cleanups later, but for now we try to match the original. svn-id: r22395
2006-05-01Another small update/cleanup to the French messages from Nicolas Joly.Torbjörn Andersson
svn-id: r22264
2006-05-01Applied patch from Nicolas Joly to fix the French default messages in FutureTorbjörn Andersson
Wars. (I had originally left them as question marks because I didn't know what characters they were supposed to be.) svn-id: r22259
2006-04-12Fixed potential crash in drawDialogueMessage(): The function should terminateTorbjörn Andersson
if, for some reason, messagePtr is NULL. svn-id: r21833
2006-04-12Actions that do not have any custom response now print one of the defaultTorbjörn Andersson
responses. (Before, nothing would happen.) svn-id: r21832
2006-04-12Stubbed addPlayerCommandMessage(). I think it may have something to do withTorbjörn Andersson
printing default responses to commands. svn-id: r21829
2006-04-12This assertion shouldn't be needed. At least not here.Torbjörn Andersson
svn-id: r21826
2006-04-11Add F1-F10 keymappings like in original engine.Eugene Sandulenko
svn-id: r21815
2006-04-11Added TODO comment about refreshAnimData[] and why it's not (yet) a field inTorbjörn Andersson
the AnimData struct. svn-id: r21809
2006-04-10Might as well clear ptr1 and ptr2 in animDataTable[] when loading a savegame.Torbjörn Andersson
The previous commit should ensure that the elements that need to be loaded are. svn-id: r21774
2006-04-10If I understand things correctly, cinE used to dump the entire animDataTableTorbjörn Andersson
element to the savefile, including data pointers. After reading the savefile, it would then test if ptr1 was NULL, to see if it should load the object. I've extended the savefile format with a byte to indicate whether or not ptr1 was non-NULL. This seems to fix the problems I had with with loading savegames, but of course any old savegame is now even more broken than before. I still can't seem to get out of the room with the machine, though. Another regression when migrating the code from cinE, or just my ability to get past this annoying, timed puzzle? svn-id: r21772
2006-04-10Use our standard save file manager class to read and write the save games,Torbjörn Andersson
instead of putting them in the current working directory. svn-id: r21741
2006-04-09Moved GameSettings to namespace Cine; moved savePath to various.cppMax Horn
svn-id: r21733
2006-04-09Casting an array of integers to a pointer to a struct seems like a pretty hackyTorbjörn Andersson
thing to do. This replacement hopefully works as intended. svn-id: r21724
2006-04-09Minor cleanup, but savegames still don't work as well as I had hoped...Torbjörn Andersson
svn-id: r21720
2006-04-09Fixed savegame saving/loading. I haven't done anything about the userTorbjörn Andersson
interface, so it's still even worse than in the original interpreter (just like in cinE, presumably), but at least it no longer crashes when loading the saved game, and hopefully the correct palette is saved. svn-id: r21718
2006-04-08Some more Operation Stealth changes. Mostly stubs.Torbjörn Andersson
svn-id: r21699
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-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-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-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-23uint8 -> byteEugene Sandulenko
svn-id: r21414
2006-03-23Got rid of ASSERT and ASSERT_PTR definesEugene Sandulenko
svn-id: r21412
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-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-03Eliminate flip_support.cpp file.Eugene Sandulenko
svn-id: r21045
2006-03-02fixed compilation.Gregory Montoir
svn-id: r21014
2006-02-27cleanupGregory Montoir
svn-id: r20957
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-25Moved cine engine into namespace CineMax Horn
svn-id: r20851
2006-02-24cleanupGregory Montoir
svn-id: r20846
2006-02-23formating codePaweł Kołodziejski
svn-id: r20837
2006-02-23Fix a few compile warnings.Travis Howell
svn-id: r20826
2006-02-23Fix a few compile warnings.Travis Howell
svn-id: r20824
2006-02-23Fixed some more compiler warnings. Many still remain.Torbjörn Andersson
svn-id: r20823
2006-02-23Cleanup to remove duplicate type definesTravis Howell
svn-id: r20821
2006-02-22Initial version of Cinematique engine evo 1.Eugene Sandulenko
svn-id: r20813