Commit Graph

346 Commits

Author SHA1 Message Date
Matthew Hoops
34fd248f8a PEGASUS: Add the SoundLevel class 2011-09-29 01:29:42 -04:00
Matthew Hoops
6440d4d5f6 PEGASUS: Implement the ScreenDimmer class 2011-09-29 01:15:54 -04:00
Matthew Hoops
091df1815e PEGASUS: Use proper key for the right fire button 2011-09-28 21:38:49 -04:00
Matthew Hoops
16a25cd7fd PEGASUS: Start the demo off!
Only the jump-in video is currently shown though. For some reason, the input is disabled...
2011-09-28 21:07:51 -04:00
Matthew Hoops
03739c66aa PEGASUS: Fix exit table loading 2011-09-28 21:05:04 -04:00
Matthew Hoops
1112b11df9 PEGASUS: Fix valgrind warnings with the spots 2011-09-28 20:45:37 -04:00
Matthew Hoops
2e2f8d9168 PEGASUS: Fix stop time of movies 2011-09-28 20:30:07 -04:00
Matthew Hoops
cd744aa60e PEGASUS: Fix the movie box code 2011-09-28 20:16:50 -04:00
Matthew Hoops
81eff30b8e PEGASUS: Fix date positioning 2011-09-28 19:00:57 -04:00
Matthew Hoops
ffff1beb1b PEGASUS: Fix stupid inventory weight typo 2011-09-28 18:50:21 -04:00
Matthew Hoops
426ab47067 PEGASUS: Fix bug in redrawMovieWorld 2011-09-28 18:50:10 -04:00
Matthew Hoops
1659c82c37 PEGASUS: Fix frame sequences 2011-09-28 18:24:15 -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
a0a3cbd602 PEGASUS: Keep specific neighborhood code in subfolders 2011-09-27 21:26:51 -04:00
Matthew Hoops
af78726e4f PEGASUS: Add the ItemDragger classes 2011-09-27 21:24:12 -04:00
Matthew Hoops
817f775da9 PEGASUS: Update copyright notice on pegasus.cpp/h 2011-09-27 20:45:51 -04:00
Matthew Hoops
20f18e447f PEGASUS: Add the remaining gameshell remnants 2011-09-27 20:41:45 -04:00
Matthew Hoops
d0914e6dc3 PEGASUS: Push the sound spots file name to subclasses 2011-09-27 20:09:26 -04:00
Matthew Hoops
c581cb189a PEGASUS: Add the Prehistoric neighborhood
Yes, the first neighborhood is here! And all the world rejoiced, yet it was still not used in the code so the rejoicing was kept to a low murmur.

