aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/scene.cpp
AgeCommit message (Collapse)Author
2013-05-08NEVERHOOD: Merge the three mouse classes into Mouse, introduce ↵johndoe123
insertMouse433 etc. methods and use them
2013-05-08NEVERHOOD: Multiple changes to make the game logic code cleaner (hopefully :)johndoe123
- Introduce Scene::insertStaticSprite to create static sprites instead of the old "addSprite(new StaticSprite" (not used everywhere yet) - Introduce macro InsertKlayman to create the Klayman object - Change sendMessage semantics from "receiver->sendMessage(num,arg,sender)" to "sendMessage(receiver,num,arg)", the sender is always the sending object ("this") - Similar changes using macros will follow - And fixed a bug in the elevator
2013-05-08NEVERHOOD: Implement HallOfRecordsScene (and all HoR scenes) and Scene2247johndoe123
- Load SceneInfo140 from neverhood.dat - Some renaming
2013-05-08NEVERHOOD: Implement Scene2201johndoe123
- Implement DataResource::getHitRectList, DataResource::getMessageListAtPos and related stuff in scene.cpp
2013-05-08NEVERHOOD: More work on Module3000 and Scene3009 (incomplete)johndoe123
2013-05-08NEVERHOOD: Implement Scene1403, Scene1404 and Scene1405 (memory minigame)johndoe123
- Move GameModule::startup call into engine instead of the game module constructor - Reduce debug output
2013-05-08NEVERHOOD: New modules Module1200, Module1400, Module1700 and Module1800johndoe123
- Implement CollisionMan::removeSprite
2013-05-08NEVERHOOD: Start with Module1200/Scene1201 (not complete yet)johndoe123
- Fix an odd bug with the game variables (index of newly added subvar was sometimes -1)
2013-05-08NEVERHOOD: Implement Scene1004johndoe123
- Module1000 is now almost complete
2013-05-08NEVERHOOD: Fix crash/corruption in clipped sprite drawingjohndoe123
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: Change addHitRect to use an explicit countjohndoe123
- This is since the alignment stuff didn't work and it's not worth it to investigate - Add possibility to write out hardcoded message lists instead of reading from the exe for special lists
2013-05-08NEVERHOOD: More work on Scene1002johndoe123
2013-05-08NEVERHOOD: Implement MouseCursorResource and Mouse433 mouse cursorjohndoe123
2013-05-08NEVERHOOD: More work on Scene1001/Klaymanjohndoe123
- The button can now be used, but looking at the open window doesn't work yet since game variables aren't implemented yet.
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 Klaymanjohndoe123
- Rename Scene::_playerSprite to _klayman - Send mouse clicks to the scene object (has not effect yet)
2013-05-08NEVERHOOD: Module1000 and Scene1001 skeletonsjohndoe123
- Implement BaseSurface::drawSpriteResourceEx - Use CollisionMan in Scene - Some cleanup
2013-05-08NEVERHOOD: Implement SmackerScene, SmackerPlayer and related stuffjohndoe123
- The intro video after the logo screens is now played (still needs better sync)
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 the Screen class, alsojohndoe123
- Move common headers used in modules to module.h so they don't have to be explicitly #included in each module header - Clean up #includes
2013-05-08NEVERHOOD: Start with Scene and Sprite classesjohndoe123