Commit Graph

35419 Commits

Author SHA1 Message Date
Paul Gilbert
e9977e81d0 MADS: Fixes and cleanup for palette loading 2014-03-25 21:20:44 -04:00
Strangerke
633da299f6 MADS: Add scene 208 2014-03-25 22:01:25 +01:00
Strangerke
c09bfdab2f MADS: Finish Scene 207 2014-03-25 20:46:10 +01:00
Strangerke
9028484d4b MADS: Start work on Scene 207 2014-03-25 20:36:26 +01:00
Paul Gilbert
2879b895bc MADS: Fixes for UI item selection, add added an enum for Font::setColorMode 2014-03-25 08:55:29 -04:00
Paul Gilbert
3c504f4d02 MADS: Cleanup of user interface selection code 2014-03-24 22:34:09 -04:00
Paul Gilbert
d958f50924 MADS: Fix incorrect palette for player sprites 2014-03-24 22:33:49 -04:00
Strangerke
c177056653 MADS: Add detection for another Rex 2014-03-24 21:13:46 +01:00
Strangerke
aef340c25a MADS: Implement Scene205::setup and Scene205::enter 2014-03-24 19:16:52 +01:00
Strangerke
48e785c329 MADS: Fix a couple of warnings in the hotspot code 2014-03-24 19:15:59 +01:00
Paul Gilbert
0b1c15e6dc MADS: Fix setting category/desc Id from highlighted screen elements 2014-03-23 22:40:37 -04:00
Paul Gilbert
0dfa60ae00 MADS: Refactored out and fixed cursor changes for hotspots 2014-03-23 22:11:35 -04:00
Paul Gilbert
ce9a15f010 MADS: Fix the setting/clearing of _mouseReleased flag 2014-03-23 21:52:18 -04:00
Strangerke
c57acfb154 MADS: Implement scene 203 2014-03-24 01:14:16 +01:00
Paul Gilbert
7f4dbf7d48 MADS: Implemented more action handling methods 2014-03-23 18:48:00 -04:00
Paul Gilbert
a3952509a9 MADS: In progress work on action starting 2014-03-23 17:31:33 -04:00
Paul Gilbert
a223189599 MADS: Added extra debugger commands 2014-03-23 14:26:50 -04:00
Paul Gilbert
9ef27c4ea0 MADS: Moved sub71312 method to be SequenceList::setMsgLayout 2014-03-23 13:52:32 -04:00
Paul Gilbert
1a54ae3de8 MADS: Fix incorrect constant usage in scene 103 logic 2014-03-23 12:02:49 -04:00
Paul Gilbert
ded2de015a MADS: Finished scene 103 action logic 2014-03-23 11:07:00 -04:00
Paul Gilbert
0d15807501 MADS: Fixes for animating inventory item 2014-03-23 09:19:28 -04:00
Strangerke
6fed5933a8 MADS: Implement and get rid of two warnings 2014-03-23 11:34:50 +01:00
Strangerke
8dd9dab76c MADS: Implement Sequence::setScale and GameNebular::sub71312. 2014-03-23 11:34:12 +01:00
Paul Gilbert
0b351f79d8 MADS: Further fixes for hotspot highlighting 2014-03-22 21:55:36 -04:00
Paul Gilbert
06766e930b MADS: Fix main switch statement in elementHighlighted 2014-03-22 20:02:02 -04:00
Paul Gilbert
c64a024aa0 MADS: Completed elementHighlighted method 2014-03-22 19:09:25 -04:00
Paul Gilbert
a7c4fc7e23 MADS: In progress implementing ScreenObjects::elementHighlighted 2014-03-22 18:26:41 -04:00
Strangerke
83a8ec1471 MADS: Add a stub for Dialog::showPicture() 2014-03-22 22:55:02 +01:00
Strangerke
2ac614d898 MADS: Add some variables in / move a variable to _globals 2014-03-22 22:30:45 +01:00
Strangerke
c42e831817 MADS: Introduce another getRandomNumber function with 2 parameters 2014-03-22 22:02:52 +01:00
Strangerke
eb82e63398 MADS: make _msgOffset a uint32 2014-03-22 21:45:28 +01:00
Strangerke
db4e74f4dd MADS: Add _v8425C, set _globals._v7 as uint32 2014-03-22 21:22:55 +01:00
Paul Gilbert
ef152fa2ba MADS: Added _savedLookFlag to MADSAction 2014-03-22 15:55:50 -04:00
Strangerke
265fbce3dd MADS: Implement getTimeout() 2014-03-22 20:47:34 +01:00
Paul Gilbert
74b48ba813 MADS: Fixes for displaying kernel messages 2014-03-22 14:43:08 -04:00
Strangerke
adddf02e70 MADS: Implemente Scene::changeDepthSurface() 2014-03-22 19:26:41 +01:00
Paul Gilbert
bbabe2b06b MADS: Fix positioning of kernel messages 2014-03-22 14:20:04 -04:00
Paul Gilbert
7cdaa9648c MADS: Implemented ScreenObjects::checkScroller 2014-03-22 12:02:17 -04:00
Strangerke
4fec23ad1c MADS: Refactor Scene202::step() 2014-03-22 15:15:22 +01:00
Strangerke
07b9a54e27 MADS: Implement Scene202::Step 2014-03-22 14:36:00 +01:00
Paul Gilbert
202d4ad4f1 MADS: Implemented more of scene 103 code 2014-03-21 23:36:56 -04:00
Paul Gilbert
2090987b81 MADS: Fixes for handling horizontally flipped frames 2014-03-21 22:47:31 -04:00
Paul Gilbert
de09300fdd MADS: Fix initialisation of scene 103 2014-03-21 21:58:53 -04:00
Paul Gilbert
2b141aaba6 MADS: Fixes for screen objects loading and checking 2014-03-21 09:27:22 -04:00
Paul Gilbert
79f51c4ebd MADS: Minor initial sprite slots loading fixes, missing code from SequenceList::loadSprites 2014-03-20 21:59:43 -04:00
Paul Gilbert
8df3da1556 MADS: Added new file for static resources 2014-03-20 08:41:09 -04:00
Paul Gilbert
436949eba2 MADS: Implemented more action logic for highlighting hotspots 2014-03-20 08:34:56 -04:00
Paul Gilbert
8d252f4f0e MADS: Implemented methods for checking action at mouse position and clicking 2014-03-19 23:33:18 -04:00
Paul Gilbert
4ab73a89ab MADS: Preliminary code to show game cursor 2014-03-19 20:12:32 -04:00
Paul Gilbert
db017b746d MADS: Moved ScreenObjects into the Game class 2014-03-19 19:44:51 -04:00
Strangerke
66643b3ad6 MADS: Some more work on Scene 202 2014-03-19 23:30:45 +01:00
Strangerke
c43f834792 MADS: More work on scene 202 2014-03-19 08:45:42 +01:00
Strangerke
cfe2257d00 MADS: Use removeFromInventory and addToInventory in Scene 202 2014-03-19 08:13:35 +01:00
Strangerke
b04f7c1693 MADS: set public 2 inventory functions, fix signed/unsigned comparison 2014-03-19 08:12:11 +01:00
Strangerke
829a099ad2 MADS: Implement Scene202::actions 2014-03-19 08:04:32 +01:00
Paul Gilbert
7b808b4464 MADS: Added inventory add/remove methods 2014-03-19 00:15:25 -04:00
Paul Gilbert
53eac0d7c0 MADS: Fixes for scene background loading 2014-03-18 23:13:13 -04:00
Paul Gilbert
5b4b7a5ca9 MADS: Finished UISlots::draw method 2014-03-18 22:37:33 -04:00
Paul Gilbert
4875c83f10 MADS: Implemented DirtyArea::setUISlot 2014-03-18 19:56:29 -04:00
Strangerke
306ea295ee MADS: Add isInInventory() 2014-03-18 18:49:36 +01:00
Strangerke
26c90afdef MADS: Add scene 201 in createScene() 2014-03-18 07:35:02 +01:00
Strangerke
a82a0f2618 MADS: Complete scene 201 2014-03-18 07:26:39 +01:00
Paul Gilbert
d494db888e MADS: Beginnings of code for UI inventory item animation 2014-03-17 23:14:54 -04:00
Paul Gilbert
0c8a3a47e2 MADS: Transformed ImageInterEntries to be User Interface UISlots 2014-03-17 21:53:22 -04:00
Strangerke
d57d4b876e MADS: Implement some more logic used in scene 201 2014-03-17 08:47:20 +01:00
Paul Gilbert
e6b73f4938 MADS: Actions text in the UI now displaying correctly 2014-03-17 00:20:50 -04:00
Paul Gilbert
b831323c85 MADS: Added caching for font instances 2014-03-17 00:00:22 -04:00
Paul Gilbert
acba8f9254 MADS: Implementing user interface text display methods 2014-03-16 23:40:21 -04:00
Paul Gilbert
e24a4b7b16 MADS: Fix for Scene2xx::setPlayerSpritesPrefix 2014-03-16 17:55:47 -04:00
Paul Gilbert
39a36064ac MADS: In progress text draw methods for user interface 2014-03-16 17:50:47 -04:00
Strangerke
4dd057edd9 MADS: First real try - Implement Scene201::enter() 2014-03-16 22:46:28 +01:00
Paul Gilbert
d599c7c404 MADS: Fix to display player 2014-03-16 16:50:53 -04:00
Paul Gilbert
74da0c2ef7 MADS: Fix for loading player sprites during scene startup 2014-03-16 15:50:17 -04:00
Paul Gilbert
f3415b762e MADS: Implemented lots of Player methods 2014-03-16 14:53:10 -04:00
Strangerke
834cf846f1 MADS: Implement Scene201::setup, remove some function definition, add some Noun enum values 2014-03-16 18:32:46 +01:00
Strangerke
ecbe2c87fd MADS: Implement Scene2xx functions 2014-03-16 18:16:21 +01:00
Strangerke
9ffaf672ff MADS: Move setPlayerSpritesPrefix() to Scene1xx 2014-03-16 18:10:22 +01:00
Strangerke
136b64db83 MADS: Move setAAName() to Scene1xx 2014-03-16 17:26:51 +01:00
Paul Gilbert
1787049087 MADS: Add loading of game inventory list and quotes 2014-03-16 01:29:02 -04:00
Paul Gilbert
120374b7d0 MADS: Simplified PaletteUsage::process list sorting 2014-03-16 01:08:16 -04:00
Paul Gilbert
5e3684b37a MADS: Simplified code for PaletteUsage::prioritize 2014-03-16 00:43:08 -04:00
Paul Gilbert
dfcef632ea MADS: Hooked up the in-progress scene 103 2014-03-16 00:00:18 -04:00
Paul Gilbert
2fb9edc4ee MADS: Added some more ImageInterEntries methods 2014-03-15 21:51:40 -04:00
Paul Gilbert
630679a5c8 MADS: Completed UserInterface::loadElements 2014-03-15 21:33:15 -04:00
Paul Gilbert
c4ed42e6d5 MADS: Implementing UserInterface loading 2014-03-15 20:19:01 -04:00
Paul Gilbert
ca6cf0eaf2 MADS: Fix display of user interface during animation 2014-03-15 18:52:44 -04:00
Paul Gilbert
b652e2eafd MADS: Merged the InterfaceSurface and UserInterface classes 2014-03-15 18:43:39 -04:00
Paul Gilbert
10124f6806 MADS: Implemented scene 103 setup and needed support methods 2014-03-15 17:38:44 -04:00
Paul Gilbert
e00a1b88ca MADS: Perform palette translation on background 2014-03-15 14:08:43 -04:00
Paul Gilbert
49ca357e9e MADS: Remove redundant _encoding field from MSprite 2014-03-15 11:22:19 -04:00
Paul Gilbert
d2bbdd255a MADS: Implement palette shifting for loaded sprites 2014-03-15 11:12:31 -04:00
Paul Gilbert
c9661ca88c MADS: Fix off by 1 frame references in srite drawing 2014-03-15 08:41:17 -04:00
Paul Gilbert
37bb5150d0 MADS: Fixes for handling sprite transparency 2014-03-14 22:21:52 -04:00
Paul Gilbert
12b79e8178 MADS: Fix for sprite slot cleanup post-frame draw 2014-03-14 21:56:01 -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
b2d90ddaab MADS: Fix positioning of foreground sprites 2014-03-13 13:05:12 -04:00
Paul Gilbert
e80373c823 MADS: Add guard against reading depth value outside bounds of depth surface 2014-03-13 00:26:19 -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