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
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
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
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
Max Horn
cd7a32eed0
SCI: Change script_lookup_export to use SegManager::validateExportFunc
...
svn-id: r43978
2009-09-06 12:56:28 +00:00
Bertrand Augereau
eda081173b
Constness fix
...
svn-id: r43975
2009-09-06 11:37:15 +00:00
Bertrand Augereau
d454c9b379
Minor constness fixes
...
svn-id: r43974
2009-09-06 10:51:20 +00:00
Vladimir Menshakov
0d4cbea620
start sound positioning with 1 as in original engine.
...
svn-id: r43973
2009-09-06 09:43:06 +00:00
Vladimir Menshakov
05201a2e9c
implemented mansion drawers-book puzzle and fake chili.
...
svn-id: r43972
2009-09-06 09:40:14 +00:00
Florian Kagerer
0c6aa2ef0d
LOL: fixed warning
...
svn-id: r43971
2009-09-06 01:30:45 +00:00
Florian Kagerer
79228dbd45
LOL/Floppy: fix menus
...
svn-id: r43970
2009-09-06 01:24:54 +00:00
Vladimir Menshakov
6f98b044d4
more callbacks from the third episode
...
svn-id: r43969
2009-09-05 23:01:03 +00:00