Commit Graph

88 Commits

Author SHA1 Message Date
Gregory Montoir
bb30d560b2 renamed several structures, variables and functions
svn-id: r29860
2007-12-14 19:21:19 +00:00
Filippos Karapetis
57460c21b3 Added a note, switched to CLIP template for clipping, some cleanup
svn-id: r29859
2007-12-14 13:55:18 +00:00
Filippos Karapetis
dd14a43cac Fixed one more regression from the latest cleanup
svn-id: r29848
2007-12-13 14:04:36 +00:00
Filippos Karapetis
2cb9ea3c10 Fixed a regression from the latest cleanup
svn-id: r29847
2007-12-13 13:51:04 +00:00
Sven Hesse
1d338096f0 Muting the compiler :P
svn-id: r29846
2007-12-13 13:26:49 +00:00
Filippos Karapetis
2991b03cc4 Cleanup and simplification
svn-id: r29845
2007-12-13 13:17:45 +00:00
Filippos Karapetis
8968f7e616 Changed the C style malloc/free to the C++ style new/delete
svn-id: r29841
2007-12-13 10:06:53 +00:00
Torbjörn Andersson
6589dba7f5 Fixed warning about casting away constness.
svn-id: r29839
2007-12-12 21:56:22 +00:00
Filippos Karapetis
dcf4755dc1 Cleanup, removed duplicate code
svn-id: r29838
2007-12-12 21:39:00 +00:00
Gregory Montoir
a94fada0ae - minor screen fix for OS
- added new debug channel for sound
- updated 2 opcodes comments

svn-id: r29790
2007-12-09 13:41:59 +00:00
Gregory Montoir
c271093fbb simplified gfxConvertSpriteToRaw, some renaming
svn-id: r29758
2007-12-08 09:10:08 +00:00
Filippos Karapetis
e905723b1e Cleanup and simplification
svn-id: r29755
2007-12-08 02:38:04 +00:00
Gregory Montoir
126f55fd0e backported some changes for OS
- 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-12-07 20:45:51 +00:00
Eugene Sandulenko
77eea722af Modified patch #1738058: "Action recorder".
svn-id: r28968
2007-09-19 13:55:05 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Neil Millstone
c43f68e554 Fix bug where an object was accessed after it was deleted in cine engine
svn-id: r27870
2007-07-02 22:42:35 +00:00
Max Horn
2fa0a5c457 Cleaning up after myself (I blame it on, err, uhh... the Vogons?)
svn-id: r27625
2007-06-22 21:16:07 +00:00
Max Horn
54d668ac13 Changed more code to use Common::KEYCODE_ enum
svn-id: r27624
2007-06-22 21:10:57 +00:00
Torbjörn Andersson
059ba7326c Fixed some Valgrind warnings (overlapping source and destination in strcpy()).
svn-id: r27207
2007-06-08 19:29:48 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Gregory Montoir
45b721d3cc cleanup, don't rely on assert() to ensure a gamefile/savefile is opened. Also removed the use of Common::File global objects.
svn-id: r27021
2007-05-30 18:43:28 +00:00
Gregory Montoir
73210b4aa3 added code for freePartRange, freePartEntry and freeOverlay (also renamed some functions and variables).
svn-id: r27006
2007-05-29 20:22:20 +00:00
Max Horn
a165d96fd3 Fix preprocessor error caused by undefined symbol DEBUG_SPRITE_MASK
svn-id: r26874
2007-05-19 20:06:50 +00:00
Gregory Montoir
bde5404a4e added basic support for Amiga music playback
svn-id: r26870
2007-05-19 12:08:41 +00:00
Gregory Montoir
93e41222b5 added debug code to display sprite masks
svn-id: r26865
2007-05-18 09:19:35 +00:00
Gregory Montoir
1b3458e429 moved gfx related functions from various.cpp/.h to gfx.cpp/.h and fixed indentation of previous commit
svn-id: r26863
2007-05-17 22:26:05 +00:00
Gregory Montoir
e9827d0884 added code for gfxSpriteFunc1 and gfxSpriteFunc2, which are used for sprite masking (see also bug #1624797)
svn-id: r26861
2007-05-17 22:13:31 +00:00
Max Horn
eb6318e9fa Added FIXME comment to CINE regarding an odd warning in processSeqListElement
svn-id: r26248
2007-03-19 22:30:28 +00:00
Chris Apers
227d83ea6e Bad hack to make this engine works on PalmOS (compiler still seems to hate some global objects)
svn-id: r25684
2007-02-18 12:21:25 +00:00
Max Horn
fef501c205 openForSaving can fail, so it should be handled gracefully -- but better to assert out in a controlled manner than o invoke methods on a NULL pointer, right? :-)
svn-id: r25151
2007-01-21 15:19:30 +00:00
Eugene Sandulenko
8fddc12581 Support loading saves from command line.
svn-id: r24787
2006-11-25 09:28:00 +00:00
Eugene Sandulenko
c89dcb6e79 Let F10 work in all expected cases.
svn-id: r24785
2006-11-24 20:25:55 +00:00
Eugene Sandulenko
3799a91315 Fix regression which did not allow to enter save name.
svn-id: r24753
2006-11-20 20:27:30 +00:00
Eugene Sandulenko
315c286bea Proper implementation of o1_allowSystemMenu()
svn-id: r24750
2006-11-19 23:02:26 +00:00
Torbjörn Andersson
50e2cf9caa Don't allow the F9 and F10 keys to open menus if a menu is already open. (Might
need more testing.)

