Commit Graph
86814 Commits
Author SHA1 Message Date
Lars Persson 0d9fc230bc Updated project files with new required libs.
svn-id: r21821
2006-04-12 07:56:44 +00:00
Eugene Sandulenko 7082e19ff2 Fix script dumping
svn-id: r21820
2006-04-12 03:45:54 +00:00
Eugene Sandulenko 8679083991 cleanup
svn-id: r21819
2006-04-12 03:12:56 +00:00
Johannes Schickel e02625db6a Speeds up calcGradient again a little bit.
Also this should fix a bug in getColorAlphaImpl (I'm not 100% sure if it was wrong before though)

svn-id: r21818
2006-04-12 03:01:06 +00:00
Johannes Schickel 3fab2f4898 - some little clean ups
- improves speed of the dimming effect (get's rid of divisions in favour of shifts)
- improves speed of calcGradient (nearlly twice as fast in my tests now)

svn-id: r21817
2006-04-12 02:27:56 +00:00
Eugene Sandulenko 75fec17d7e DEBUG_SCRIPT -> debugC
svn-id: r21816
2006-04-12 01:48:15 +00:00
Eugene Sandulenko 83d75e119f Add F1-F10 keymappings like in original engine.
svn-id: r21815
2006-04-11 23:31:03 +00:00
Max Horn 24b2f65f91 Re-fix the CD version of Loom
svn-id: r21814
2006-04-11 22:47:53 +00:00
Max Horn 4ec79db410 Rearranged code in ScummEngine::openRoom a bit, to separate the filename generation from other things
svn-id: r21813
2006-04-11 22:41:44 +00:00
Max Horn 2044ee1c0d Don't hardcode specific values for our language enums, as nothing should depend on them -- any code that is broken by this change was wrong to start with and must be fixed accordingly
svn-id: r21812
2006-04-11 22:31:47 +00:00
Max Horn 0c75d7d1c0 Removed the PalmOS specific hack in file.cpp in favor for code that should work everywhere (and hopefully will help the GP32 port, too).
svn-id: r21811
2006-04-11 22:29:51 +00:00
Eugene Sandulenko 9610a4daef Fix warning.
svn-id: r21810
2006-04-11 22:11:12 +00:00
Torbjörn Andersson a677541ac8 Added TODO comment about refreshAnimData[] and why it's not (yet) a field in
the AnimData struct.

svn-id: r21809
2006-04-11 21:39:09 +00:00
Torbjörn Andersson 10c62a2eed If generateDetectName() generates an empty string, that's a failure, not a
success. Otherwise ScummVM will crash once the game detector reaches the
"generic HE game variants", which makes it hard to add non-SCUMM games.

svn-id: r21808
2006-04-11 19:29:55 +00:00
Chris Apers 7aacf8e5fb Updated project file
svn-id: r21807
2006-04-11 18:26:40 +00:00
Chris Apers 37ecf6bc0a Bad hack to make the file class work agaain with PalmOS ARM version - read the comment for more details
svn-id: r21806
2006-04-11 18:25:04 +00:00
Chris Apers f61d74532b Fixed crash with PalmOS ARM version : global objects are allocated but constructors are not called - anyway this var is useless with PalmOS version
svn-id: r21805
2006-04-11 18:19:54 +00:00
Chris Apers a8e772fa54 Fixed line ending
svn-id: r21804
2006-04-11 18:16:53 +00:00
Chris Apers 89ed8e8891 Not needed
svn-id: r21803
2006-04-11 18:16:12 +00:00
Chris Apers f0d03fb52f PalmOS too
svn-id: r21802
2006-04-11 18:14:26 +00:00
Chris Apers 4f28027c55 Fixed FS support based on lastest changes to the base fs class
svn-id: r21801
2006-04-11 18:13:04 +00:00
Chris Apers f6ae33b3d7 There is no ::create function anymore in backends
svn-id: r21800
2006-04-11 18:11:03 +00:00
Chris Apers d32320da0f Added now required palm_main(...) function
svn-id: r21799
2006-04-11 18:08:51 +00:00
Chris Apers cbe570756b Missing endian.h
svn-id: r21798
2006-04-11 18:06:22 +00:00
Chris Apers 0fd8c1da1e Added missing 'auto' music driver
svn-id: r21797
2006-04-11 18:04:09 +00:00
Johannes Schickel ea6c62ba3d Draws the same border for 'kWidgetBackgroundPlain' as for 'kWidgetBackgroundBorderSmall'.
This fixes missing border in the pop up widget.

svn-id: r21796
2006-04-11 16:32:03 +00:00
Johannes Schickel 521697be01 Fixes disappearing borders with classic theme.
svn-id: r21795
2006-04-11 16:28:00 +00:00
Johannes Schickel 4b8b7e2aed Checks if something is drawn out of the screen in drawSurfaceMasked (fixes crashes with --force-1x-overlay)
svn-id: r21794
2006-04-11 16:05:59 +00:00
Johannes Schickel 3ac923ba58 Fixes cutted texts with --force-1x-overlay.
svn-id: r21793
2006-04-11 15:45:21 +00:00
Johannes Schickel a7a5f40cfc - cleans up drawSurfaceMasked a little bit
- get rid of getColorAlpha in drawSurfaceMasked if no alpha blending is used

svn-id: r21792
2006-04-11 15:34:07 +00:00
Johannes Schickel c3733105cc Changed drawScrollbar to use drawShadow.
svn-id: r21791
2006-04-11 14:51:38 +00:00
Johannes Schickel 12374accc3 Makes classic theme compile without OLDGUI_TRANSPARENCY again.
svn-id: r21790
2006-04-11 14:16:15 +00:00
Max Horn a42dd86e85 Some more MD5 entries / confirmations by Peter Eckerlein
svn-id: r21788
2006-04-11 12:59:44 +00:00
Torbjörn Andersson d846f9a5e1 Added delays to the main and menu event loops to keep Lure from gobbling up all
available CPU time.

svn-id: r21787
2006-04-11 11:55:27 +00:00
Torbjörn Andersson cba4871140 Changed max() to MAX(). This fixes compilation for me.
svn-id: r21786
2006-04-11 11:34:06 +00:00
Paul Gilbert e3254a8879 Added disassembly of room exit handling, as well as a few cleanups to the path finding code
svn-id: r21785
2006-04-11 10:53:24 +00:00
Paul Gilbert b8c80af183 Added proper path finding code for rooms, as well as miscellaneous support methods
svn-id: r21784
2006-04-11 10:52:11 +00:00
Paul Gilbert 4b91326131 Added a destRoomNumber variable to store which room a highlighted exit goes to, as well as some temporary code used to display pathfinding information onscreen when Toggle Info is turned on
svn-id: r21783
2006-04-11 10:50:18 +00:00
Paul Gilbert 169c8d78d1 Implemented better handling of changing rooms via room exits
svn-id: r21782
2006-04-11 10:48:28 +00:00
Paul Gilbert 7b32b7ef9c Added new resources for pathfinding and new resources
svn-id: r21781
2006-04-11 10:46:36 +00:00
Paul Gilbert 9b87224036 Resource loader enhanced to load hotspot proximity data and room walkable areas
svn-id: r21780
2006-04-11 10:45:22 +00:00
Paul Gilbert f6b2cf2c6d Updated resource structures to add support for hotspot y corrections, proximity data, room walkable areas, and the room exit coordinate list
svn-id: r21779
2006-04-11 10:43:53 +00:00
Paul Gilbert 70654bc2a9 Added a script method for setting a blocking hotspot script
svn-id: r21778
2006-04-11 10:42:32 +00:00
Travis Howell 95993df800 Ooops, re-enable code in allocBlock()
svn-id: r21776
2006-04-11 00:42:19 +00:00
Travis Howell c17e46b1f1 Update waitForSync() for FF and minor cleanup
svn-id: r21775
2006-04-11 00:37:54 +00:00
Torbjörn Andersson 62a163bc43 Might as well clear ptr1 and ptr2 in animDataTable[] when loading a savegame.
The previous commit should ensure that the elements that need to be loaded are.

svn-id: r21774
2006-04-10 23:48:22 +00:00
Travis Howell 8ae793c81e Cleanup
svn-id: r21773
2006-04-10 23:44:17 +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
Max Horn 935989d8cd More commented out stuff: added generateFilenameForDetection method, for use by the detector; and applied various fixes to generateFilename (which is still completely untested, so it certainly contains more 'bugs' :)
svn-id: r21771
2006-04-10 22:45:05 +00:00
Max Horn 0ed3018f2b Some more tweaks to the (still unused) gameFilenamesTable; also readded an enhanced version of the (also unused) generateFilename function
svn-id: r21770
2006-04-10 22:25:42 +00:00