aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/various.cpp
AgeCommit message (Collapse)Author
2007-12-08simplified gfxConvertSpriteToRaw, some renamingGregory Montoir
svn-id: r29758
2007-12-08Cleanup and simplificationFilippos Karapetis
svn-id: r29755
2007-12-07backported some changes for OSGregory Montoir
- added parsing of VOL.CNF to get the (filename,bundle) mapping (should be more efficient than testing every bundle file) - delphineUnpack allows "inplace unpacking", use this instead of allocating temporary buffers - relation script run count should be set in _localVars[0] - added comments for some "special" script variables svn-id: r29749
2007-09-19Modified patch #1738058: "Action recorder".Eugene Sandulenko
svn-id: r28968
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-07-02Fix bug where an object was accessed after it was deleted in cine engineNeil Millstone
svn-id: r27870
2007-06-22Cleaning up after myself (I blame it on, err, uhh... the Vogons?)Max Horn
svn-id: r27625
2007-06-22Changed more code to use Common::KEYCODE_ enumMax Horn
svn-id: r27624
2007-06-08Fixed some Valgrind warnings (overlapping source and destination in strcpy()).Torbjörn Andersson
svn-id: r27207
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-30cleanup, don't rely on assert() to ensure a gamefile/savefile is opened. ↵Gregory Montoir
Also removed the use of Common::File global objects. svn-id: r27021
2007-05-29added code for freePartRange, freePartEntry and freeOverlay (also renamed ↵Gregory Montoir
some functions and variables). svn-id: r27006
2007-05-19Fix preprocessor error caused by undefined symbol DEBUG_SPRITE_MASKMax Horn
svn-id: r26874
2007-05-19added basic support for Amiga music playbackGregory Montoir
svn-id: r26870
2007-05-18added debug code to display sprite masksGregory Montoir
svn-id: r26865
2007-05-17moved gfx related functions from various.cpp/.h to gfx.cpp/.h and fixed ↵Gregory Montoir
indentation of previous commit svn-id: r26863
2007-05-17added code for gfxSpriteFunc1 and gfxSpriteFunc2, which are used for sprite ↵Gregory Montoir
masking (see also bug #1624797) svn-id: r26861
2007-03-19Added FIXME comment to CINE regarding an odd warning in processSeqListElementMax Horn
svn-id: r26248
2007-02-18Bad hack to make this engine works on PalmOS (compiler still seems to hate ↵Chris Apers
some global objects) svn-id: r25684
2007-01-21openForSaving can fail, so it should be handled gracefully -- but better to ↵Max Horn
assert out in a controlled manner than o invoke methods on a NULL pointer, right? :-) svn-id: r25151
2006-11-25Support loading saves from command line.Eugene Sandulenko
svn-id: r24787
2006-11-24Let F10 work in all expected cases.Eugene Sandulenko
svn-id: r24785
2006-11-20Fix regression which did not allow to enter save name.Eugene Sandulenko
svn-id: r24753
2006-11-19Proper implementation of o1_allowSystemMenu()Eugene Sandulenko
svn-id: r24750
2006-11-19Don't allow the F9 and F10 keys to open menus if a menu is already open. (MightTorbjörn Andersson
need more testing.) svn-id: r24747
2006-11-18Make input string truly editableEugene Sandulenko
svn-id: r24732
2006-11-18Implement naming save games in cinE. See also FR #1579780: "FW: naming saveEugene Sandulenko
games" svn-id: r24731
2006-11-14Added per game target saves.Eugene Sandulenko
svn-id: r24718
2006-11-11Improve international support in CINE engine.Eugene Sandulenko
svn-id: r24678
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