It's the smallest neighborhood and will be used as a testbed for the code while the other neighborhoods are coded.
2011-09-27 19:49:30 -04:00
Matthew Hoops
59d6b036dc PEGASUS: Fader values should be signed 2011-09-27 19:42:42 -04:00
Matthew Hoops
02781cf2ce PEGASUS: Make the menu music fade in but not block for now 2011-09-27 12:27:20 -04:00
Matthew Hoops
fe03cd1bfa PEGASUS: Partially revert 4aed723368
startFaderSync does indeed to hold the main thread.
2011-09-27 12:24:45 -04:00
Matthew Hoops
96198e7bdd PEGASUS: Import the remainder of the Neighborhood code 2011-09-27 12:21:05 -04:00
Matthew Hoops
d205ac2e27 PEGASUS: Add the GameInteraction class 2011-09-26 23:04:20 -04:00
Matthew Hoops
122d484c4f PEGASUS: Import a bunch more neighborhood code 2011-09-26 22:09:56 -04:00
Matthew Hoops
4f358e7615 PEGASUS: Begin populating the Neighborhood class with more useful functions 2011-09-26 12:36:50 -04:00
Matthew Hoops
e343e4c5d8 PEGASUS: Add a debugger command to die 2011-09-26 09:29:31 -04:00
Matthew Hoops
e412b62ffc PEGASUS: Implement the death code 2011-09-26 09:29:17 -04:00
Matthew Hoops
24cc9568cb PEGASUS: Implement the death menu 2011-09-26 00:30:44 -04:00
Matthew Hoops
85e7d2d9a9 PEGASUS: Update the GraphicsManager a bit
- Only update the screen if we drew something to it, not if a dirty rect was present.
- Add ability to clear the screen.
2011-09-26 00:17:21 -04:00
Matthew Hoops
515b2501a7 PEGASUS: Show the demo quit/splash screens
They work now with all the PICT changes ;)
2011-09-25 21:06:51 -04:00
Matthew Hoops
e97ddf2449 PEGASUS: Enable main menu sound fading now that it works 2011-09-25 12:25:16 -04:00
Matthew Hoops
4aed723368 PEGASUS: Fix startFaderSync
Since we're not running in multiple threads anymore, we cannot have the fader hold the main thread to itself.
2011-09-25 12:23:19 -04:00
Matthew Hoops
647c83b514 PEGASUS: Add the interface class 2011-09-25 00:42:33 -04:00
Matthew Hoops
0b83e0c491 PEGASUS: Add the compass class 2011-09-24 22:54:54 -04:00
Matthew Hoops
5f0f9dae35 PEGASUS: Add retscan/shield biochips 2011-09-24 16:19:03 -04:00
Matthew Hoops
8de524b073 PEGASUS: Create the Interface biochip even if it's not used
Still needed for saves
2011-09-24 15:31:32 -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
e5a2dec9c8 PEGASUS: Disable the alt key for now 2011-09-23 14:07:18 -04:00
Matthew Hoops
ddcdcb67b5 PEGASUS: Should use moveMovieBoxTo instead of moveElementTo here 2011-09-23 13:56:44 -04:00
Matthew Hoops
97af18a5a3 PEGASUS: Allow for movies to be offset on a surface 2011-09-23 13:44:40 -04:00
Matthew Hoops
84731ef872 PEGASUS: Add the EnergyMonitor class 2011-09-22 20:17:09 -04:00
Matthew Hoops
cde643cc17 PEGASUS: Allow for skipping the intro 2011-09-22 15:41:05 -04:00
Matthew Hoops
ea36ec452e PEGASUS: Add support for the console back 2011-09-22 15:37:12 -04:00
Matthew Hoops
dc463816af PEGASUS: Remove unused EnergyBar class 2011-09-22 15:28:01 -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
3417e39c7a PEGASUS: Implement the credits
Functionality is now back to where it was before switching to the updated API
2011-09-22 12:06:21 -04:00
Matthew Hoops
2e9c7b5342 PEGASUS: Don't allow for seeking beyond the ends of the movie 2011-09-22 11:52:33 -04:00
Matthew Hoops
c88e33abd7 PEGASUS: Make Movies use the normal TimeBase getTime()
getTime() shouldn't constantly update as the movie continues, only when I decide to update it (in checkCallBacks())
2011-09-22 10:39:31 -04:00
Matthew Hoops
b92476ecb1 PEGASUS: Don't update movies if they're paused 2011-09-22 10:31:39 -04:00
Matthew Hoops
17d6f74867 PEGASUS: Implement demo credits 2011-09-22 09:24:14 -04:00
Matthew Hoops
35cc9b5d0f PEGASUS: Implement the overview code 2011-09-22 09:07:41 -04:00
Matthew Hoops
ea7ec27094 PEGASUS: Fix drawing movies to positions other than the origin 2011-09-21 21:39:07 -04:00
Matthew Hoops
5b23d33a29 PEGASUS: Remove old graphics API 2011-09-21 21:35:55 -04:00
Matthew Hoops
802fb1a97b PEGASUS: Add very simple mouse movement update checking 2011-09-21 21:33:33 -04:00
Matthew Hoops
0fd4a55492 PEGASUS: Fix DropHighlight 2011-09-21 21:18:46 -04:00
Matthew Hoops
cb500d147e PEGASUS: Clamp the dirty rect to the screen size 2011-09-21 21:09:58 -04:00
Matthew Hoops
97072b5d4b PEGASUS: Remove scaling TODO
Video scaling is not done with this class
2011-09-21 20:30:49 -04:00
Matthew Hoops
2bba1d0c11 PEGASUS: Allow redrawMovieWorld to be used without the video running 2011-09-21 20:22:26 -04:00
Matthew Hoops
02e7656b07 PEGASUS: Allow for backquote to be used as a tilde too 2011-09-21 20:06:49 -04:00
Matthew Hoops
b4408d4527 PEGASUS: Implement main menu
Sound fading is not working yet, so it has been disabled in the meantime
2011-09-21 19:51:42 -04:00
Matthew Hoops
46bc7e6c4d PEGASUS: Fix bounds of Pictures 2011-09-21 19:44:42 -04:00
Matthew Hoops
64d0b6df58 PEGASUS: Fix bug with drawing dirty rects 2011-09-21 19:42:45 -04:00
Matthew Hoops
d4a731c0f3 PEGASUS: Fix updating elements when the bounds change 2011-09-21 19:21:08 -04:00
Matthew Hoops
185f5fb054 PEGASUS: Only allow for keydown events 2011-09-21 18:10:08 -04:00
Matthew Hoops
f9fff1809c PEGASUS: Fix auto bits setting in the input code 2011-09-21 14:38:23 -04:00
Matthew Hoops
e3080fb251 PEGASUS: Add the JMPPPInput utility class 2011-09-21 10:01:27 -04:00
Matthew Hoops
e310da1aa8 PEGASUS: Add new menu class 2011-09-20 22:05:09 -04:00
Matthew Hoops
6c47e909da PEGASUS: Remove remaining 'old' code 2011-09-20 21:57:34 -04:00
Matthew Hoops
335a043bd0 PEGASUS: Add picture class 2011-09-20 21:45:39 -04:00
Matthew Hoops
de23530a4e PEGASUS: Remove VideoManager code
It was originally from Mohawk and does not fit in with the new graphics management introduced. Movie will be used from here on out!

