37 Commits

Author SHA1 Message Date
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
Matthew Hoops
cb7b382acf PEGASUS: Restructure remaining (already converted) Game Shell classes 2011-09-02 01:06:17 -04:00