Commit Graph
137148 Commits
Author SHA1 Message Date
fracturehill cd0301af92 NANCY: Implement scene switching
Added just enough code to allow the player to pick the difficulty and go to the intro scene.
2021-03-24 17:20:46 +01:00
fracturehill 8397e35212 NANCY: Display UI sliders
Added code to show the sliders for the text and inventory boxes and made them hoverable. Interacting with them is still TODO.
2021-03-24 17:20:46 +01:00
fracturehill abb1583252 NANCY: Add hotspot detection
Added detection of hovered hotspots (clickable areas on screen). Added detection of mouse release events in preparation for the handling of clicking on said hotspots.
2021-03-24 17:20:46 +01:00
fracturehill 95c7d5031f NANCY: Implement EventFlagsMultiHS action record
Implemented the EventFlagsMultiHS action record, which gets triggered by clickable hotspots on screen.
2021-03-24 17:20:46 +01:00
fracturehill c18e0b171d NANCY: Add initial mouse support
Implemented a simple mouse with the ability to change the cursor bitmap. Also changed the View struct to use Rects instead of separate properties for every coordinate.
2021-03-24 17:20:46 +01:00
fracturehill b79d9f1a32 NANCY: Rendering code refactor
Several small changes to the rendering code that reduce code complexity, most notably the removal of the game's dirty rectangle optimizations.
2021-03-24 17:20:46 +01:00
fracturehill c1a6f38271 NANCY: Add Cursors structure
Implement the struct stored in the CURS chunk. Contains the coordinates of every cursor bitmap and an X and Y coordinate used when playing a primary video sequence.
2021-03-24 17:20:46 +01:00
fracturehill 0a4ed23f51 NANCY: Add action event processing
Implemented (almost) all of processActionRecords(), which is the primary logic processing function of the engine. Moved the playState structure from Scene to NancyEngine.
2021-03-24 17:20:46 +01:00
fracturehill f60ccc38b9 NANCY: runScene() improvemens
Implemented a bit more of runScene(), but a large part of it is still TODO.
2021-03-24 17:20:46 +01:00
fracturehill 11f89b5b97 NANCY: Add initial input support
Added an Input class with support for every nancy1 key combo (that I know of). Added code for skipping the Logo state with a left click. Proper mouse handling is still TODO.
2021-03-24 17:20:46 +01:00
fracturehill 7e1e276c3c NANCY: Add in-game time
Added a playerTime variable, which contains the in-game time, and expanded the Time struct to support it; also added the timeOfDay variable which can affect scene changing.
2021-03-24 17:20:46 +01:00
fracturehill 0852938520 NANCY: Fix compiler errors
Fix the pointer to member function syntax when adding render functions.
2021-03-24 17:20:46 +01:00
fracturehill 4a76623e67 NANCY: Fix compiler errors
Fix incorrect typedef for render function pointers; correct forward declarations of Graphics::Surface from class to struct.
2021-03-24 17:20:46 +01:00
fracturehill d97ca12d6c NANCY: Initial commit 2021-03-24 17:20:46 +01:00
Walter van Niftrik 0284d2172f NANCY: WIP 2021-03-24 17:20:46 +01:00
Walter van Niftrik af8078ceb8 NANCY: Add loading and playing of BOOT/MSND 2021-03-24 17:20:46 +01:00
Walter van Niftrik 3655241864 NANCY: Add loading of BOOT/FR* and BOOT/LG* 2021-03-24 17:20:46 +01:00
Matthew Hoops e5646013b6 NANCY: Add md5s for another nancy5 version 2021-03-24 17:20:46 +01:00
Walter van Niftrik 50e016a826 NANCY: Show LOGO 2021-03-24 17:20:46 +01:00
Walter van Niftrik 3079717143 NANCY: Add InstallShield cab files to SearchMan 2021-03-24 17:20:46 +01:00
Walter van Niftrik 5decebb72c NANCY: Add InstallShield detection entries for Nancy 3, 4 and 5 2021-03-24 17:20:46 +01:00
Walter van Niftrik e89c01713b NANCY: Add getting chunks with the same name by index 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 d73103df45 NANCY: Add support for PCAL chunk 2021-03-24 17:20:46 +01:00
Walter van Niftrik c0fe9e83a0 NANCY: Add IFF parsing 2021-03-24 17:20:46 +01:00
Walter van Niftrik 1c93da8699 NANCY: Add support for video frame types 1 and 2 2021-03-24 17:20:46 +01:00
Walter van Niftrik f670e5ad4f NANCY: Load frame time from AVF files 2021-03-24 17:20:46 +01:00
Walter van Niftrik 0503e651e5 NANCY: Add event polling and timing to play_video debug command 2021-03-24 17:20:46 +01:00
Walter van Niftrik 5fa6119405 NANCY: Return SeekableAudioStream instead of RewindableAudioStream 2021-03-24 17:20:46 +01:00
Walter van Niftrik 2cc91e62ac NANCY: Add support for HIS versions 1.0 and 2.0 2021-03-24 17:20:46 +01:00
Walter van Niftrik bd7e83cf8e NANCY: Skip unsupported video frame types for now 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 1df38bd500 NANCY: Add support for .cif patches 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 aa1f0bd1ac NANCY: Cleanup 2021-03-24 17:20:46 +01:00
Walter van Niftrik 48c60a01af NANCY: Fix regression in CifTree 2.0 handling 2021-03-24 17:20:46 +01:00
Walter van Niftrik 66c3efe933 NANCY: Add signatures for Nancy Drew 3 and 4 2021-03-24 17:20:46 +01:00
Walter van Niftrik 9720ba812a NANCY: Add support for Nancy 6 CifTree format 2021-03-24 17:20:46 +01:00
Strangerke debe67fa1e NANCY: Add detection for Nancy 6 2021-03-24 17:20:46 +01:00
Walter van Niftrik 164778ba12 NANCY: Refactor resource manager 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 dbb64b77e1 NANCY: Make CifTree case insensitive 2021-03-24 17:20:46 +01:00
Walter van Niftrik 53c1548fdf NANCY: Add signature for Nancy Drew 5 2021-03-24 17:20:46 +01:00
Walter van Niftrik ba12d04986 NANCY: Add heuristic for long filenames in CifTree 2021-03-24 17:20:46 +01:00
Walter van Niftrik d245afd843 NANCY: Add partial support for CifTree 2.1 2021-03-24 17:20:46 +01:00
Walter van Niftrik 410861661a NANCY: Refactor resource manager 2021-03-24 17:20:46 +01:00