In addition, the intro code has been rewritten and now it properly starts from the new code.
2011-09-20 14:21:54 -04:00
Matthew Hoops
1c8213ad86 PEGASUS: Fix timebase looping 2011-09-20 13:28:41 -04:00
Matthew Hoops
0193d0d019 PEGASUS: Fix a regression in checkCallBacks() 2011-09-20 13:23:16 -04:00
Matthew Hoops
dc0a98f655 PEGASUS: Make movie transparency be off by default 2011-09-20 13:11:00 -04:00
Matthew Hoops
2dbf379d11 PEGASUS: Fix some movie bugs 2011-09-20 13:04:27 -04:00
Matthew Hoops
e21224ff9a PEGASUS: Fix copyToCurrentPort() 2011-09-20 13:04:04 -04:00
Matthew Hoops
fec7a123fd PEGASUS: Begin hooking the new code in as the main code
The first notification has been received!
2011-09-20 11:49:20 -04:00
Matthew Hoops
635c8aa370 PEGASUS: Add first stab at the Movie class
Seems this means the end of the base classes -- onto actual game logic from here on out!
2011-09-20 10:56:51 -04:00
Matthew Hoops
d29e505041 PEGASUS: Update timer code a bit to make it friendlier for movies 2011-09-20 10:56:30 -04:00
Matthew Hoops
6ed2679cf1 PEGASUS: Add the Surface classes
Renamed from GWorld; I'm trying to distance us from QuickDraw as much as possible :P
2011-09-19 19:07:11 -04:00
Matthew Hoops
8f6e603099 PEGASUS: Add the Tracker class 2011-09-18 15:48:31 -04:00
Matthew Hoops
1390db1df1 PEGASUS: Rewrite TimeBase to be a bit more accurate with timing 2011-09-18 15:36:05 -04:00
Matthew Hoops
331da0377b PEGASUS: Add the fuse classes 2011-09-17 12:24:51 -04:00
Matthew Hoops
544224b43a PEGASUS: Add transition classes 2011-09-17 12:04:21 -04:00
Matthew Hoops
da74436aa4 PEGASUS: Implement fader support 2011-09-16 19:06:22 -04:00
Matthew Hoops
2ae8a97c4d PEGASUS: Stub off loading/saving games 2011-09-16 09:20:41 -04:00
Matthew Hoops
ecde87260c PEGASUS: Fix saving/loading the game state 2011-09-16 09:17:00 -04:00
Matthew Hoops
dc0254c1ce PEGASUS: Implement very basic screen updating (new API) 2011-09-15 20:50:21 -04:00
Matthew Hoops
1ac6abaeff PEGASUS: Stub off the base timebase code
This is not tested, and hopefully just works without anymore changes. I hate QuickTime :P
2011-09-15 20:39:37 -04:00
Matthew Hoops
d3fde69770 PEGASUS: Implement two of the primitive-based DisplayElements 2011-09-10 10:41:36 -04:00
Matthew Hoops
bbda19ab80 PEGASUS: Add DisplayElement class and begin porting over the graphics API 2011-09-09 14:09:20 -04:00
Matthew Hoops
e532af9318 PEGASUS: Add and hookup the InputHandler class 2011-09-08 23:04:28 -04:00
Matthew Hoops
5a7ca3553c PEGASUS: Create separate Cursor class for cursors 2011-09-08 20:38:12 -04:00
Matthew Hoops
0e14012edd PEGASUS: Begin loading items 2011-09-08 13:12:26 -04:00
Matthew Hoops
715c95ecfc PEGASUS: Fix stupid bugs in the item code 2011-09-08 13:11:38 -04:00
Matthew Hoops
ecd81a9a6d PEGASUS: Add Idler framework 2011-09-07 13:13:34 -04:00
Matthew Hoops
937c06c304 PEGASUS: Remove unused MMAction class 2011-09-07 13:11:08 -04:00
Matthew Hoops
e56546a83d PEGASUS: Implement two of the base input classes 2011-09-06 20:59:06 -04:00
Matthew Hoops
cbcae58caf PEGASUS: Properly handle regions in hotspots 2011-09-06 16:06:53 -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
74054cff2d PEGASUS: Remove unused MMResourceFile code
We'll just use our resource code instead
2011-09-05 16:24:06 -04:00
Matthew Hoops
dbb538dd04 PEGASUS: Cleanup and hookup the notification code 2011-09-05 16:18:04 -04:00
Matthew Hoops
fe99e95319 PEGASUS: Stub off spot sound code 2011-09-05 15:47:19 -04:00
Matthew Hoops
7070d886d9 PEGASUS: Fix bug in the credits
Not that this code will be final (in all likelihood :P)
2011-09-04 21:49:42 -04:00
Matthew Hoops
4f8cf1ea4b PEGASUS: Implement very basic hotspot loading
Need to get more complex regions loaded, though... will be a major problem
2011-09-04 20:22:00 -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
Matthew Hoops
e642906cdd PEGASUS: Begin restructuring the game state classes
The entire game state should now be functional
2011-09-02 00:27:13 -04:00
Matthew Hoops
3239002dae PEGASUS: Implement some more neighborhood code 2011-09-01 12:54:00 -04:00
Matthew Hoops
8263f5a7b5 PEGASUS: Implement basic neighborhood resource parsing 2011-09-01 11:44:20 -04:00
Matthew Hoops
d7411acc2b PEGASUS: Update copyright with full Presto name 2011-07-20 09:27:11 -04:00
Matthew Hoops
9dd9012ed8 PEGASUS: Import the MMTimeValue class 2011-06-16 15:20:33 -04:00
Matthew Hoops
e5953a879b PEGASUS: Update the MMTypes with a TimeValue/TimeScale replacement 2011-06-16 15:18:18 -04:00
Matthew Hoops
e789ab0d3b PEGASUS: Import the MMNotification classes 2011-06-16 14:12:18 -04:00
Matthew Hoops
fd8eaba47a PEGASUS: Fix typo in MMConstants.h 2011-06-16 14:10:59 -04:00
Matthew Hoops
0fc10033b5 PEGASUS: Import the CGameState class 2011-06-16 11:57:10 -04:00
Matthew Hoops
752e756135 PEGASUS: Import the MMAction class 2011-06-16 11:31:25 -04:00
Matthew Hoops
9f3c689839 PEGASUS: Import the CInventory class 2011-06-16 01:21:25 -04:00
Matthew Hoops
e2e224176d PEGASUS: Import the CItemList class 2011-06-16 00:54:47 -04:00
Matthew Hoops
2211a4d713 PEGASUS: Import MMFunctionPtr class 2011-06-15 14:06:55 -04:00
Matthew Hoops
8d4e60d432 PEGASUS: Import MMUtilities functions 2011-06-15 14:01:51 -04:00
Matthew Hoops
9aa9e6afcb PEGASUS: Switch sound playback to using the MMSound class 2011-06-15 13:00:17 -04:00
Matthew Hoops
ae1a932391 PEGASUS: Import the MMSound class 2011-06-15 12:58:01 -04:00
Matthew Hoops
ea05bc5687 PEGASUS: Import the MMResourceFile class 2011-06-15 12:56:49 -04:00
Matthew Hoops
0e78eb0019 PEGASUS: Add the Game Shell CItem class 2011-06-15 12:54:17 -04:00
Matthew Hoops
a93a771753 PEGASUS: Begin porting over base MMShell classes 2011-06-15 12:50:36 -04:00
Matthew Hoops
4926c41e01 Merge remote branch 'upstream/master' into pegasus 2011-06-14 16:21:39 -04:00
Matthew Hoops
5e7acc83b7 PEGASUS: Update detection 2011-06-13 13:20:15 -04:00
Matthew Hoops
7e2edf16b3 PEGASUS: Make the intro directory check only work in the full game 2011-05-12 22:18:31 -04:00
Matthew Hoops
d85dc010ed PEGASUS: Add support for using the original 'Opening/Closing' directory 2011-05-12 21:30:09 -04:00
Matthew Hoops
760f50f034 PEGASUS: Allow the console to be attached from the menu 2011-05-12 16:24:02 -04:00
Matthew Hoops
50e43a56e7 PEGASUS: Add a stub debugger 2011-05-12 16:17:12 -04:00
Matthew Hoops
85b2a0574c PEGASUS: Add basic credits implementation 2011-05-12 16:02:41 -04:00
Matthew Hoops
6b8a6f486c PEGASUS: Finish hotspot outline code in the overview 2011-05-12 13:00:46 -04:00
Matthew Hoops
5a86c56b8c PEGASUS: Finish overview implementation
Only thick rects remain there
2011-05-12 12:14:47 -04:00
Matthew Hoops
02b023e266 PEGASUS: Ignore meta keys in the overview 2011-05-11 22:59:36 -04:00
Matthew Hoops
866a8dddd1 PEGASUS: Begin work on the interface overview 2011-05-11 22:48:42 -04:00
Matthew Hoops
6067a46e9d PEGASUS: Cleanup menu button handling
Also, hooked the Restore button up to the load dialog
2011-05-11 21:28:28 -04:00
Matthew Hoops
01380d287a PEGASUS: Begin cleaning up the time zone movie code 2011-05-11 21:07:33 -04:00
Matthew Hoops
6cfdd2529b PEGASUS: Make the nav movie rely on the current time zone instead of hardcoding it 2011-05-10 23:38:54 -04:00
Matthew Hoops
9cb600099f Merge remote branch 'upstream/master' into pegasus 2011-05-03 17:25:41 -04:00
Matthew Hoops
3b2283daf8 PEGASUS: Remove the rest of the svn keywords from the copyright 2011-02-21 18:44:24 -05:00
Matthew Hoops
850d776e62 PEGASUS: Fix cursor palettes 2011-02-21 18:44:24 -05:00
Matthew Hoops
950676bf4c PEGASUS: Add my very WIP Pegasus Prime engine 2011-02-21 18:44:24 -05:00