Commit Graph

346 Commits

Author SHA1 Message Date
Matthew Hoops
fdc80fd952 PEGASUS: Improve on the WSC missing AI videos bug
Made the only hint available into the first hint
2012-10-29 11:17:50 -04:00
Matthew Hoops
e4898831a3 PEGASUS: Ease off the CPU in the overview 2012-10-29 11:17:50 -04:00
Matthew Hoops
f67bd1f2e7 PEGASUS: Don't error out for two missing WSC AI videos 2012-10-26 23:22:27 -04:00
Matthew Hoops
dc3facfc62 PEGASUS: Improve error messages when failing to load PICT images 2012-10-16 22:16:32 -04:00
Matthew Hoops
85bd7daa41 PEGASUS: Fix uninitialized variable 2012-10-03 10:58:24 -04:00
Filippos Karapetis
4ad86e0c11 PEGASUS: MarsTimerEvent is a struct 2012-10-01 03:05:50 +03:00
Johannes Schickel
a6c6c74350 PEGASUS: Remove trailing whitespaces.
Powered by: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:11:09 +02:00
Matthew Hoops
d9b204b78e PEGASUS: Fix minor formatting issue 2012-09-25 22:09:21 -04:00
Matthew Hoops
bbec9fac20 PEGASUS: Initialize _duration in RobotShip 2012-09-25 22:08:55 -04:00
Matthew Hoops
3a5b3a5145 PEGASUS: Fix saving while in the space chase 2012-09-22 21:03:22 -04:00
Matthew Hoops
50747429cd PEGASUS: Don't allow loading/saving in a few more places
Only affects loading/saving from the GMM
2012-09-22 20:43:34 -04:00
Matthew Hoops
b9f6121194 PEGASUS: Fix restoring correct biochip after sub chase 2012-09-22 19:46:51 -04:00
Matthew Hoops
ad632d88d9 PEGASUS: Fix movie pause/resume 2012-09-22 18:13:31 -04:00
Matthew Hoops
9a1bdfbd08 PEGASUS: Fixed claw scoring time
It should be set when actually using the claw instead of just looking at the sub control monitors.

Thanks to Keith Kaisershot (blitter) for spotting
2012-09-22 13:26:36 -04:00
Matthew Hoops
42e395859f PEGASUS: Fix stopping Mercury scoring
Thanks to Keith Kaisershot (blitter) for figuring it out
2012-09-20 23:22:28 -04:00
Matthew Hoops
65664f8a9a PEGASUS: Fix avoiding Mars robot scoring
Thanks to Keith Kaisershot (blitter) for spotting
2012-09-20 23:12:32 -04:00
Johannes Schickel
1aa12ddb96 PEGASUS: "Fix" segmentation fault for DC toolchain when compiling shuttlehud.cpp.
It seems the explicit destructor of ShuttleHUD is problematic. When I move
it's implementation to shuttlehud.cpp it does not segfault. Removing it on
the other hand also does not cause it to segfault. So I chose the latter,
since it has no special implementation anyway.
2012-09-21 02:36:37 +02:00
Johannes Schickel
8aceef9711 PEGASUS: Replace FunctionPtr by our Functor code in Common.
This "fixes" a segmentation fault in our buildbot's toolchain for DC.
The segmentation fault occured while compiling
engines/pegasus/ai/ai_condition.cpp.

Thanks to clone2727 for looking over this and testing it.
2012-09-21 02:35:50 +02:00
Matthew Hoops
b0079f4fa6 PEGASUS: Prevent recalling from Prehistoric without the historical log
Fixes an original game bug
2012-09-20 19:45:01 -04:00
Matthew Hoops
1677686692 PEGASUS: Disable save compression by default
So they can be used by the original interpreter more easily (the type/creator codes still need to be set, though -- pegasus_save_types can handle that)
2012-09-12 23:04:46 -04:00
Matthew Hoops
483989f72b Revert "PEGASUS: Make setting the start time of a movie also seek"
This reverts commit b8bcbb46b4.

