Commit Graph
86814 Commits
Author SHA1 Message Date
Paul Gilbert 4fc8fe8023 Added an experimental screen transition dirty rect calculation code which should make background changes faster on slower devices or when scalers are active
svn-id: r44032
2009-09-11 11:36:16 +00:00
Paul Gilbert bb94053960 Bugfix for the boundaries of changing objects used for dirty rect calculations
svn-id: r44031
2009-09-11 11:02:15 +00:00
Travis Howell 8d2482813a Remove excess spaces.
svn-id: r44030
2009-09-11 10:22:32 +00:00
Travis Howell 122ff32d75 Remove excess spaces.
svn-id: r44029
2009-09-11 10:13:54 +00:00
Travis Howell eb0b61976d Fix compile of M4 game engine.
svn-id: r44028
2009-09-11 09:31: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
Max Horn 7cf23a2c4d M4: Seems that s1_cos and s1_sin are either misnamed, or buggy ?
svn-id: r44026
2009-09-11 08:43:32 +00:00
Max Horn c6d2441db3 Don't abuse FORCEINLINE
svn-id: r44025
2009-09-11 08:39:09 +00:00
Paul Gilbert 6fa68445c4 Removed incorrect German Neon Edition MD5
svn-id: r44023
2009-09-10 11:38:04 +00:00
Sven Hesse ae3cc2ca5f Really fixing searchHotspot, syntax-wise at least. (Note: Hotspots::Hotspot::left is unsigned, so a comparison with -1 will always yield false. And for left == 0xFFFF a method already exists, Hotspots::Hotspot::isEnd())
svn-id: r44022
2009-09-09 23:10:53 +00:00
Florian Kagerer 3259a6f0b5 LOL/Floppy: - fix spell book animation
svn-id: r44021
2009-09-09 22:12:21 +00:00
Arnaud Boutonné 686739fc5b Playtoons - Fix searchHotspot and suppress a forgotten debug warning
svn-id: r44020
2009-09-09 21:47:26 +00:00
Vladimir Menshakov 153eba4fcf moved away actor animation from the "lan" animations. added better handling for the asynchronous events.
svn-id: r44019
2009-09-09 20:42:44 +00:00
Arnaud Boutonné 6f6d4df529 Playtoons - Add oPlaytoons_printText
svn-id: r44018
2009-09-09 20:10:16 +00:00
Filippos Karapetis 5cd538a1b3 Removed/replaced the gfx_pixmap_color struct
svn-id: r44017
2009-09-09 08:19:16 +00:00
Max Horn f73c556146 Fix what looks like a typo bug in the AVI player
svn-id: r44016
2009-09-08 22:03:28 +00:00
Max Horn 37e51f1575 Fixed some (pedantic) warnings
svn-id: r44015
2009-09-08 22:03:07 +00:00
Fabio Battaglia f1683ae5fe tinsel: correct mac cd checksums, made on files extracted as raw data
svn-id: r44014
2009-09-08 20:08:29 +00:00
Vladimir Menshakov a466f1dcfd added actor-walkbox position correction
svn-id: r44013
2009-09-08 19:24:20 +00:00
Vladimir Menshakov 908e6b857d removed ann's house music hack from scene.
svn-id: r44012
2009-09-08 14:26:14 +00:00
Fabio Battaglia cbdb0dcdfa Tinsel: added (disabled) Discworld 1 MAC detection entry
svn-id: r44011
2009-09-08 12:14:17 +00:00
Scott Thomas 52cf649a65 T7G: Fix bug #2853185 where card puzzle doesn't clean up, resulting in a blank menu in special instances
svn-id: r44009
2009-09-08 06:23:50 +00:00
Vladimir Menshakov 12e1b5ec0d removed junk, added warning about unimplemented callback
svn-id: r44008
2009-09-07 22:53:42 +00:00
Vladimir Menshakov 89b6c87f50 made game completable
svn-id: r44007
2009-09-07 22:52:51 +00:00
Vladimir Menshakov 278171126f added quit event
svn-id: r44006
2009-09-07 22:47:50 +00:00
Vladimir Menshakov 776d5183fd play animation only when hovered
svn-id: r44005
2009-09-07 20:38:02 +00:00
Vladimir Menshakov 3a1c347da6 fixed invalid text length calculation
svn-id: r44004
2009-09-07 20:12:17 +00:00
Filippos Karapetis 8fa0b431ee Merged xfact and yfact into scaleFactor - it doesn't really make sense to multiply one dimension with an integer multiplier which is different to the multiplier of the other dimension, otherwise we'll end up with funny looking and squashed resolutions like 640x200 or 320x400. Also, removed the now-unused pixelFormat member variable of the graphics driver struct
svn-id: r44003
2009-09-07 16:18:05 +00:00
Paul Gilbert bebc76b4d8 Added second German Neon Edition detection entry
svn-id: r44001
2009-09-07 11:07:19 +00:00
Filippos Karapetis e3a733f2e2 Fixed a regression from commit #43999 (segment ID 1 is valid)
svn-id: r44000
2009-09-07 08:27:49 +00:00
Max Horn 44b60d2750 SCI: Replace GET_SEGMENT_ANY and GET_OBJECT_SEGMENT macros by new segman methods
svn-id: r43999
2009-09-07 06:07:18 +00:00
Filippos Karapetis 9d13de7f88 Removed some unused variables
svn-id: r43998
2009-09-06 23:04:06 +00:00
Florian Kagerer 7e3616f3a5 LOL/Floppy: implemented missing opcode
svn-id: r43997
2009-09-06 23:02:52 +00:00
Filippos Karapetis 8e36d06c4c Cleanup
svn-id: r43996
2009-09-06 23:01:33 +00:00
Filippos Karapetis 10dd604d0a Fixed compilation on BE systems
svn-id: r43995
2009-09-06 23:00:49 +00:00
Filippos Karapetis 876a7b657f Removed the hi-color code (16bpp & 24bpp). All SCI games use up to 256 colors, so hi-color isn't really used anywhere, and it only makes the overall code more complex for no reason
svn-id: r43994
2009-09-06 22:27:29 +00:00
Filippos Karapetis f98dc19f71 Removed some leftover debug code, and turned p0printf messages into debug messages, introducing a new debug level
svn-id: r43993
2009-09-06 21:56:49 +00:00
Florian Kagerer c5b2840f98 LOL: add message to load/delete menus when no save files are present
svn-id: r43992
2009-09-06 18:39:03 +00:00
Florian Kagerer 25429b6605 LOL: fixed bug in delete menu code
svn-id: r43991
2009-09-06 17:04:58 +00:00
Bertrand Augereau 9da3c5c716 COMMON: (Inactive) code to debug memory leaks in memory pools + typo fix
svn-id: r43990
2009-09-06 13:26:14 +00:00
Max Horn eb8cf07db2 SCI: Rename SegManager::exports_wide to _exportsAreWide and changed it to a bool, and rename setExportWidth() to setExportAreWide()
svn-id: r43988
2009-09-06 13:01:26 +00:00
Max Horn fdaa3d423c SCI: Script::obj_indices is now protected
Add new methods init, allocateObject and getObject to class Script, and use them instead of directly accessing Script::obj_indices. Replace RAW_GET_CLASS_INDEX with Script::getObject()

