aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/resource.cpp
AgeCommit message (Collapse)Author
2013-07-14JANITORIAL: Remove trailing whitespaceSven Hesse
2013-05-08NEVERHOOD: Fix deletes in SpriteResource::unload() and ↵johndoe123
ResourceMan::purgeResources()
2013-05-08NEVERHOOD: Fix some logic bugs and minor changesjohndoe123
- Fix video speed in the very last scene (Scene1317) - Fix back door not opening in Scene1401 - Fix projector not moving in Scene1402 - Fix projector not appearing in Scene1403 - Fix wrong Klaymen walking in Scene2205 - Fix wrong scene change in Module2300 - Fix symbols not appearing in Scene3011 - Define out some remaining logic debug code - Remove some obsolete comments - Reduce debug output - Use a List instead of an Array when building the microtiles rectangles
2013-05-08NEVERHOOD: Rename "Klayman" to "Klaymen" (the correct name of the game's hero)johndoe123
2013-05-08NEVERHOOD: Don't load a DataResource if the same data is already loaded; ↵johndoe123
this fixes a nasty bug in several scenes which use message lists from a DataResource
2013-05-08NEVERHOOD: Remove obsolete TODOsjohndoe123
2013-05-08NEVERHOOD: Change graphic resource draw method to get a Surface instead of ↵johndoe123
separate pixels/pitch - Merge SpriteResource::load and load2
2013-05-08NEVERHOOD: Add enum for the resource typesjohndoe123
2013-05-08NEVERHOOD: Fix Klaymen "grow" animation after drinking the potionjohndoe123
- Remove static sprite 0x50C027A8 Scene2803/Scene2803Small because the resource doesn't exist! - Remove some old comments - Fix resource extData handling which fixes some crashes - Enable reusing deleted sound/music slots in SoundMan (was disabled for debugging)
2013-05-08NEVERHOOD: Simplify resource loadingjohndoe123
- Renamne and clean up
2013-05-08NEVERHOOD: Rename and clean up fields in AnimFrameInfojohndoe123
2013-05-08NEVERHOOD: Graphics related changes/fixes:johndoe123
- Add BitmapFlags enum - Merge unpackSpriteRle and unpackSpriteRleRepl - Implement Y flipping in unpackSpriteRle - Fix Y flipping in AsScene2804CrystalWaves
2013-05-08NEVERHOOD: Use constants for the numbers in get/setGlobalVarjohndoe123
Now the code is much more readable - Still TODO is to do the same with get/setSubVar
2013-05-08NEVERHOOD: Implement the actual audio codejohndoe123
Sounds and music play now in some scenes (I didn't change the comments to code in all modules yet) - Fix calcHash to ignore non-alphanumeric characters, this fixes at least one animation glitch (when inserting tapes into the player) - Move SoundResource to sound.cpp
2013-05-08NEVERHOOD: Implement the SoundMan; no sound is played yet since the ↵johndoe123
important code doesn't exist yet
2013-05-08NEVERHOOD: Some minor cleanup, add a TODO about some palette issues (I ↵johndoe123
couldn't find any apparent causes yet)
2013-05-08NEVERHOOD: More work in Module2700johndoe123
2013-05-08NEVERHOOD: Implement Scene2201johndoe123
- Implement DataResource::getHitRectList, DataResource::getMessageListAtPos and related stuff in scene.cpp
2013-05-08NEVERHOOD: New modules Module1200, Module1400, Module1700 and Module1800johndoe123
- Implement CollisionMan::removeSprite
2013-05-08NEVERHOOD: Implement Module2300 (just a bunch of NavigationScenes)johndoe123
- Fix Smacker player by using a SafeSubReadStream - Fix NavigationMouse (cursors in type 1 were swapped)
2013-05-08NEVERHOOD: Implement Scene1004johndoe123
- Module1000 is now almost complete
2013-05-08NEVERHOOD: Implement Scene1005johndoe123
- Add FontSurface - Add DataResource - Fix NavigationScene, only accept input when interactive
2013-05-08NEVERHOOD: Implement color replace in AnimatedSpritejohndoe123
(used to disable a color in sprite drawing)
2013-05-08NEVERHOOD: More work on Scene1002, Klayman and the restjohndoe123
- Add "heavy debug" output to Entity (display which update/message handler is called) - Also add more debug output - Error out when a StaticData resource could not be found
2013-05-08NEVERHOOD: Implement MouseCursorResource and Mouse433 mouse cursorjohndoe123
2013-05-08NEVERHOOD: More work on Scene1001 and Klaymanjohndoe123
- Fix a bug in Klayman's walking - The lever can now be used - Other stuff is still missing - Remove entity.cpp since it's not needed
2013-05-08NEVERHOOD: More work on Klayman (still eye cancerous code)johndoe123
- Start to implement KmScene1001 - Implement queryPositionSprite and queryPositionRectList - Implement message list related code (setting and running them) - Access to message params now with accessors (so compatible types can be converted)
2013-05-08NEVERHOOD: More work on Scene1001, implement Class509 (yes, will be renamed ↵johndoe123
later) and AnimResource related stuff
2013-05-08NEVERHOOD: Module1000 and Scene1001 skeletonsjohndoe123
- Implement BaseSurface::drawSpriteResourceEx - Use CollisionMan in Scene - Some cleanup
2013-05-08NEVERHOOD: Start with the Background and DirtyBackground classesjohndoe123
- Also make related changes in other code - Call the game module's draw method in the main loop - Add some more debug output in resource load functions
2013-05-08NEVERHOOD: Start with AnimatedSprite and AnimResourcejohndoe123
2013-05-08NEVERHOOD: Start with Scene and Sprite classesjohndoe123
2013-05-08NEVERHOOD: More work on the Palette classjohndoe123
2013-05-08NEVERHOOD: Add morejohndoe123
- SpriteResource and PaletteResource resource classes - Extend BaseSurface to be able to draw SpriteResources onto it - Implement Entity base class (this may need some work concerning the update/message callbacks later since I'm not sure if the way it's done now is portable)