Johannes Schickel
daa8d57a86
ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf.
2014-05-27 02:04:07 +02:00
Johannes Schickel
c1be2aedbb
SAGA: Make GPL headers consistent in themselves.
2014-02-18 02:39:37 +01:00
Johannes Schickel
e30cb84210
SAGA: Take advantage of Sufrace::getPixels.
2013-08-03 04:02:52 +02:00
Johannes Schickel
8617edea04
SAGA: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:33 +02:00
Eugene Sandulenko
7ae3386090
SAGA: Fix CID 1002507. Unused pointer value.
2013-07-15 11:29:46 +03:00
Tarek Soliman
a4798602d7
JANITORIAL: Fix missing whitespace in pointer cast
...
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'
This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Max Horn
a008d14055
ENGINES: Do not use MemoryReadStream where (Seekable)ReadStream suffices; avoid using 'using'
...
svn-id: r54323
2010-11-18 16:38:03 +00:00
Andrew Kurushin
67cc1b8a84
SAGA: replace Resource:loadResource malloc with ByteArray class
...
svn-id: r53779
2010-10-24 22:17:44 +00:00
Andrew Kurushin
b10cd22d51
SAGA: replace Events malloc base linked list with Common::List
...
svn-id: r53751
2010-10-23 23:07:10 +00:00
Andrew Kurushin
405c523bbb
SAGA: replace decodeBGImage malloc with ByteArray
...
svn-id: r53748
2010-10-23 21:56:16 +00:00
Andrew Kurushin
9f2e7d5ff5
SAGA: fix gcc size_t warns
...
svn-id: r53722
2010-10-22 23:33:56 +00:00
Andrew Kurushin
f24394b85f
SAGA: replace Actor::_pathCell, Anim::*, Converse::text, IsoMap::*, Music::_songTable, ObjectMap::*, PalAnim::*, Scene::sceneLut, SndRes::_fxTable* malloc based arrays with Common::Array implementation
...
add ByteArray type
fix debug Tile Hittest frame drawing
debug 0x%x => 0x%X
svn-id: r53719
2010-10-22 23:13:17 +00:00
Filippos Karapetis
80acb21a56
Added automatic detection of the IHNM demo
...
svn-id: r49047
2010-05-16 10:36:21 +00:00
Torbjörn Andersson
65585f6433
Silenced some harmless cppcheck warnings about unreachable code after a return.
...
In this case, it was always a break after a return in a switch case. There are
similar cases which cppcheck didn't detect, and a couple of cases where we have
a break after a continue in a switch case (where the continue refers to an
outer loop), but I didn't touch those. Not yet, at least.
svn-id: r48218
2010-03-10 06:39:23 +00:00
Max Horn
51933629d1
Changed foo(void) to foo() in almost all non-backend source files
...
svn-id: r45616
2009-11-02 21:54:57 +00:00
Max Horn
1011508325
Slightly modified version of Patch #2838562 : Improve endian.h and stream.h
...
svn-id: r44027
2009-09-11 08:55:47 +00:00
Norbert Lange
54ef7a892b
reverting changes from patch 43696 that shouldnt have been committed
...
svn-id: r43697
2009-08-24 13:08:21 +00:00
Norbert Lange
184aae3c8c
Enable alternative palettse for Amiga Monkey Island - Patch ID: 2819787
...
use tables for palette colors instead of code with constants
svn-id: r43696
2009-08-24 12:39:03 +00:00
Filippos Karapetis
d5b6996c45
- Split the IHNM script functions into a different file
...
- Added two new defines, ENABLE_IHNM and ENABLE_SAGA2 (enabled by default), which can be used to remove the parts of the SAGA engine which are specific to IHNM and SAGA 2 games. Hopefully, this will reduce the size of the engine even more for platforms with little memory (e.g. the Nintendo DS)
svn-id: r35672
2009-01-02 16:52:38 +00:00
Filippos Karapetis
9a57f42399
logicalWidth -> width
...
logicalHeight -> height
svn-id: r35488
2008-12-22 14:36:58 +00:00
Filippos Karapetis
437384a838
- Split the SAGA resource manager in 3 different ones, depending on the resource type (RSC for ITE, RES for IHNM and HRS for DINO/FTA2). The SAGA 2 HRS resource manager is still a stub
...
- Added detection for the voice file of FTA2
svn-id: r35484
2008-12-22 14:13:15 +00:00
Filippos Karapetis
2257db88d3
- Added some stubs for the SAGA2 games dino and fta2
...
- Stopped loading the isomap and puzzle game modules for IHNM, as they are not used for that game (this saves some memory for IHNM)
- Removed getDisplayWidth() and getDisplayHeight()
svn-id: r35473
2008-12-21 22:52:44 +00:00
Filippos Karapetis
d0f4f97ea9
Cleaned up the mess with game IDs and game types: removed game types, reduced the game IDs and added game features where necessary
...
svn-id: r35467
2008-12-21 15:59:05 +00:00
Filippos Karapetis
cfa939d151
- Stop passing the scene clip rectangle around for no reason
...
- More changes for dirty rectangle handling
- Stop adding dirty rectangles that cover the whole screen for no reason
- Dirty rectangle handling is still very buggy, so it's still disabled
svn-id: r35314
2008-12-12 14:23:02 +00:00
Filippos Karapetis
f3a60a8c96
Cleanup
...
svn-id: r35259
2008-12-06 13:35:27 +00:00
Filippos Karapetis
df694b3de1
Cleanup
...
svn-id: r35114
2008-11-18 17:37:01 +00:00
Filippos Karapetis
e377ed856d
Readded missing special case for the storm animation in ITE. Fixes bug #2125675 - "ITE: Game locks up in storm clouds scene"
...
svn-id: r34639
2008-09-24 07:26:45 +00:00
Willem Jan Palenstijn
c8eeae8d4d
Big patch changing semantics of ReadStream::eos():
...
eos() now only returns true _after_ trying to read past the end of the stream.
This has a large potential for regressions. Please test!
svn-id: r34549
2008-09-14 22:28:53 +00:00
Christopher Page
dd423f803b
SAGA: Fixed memory leaks in the SAGA engine
...
svn-id: r32673
2008-06-12 16:58:02 +00:00
Filippos Karapetis
5f493ce618
Added a workaround so that the mob of prisoners in Nimdok's chapter is shown correctly after a cutaway is shown
...
svn-id: r30991
2008-02-28 00:17:51 +00:00
Filippos Karapetis
a3f2f4b039
This safeguard is no longer needed for IHNM
...
svn-id: r30956
2008-02-24 16:56:28 +00:00
Filippos Karapetis
ef9850166d
Fix for bug #1900254 - "ITE: Glitches when bridging the gorge"
...
svn-id: r30955
2008-02-24 16:12:47 +00:00
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +00:00
Paul Gilbert
6eb64102a4
Fix to remove a tab character from the GPL header
...
svn-id: r30238
2008-01-05 12:45:14 +00:00
Eugene Sandulenko
9778bec419
Fix bug when some animations were playing too fast.
...
svn-id: r28924
2007-09-16 11:37:14 +00:00
Filippos Karapetis
5fa2b1a3c5
Palette fade in when a cutaway starts in IHNM is working now. Also, the fade mode is properly set in all cases where palette fadeout is used. Some code formatting
...
svn-id: r28904
2007-09-15 12:09:56 +00:00
Filippos Karapetis
db8b8a0c5f
Fix the crash in the IHNM intro
...
svn-id: r28789
2007-09-01 16:32:00 +00:00
Eugene Sandulenko
2d729927c5
Do not decode frames beyond maxFrames to avoid any potential issues
...
svn-id: r28788
2007-09-01 15:03:44 +00:00
Filippos Karapetis
9329f9a8c6
Modified the workaround for the IHNM end credits animation
...
svn-id: r28785
2007-09-01 12:43:22 +00:00
Torbjörn Andersson
ee2b33376f
Don't go out of bounds when filling anim->frameOffsets[].
...
svn-id: r28782
2007-09-01 11:04:34 +00:00
Eugene Sandulenko
e3b6d81e82
This is a pseudo-commit. Previous commit log message for this file should read
...
as follows:
Fix recent regression crash in IHNM intro.
svn-id: r28781
2007-09-01 10:51:11 +00:00
Eugene Sandulenko
809f022be4
Proper height for Chinese characters, also remove obsolete hack for computing
...
character base.
svn-id: r28779
2007-09-01 10:48:05 +00:00
Torbjörn Andersson
c7e6db919e
Slight simplification.
...
svn-id: r28776
2007-08-31 20:18:07 +00:00
Eugene Sandulenko
dc0088f8fd
Fix end credits in IHNM. Now video length is determined properly.
...
svn-id: r28771
2007-08-31 10:59:33 +00:00
Eugene Sandulenko
091ef596d1
Fix warning
...
svn-id: r28770
2007-08-31 10:10:11 +00:00
Filippos Karapetis
f398f99b75
Some slight updates to palette fadeout/fadein before a cutaway starts (still not working, though)
...
svn-id: r28769
2007-08-31 08:20:41 +00:00
Filippos Karapetis
dd3157614f
Some cleanup for the IHNM demo
...
svn-id: r28766
2007-08-31 07:20:57 +00:00
Eugene Sandulenko
66ccbb97d1
Proper implementation of intro and credits in IHNM
...
svn-id: r28763
2007-08-30 17:55:19 +00:00