22904 Commits

Author SHA1 Message Date
Filippos Karapetis
00298204e7 Replaced room indexes with their corresponding enums
svn-id: r29018
2007-09-22 10:36:20 +00:00
Torbjörn Andersson
665a34861b Fixed compilation.
svn-id: r29017
2007-09-22 10:19:07 +00:00
Filippos Karapetis
366b65486f Code simplification. Removed IDI_MSA_MAX_STR and fRmTxt - oRmTxt is used instead, as the two arrays contained non-null values for the same rooms. Also, room object indices are no longer read from the original executable
svn-id: r29016
2007-09-22 10:10:01 +00:00
Max Horn
dc43ca779f Added skycpt and qtable to the regular build system
svn-id: r29015
2007-09-22 09:53:13 +00:00
Max Horn
893c42c3d8 Added legal headers, fixed various warnings
svn-id: r29014
2007-09-22 09:51:33 +00:00
Torbjörn Andersson
924a9074fb Set svn:keywords
svn-id: r29013
2007-09-22 07:49:51 +00:00
Max Horn
79e323d6dd Added create_kyradat to our regular build system, too; fixed some warnings (and added a FIXME about ambiguious code)
svn-id: r29012
2007-09-22 07:32:28 +00:00
Filippos Karapetis
47b8dbbf52 Fix regression caused by the latest cleanups
svn-id: r29011
2007-09-21 20:19:12 +00:00
Filippos Karapetis
e35221f4ca Oops
svn-id: r29010
2007-09-21 20:08:42 +00:00
Filippos Karapetis
8663e5a39f Cleanup
svn-id: r29009
2007-09-21 20:06:57 +00:00
Filippos Karapetis
2310d1f62a Simplified Mickey::randomize()
svn-id: r29008
2007-09-21 19:35:26 +00:00
Filippos Karapetis
dc4c06e954 Several bug fixes for Mickey's Space Adventure:
- Fixed a logic bug, where it was possible that the planets were not initialized properly when flipping XL30's switch without holding any crystal. Note that this breaks older Mickey saved games
- Fixed a bug with the initialization of the planet data, where the random number assigned to each planet could go out of logical bounds
- Save games are saved with the correct extension now (e.g. mickey.s01 instead of mickey.s 1)
- Some save game messages which were not shown are shown now
- Disabled two problematic objects (the scale in Mickey's house and the rock in Jupiter) so they are not shown for now, as our current picture showing algorithm crashes when trying to display them

svn-id: r29007
2007-09-21 19:12:53 +00:00
Sven Hesse
fd1dbd8668 Small font-related correction
svn-id: r29006
2007-09-21 18:50:53 +00:00
Filippos Karapetis
7212d00454 Removed an unnecessary picture update when drawing crystal objects in Mickey
svn-id: r29004
2007-09-21 08:55:26 +00:00
Filippos Karapetis
381fba98c5 The animation of the crystals in Mickey is shown correctly now
svn-id: r29003
2007-09-21 08:41:27 +00:00
Filippos Karapetis
d042f82a8a Minimize changes to the mouse cursor's palette
svn-id: r29002
2007-09-21 07:54:43 +00:00
Travis Howell
6b639c6b21 Rename file removal functions, to avoid conflicts. Add save game path, when removing files via SaveFileManager.
svn-id: r29001
2007-09-21 05:27:33 +00:00
Sven Hesse
bcbf127b39 Silenced signed<->unsigned comparison warning
svn-id: r29000
2007-09-21 01:35:07 +00:00
Travis Howell
22c009ee45 Fix regression, when loading levels in mustard.
svn-id: r28997
2007-09-21 01:20:22 +00:00
Matthew Hoops
4436433cf6 allow for using up/down in menus
svn-id: r28996
2007-09-20 22:44:48 +00:00
Matthew Hoops
3d4f10a302 cleanup with updating the screen; mostly moved to gameLoop
svn-id: r28995
2007-09-20 22:15:09 +00:00
Matthew Hoops
b07d3419d7 add stub for playSound in Winnie
svn-id: r28994
2007-09-20 22:05:37 +00:00
Matthew Hoops
9ae47673e0 cleanup to readObj and readRoom
svn-id: r28993
2007-09-20 21:55:37 +00:00
Eugene Sandulenko
341b8f1e67 Last pieces of Troll's Tale. Only missing thing is sound
svn-id: r28992
2007-09-20 21:55:15 +00:00
Matthew Hoops
78cd63c491 adding myself to the credits for AGI
svn-id: r28989
2007-09-20 21:21:32 +00:00
Matthew Hoops
f3175861ba implement o72_debugInput (with some help from Kirben)
svn-id: r28988
2007-09-20 20:50:38 +00:00
Eugene Sandulenko
14b89bcf46 Implement inventory in Troll's Tale
svn-id: r28987
2007-09-20 18:18:10 +00:00
Marcus Comstedt
6bf0df51a1 Don't use clock(). Don't busy-wait.
svn-id: r28985
2007-09-20 12:47:04 +00:00
Max Horn
c2de322929 Hook up create_lure tool to the regular build system
svn-id: r28983
2007-09-20 09:30:47 +00:00
Max Horn
9593ff3e48 FIxed some warnings, cleanup
svn-id: r28982
2007-09-20 09:28:52 +00:00
Max Horn
3cbf4ad98f Remove superfluous trailing dot (and that error message really is a lie, the docs don't mention lure.dat :)
svn-id: r28981
2007-09-20 08:50:46 +00:00
Max Horn
aa034c4e4d This workaround is no longer needed
svn-id: r28980
2007-09-20 08:47:13 +00:00
Torbjörn Andersson
828158a82a I'm probably being overly paranoid, but I'm nervous about initializing an array
of boolean with memset(). Maybe it's perfectly fine and healthy, but using a
loop is consistent with how we do it in killSounds() anyway.

svn-id: r28979
2007-09-20 04:13:37 +00:00
Torbjörn Andersson
4c4d4e7b15 Fixed out-of-bounds writing in killSounds().
svn-id: r28978
2007-09-20 04:09:55 +00:00
Filippos Karapetis
0fc3ee26f9 Some updates to Mickey's BCG logo drawing function
svn-id: r28977
2007-09-20 01:38:07 +00:00
Eugene Sandulenko
8c4bc03446 Enable Lure engine by default.
svn-id: r28976
2007-09-19 22:55:55 +00:00
Matthew Hoops
f5511b3102 some cleanup using malloc and with readObj
svn-id: r28975
2007-09-19 22:29:14 +00:00
Matthew Hoops
fb97e09e93 show the cursor in Troll after the first intro screen
svn-id: r28974
2007-09-19 21:24:27 +00:00
Nicola Mettifogo
f04ba3ac7c Added copyright notice to existing files.
svn-id: r28973
2007-09-19 20:01:42 +00:00
Marcus Comstedt
01ae76adea KEYCODE_ENTER should be KEYCODE_RETURN, actually...
svn-id: r28972
2007-09-19 19:43:03 +00:00
Marcus Comstedt
2ef85c9bf6 displayName() -> getDisplayName()
path() -> getPath()
listDir() -> getChildren()

svn-id: r28971
2007-09-19 19:42:10 +00:00
Marcus Comstedt
14efdd1873 Fixed fallout from keycode being made an enum.
svn-id: r28970
2007-09-19 19:28:05 +00:00
Marcus Comstedt
7668ac231f Include <graphics/surface.h> for Graphics::Surface.
svn-id: r28969
2007-09-19 19:26:12 +00:00
Eugene Sandulenko
77eea722af Modified patch #1738058: "Action recorder".
svn-id: r28968
2007-09-19 13:55:05 +00:00
Eugene Sandulenko
2254028365 Merge several choice-related functions
svn-id: r28967
2007-09-19 09:54:42 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Filippos Karapetis
a89694c0d6 Moved some keyboard code from Winnie together with the other keyboard functions
svn-id: r28965
2007-09-19 08:27:32 +00:00
Filippos Karapetis
85b1bc594d Don't free the picture buffer inside decodePicture(). The buffer should (and is) freed from the functions that decodePicture() is being called from
svn-id: r28964
2007-09-19 08:21:42 +00:00
Joost Peters
59f36957e8 rename psp_fs.cpp to psp-fs.cpp (as per the naming convention)
svn-id: r28963
2007-09-19 08:16:37 +00:00
Joost Peters
55d7f0b132 _displayName now contains the last path component, not the full path
svn-id: r28962
2007-09-19 08:14:20 +00:00