Commit Graph

35367 Commits

Author SHA1 Message Date
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
Paul Gilbert
d9bb593b5f MADS: Implemented PaletteUsage::updateUsage 2014-03-12 20:54:50 -04:00
Paul Gilbert
98f7ba9643 MADS: Fix definition/loading of animation frame change data 2014-03-12 08:44:57 -04:00
Paul Gilbert
709fcc6fac MADS: Fix inter-frame wait loop 2014-03-11 23:42:20 -04:00
Paul Gilbert
2d99f761f0 MADS: Implemented scene 804 step 2014-03-11 23:26:31 -04:00
Paul Gilbert
be1a53062a MADS: Convert 6 bit palettes to 8 bit values 2014-03-11 21:48:16 -04:00
Paul Gilbert
41e86d553e MADS: Renamed game palette to palette flags 2014-03-11 21:40:49 -04:00
Paul Gilbert
5047c118f1 MADS: Fix for executing queued sound commands 2014-03-11 21:35:18 -04:00
Paul Gilbert
5a1c64e732 MADS: Further fixes for PaletteUsage::process 2014-03-11 21:32:42 -04:00
Paul Gilbert
5d4b6b79db MADS: Fix for palette initialisation in Palette::initRange 2014-03-11 21:01:07 -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
9e69e64d3f MADS: Completed PaletteUsage::process 2014-03-10 00:52:33 -04:00
Paul Gilbert
680b5a4487 MADS: In progress implementation of PaletteUsage::process 2014-03-10 00:00:39 -04:00
Paul Gilbert
c89193f24f MADS: Removed old RGBList code from old M4 engine 2014-03-08 18:12:06 -05:00
Paul Gilbert
8cd85f3a00 MADS: Fixes for drawing scene elements 2014-03-08 16:06:37 -05:00
Paul Gilbert
5536b8a933 MADS: Fixes for sprite list initialisation 2014-03-08 15:42:07 -05:00
Paul Gilbert
c2587af8f2 MADS: Clarified Events::_currentTimer as Scene::_frameStartTime 2014-03-08 14:05:17 -05:00
Paul Gilbert
984099ae2c MADS: Implemented stubbed SpriteSlots methods 2014-03-08 10:53:10 -05:00
Paul Gilbert
9c88ed1682 MADS: Fix loading user interface background 2014-03-08 10:28:59 -05:00
Paul Gilbert
0f214e4c9d MADS: Fix for loading animation data 2014-03-08 08:59:10 -05:00
Paul Gilbert
8d3857c053 MADS: Cleanup code for accessing sprite assets 2014-03-08 08:44:01 -05:00
Paul Gilbert
80bba74640 MADS: Fix sprites loading for scene 804 2014-03-08 08:33:13 -05:00
Paul Gilbert
7310080967 MADS: Fix memory leak with conversation font loading 2014-03-08 08:26:09 -05:00
Paul Gilbert
8bfa5f1da2 MADS: Make resource file access case insensitive 2014-03-08 08:25:46 -05:00
Paul Gilbert
3399516c5e MADS: Implemented remainder of scene 804 setup code and support methods 2014-03-07 23:07:36 -05:00
Paul Gilbert
1874ec2111 MADS: More initialisation code for scene 804, and missing engine methods 2014-03-07 08:04:10 -05:00
Paul Gilbert
a77ed90618 MADS: Implementing support methods needed for scene 804 initialisation 2014-03-06 22:31:41 -05:00
Paul Gilbert
c9186f51b9 MADS: Added in Rex Nebular globals class 2014-03-06 20:30:05 -05:00
Paul Gilbert
2d9bb392ae MADS: Implemented missing hotspot method 2014-03-05 21:57:38 -05:00
Paul Gilbert
c35271f20c MADS: Moved hotspot code to a separate file 2014-03-05 21:50:12 -05:00
Paul Gilbert
73a7140be7 MADS: Starting implementation of scene group 8 2014-03-05 21:36:02 -05:00
Paul Gilbert
a0e955d8d3 MADS: More Animation class implementation 2014-03-05 20:45:02 -05:00
Paul Gilbert
d98f890029 MADS: Completed implementing drawElements and support methods 2014-03-05 09:04:53 -05:00
Paul Gilbert
23ebeec600 MADS: Further implementation of drawElements 2014-03-05 07:27:39 -05:00
Paul Gilbert
568fc31b30 MADS: Beginnings of code support for Scene::drawElements 2014-03-04 22:33:27 -05:00
Paul Gilbert
1607a91047 MADS: Finished remainder of Scene::doFrame 2014-03-04 20:06:48 -05:00
Paul Gilbert
f6888eef10 MADS: Implementation of timer functionality for Scene::doFrame 2014-03-04 09:33:57 -05:00
Paul Gilbert
9e356dd945 MADS: Implemented extra message and dirty area classes 2014-03-03 23:40:23 -05:00
Paul Gilbert
3a3a295758 MADS: Implemented sequence list, improvements for sprite assets 2014-03-03 20:53:27 -05:00
Paul Gilbert
d8026b9ef7 MADS: Implementing Scene::doFrame 2014-03-03 00:42:41 -05:00
Paul Gilbert
3a842a079c MADS: Bulk of implementation of ScreenObjects::check 2014-03-02 23:09:17 -05:00
Paul Gilbert
a0996b7384 MADS: Implemented more of the multi-scene loop 2014-03-02 20:50:35 -05:00
Paul Gilbert
72163a233f MADS: Moved Player class into it's own file 2014-03-02 20:06:21 -05:00
Paul Gilbert
b816b9990d MADS: Added skeleton class for actions 2014-03-02 19:29:54 -05:00
Paul Gilbert
4931c8257d MADS: Further animation loading and final section of scene loading code 2014-03-02 18:37:09 -05:00
Paul Gilbert
d5b5cbbb68 MADS: Implemented rest of animation loading 2014-03-02 17:49:52 -05:00
Paul Gilbert
cc810add74 MADS: In progress implementing animation loader 2014-03-02 16:42:39 -05:00
Paul Gilbert
e17fdb5aab MADS: Actually added new animation files 2014-03-02 11:41:46 -05:00
Paul Gilbert
7912f81f2c MADS: Added skeleton file for animation class 2014-03-02 11:38:56 -05:00
Paul Gilbert
4bd1217daf MADS: Added loading for scene nodes and hotspost 2014-03-02 10:49:20 -05:00
Paul Gilbert
411a405400 MADS: Further fixes for SceneInfo data loading 2014-03-01 22:53:08 -05:00
Paul Gilbert
7f8b2025c0 MADS: Basic scne info loading is now working 2014-03-01 20:19:02 -05:00