svn-id: r43987
2009-09-06 13:01:00 +00:00
Max Horn a550e2ea10 SCI: Replace "IntMapper *id_seg_map" in SegManager with a Common::HashMap<int,int>
This simplifies the code considerably. Also changed the savegame format
accordingly, which required me to bump the format version to 10. Old
saves should still load fine.

svn-id: r43986
2009-09-06 13:00:30 +00:00
Max Horn 1d075291da SCI: Convert saveload code to use the versioning feature of Common::Serializer
svn-id: r43985
2009-09-06 12:59:56 +00:00
Max Horn 029e3a5703 SCI: cleanup
svn-id: r43984
2009-09-06 12:59:34 +00:00
Max Horn ae16d496b9 COMMON: HashMap::getVal now allows specifying a default value.
A new variant of HashMap::getVal with a second 'default value' parameter
has been added. This helps avoid many contains() + getVal() combos
(which incur double lookup penalty), and is much lighter than using
find() (which has to create an iterator).

svn-id: r43983
2009-09-06 12:59:07 +00:00
Max Horn b51e9988e6 SCI: cleanup
svn-id: r43982
2009-09-06 12:58:43 +00:00
Max Horn fdbb167ea3 SCI: Cleanup for some SegManager internals
- rename segGet and getSegment to getScriptSegment; the two can be
  distinguished by the parameter count.
- rename type SCRIPT_GET to ScriptLoadType to conform with our code
  formatting conventions
- rename get_class_address to getClassAddress
- some cleanup

svn-id: r43981
2009-09-06 12:58:16 +00:00
Max Horn d04b5d2c9b SCI: Rename resManager -> resMan; segManager -> segMan
svn-id: r43980
2009-09-06 12:57:42 +00:00
Max Horn c0ff500b0a SCI: Rename player -> s_player and made it static; allocate MemoryReadStream in two cases on the stack, for simplicity
svn-id: r43979
2009-09-06 12:56:50 +00:00