svn-id: r24747
2006-11-19 18:54:06 +00:00
Eugene Sandulenko
785d86b63e Make input string truly editable
svn-id: r24732
2006-11-18 16:26:51 +00:00
Eugene Sandulenko
53c4684bbe Implement naming save games in cinE. See also FR #1579780: "FW: naming save
games"

svn-id: r24731
2006-11-18 15:16:44 +00:00
Eugene Sandulenko
53faadfdb6 Added per game target saves.
svn-id: r24718
2006-11-14 09:29:41 +00:00
Eugene Sandulenko
84660f620b Improve international support in CINE engine.
svn-id: r24678
2006-11-11 15:37:03 +00:00
Eugene Sandulenko
8e4309b7c1 Remove slipped in debug output
svn-id: r24661
2006-11-08 21:54:03 +00:00
Eugene Sandulenko
5e5bba4397 Fix bug #1579776: "FW: Save does not work properly"
svn-id: r24659
2006-11-08 21:46:57 +00:00
Eugene Sandulenko
95749148cf Add proper game detection to CinE engine.
svn-id: r24320
2006-10-15 01:06:44 +00:00
Max Horn
31ebfdd1be Yet another const warning fixed
svn-id: r22795
2006-05-31 10:55:09 +00:00
Torbjörn Andersson
985215a04a As far as I can tell, there's no longer any reason for PartBuffer and AnimData
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-26 09:36:41 +00:00
Torbjörn Andersson
31f83ff233 Implemented FW inventory. This is basically a copy of makeMenuChoice(), minus
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-08 19:49:52 +00:00
Torbjörn Andersson
cab89a6f32 Another small update/cleanup to the French messages from Nicolas Joly.
svn-id: r22264
2006-05-01 20:10:29 +00:00
Torbjörn Andersson
72f0c9a5d7 Applied patch from Nicolas Joly to fix the French default messages in Future
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-05-01 14:14:24 +00:00
Torbjörn Andersson
f5ab0e5578 Fixed potential crash in drawDialogueMessage(): The function should terminate
if, for some reason, messagePtr is NULL.

svn-id: r21833
2006-04-12 22:07:41 +00:00
Torbjörn Andersson
19a1cdfe85 Actions that do not have any custom response now print one of the default
responses. (Before, nothing would happen.)

svn-id: r21832
2006-04-12 22:06:30 +00:00
Torbjörn Andersson
cdcf44d3f3 Stubbed addPlayerCommandMessage(). I think it may have something to do with
printing default responses to commands.

svn-id: r21829
2006-04-12 16:34:23 +00:00