Commit Graph

71 Commits

Author SHA1 Message Date
Filippos Karapetis
9bfa51ef30 MADS: Phantom: Expand the existing camera adjustment logic for V2 games
This fixes all of the scenes that expand over the screen (e.g. 101, 104,
109 in Phantom, as well as the several scenes in the Dragonsphere intro).

Also added a new debugger command, "set_camera", which sets the scene
camera to specific coordinates
2015-10-22 02:14:41 +03:00
Filippos Karapetis
ec03857d7d MADS: Fix a regression in V2 games 2015-04-09 14:08:48 +03:00
Filippos Karapetis
ec999f1cb7 MADS: Plug some memory leaks
Surfaces should be freed (to free their inner allocated surface
buffers) before being deleted
2015-04-09 13:44:39 +03:00
Paul Gilbert
9b8fa20c76 MADS: Fix horizontal flipping of scene background sprites 2015-01-17 17:29:08 -05:00
Paul Gilbert
4ee29ef3a8 MADS: Add loading of SpriteInfo frame numbers for scene background sprites 2015-01-17 16:46:57 -05:00
Filippos Karapetis
01e8286e1c MADS: Remove trailing whitespace 2014-10-28 16:19:26 +02:00
Paul Gilbert
fc2a579f2e MADS: Further fixes for palette cycling during animations 2014-10-13 09:03:50 -04:00
Paul Gilbert
e58ae71bef MADS: Fix loading wide-screen backgrounds during intro animation 2014-10-11 16:27:25 -04:00
Paul Gilbert
db95979a24 MADS: Fix loading correct backgrounds during animations 2014-10-10 18:11:48 -04:00
Paul Gilbert
94068dddf7 MADS: Properly free menu items when main menu is freed 2014-09-06 17:55:01 -04:00
Paul Gilbert
a5528ecc7e MADS: Fix spare screen background changes for TextView showing quotes 2014-09-06 16:39:49 -04:00
Paul Gilbert
7d4b05098d MADS: Clean up _depthStyle usage in DepthSurface class 2014-07-24 21:09:34 -04:00
Filippos Karapetis
be9c3bf72b MADS: WIP handling of V2 walk nodes and walkable areas 2014-07-23 02:47:29 +03:00
Paul Gilbert
7d24e1471c MADS: Merge copyFromScaled into the existing copyFrom method 2014-05-31 18:21:11 -04:00
Paul Gilbert
06387c25d8 MADS: Fix positioning of teleporter window backgrounds 2014-05-29 21:35:59 -04:00
Strangerke
88bc539b3e MADS: Add a constructor to SceneInfo 2014-05-28 21:24:14 +02:00
Strangerke
0eb5a7f0b2 MADS: Fix some more missing initializations 2014-05-28 07:19:18 +02:00
Paul Gilbert
ea19581ae3 MADS: Standardised on passing depth surfaces as DepthSurface 2014-05-25 13:23:05 -04:00
Filippos Karapetis
b7dd01fdef MADS: Remove trailing whitespace 2014-05-08 11:43:23 +03:00
Filippos Karapetis
c5878e401c MADS: Fix scene loading for V2 games 2014-05-06 04:38:24 +03:00
Paul Gilbert
36a1b66c71 MADS: Fix for scene loading in teleporter scenes 2014-05-04 15:05:31 -04:00
Filippos Karapetis
4eba5032d8 MADS: Add initial support for V2 backgrounds and hotspots
V2 games include Phantom and Dragonsphere. OUAF hasn't been tested yet
2014-04-27 21:20:02 +03:00
Paul Gilbert
1362414e77 MADS: Implement palette animation code 2014-04-19 22:49:14 -04:00
Strangerke
34d0bc72b5 MADS: Implement scene 313, come renaming in RGB4 structure, used by AnimPalData 2014-04-19 23:27:01 +02:00
Paul Gilbert
0b340a0343 MADS: Fix depth issues with sitting in chair in scene 101 2014-04-15 23:51:41 -04:00
Paul Gilbert
f548711b77 MADS: Fix palette transformation during SceneInfo::load 2014-04-11 09:34:46 -04:00
Paul Gilbert
ff7d2e2dbf MADS: Add missing scene codes variant handling 2014-04-05 22:41:25 -04:00
Strangerke
03af091a16 MADS: Remove some magic values related to verbs 2014-03-29 22:47:21 +01:00
Paul Gilbert
f3db90b646 MADS: Refactored pathfinder into it's own class 2014-03-29 17:12:12 -04:00
Paul Gilbert
71b1343adf MADS: Implemented NebularGame::step 2014-03-29 11:18:07 -04:00
Paul Gilbert
6c85572d76 MADS: Initial cleanup of action/player handling 2014-03-27 22:38:28 -04:00
Paul Gilbert
0b351f79d8 MADS: Further fixes for hotspot highlighting 2014-03-22 21:55:36 -04:00
Paul Gilbert
74b48ba813 MADS: Fixes for displaying kernel messages 2014-03-22 14:43:08 -04:00
Paul Gilbert
db017b746d MADS: Moved ScreenObjects into the Game class 2014-03-19 19:44:51 -04:00
Paul Gilbert
0c8a3a47e2 MADS: Transformed ImageInterEntries to be User Interface UISlots 2014-03-17 21:53:22 -04:00
Paul Gilbert
acba8f9254 MADS: Implementing user interface text display methods 2014-03-16 23:40:21 -04:00
Paul Gilbert
39a36064ac MADS: In progress text draw methods for user interface 2014-03-16 17:50:47 -04:00
Paul Gilbert
f3415b762e MADS: Implemented lots of Player methods 2014-03-16 14:53:10 -04:00
Paul Gilbert
630679a5c8 MADS: Completed UserInterface::loadElements 2014-03-15 21:33:15 -04:00
Paul Gilbert
b652e2eafd MADS: Merged the InterfaceSurface and UserInterface classes 2014-03-15 18:43:39 -04:00
Paul Gilbert
e00a1b88ca MADS: Perform palette translation on background 2014-03-15 14:08:43 -04:00
Paul Gilbert
3f0cd4771c MADS: Fixed handling of dirty rects to copy areas to the physical screen 2014-03-13 22:25:16 -04:00
Paul Gilbert
84fb90e7a5 MADS: Fix GCC warnings and memory leaks 2014-03-13 20:56:03 -04:00
Paul Gilbert
0df4d0aed1 MADS: Fixed loading of scene depth surface for Rex Nebular 2014-03-12 23:45:57 -04:00
Paul Gilbert
408f5e79df MADS: General cleanup and minor fixes 2014-03-12 22:45:33 -04:00
Paul Gilbert
d9bb593b5f MADS: Implemented PaletteUsage::updateUsage 2014-03-12 20:54:50 -04:00
Paul Gilbert
5543d5884c MADS: Refactoring calls to PaletteUsage::process, and initial bugfixes 2014-03-10 22:08:55 -04:00
Paul Gilbert
d295a16545 MADS: Properly hook up use of PaletteUsage::process 2014-03-10 01:00:11 -04:00
Paul Gilbert
8cd85f3a00 MADS: Fixes for drawing scene elements 2014-03-08 16:06:37 -05:00
Paul Gilbert
8d3857c053 MADS: Cleanup code for accessing sprite assets 2014-03-08 08:44:01 -05:00