Commit Graph
51 Commits
Author SHA1 Message Date
Eugene Sandulenko b733efb53d PEGASUS: Fix startup crash when g_vm is not yet take its value 2022-11-17 20:31:53 +01:00
Eugene Sandulenko c585e07c3c PEGASUS: Remove redundant assignments 2022-09-28 11:30:01 +02:00
Eugene Sandulenko 5eac0c0324 PEGASUS: Get rid of g_engine type cast 2022-09-28 11:30:00 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 3bc29bd60f PEGASUS: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
adaf5bb3b9 PEGASUS: Import the DVD version patch from GOG.com
Co-Authored-By: Keith Kaisershot <keithkaisershot@gmail.com>
Co-Authored-By: Matthew Hoops <clone2727@gmail.com>
Co-Authored-By: Bastien Bouclet <bastien.bouclet@gmail.com>
2021-03-17 17:32:53 +01:00
Bastien Bouclet 88091fcbba PEGASUS: Add override keywords 2020-02-09 12:43:16 +01:00
D G Turner b7c397412d PEGASUS: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-01 21:41:21 +00:00
Eugene Sandulenko 378d9153b6 PEGASUS: Add override specifier 2018-03-28 12:29:28 +02:00
Bastien Bouclet 64967c6222 PEGASUS: Reset the Pegasus biochip when toggling the shared screen space
Fixes a crash to debugger in the following case:
- TSA: Select he Pegasus biochip. The recall button is disabled.
- Select the gas canister in the inventory
- Jump to Norad VI
- Press T to show the Pegasus biochip. The recall button is still
incorrectly disabled. Clicking on it triggers an error.
2017-09-12 20:25:24 +02:00
Eugene Sandulenko fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
Matthew Hoops 7011e8122e PEGASUS: Poll for events in more places
Based on a patch by Keith Kaisershot (blitter)
2014-04-23 20:33:08 -04:00
Matthew Hoops 444c6bd24a PEGASUS: Reset item state upon starting a new game 2014-04-17 19:29:06 -04:00
Matthew Hoops a69b3231a9 PEGASUS: Remove unused variable 2013-04-16 11:01:02 -04: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
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 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 b2506abccf PEGASUS: Fix some warnings found with optimizations on 2012-05-12 20:27:48 -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 2c2633e544 PEGASUS: More MSVC "fixes" 2012-04-06 14:49:47 -04:00
Matthew Hoops 983bd16bb7 PEGASUS: Fix file permissions 2012-04-03 15:23:08 -04:00
Matthew Hoops a600dcb56a PEGASUS: Some space/misc cleanup 2011-12-20 18:26:25 -05:00
Matthew Hoops f72884cb7b PEGASUS: Cleanup some constants
Added missing static qualifiers, get rid of some short/long
2011-12-16 23:24:55 -05:00
Matthew Hoops 12efb47b53 PEGASUS: Remove t prefix from typedefs
Some other minor cleanup too
2011-12-16 14:17:50 -05:00
Matthew Hoops d55aeeec0b PEGASUS: Fix displaying the end message 2011-12-13 11:58:20 -05:00
Matthew Hoops 48cabb18d6 PEGASUS: Implement the rest of the mapping biochip 2011-11-01 00:09:43 -04:00
Matthew Hoops 3f69c195ae PEGASUS: Allow for initial support of the space chase
It's not ready yet, but it's slowly becoming playable. For instance, scaling, the shuttle HUD, and the energy beam work on the first try which is nothing short of a miracle.

This commit also moved around some Mars constants because the previous include setup did not work; I hope to make the other neighborhoods have a separate constants file too.
2011-10-28 01:24:57 -04:00
Matthew Hoops 5c2a89dc4a PEGASUS: Fix drop box highlight color 2011-10-17 00:56:27 -04:00
Matthew Hoops 1c949d375a PEGASUS: Add the Mars neighborhood
Does not include the space chase just yet or canyon chase.

The robot timer seems a bit wonky right now and doesn't stop, but everything else seems to be working.
2011-10-15 19:48:36 -04:00
Matthew Hoops 85dc2e5c65 PEGASUS: Stub off map handling
Needed to be able to load saved games
2011-10-10 10:04:47 -04:00
Matthew Hoops a80af5eb4d PEGASUS: Add the Full TSA neighborhood 2011-10-06 23:53:53 -04:00
Matthew Hoops af24890807 PEGASUS: Add the Tiny TSA neighborhood 2011-10-05 14:37:58 -04:00
Matthew Hoops bfb2ad4778 PEGASUS: Fix inventory looping positions 2011-09-30 20:32:06 -04:00
Matthew Hoops 9be43b24ce PEGASUS: Fix auto dragging 2011-09-30 12:52:04 -04:00
Matthew Hoops e299f0ac72 PEGASUS: Fix drag sprite transparency 2011-09-29 23:33:12 -04:00
Matthew Hoops 956f3d4644 PEGASUS: Add the auto dragger code 2011-09-29 19:26:17 -04:00
Matthew Hoops 54dd0c266e PEGASUS: Import a bunch more code in preparation for actual gameplay 2011-09-28 14:32:03 -04:00
Matthew Hoops af78726e4f PEGASUS: Add the ItemDragger classes 2011-09-27 21:24:12 -04:00
Matthew Hoops 5f0f9dae35 PEGASUS: Add retscan/shield biochips 2011-09-24 16:19:03 -04:00
Matthew Hoops 5275e16849 PEGASUS: Add remaining specialized inventory items 2011-09-24 15:29:42 -04:00
Matthew Hoops 59f7e1deea PEGASUS: Import AI code and relevant items 2011-09-24 14:10:54 -04:00
Matthew Hoops ddcdcb67b5 PEGASUS: Should use moveMovieBoxTo instead of moveElementTo here 2011-09-23 13:56:44 -04:00
Matthew Hoops c8752bb1d3 PEGASUS: Implement Item::getDragSprite() 2011-09-22 15:26:09 -04:00
Matthew Hoops 897c585f05 PEGASUS: Add the InventoryPicture class (and its derivatives) 2011-09-22 14:50:24 -04:00
Matthew Hoops 715c95ecfc PEGASUS: Fix stupid bugs in the item code 2011-09-08 13:11:38 -04:00
Matthew Hoops 593aec681d PEGASUS: Restructure remaining MMShell code into the base code
MMTimeValue has been removed, as Common::Timestamp will just be used instead
2011-09-05 16:46:39 -04:00
Matthew Hoops bfb0de109a PEGASUS: Implement more item code 2011-09-04 12:33:32 -04:00