Commit Graph
86814 Commits
Author SHA1 Message Date
Paul Gilbert 35143eae09 TONY: Converted SendTonyMessage msg field from a pointer back to an object instance 2012-05-13 19:06:08 +10:00
Paul Gilbert 8466314735 TONY: Disabled target buffer mutex which isn't needed anymore 2012-05-13 19:02:47 +10:00
Paul Gilbert 8b214ce992 COMMON: Converted Coro context structure definitions to instead use classes.
This fixes a problem with member variables declared in a method's context definition that are object instances were not having their destructors called.
2012-05-13 18:51:41 +10:00
Paul Gilbert 8511b9b0cd COMMON: Fix compilation of coroutines code when COROUTINE_DEBUG is defined 2012-05-13 18:19:40 +10:00
Paul Gilbert 089d7048b6 TONY: Bugfix for crash when removing item from inventory 2012-05-13 15:50:15 +10:00
Matthew Hoops 0aacf4c4c0 VIDEO: Make seekToTime() take a const Timestamp reference 2012-05-12 22:05:32 -04:00
Matthew Hoops 9e330174c8 VIDEO: Change getElapsedTime() into getTime()
This name change accompanies a slight meaning change; now it means the current time position from the beginning of the video and not from starting the video.
2012-05-12 21:28:13 -04:00
Matthew Hoops 0f6059580e VIDEO: Update seekToTime() comments to require subframe accuracy now 2012-05-12 21:16:03 -04:00
Paul Gilbert 81e5a19d58 TONY: Fix memory leak in displaying hotspot texts 2012-05-13 10:42:03 +10:00
Matthew Hoops b2506abccf PEGASUS: Fix some warnings found with optimizations on 2012-05-12 20:27:48 -04:00
Matthew Hoops 175befc3f1 PEGASUS: Fix compilation with optimizations enabled 2012-05-12 20:23:07 -04:00
Paul Gilbert 7978eb007c TONY: Fixed initialisation of missed RMCharacter fields 2012-05-13 10:11:01 +10:00
Paul Gilbert 60deca7f54 TONY: Fix some more uninitialised field values 2012-05-13 09:58:07 +10:00
Paul Gilbert c35b539716 TONY: Some further initialisation of object fields 2012-05-13 09:43:11 +10:00
Torbjörn Andersson 0a835de468 TONY: Fix compiler warning 2012-05-12 19:40:33 +02:00
Paul Gilbert 28c58a7f56 TONY: Fix unsigned comparison warning 2012-05-13 00:58:59 +10:00
Paul Gilbert 63e3b47857 TONY: Fix compiler warnings 2012-05-13 00:53:09 +10:00
Paul Gilbert ef4846c121 TINSEL: Fix compiler warning 2012-05-13 00:47:28 +10:00
Paul Gilbert 8a88ad861d TONY: Converted object passing to use const reference where appropriate.
This should cut down on the number of redunndant creations of temporary objects.
2012-05-13 00:43:02 +10:00
Paul Gilbert 09afc8a1fa TONY: Added FIXME for unsafe pointer conversion 2012-05-13 00:25:32 +10:00
Paul Gilbert d615f00540 TONY: Workaround for correctly hiding items when they are disabled.
I've traced through the code, and the order seems to specifically put the object into the 'destroy me' state by calling another process/thread, but then immediately replaces the values when it returns to the calling method. This workaround at least detects when an item is supposed to be destroyed, and ensures it remains in the 'destroy me' state.
2012-05-13 00:24:53 +10:00
Paul Gilbert 045f93f0fe COMMON: Improved waiting processes to store what PIDs they're waiting for
This is then used in PulseEvent to only execute processes that are specifically waiting on the given PID, rather than all waiting events.
2012-05-13 00:19:04 +10:00
Paul Gilbert 073e46503c TONY: Properly implement game saving and loading.
Saving isn't enabled in the demo, so for testing purposes I'm currently dissbling the ADGF_DEMO flag in the detection tables so saving is enabled.
2012-05-12 21:54:37 +10:00
Paul Gilbert 109e5f8226 TONY: Conversion of more methods to coroutines 2012-05-12 20:49:36 +10:00
Paul Gilbert 65ec900ceb TONY: Removed old extern, PASCAL, and EXPORT function modifiers 2012-05-12 11:01:20 +10:00
Paul Gilbert 435971f256 TONY: Fixed the CopyMemory stub to copy the correct number of bytes.
Tony can now leave his office without the game crashing.
2012-05-12 10:55:18 +10:00
Paul Gilbert a153f9a2e6 TONY: Explicitly initialise fields of various objects in their constructors
This fixes a crash when the pop-up inventory was displayed.
2012-05-12 10:34:52 +10:00
Matthew Hoops 974eb12fcc PEGASUS: Rewrite the input code to more closely emulate what the original did
Now the easter egg key works better and so does striding.
2012-05-11 11:37:47 -04:00
Paul Gilbert 166980fa4f TONY: Fix for properly signaling right button release. 2012-05-12 00:08:09 +10:00
Paul Gilbert 3a61568b6f TONY: Removed carriage returns from debug line strings 2012-05-11 23:39:32 +10:00
Paul Gilbert 67c47e9045 TONY: First attempt at simulating the circular fade in/out effect engine uses
The engine uses DirectX drawing functionality to do drawing of partial frames within an ellipsis, so we need to replicate that manually in code.
2012-05-11 23:36:13 +10:00
Paul Gilbert beef5fdb26 TONY: Removal of now redundant includes, and deprecated scheduler/coroutine files 2012-05-11 23:23:05 +10:00
Paul Gilbert 68c1b0b0e4 TONY: Refactored Tony to use the Common coroutine scheduler 2012-05-11 23:15:59 +10:00
Paul Gilbert 2c1ef3ab35 CREATE_PROJECT: Updated MSVC scummvm.vcproj generation to handle coroutine compilation properly 2012-05-11 23:11:17 +10:00
Paul Gilbert 64669234b2 TINSEL: Refactored Tinsel engine to use the Common coroutine scheduler 2012-05-11 23:10:12 +10:00
Paul Gilbert 50153aba88 COMMON: Merged the Tinsel & Tony Coroutine schedulers into Common 2012-05-11 23:08:27 +10:00
Filippos Karapetis c424c22f19 SCI: Fix bug #3040625 - "SCI: ECOQUEST French/German: Speech balloon graphic glitch"
This bug is caused by the fact that the sprites in that scene and the
speech bubble share the same priority, so we compensate for that with a
workaround
2012-05-11 12:54:06 +03:00
Paul Gilbert 724deb6b84 TONY: Bugfixes for showing the credits screen. 2012-05-11 08:44:50 +10:00
Willem Jan Palenstijn f6acc5d5be DREAMWEB: Fix crash when entering short console password
_inputLine is not a string, so it shouldn't be cast to Common::String.
This fixes bug #3525602.
2012-05-10 23:06:32 +02:00
Paul Gilbert 82361a3ea3 TONY: Fixed some missed methods to coroutines 2012-05-11 00:09:34 +10:00
Paul Gilbert 9a7393e0c3 TONY: Fix operation of MPAL ActionThread method 2012-05-10 22:18:33 +10:00
Paul Gilbert 5a069cdc86 TONY: Refactored out usage of nullContext in favour of proper coroutines 2012-05-09 23:15:41 +10:00
D G Turner 29a866217f DREAMWEB: Fix Speech Directory Name for SP/FR CD Variant.
This should fix the remaining issues on bug #3524362 "DREAMWEB: Problem
with Spanish/French version".
2012-05-08 16:58:43 +01:00
D G Turner 0cff5c547c DREAMWEB: Add _speechDirName to remove duplication of Directory name. 2012-05-08 16:48:01 +01:00
Paul Gilbert 26898dd7ad TONY: Completed bulk of initial coro refactoring 2012-05-09 00:42:27 +10:00
Paul Gilbert a254f10025 TONY: Added support for Windows-style threading events to scheduler 2012-05-08 09:32:21 +10:00
Paul Gilbert 8527302057 TONY: Added support for threading events to scheduler, converted more procs to coroutines 2012-05-08 08:25:33 +10:00
D G Turner 4161d83cba DREAMWEB: Add detection entry for another French/Spanish CD variant.
The MD5sums are taken from bug #3524362 "DREAMWEB: Problem with
Spanish/French version".
2012-05-07 23:21:20 +01:00
Oleksiy Kurochko 97065c95e6 GUI: Fix bug with button pressed state 2012-05-07 09:54:32 +03:00
Paul Gilbert 0b8974ec4a TONY: Beginnings of converting dialog processes to coroutines 2012-05-06 23:51:11 +10:00