Commit Graph
18 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
fracturehill 85f8bf294d NANCY: Includes cleanup
Reordered and cleaned up #includes in the engine.
2021-04-01 21:25:32 +03:00
fracturehill b3222b7439 NANCY: Resource manager improvements
The resource manager now keeps track of its cif trees and calls to loadImage() and loadData() don't need to specify a cif tree. In order to support The Vampire Diaries, IFFs can now be loaded from their own dedicated .iff file, and the engine doesn't require a cif tree to be loaded on boot.
2021-03-24 17:20:46 +01:00
fracturehill 20f432f8d3 NANCY: Engine refactor
Made all states (Scene, Credits, Help, etc.) singletons, as well as subclasses of a common State parent with a proper state switching API. Moved the OnPause virtual function from RenderObject to ActionRecord and hooked it into the state switching code. Also got rid of the NancyEngine pointer that got passed around between most classes, and replaced it with several convenience macros. As a result of these changes action records that render to the viewport no longer disappear after opening the menu, and state changes feel snappier.
2021-03-24 17:20:46 +01:00
fracturehill 46ed7dce87 NANCY: Fix show_image and play_video debug commands
Added code to make the show_image and play_video debug commands play nice with the new graphics manager.
2021-03-24 17:20:46 +01:00
fracturehill 3aaf2a9bea NANCY: Major engine rewrite
Rewrote most of the engine using a much more object-oriented approach and using more of ScummVM's common classes. This design deviates quite a lot from the original engine's, but should be more maintainable and extensible in the future.
2021-03-24 17:20:46 +01:00
fracturehill b9dc249d53 NANCY: Add debug commands
Added debug functions to display the current scene and to teleport to a new one. Also removed old command declarations that were never defined.
2021-03-24 17:20:46 +01:00
fracturehill d97ca12d6c NANCY: Initial commit 2021-03-24 17:20:46 +01:00
Walter van Niftrik b393b234be NANCY: Add debugger command for listing chunks inside an IFF 2021-03-24 17:20:46 +01:00
Walter van Niftrik 369ab0136a NANCY: Add debug command for hexdumping chunks 2021-03-24 17:20:46 +01:00
Walter van Niftrik d5ea0c840a NANCY: Rename debug commands 2021-03-24 17:20:46 +01:00
Walter van Niftrik ef8daa9f3f NANCY: Add exporting to .cif 2021-03-24 17:20:46 +01:00
Walter van Niftrik 6381b36643 NANCY: Add support for .his audio files 2021-03-24 17:20:46 +01:00
Walter van Niftrik 3efe6a6f76 NANCY: Add partial .avf video support 2021-03-24 17:20:46 +01:00
Walter van Niftrik dd91f7e4f5 NANCY: Add support for multiple CifTrees loaded simultaneously 2021-03-24 17:20:46 +01:00
Walter van Niftrik e989b0e1c8 NANCY: Add debug commands for dumping a resource and loading a new CifTree 2021-03-24 17:20:46 +01:00
Walter van Niftrik fd1f0767f8 NANCY: Add resource decompressor 2021-03-24 17:20:46 +01:00
Strangerke fd11c41a8d NANCY: Add skeleton engine 2021-03-24 17:20:46 +01:00