aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/module3000.cpp
AgeCommit message (Collapse)Author
2013-05-08NEVERHOOD: Add initCodeSymbolsPuzzlejohndoe123
2013-05-08NEVERHOOD: Clean up Module1000:johndoe123
- Rename stuff - Remove superfluous braces - Add a comment to the "which" code in each scene - Use a seperate _sceneNum instead of _vm->gameState().sceneNum - Remove code related to unused resource preloading and debug messages
2013-05-08NEVERHOOD: Add new method StaticSprite::loadSprite and use it instead of ↵johndoe123
setting stuff "manually"
2013-05-08NEVERHOOD: Make use of NDrawRect::setjohndoe123
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: Some cleanup:johndoe123
- Remove _name field from Entity (wasn't really maintained by me and became useless) - Remove obsolete TODOs - Add STICK_LAST_FRAME constant for better readability - Remove commented out callbackList TODOs (these were so far never used with over 90% of the game implemented)
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: Remove TODOs concerning the original engine's debug codejohndoe123
- Add Scene1202 palette effect - Add AsScene1405Tile sound panning - Clean up some old comments
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: Rename stuff in DiskplayerScenejohndoe123
- Add SmackerPlayer::isDone() - Fix puzzle key variable handling - Update globalvars.txt
2013-05-08NEVERHOOD: Rename stuff in Module3000johndoe123
- Also change Scene1609::testVars - Update globalvars.txt
2013-05-08NEVERHOOD: Enable/fixup navigation scene sound update code in several modulesjohndoe123
- Rename some NavigationScene stuff
2013-05-08NEVERHOOD: Fix AsScene3011Symboljohndoe123
2013-05-08NEVERHOOD: Change sound stuff in Module3000 (dirty, TODO)johndoe123
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: Rename SetSpriteCallback to SetSpriteUpdatejohndoe123
- Started replace message numbers with constants - Add NRect::contains - Some cleanup
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 Scene1609johndoe123
- Use Scene::insertSprite<> in all scenes
2013-05-08NEVERHOOD: Add leaveModule and leaveScenejohndoe123
(instead of using sendMessage directly)
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 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: Implement Scene3011johndoe123
- And use _moduleDone instead of _done in Module3000
2013-05-08NEVERHOOD: More work on Scene3009johndoe123
2013-05-08NEVERHOOD: More work on Module3000 and Scene3009 (incomplete)johndoe123
2013-05-08NEVERHOOD: Implement Scene3010 (door lock)johndoe123