aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/module1700.cpp
AgeCommit message (Collapse)Author
2013-05-08NEVERHOOD: Rename "Klayman" to "Klaymen" (the correct name of the game's hero)johndoe123
2013-05-08NEVERHOOD: Merge CollisionMan into Scene classjohndoe123
2013-05-08NEVERHOOD: Rename some CollisionMan methods/fieldsjohndoe123
- Remove fallback detector (I think it's not needed) - Rename Scene insertMouse methods
2013-05-08NEVERHOOD: Clean up Module1700 (like the ones before)johndoe123
2013-05-08NEVERHOOD: Add new method StaticSprite::loadSprite and use it instead of ↵johndoe123
setting stuff "manually"
2013-05-08NEVERHOOD: Rename stuff in Sprite:johndoe123
- processDelta() to updateBounds() - getRect() to getCollisionBounds() - _drawRect to _drawOffset - _rect to _collisionBounds - _deltaRect to _collisionBoundsOffset
2013-05-08NEVERHOOD: Rename puzzle initialization methods and give them better namesjohndoe123
2013-05-08NEVERHOOD: Remove Scene::_surfaceFlag which also is obsolete nowjohndoe123
2013-05-08NEVERHOOD: Replace most of the literal digits in get/setSubVar with constantsjohndoe123
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: Work on Module1700:johndoe123
- Rename stuff - Add puzzle var initialization in Scene1705
2013-05-08NEVERHOOD: Change sound stuff in Module1700johndoe123
- Add Entity::setSoundVolume
2013-05-08NEVERHOOD: Add sound lists to all modules which have themjohndoe123
2013-05-08NEVERHOOD: Add most SoundMan remaining callsjohndoe123
Except for those which need a sound hash array (later)
2013-05-08NEVERHOOD: More work on the SoundManjohndoe123
- Also changed all sound related function calls which are still TODO to the new names
2013-05-08NEVERHOOD: More renaming (mostly in Klayman and AnimatedSprite)johndoe123
2013-05-08NEVERHOOD: Add Scene1609johndoe123
- Use Scene::insertSprite<> in all scenes
2013-05-08NEVERHOOD: Add leaveModule and leaveScenejohndoe123
(instead of using sendMessage directly)
2013-05-08NEVERHOOD: Add Scene1109johndoe123
- Also fix some bugs regarding a missing parameter to setMessageList in various scenes
2013-05-08NEVERHOOD: Replace InsertKlayman macros with template functions (still weird ↵johndoe123
but nicer)
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: Move createSceneXXX/updateSceneXXX methodsjohndoe123
They are merged into createScene and updateScene for the other already implemented modules (I hope I didn't break too much :)
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: 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: Use insertStaticSpritejohndoe123
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: Introduce and use Module::createNavigationScene and ↵johndoe123
Module::createSmackerScene
2013-05-08NEVERHOOD: New modules Module1200, Module1400, Module1700 and Module1800johndoe123
- Implement CollisionMan::removeSprite