aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/various.h
AgeCommit message (Collapse)Author
2008-07-27Added a preliminary saving routine for Operation Stealth (Disabled by ↵Kari Salminen
default, needs more work still. WIP!). Added backgrounds' name saving (8 names in Operation Stealth instead of just 1 like in Future Wars). Added 256 color palette saving and restoring (One of the palettes isn't properly handled yet though). svn-id: r33349
2008-07-22Fix CineSaveGameFormat enumeration's include order (Caused problems at least ↵Kari Salminen
with GCC). svn-id: r33196
2008-07-22Fix for bug #2019355 (FW: broken compatibility with 0.11.1 saves):Kari Salminen
- Changed savegame loading related functions to use SeekableReadStream rather than InSaveFile so MemoryReadStream can be used transparently. - Fixed loadResourcesFromSave to load multiframe animations correctly and to load 0.11.0/0.11.1 Future Wars savegames which used a slightly different format. - Added a savegame format detector that tries to detect between the old Future Wars savegame format, the new one and a broken revision of the new one. - Changed makeLoad to first load the savegame fully into memory and only then handle it (If the savegame's packed then it's unpacked first). If the packed savegame can't tell its unpacked size (i.e. it's using zlib format) then we'll try to load up to 256kB of the savegame data. Thanks to wjp for his help with nailing this release critical bug. svn-id: r33192
2008-06-30Implemented resetGfxEntityEntry and made it used where appropriate (The ↵Kari Salminen
function wasn't very easy to reverse engineer so it may have flaws still, but let's hope it doesn't ;-)). svn-id: r32848
2008-06-26Fixed opcode:Kari Salminen
- 0x83: o2_isSeqRunning (Should it be named o2_isSeqNotRunning?) -- Added previously missing test part -- Negated the result (It was backwards before!) svn-id: r32804
2008-06-25Implemented support for zoneQuery (Operation Stealth specific).Kari Salminen
Fixed opcodes (related to zoneQuery): - 0x08: o1_checkCollision - 0x9A: o2_wasZoneChecked NOTE: Savegame support for the zoneQuery data is broken svn-id: r32790
2008-06-25Implemented opcode:Kari Salminen
- 0x82: o2_modifySeqListElement (Was o2_op82) Seeks a matching element from the seqList and modifies its values. svn-id: r32786
2008-05-24Patch #1969189: "CinE renderer rewrite"Eugene Sandulenko
svn-id: r32257
2008-04-21Patch #1941066: "CinE sprite overlay rewrite" courtsey of next_ghostEugene Sandulenko
svn-id: r31651
2007-12-14renamed several structures, variables and functionsGregory Montoir
svn-id: r29860
2007-12-12Cleanup, removed duplicate codeFilippos Karapetis
svn-id: r29838
2007-12-09- minor screen fix for OSGregory Montoir
- added new debug channel for sound - updated 2 opcodes comments svn-id: r29790
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
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-17moved gfx related functions from various.cpp/.h to gfx.cpp/.h and fixed ↵Gregory Montoir
indentation of previous commit svn-id: r26863
2007-03-18CINE: Make use of EventManager::getMousePosMax Horn
svn-id: r26222
2007-02-18Bad hack to make this engine works on PalmOS (compiler still seems to hate ↵Chris Apers
some global objects) svn-id: r25684
2006-12-03Changed CINE_*_H_ to CINE_*_H for consistency with other engines. (Oh, who am ITorbjörn Andersson
kidding, I'm still testing the SVN change.) svn-id: r24806
2006-11-24Let F10 work in all expected cases.Eugene Sandulenko
svn-id: r24785
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-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-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-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-04-11Add F1-F10 keymappings like in original engine.Eugene Sandulenko
svn-id: r21815
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-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-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-03-23uint8 -> byteEugene Sandulenko
svn-id: r21414
2006-03-15added mouse cursorsGregory Montoir
svn-id: r21321
2006-03-09minor cleanup.Gregory Montoir
svn-id: r21189
2006-03-02fixed compilation.Gregory Montoir
svn-id: r21014
2006-02-27cleanupGregory Montoir
svn-id: r20957
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-23formating codePaweł Kołodziejski
svn-id: r20837
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