33256 Commits

Author SHA1 Message Date
Florian Kagerer
99df32af02 LOL: fix inventory drawing in floppy version
svn-id: r43960
2009-09-05 14:15:36 +00:00
Oystein Eftevaag
a936256f1d Updated xcode project
svn-id: r43959
2009-09-05 13:36:43 +00:00
Vladimir Menshakov
6cce301d1c removed debug rendering of bounding boxes
svn-id: r43957
2009-09-05 08:45:32 +00:00
Vladimir Menshakov
efc3b40633 cleaned up mess in initialization, added original mouse cursor
svn-id: r43956
2009-09-05 08:38:43 +00:00
Vladimir Menshakov
19cb09f900 added teenagent.dat to dist files
svn-id: r43955
2009-09-05 08:24:36 +00:00
Vladimir Menshakov
622c4684fe removed magic exe offsets, added teenagent.dat support.
svn-id: r43954
2009-09-05 08:16:35 +00:00
Vladimir Menshakov
6af8ed6bf9 added teenagent.dat
svn-id: r43953
2009-09-05 08:15:09 +00:00
Vladimir Menshakov
6187efe623 added create_teenagent tool
svn-id: r43952
2009-09-05 07:42:49 +00:00
Arnaud Boutonné
824ca7258c Playtoons - Add workaround in order to ignore hardcoded paths in oPlaytoons_checkData. Useful for playtoons sticks found on deutsch Addy4
svn-id: r43951
2009-09-04 21:43:06 +00:00
Sven Hesse
d46ca7a5e3 Some more int16->uint16 changes, to accommodate for Playtoons larger variable space
svn-id: r43950
2009-09-04 21:38:28 +00:00
Arnaud Boutonné
033bedd906 Gob/Adi2 - In playtoons and later, there are 50 more sprite pointers
svn-id: r43949
2009-09-04 21:22:09 +00:00
Arnaud Boutonné
88bde05828 Add oPlaytoons_getObjAnimSize. It's uncomplete, but it allows to use some functionalities of the construction mode
svn-id: r43948
2009-09-04 20:50:16 +00:00
Max Horn
340c948133 TEEN: Made some stuff const
svn-id: r43947
2009-09-04 20:10:32 +00:00
Max Horn
4ae8f43be3 TEEN: Some whitespace fixes
svn-id: r43946
2009-09-04 20:09:29 +00:00
Max Horn
088c5dada3 TEEN:
* don't use "using namespace", instead put stuff into its correct namespace
* when using #include, always prefix engine header files with the engine name
* some cleanup

svn-id: r43945
2009-09-04 20:08:33 +00:00
Max Horn
4290984108 TEEN: Fix header file guards to match our conventions
svn-id: r43944
2009-09-04 20:06:19 +00:00
Filippos Karapetis
bd5ba266b4 Oops
svn-id: r43943
2009-09-04 15:47:09 +00:00
Filippos Karapetis
d398c17f79 - Allow SCI games to set the cursor position when it's hidden once again
- Changed the message shown when the game tries to move the cursor off the screen bounds from a warning to a debug message, to avoid spam in games that do this behavior, e.g. the Camelot demo

svn-id: r43942
2009-09-04 15:40:15 +00:00
Filippos Karapetis
32af5eb3be - Removed the gfx error defines. When resources are not found, or are corrupted, we should error out instead of piggy-banking an error flag to another function
- Do not try and set the position of the mouse cursor when it's hidden

