Commit Graph

233 Commits

Author SHA1 Message Date
Eugene Sandulenko
7aadf6c191 Slightly modified patch #1848173: "ScriptVars class implementation for CinE"
svn-id: r30125
2008-01-01 16:57:03 +00:00
Eugene Sandulenko
6b722c2f1c _Properly_ fix lock-up introduced introduced in revision 29860. A typical
c/p error.

svn-id: r29982
2007-12-24 19:49:28 +00:00
Eugene Sandulenko
fd22ebb269 Fix regressions (crashes) introduced in commit 29860
svn-id: r29981
2007-12-24 19:13:32 +00:00
Filippos Karapetis
50cf084a6b Cleanup
svn-id: r29973
2007-12-24 10:11:41 +00:00
Filippos Karapetis
8b0ae7983c Change 3 remaining free() to delete, which were not changed with commit #29841 (part of patch #1848173)
svn-id: r29972
2007-12-24 10:10:21 +00:00
Filippos Karapetis
46ee7e6791 Slight cleanup
svn-id: r29934
2007-12-21 02:43:21 +00:00
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
729c843091 Cleanup
svn-id: r29858
2007-12-14 13:51:41 +00:00
Gregory Montoir
e1b73e47f8 use CLIP template for clipping, made an array static const and renamed MAX_OBJECTDATA to MAX_VAR
svn-id: r29853
2007-12-13 19:07:10 +00:00
Filippos Karapetis
ee56120fcf Added a proper fix for bug #1733238 - "FW: crash in copier room", taken from next_ghost's patch #1848173 - "ScriptVars class implementation for CinE"
svn-id: r29852
2007-12-13 17:53:31 +00:00
Filippos Karapetis
3240d0636a Fixed a regression from the latest cleanups
svn-id: r29851
2007-12-13 17:47:54 +00:00
Filippos Karapetis
280d634455 Fixed an incorrect copy/paste
svn-id: r29850
2007-12-13 17:03:14 +00:00
Filippos Karapetis
30be440557 Fixed regression introduced by the latest cleanups
svn-id: r29849
2007-12-13 15:10:52 +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
8b7f3fae35 Cleanup
svn-id: r29844
2007-12-13 12:33:31 +00:00
Filippos Karapetis
2f7539e865 Cleanup
svn-id: r29843
2007-12-13 11:11:38 +00:00
Filippos Karapetis
a9e1f39a16 Cleanup and simplification
svn-id: r29842
2007-12-13 10:47:14 +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
Filippos Karapetis
99453537f1 Cleanup
svn-id: r29830
2007-12-11 23:16:15 +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
6ef7e37488 reverted parts of commits #29447 and #29446 (caused regressions in ADL music playback) and properly (I hope) fixed the sound issues described in tracker item #1763053.
svn-id: r29766
2007-12-08 15:24:42 +00:00
Gregory Montoir
aae704f6cd amiga demo version of OS has a VOL.CNF file so I assume full versions of the game also use it ; enabled readVolCnf for all versions of OS.
svn-id: r29760
2007-12-08 09:51:24 +00:00
Gregory Montoir
c271093fbb simplified gfxConvertSpriteToRaw, some renaming
svn-id: r29758
2007-12-08 09:10:08 +00:00
Gregory Montoir
6b68c156ae made timing closer to the original interpreter and simplified manageEvents function (no need to recurse)
svn-id: r29757
2007-12-08 08:49:22 +00:00
Gregory Montoir
e82c2b3fb9 reverted part of commit #29749, inplace unpacking doesn't work with .ani data
svn-id: r29756
2007-12-08 08:48:31 +00:00
Filippos Karapetis
e905723b1e Cleanup and simplification
svn-id: r29755
2007-12-08 02:38:04 +00:00
Filippos Karapetis
c488384f19 Cleanup and simplification
svn-id: r29754
2007-12-08 02:24:12 +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
cc4311f10f One more fix from Patch #1773489
svn-id: r29447
2007-11-07 22:29:20 +00:00
Eugene Sandulenko
604be3107e Patches #1773489: "FW: Fixes for German Amiga Version"
svn-id: r29446
2007-11-07 22:28:01 +00:00
Torbjörn Andersson
c1760e2aae Mark the end of the Cine namespace.
svn-id: r29413
2007-11-04 18:03:18 +00:00
Gregory Montoir
7cf5a57827 fix buffer overflow (globalVars is int16 -> index/=2)
svn-id: r29402
2007-11-04 03:16:56 +00:00
Eugene Sandulenko
c640d1c604 Patch #1825276: "DETECTION: advanced detector engine simplification"
svn-id: r29386
2007-11-03 21:06:58 +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
8e2fd2ee73 Fixed freeing of invalid pointer, which would cause Operation Stealth to crash.
I don't know if the loadSet() / loadSetAbs() functions are every used in Future
Wars. If so, we should commit this to the branch as well.

svn-id: r27590
2007-06-21 17:24:27 +00:00
Filippos Karapetis
5dc568e7a7 Fix for #1733238 - FW: crash in copier room
svn-id: r27376
2007-06-12 12:49:07 +00:00
Eugene Sandulenko
6e5b70f5e9 Patch #1733764: "Fallback detection patch". GSoC student.
svn-id: r27375
2007-06-12 12:22:25 +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