8808393b3a was the proper fix for the issue
2012-09-12 20:18:53 -04:00
Matthew Hoops
ff51a7661d PEGASUS: Fix minor filling station glitch 2012-09-11 16:50:40 -04:00
Matthew Hoops
428702ca49 PEGASUS: Fix some formatting issues 2012-09-09 16:25:45 -04:00
Matthew Hoops
9855f7b5d8 PEGASUS: Fix some memory leaks
Thanks to fuzzie for spotting
2012-09-09 16:21:29 -04:00
Matthew Hoops
b8bcbb46b4 PEGASUS: Make setting the start time of a movie also seek
Better mirrors QuickTime behavior
2012-09-07 13:22:08 -04:00
Matthew Hoops
1043283e53 PEGASUS: Use setEndTime() 2012-08-31 22:06:56 -04:00
Matthew Hoops
f61146f327 PEGASUS: Remove g_allItems global construction 2012-08-28 16:50:15 -04:00
Matthew Hoops
81e7c9a0c1 PEGASUS: Remove g_allHotspots global construction 2012-08-28 16:36:50 -04:00
Matthew Hoops
bb1e60e8b2 Merge remote branch 'upstream/master' into pegasus
Conflicts:
	AUTHORS
	devtools/credits.pl
	gui/credits.h
2012-08-26 16:12:25 -04:00
Matthew Hoops
7a49b3669a PEGASUS: Optimize the nearest neighbor frame scaling a bit
Hopefully should improve performance on lower end systems
2012-08-20 20:42:22 -04:00
Matthew Hoops
b625df1612 PEGASUS: Cleanup doFadeOutSync/doFadeInSync calls 2012-07-05 20:41:01 -04:00
Matthew Hoops
3860f34136 PEGASUS: Implement screen fading
This does linear instead of gamma for speed and complexity reasons.
2012-07-05 20:36:34 -04:00
Matthew Hoops
915a8399c9 PEGASUS: Don't manually close the load/save dialogs 2012-06-16 01:48:39 -04:00
Matthew Hoops
b5238756e2 PEGASUS: Make sure we check the pixel format of video frames 2012-06-16 01:47:36 -04:00
Matthew Hoops
625f6cc716 Merge remote branch 'upstream/master' into pegasus 2012-06-16 01:43:32 -04:00
Matthew Hoops
f02b696573 PEGASUS: Implement setting movie volume 2012-05-28 17:04:56 -04:00
Matthew Hoops
9d7432a372 PEGASUS: Allow for keypad enter to be used
For consistency with keypad arrows
2012-05-25 00:37:23 -04:00
Matthew Hoops
f1f6a82cd5 Merge remote branch 'upstream/master' into pegasus 2012-05-25 00:35:38 -04: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
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
Matthew Hoops
68438a2919 PEGASUS: Add a workaround for the canyon/space chase segfault 2012-05-04 11:22:56 -04:00
Matthew Hoops
99eb8762c4 PEGASUS: Allow control for the easter egg key as well
Fixes issues where the OS can intercept the key
2012-04-26 13:54:12 -04:00
Matthew Hoops
5ee569bce6 PEGASUS: Fix ghosted biochips when loading saved games
Could happen when loading saved games that have fewer biochips than you previously had.
2012-04-11 11:39:56 -04:00
Matthew Hoops
f087f20fa2 PEGASUS: Fix the pegasus biochip recall button highlight 2012-04-11 09:33:43 -04:00
Matthew Hoops
6ae0ff3778 PEGASUS: Mark the cursor as dirty when hiding it too 2012-04-10 14:47:16 -04:00
Matthew Hoops
981833b34e PEGASUS: Add support for load/save keys 2012-04-09 11:20:18 -04:00
Matthew Hoops
1fb5238cf3 PEGASUS: Fix potentially uninitialized hotspot pointer
Should fix some crashes on Windows
2012-04-07 16:35:50 -04:00
Matthew Hoops
a2454f6563 PEGASUS: Use an Array instead of a List for NotificationReceivers
Fixes occasional crashes with the norad sub controls. CodeWarrior's iterators used indices unlike our List iterators, thus necessitating the change here.
2012-04-06 19:18:41 -04:00
Matthew Hoops
b07d03dedf PEGASUS: Silence an MSVC warning 2012-04-06 15:19:32 -04:00