svn-id: r43941
2009-09-04 15:04:13 +00:00
Walter van Niftrik
dd0ebb7116 SCI: Reset signal before playing song.
svn-id: r43940
2009-09-04 14:57:27 +00:00
Filippos Karapetis
c3a13a6ae6 Removed the "reverse alpha" flag from the graphics driver code. Alpha values are now always 0 for transparent, up to 255 for opaque
svn-id: r43939
2009-09-04 10:15:12 +00:00
Filippos Karapetis
9381362277 Removed the bilinear and trilinear FreeSCI scalers, and only left the unfiltered scaler in (to be replaced by ScummVM's scaler code). We really don't need bilinear and trilinear filtered scaling in the engine, as ScummVM's filters already perform bilinear and trilinear filtered scaling, if requested
svn-id: r43938
2009-09-04 09:44:06 +00:00
Sven Hesse
4b4b36cfb1 Fixing signed/unsigned comparison warning
svn-id: r43937
2009-09-04 08:37:53 +00:00
Filippos Karapetis
f5d846d482 Removed the animation_granularity variable from the engine state (it never changes, and it's used in one place only)
svn-id: r43936
2009-09-04 07:21:51 +00:00
Filippos Karapetis
142922387c Moved some functions inside the SegManager class, and renamed alloc_clone() to allocateClone()
svn-id: r43935
2009-09-04 07:17:34 +00:00
Filippos Karapetis
ec9c5640bd Silenced an MSVC warning about an unexpected parameter, and added a FIXME
svn-id: r43934
2009-09-04 07:09:48 +00:00
Willem Jan Palenstijn
19ff151442 Change TeenAgent::GameDescription forward declaration to match definition
svn-id: r43933
2009-09-04 05:18:12 +00:00
Scott Thomas
721cd148e8 Add Groovie2 to MSVC files (and alphabetize Groovie in list)
svn-id: r43932
2009-09-04 00:15:05 +00:00
Matthew Hoops
8387508d12 Silence gcc warnings.
svn-id: r43931
2009-09-03 23:06:11 +00:00
Vladimir Menshakov
7923fdbe3f fixed invalid hash sum
svn-id: r43930
2009-09-03 22:45:55 +00:00
Vladimir Menshakov
39e3c2c096 added detection structures with exe offsets.
svn-id: r43929
2009-09-03 22:42:12 +00:00
Vladimir Menshakov
d4923071c1 implemented switch in cellar callback
svn-id: r43928
2009-09-03 22:41:15 +00:00
Filippos Karapetis
a59f5231fe Added the teenagent engine to the MSVC project files, and enabled it by default for MSVC
svn-id: r43927
2009-09-03 22:03:37 +00:00
Vladimir Menshakov
4bc931dae6 removed tab as suggested
svn-id: r43926
2009-09-03 21:31:51 +00:00
Vladimir Menshakov
3c8cdcae2f fixed engines order, added svn:keywords properties.
svn-id: r43925
2009-09-03 21:20:13 +00:00
Willem Jan Palenstijn
e50631bee3 Fix warning (missing endline)
svn-id: r43924
2009-09-03 21:11:56 +00:00
Florian Kagerer
1dfb5c2b30 LOL: some more work on the floppy version (drawing code is still broken)
svn-id: r43923
2009-09-03 21:03:10 +00:00
Vladimir Menshakov
ebe1b94eb1 imported teenagent engine sources.
svn-id: r43922
2009-09-03 20:59:17 +00:00
Kari Salminen
9b2104db32 Workaround for bug #2848940 (ScummVM crashes with Future wars): getZoneFromPositionRaw accessed data outside its 320x200 buffer because Y values in range 200-232 were given to it. Original doesn't properly handle this either so trying this workaround of returning zero for positions outside the 320x200 buffer. Hopefully nothing else breaks in Future Wars because of this (More testing is direly needed!).
svn-id: r43920
2009-09-03 20:56:44 +00:00
Andre Heider
9aa7546a34 Removed AA modes in favor of bilinear texture filtering, which gives much better results. Renamed a few types and enums to make it clear what they're for.
svn-id: r43919
2009-09-03 17:52:38 +00:00
Matthew Hoops
05035fd8c3 Fix a new/free mismatch when creating a MemoryReadStream from a MemoryWriteStreamDynamic by changing MemoryWriteStreamDynamic to use malloc/free instead of new/delete[]. This could have affected ScummEngine_v4::prepareSavegame().
svn-id: r43918
2009-09-03 16:15:10 +00:00
Andre Heider
3d94d1fba9 Disabled unused scalers for Wii and Gamecube
svn-id: r43917
2009-09-03 14:27:23 +00:00
Walter van Niftrik
ac078040e1 SCI: Relocate export table when restoring SCI1.1 savegames
svn-id: r43916
2009-09-03 11:51:18 +00:00
Filippos Karapetis
557aaab0e6 - Re-added the SCI0 dithering code. Dithering is disabled by default. Added the 3 dithering modes as an enum (and reorganized them a bit)
- Added 3 config options for dithering in the ini file - mainly for purists (config option "dither_mode"): 0 - disabled, 1 - 16 color dithering (Sierra style) and 2 - 256 color dithering
- Dithering is now always applied depending on the screen scale (removed the relevant parameter)
- Removed the background picture buffering option, used to speed-up room changes. Room changing is quite fast (instantaneous), and the extra memory allocated is not worth the possible speed increase in small devices. Plus.... there is no reliable value to set this option to, so there is no point in letting the user decide what value to put there using guesswork

svn-id: r43915
2009-09-03 07:01:48 +00:00
Florian Kagerer
3dca56bdd5 LOL: - fix speech/text settings
- start fixing floppy version

svn-id: r43914
2009-09-02 23:42:07 +00:00
Filippos Karapetis
9829378a98 Fixed loading again (broken accidentally in rev. 43504
svn-id: r43913
2009-09-02 23:11:50 +00:00
Max Horn
58f06b394f SAGA: Change Actor::fillPathArray to use a dynamic queue instead of an only-growing array -> should reduce memory usage significantly
svn-id: r43912
2009-09-02 19:33:08 +00:00
Andre Heider
83dd239769 Cleanup, rephrase
svn-id: r43911
2009-09-02 16:08:39 +00:00
Andre Heider
57e28df8cd Fixed thumbnail gfx glitches on savegames
svn-id: r43910
2009-09-02 16:08:01 +00:00
Filippos Karapetis
2f99fea9a3 Removed the dirty rectangle option of updating one huge rectangle, and only left the algorithm of updating the screen with multiple small rectangles, like we do in all the other engines that support dirty rectangle screen updates
svn-id: r43909
2009-09-02 13:21:38 +00:00