aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/module1000.cpp
AgeCommit message (Collapse)Author
2013-05-08NEVERHOOD: Rename SetSpriteCallback to SetSpriteUpdatejohndoe123
- Started replace message numbers with constants - Add NRect::contains - Some cleanup
2013-05-08NEVERHOOD: Added a FIXMEFilippos Karapetis
2013-05-08NEVERHOOD: Minor renaming, avoid mixing variables with their typesFilippos Karapetis
2013-05-08NEVERHOOD: Some renaming in Module1000johndoe123
2013-05-08NEVERHOOD: More renaming (mostly in Klayman and AnimatedSprite)johndoe123
2013-05-08NEVERHOOD: Major renaming:johndoe123
- Give better names to animation callback functions/vars - Give better names to animation functions (previously known as subXXXX - not completed yet) - Add dumpAllResources (which is a lie, since it only dumps animations for now) - More renaming to come
2013-05-08NEVERHOOD: Add leaveModule and leaveScenejohndoe123
(instead of using sendMessage directly)
2013-05-08NEVERHOOD: Replace InsertKlayman macros with template functions (still weird ↵johndoe123
but nicer)
2013-05-08NEVERHOOD: Try to cleanup sprite creation with a templated insertSprite ↵johndoe123
function (only in Module1000 so far)
2013-05-08NEVERHOOD: Try to clean up the clipRect stuff a littlejohndoe123
2013-05-08NEVERHOOD: Add Scene::setPalette for simpled palette creation and use itjohndoe123
2013-05-08NEVERHOOD: Add Sprite::setVisible and use it instead of direct access to the ↵johndoe123
surface member
2013-05-08NEVERHOOD: Merge the three mouse classes into Mouse, introduce ↵johndoe123
insertMouse433 etc. methods and use them
2013-05-08NEVERHOOD: Merge Palette2 class into Palettejohndoe123
2013-05-08NEVERHOOD: Rename Palette2::addPalette to addBasePalette to prepare the ↵johndoe123
merge of the Palette/Palette2 classes
2013-05-08NEVERHOOD: Merge createSceneXXX/updateSceneXXX methods into createScene and ↵johndoe123
updateScene for Module1000
2013-05-08NEVERHOOD: Remove unused resource preloading stuff (probably resource ↵johndoe123
preloading is not needed since the original game ran off slow double/quad-speed cd drives and preloading reduced stuttering while playing back then) - Add Klayman animation speedup
2013-05-08NEVERHOOD: Add Module::updateChild and use it (in most places)johndoe123
2013-05-08NEVERHOOD: Use setBackgroundjohndoe123
2013-05-08NEVERHOOD: Use InsertKlaymanjohndoe123
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: Start with Module1300 and implement Scene1302johndoe123
2013-05-08NEVERHOOD: Very small cleanupjohndoe123
2013-05-08NEVERHOOD: Implement Scene2205johndoe123
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 NavigationScenejohndoe123
- Work on the SmackerDecoder, create the surface immediately when a file is opened
2013-05-08NEVERHOOD: More work on Scene1002johndoe123
- Implement NavigationMouse and NavigationLists - Some renaming
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: More work on Scene1002johndoe123
2013-05-08NEVERHOOD: Start with Scene1002 (a lot incomplete)johndoe123
2013-05-08NEVERHOOD: Implement Mouse435johndoe123
2013-05-08NEVERHOOD: Implement MouseCursorResource and Mouse433 mouse cursorjohndoe123
2013-05-08NEVERHOOD: More work on Scene1001/Klaymanjohndoe123
- Looking through the open window now works (mostly).
2013-05-08NEVERHOOD: Implement game varsjohndoe123
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: Start with the Klayman class (this is quite some horrible code, ↵johndoe123
also, it doesn't work yet and isn't used yet)
2013-05-08NEVERHOOD: More work on Scene1001, also give sprites classes and vars some ↵johndoe123
better names
2013-05-08NEVERHOOD: Add transparency and x flipping to sprite drawing (flip y still ↵johndoe123
TODO but rarely used) - Add Class511 (the lever) to Module1000
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: Add skeleton for Module1000johndoe123
- Add dummies for game variable access