Commit Graph

43 Commits

Author SHA1 Message Date
Eugene Sandulenko
51352c71c5 Proper fix for savestates. Thanks to next_ghost
svn-id: r32073
2008-05-12 21:03:26 +00:00
Kari Salminen
9ba0aa01fa Cleanup & typo.
- Use sizeof(_name) instead of magic number 10 with memset
- 'usually' instead of 'ussually'
- 'delete[]' instead of 'delete []'
- Fixed parameter name discrepancy between loadResource's definition and declaration

svn-id: r31701
2008-04-24 20:04:53 +00:00
Eugene Sandulenko
57a9ef3a8f Patch #1941066: "CinE sprite overlay rewrite" courtsey of next_ghost
svn-id: r31651
2008-04-21 20:51:17 +00:00
Johannes Schickel
b586235fb8 Fixed warnings for msvc9.
svn-id: r31460
2008-04-09 15:16:50 +00:00
Eugene Sandulenko
e4ddd5d5f1 Ignore pointers on save
svn-id: r31453
2008-04-08 18:12:32 +00:00
Sven Hesse
9f94a2fa8c Fix compilation on my 64-bit system...
svn-id: r31450
2008-04-08 09:59:41 +00:00
Eugene Sandulenko
732774fd8d Patch #1913862: "CinE Script system"
svn-id: r31444
2008-04-07 20:24:40 +00:00
Filippos Karapetis
1e58257791 Oops
svn-id: r31297
2008-03-28 17:46:18 +00:00
Filippos Karapetis
70e4503274 Fixed 2 off-by-one errors (thanks next_ghost for spotting them)
svn-id: r31296
2008-03-28 17:38:45 +00:00
Filippos Karapetis
50cf084a6b Cleanup
svn-id: r29973
2007-12-24 10:11:41 +00:00
Gregory Montoir
bb30d560b2 renamed several structures, variables and functions
svn-id: r29860
2007-12-14 19:21:19 +00:00
Filippos Karapetis
729c843091 Cleanup
svn-id: r29858
2007-12-14 13:51:41 +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
a9e1f39a16 Cleanup and simplification
svn-id: r29842
2007-12-13 10:47:14 +00:00
Filippos Karapetis
99453537f1 Cleanup
svn-id: r29830
2007-12-11 23:16:15 +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
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
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
137140b7e9 removed some resource related memory leaks
svn-id: r27007
2007-05-29 21:06:07 +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
Gregory Montoir
b5aa521a75 added basic support for sounds playback in Amiga versions (only tested with the demos)
svn-id: r26837
2007-05-13 16:11:19 +00:00
Eugene Sandulenko
e09eaa074e Fix bug #1599267: "FW: Ungraceful exit from copy protection screen"
svn-id: r24765
2006-11-23 06:43:18 +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
badb5218fa If I understand things correctly, cinE used to dump the entire animDataTable
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-10 23:22:26 +00:00
Torbjörn Andersson
54b99891cb Cleanup.
svn-id: r21683
2006-04-08 08:04:23 +00:00
Torbjörn Andersson
48c46eed6b I don't think assert(0) is a particularly helpful error message...
svn-id: r21630
2006-04-05 13:06:03 +00:00
Max Horn
8cdee5a931 Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 to ~250). Many greetings to eriktorbjorn, and have fun recompiling.
svn-id: r21500
2006-03-29 15:59:37 +00:00
Eugene Sandulenko
0b35672f78 uint8 -> byte
svn-id: r21414
2006-03-23 03:45:52 +00:00
Eugene Sandulenko
fced8df162 Got rid of ASSERT and ASSERT_PTR defines
svn-id: r21412
2006-03-23 03:17:47 +00:00
Gregory Montoir
61a5fb7064 - added defines to handle the different mouse cursors
- 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-16 20:29:07 +00:00
Eugene Sandulenko
76a4bf9e77 Eliminate flip_support.cpp file.
svn-id: r21045
2006-03-03 19:38:17 +00:00
Gregory Montoir
9c80770411 cleanup
svn-id: r20957
2006-02-27 21:25:59 +00:00
Gregory Montoir
0364eeed5c cleanup (endianess fixes, fixed partBufferStruct structure)
svn-id: r20881
2006-02-25 18:16:40 +00:00
Max Horn
275344a931 Reducing the header dependencies in cine a bit more
svn-id: r20857
2006-02-25 01:01:27 +00:00
Max Horn
5ea3b8f9cd - avoid using typedef for structs (it is just not necessary in C++)
- added a const/static here and there
- started to reduce header dependencies

svn-id: r20856
2006-02-25 00:46:56 +00:00
Max Horn
2fc23c85da Moved cine engine into namespace Cine
svn-id: r20851
2006-02-25 00:26:14 +00:00
Gregory Montoir
481094ada0 cleanup
svn-id: r20846
2006-02-24 22:34:22 +00:00
Paweł Kołodziejski
e31b271760 formating code
svn-id: r20835
2006-02-23 18:47:28 +00:00
Travis Howell
8fa8d10c3f Fix a few compile warnings.
svn-id: r20824
2006-02-23 10:35:33 +00:00
Travis Howell
3fe8c971f2 Cleanup to remove duplicate type defines
svn-id: r20821
2006-02-23 09:12:21 +00:00
Eugene Sandulenko
71c170bb13 Initial version of Cinematique engine evo 1.
svn-id: r20813
2006-02-22 22:40:53 +00:00